2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.53.
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.53'
578 PACKAGE_STRING
='Wine 0.9.53'
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.53 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.53:";;
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.53
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.53, 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"
16102 saved_CFLAGS
="$CFLAGS"
16103 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
16104 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16105 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16106 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 #include <string.h>
16124 rm -f conftest.
$ac_objext
16125 if { (ac_try
="$ac_compile"
16126 case "(($ac_try" in
16127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16128 *) ac_try_echo=$ac_try;;
16130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16131 (eval "$ac_compile") 2>conftest.er1
16133 grep -v '^ *+' conftest.er1 >conftest.err
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } && {
16138 test -z "$ac_c_werror_flag" ||
16139 test ! -s conftest.err
16140 } && test -s conftest.$ac_objext; then
16141 ac_cv_c_string_h_warnings=no
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.$ac_ext >&5
16146 ac_cv_c_string_h_warnings=yes
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16151 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16152 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16153 CFLAGS="$saved_CFLAGS"
16154 if test "$ac_cv_c_string_h_warnings" = "no"
16156 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16161 saved_CFLAGS="$CFLAGS"
16162 CFLAGS="$CFLAGS -Werror"
16163 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16164 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16165 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 cat >conftest.$ac_ext <<_ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16178 int iswlower(unsigned short);
16183 rm -f conftest.$ac_objext
16184 if { (ac_try="$ac_compile"
16185 case "(($ac_try" in
16186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16187 *) ac_try_echo
=$ac_try;;
16189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16190 (eval "$ac_compile") 2>conftest.er1
16192 grep -v '^ *+' conftest.er1
>conftest.err
16194 cat conftest.err
>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); } && {
16197 test -z "$ac_c_werror_flag" ||
16198 test ! -s conftest.err
16199 } && test -s conftest.
$ac_objext; then
16200 ac_cv_c_builtin_wchar_ctype
=no
16202 echo "$as_me: failed program was:" >&5
16203 sed 's/^/| /' conftest.
$ac_ext >&5
16205 ac_cv_c_builtin_wchar_ctype
=yes
16208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16210 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16211 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16212 CFLAGS
="$saved_CFLAGS"
16213 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16215 BUILTINFLAG
="-fno-builtin"
16220 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16221 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16222 if test "${ac_cv_asm_func_def+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 cat >conftest.
$ac_ext <<_ACEOF
16228 cat confdefs.h
>>conftest.
$ac_ext
16229 cat >>conftest.
$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16235 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16240 rm -f conftest.
$ac_objext conftest
$ac_exeext
16241 if { (ac_try
="$ac_link"
16242 case "(($ac_try" in
16243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16244 *) ac_try_echo=$ac_try;;
16246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16247 (eval "$ac_link") 2>conftest.er1
16249 grep -v '^ *+' conftest.er1 >conftest.err
16251 cat conftest.err >&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } && {
16254 test -z "$ac_c_werror_flag" ||
16255 test ! -s conftest.err
16256 } && test -s conftest$ac_exeext &&
16257 $as_test_x conftest$ac_exeext; then
16258 ac_cv_asm_func_def=".def"
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 cat >conftest.$ac_ext <<_ACEOF
16266 cat confdefs.h >>conftest.$ac_ext
16267 cat >>conftest.$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16273 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16278 rm -f conftest.$ac_objext conftest$ac_exeext
16279 if { (ac_try="$ac_link"
16280 case "(($ac_try" in
16281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16282 *) ac_try_echo
=$ac_try;;
16284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16285 (eval "$ac_link") 2>conftest.er1
16287 grep -v '^ *+' conftest.er1
>conftest.err
16289 cat conftest.err
>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); } && {
16292 test -z "$ac_c_werror_flag" ||
16293 test ! -s conftest.err
16294 } && test -s conftest
$ac_exeext &&
16295 $as_test_x conftest
$ac_exeext; then
16296 ac_cv_asm_func_def
=".type @function"
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.
$ac_ext >&5
16301 cat >conftest.
$ac_ext <<_ACEOF
16304 cat confdefs.h
>>conftest.
$ac_ext
16305 cat >>conftest.
$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16311 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16316 rm -f conftest.
$ac_objext conftest
$ac_exeext
16317 if { (ac_try
="$ac_link"
16318 case "(($ac_try" in
16319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16320 *) ac_try_echo=$ac_try;;
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16323 (eval "$ac_link") 2>conftest.er1
16325 grep -v '^ *+' conftest.er1 >conftest.err
16327 cat conftest.err >&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); } && {
16330 test -z "$ac_c_werror_flag" ||
16331 test ! -s conftest.err
16332 } && test -s conftest$ac_exeext &&
16333 $as_test_x conftest$ac_exeext; then
16334 ac_cv_asm_func_def=".type 2"
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16339 ac_cv_asm_func_def="unknown"
16342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16343 conftest$ac_exeext conftest.$ac_ext
16346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16347 conftest$ac_exeext conftest.$ac_ext
16350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16351 conftest$ac_exeext conftest.$ac_ext
16353 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16354 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16358 case "$ac_cv_asm_func_def" in
16360 cat >>confdefs.h <<\_ACEOF
16361 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16365 cat >>confdefs.h <<\_ACEOF
16366 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16370 cat >>confdefs.h <<\_ACEOF
16371 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16375 cat >>confdefs.h <<\_ACEOF
16376 #define __ASM_FUNC(name) ""
16382 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16383 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16384 if test "${ac_cv_c_extern_prefix+set}" = set; then
16385 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 cat >conftest.$ac_ext <<_ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16393 extern int ac_test;
16397 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16402 rm -f conftest.$ac_objext conftest$ac_exeext
16403 if { (ac_try="$ac_link"
16404 case "(($ac_try" in
16405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16406 *) ac_try_echo
=$ac_try;;
16408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16409 (eval "$ac_link") 2>conftest.er1
16411 grep -v '^ *+' conftest.er1
>conftest.err
16413 cat conftest.err
>&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } && {
16416 test -z "$ac_c_werror_flag" ||
16417 test ! -s conftest.err
16418 } && test -s conftest
$ac_exeext &&
16419 $as_test_x conftest
$ac_exeext; then
16420 ac_cv_c_extern_prefix
="yes"
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.
$ac_ext >&5
16425 ac_cv_c_extern_prefix
="no"
16428 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16429 conftest
$ac_exeext conftest.
$ac_ext
16431 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16432 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16436 if test "$ac_cv_c_extern_prefix" = "yes"
16438 cat >>confdefs.h
<<\_ACEOF
16439 #define __ASM_NAME(name) "_" name
16443 cat >>confdefs.h
<<\_ACEOF
16444 #define __ASM_NAME(name) name
16454 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16458 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
16460 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16464 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16472 SOCKETLIBS
="-lws2_32"
16477 MAIN_BINARY
="wine-pthread"
16481 linux
* | k
*bsd
*-gnu)
16482 MAIN_BINARY
="wine-glibc"
16484 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16487 MAIN_BINARY
="wine-freebsd"
16489 EXTRA_BINARIES
="wine-pthread"
16627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16630 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16633 cat >conftest.
$ac_ext <<_ACEOF
16636 cat confdefs.h
>>conftest.
$ac_ext
16637 cat >>conftest.
$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16641 #define $ac_func innocuous_$ac_func
16643 /* System header to define __stub macros and hopefully few prototypes,
16644 which can conflict with char $ac_func (); below.
16645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16646 <limits.h> exists even on freestanding compilers. */
16649 # include <limits.h>
16651 # include <assert.h>
16656 /* Override any GCC internal prototype to avoid an error.
16657 Use char because int might match the return type of a GCC
16658 builtin and then its argument prototype would still apply. */
16663 /* The GNU C library defines this for functions which it implements
16664 to always fail with ENOSYS. Some functions are actually named
16665 something starting with __ and the normal name is an alias. */
16666 #if defined __stub_$ac_func || defined __stub___$ac_func
16673 return $ac_func ();
16678 rm -f conftest.
$ac_objext conftest
$ac_exeext
16679 if { (ac_try
="$ac_link"
16680 case "(($ac_try" in
16681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16682 *) ac_try_echo=$ac_try;;
16684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16685 (eval "$ac_link") 2>conftest.er1
16687 grep -v '^ *+' conftest.er1 >conftest.err
16689 cat conftest.err >&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } && {
16692 test -z "$ac_c_werror_flag" ||
16693 test ! -s conftest.err
16694 } && test -s conftest$ac_exeext &&
16695 $as_test_x conftest$ac_exeext; then
16696 eval "$as_ac_var=yes"
16698 echo "$as_me: failed program was:" >&5
16699 sed 's/^/| /' conftest.$ac_ext >&5
16701 eval "$as_ac_var=no"
16704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16705 conftest$ac_exeext conftest.$ac_ext
16707 ac_res=`eval echo '${'$as_ac_var'}'`
16708 { echo "$as_me:$LINENO: result: $ac_res" >&5
16709 echo "${ECHO_T}$ac_res" >&6; }
16710 if test `eval echo '${'$as_ac_var'}'` = yes; then
16711 cat >>confdefs.h <<_ACEOF
16712 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16719 if test "$ac_cv_func_dlopen" = no
16721 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16722 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16723 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 ac_check_lib_save_LIBS=$LIBS
16728 cat >conftest.$ac_ext <<_ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16735 /* Override any GCC internal prototype to avoid an error.
16736 Use char because int might match the return type of a GCC
16737 builtin and then its argument prototype would still apply. */
16750 rm -f conftest.$ac_objext conftest$ac_exeext
16751 if { (ac_try="$ac_link"
16752 case "(($ac_try" in
16753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16754 *) ac_try_echo
=$ac_try;;
16756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16757 (eval "$ac_link") 2>conftest.er1
16759 grep -v '^ *+' conftest.er1
>conftest.err
16761 cat conftest.err
>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } && {
16764 test -z "$ac_c_werror_flag" ||
16765 test ! -s conftest.err
16766 } && test -s conftest
$ac_exeext &&
16767 $as_test_x conftest
$ac_exeext; then
16768 ac_cv_lib_dl_dlopen
=yes
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.
$ac_ext >&5
16773 ac_cv_lib_dl_dlopen
=no
16776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16777 conftest
$ac_exeext conftest.
$ac_ext
16778 LIBS
=$ac_check_lib_save_LIBS
16780 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16781 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16782 if test $ac_cv_lib_dl_dlopen = yes; then
16783 cat >>confdefs.h
<<\_ACEOF
16784 #define HAVE_DLOPEN 1
16791 ac_wine_check_funcs_save_LIBS
="$LIBS"
16792 LIBS
="$LIBS $LIBDL"
16794 for ac_func
in dladdr
16796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16799 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 cat >conftest.
$ac_ext <<_ACEOF
16805 cat confdefs.h
>>conftest.
$ac_ext
16806 cat >>conftest.
$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16810 #define $ac_func innocuous_$ac_func
16812 /* System header to define __stub macros and hopefully few prototypes,
16813 which can conflict with char $ac_func (); below.
16814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16815 <limits.h> exists even on freestanding compilers. */
16818 # include <limits.h>
16820 # include <assert.h>
16825 /* Override any GCC internal prototype to avoid an error.
16826 Use char because int might match the return type of a GCC
16827 builtin and then its argument prototype would still apply. */
16832 /* The GNU C library defines this for functions which it implements
16833 to always fail with ENOSYS. Some functions are actually named
16834 something starting with __ and the normal name is an alias. */
16835 #if defined __stub_$ac_func || defined __stub___$ac_func
16842 return $ac_func ();
16847 rm -f conftest.
$ac_objext conftest
$ac_exeext
16848 if { (ac_try
="$ac_link"
16849 case "(($ac_try" in
16850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16851 *) ac_try_echo=$ac_try;;
16853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16854 (eval "$ac_link") 2>conftest.er1
16856 grep -v '^ *+' conftest.er1 >conftest.err
16858 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } && {
16861 test -z "$ac_c_werror_flag" ||
16862 test ! -s conftest.err
16863 } && test -s conftest$ac_exeext &&
16864 $as_test_x conftest$ac_exeext; then
16865 eval "$as_ac_var=yes"
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.$ac_ext >&5
16870 eval "$as_ac_var=no"
16873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16874 conftest$ac_exeext conftest.$ac_ext
16876 ac_res=`eval echo '${'$as_ac_var'}'`
16877 { echo "$as_me:$LINENO: result: $ac_res" >&5
16878 echo "${ECHO_T}$ac_res" >&6; }
16879 if test `eval echo '${'$as_ac_var'}'` = yes; then
16880 cat >>confdefs.h <<_ACEOF
16881 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16887 LIBS="$ac_wine_check_funcs_save_LIBS"
16889 if test "$ac_cv_func_poll" = no
16891 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16892 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16893 if test "${ac_cv_lib_poll_poll+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 ac_check_lib_save_LIBS=$LIBS
16897 LIBS="-lpoll $LIBS"
16898 cat >conftest.$ac_ext <<_ACEOF
16901 cat confdefs.h >>conftest.$ac_ext
16902 cat >>conftest.$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16905 /* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16920 rm -f conftest.$ac_objext conftest$ac_exeext
16921 if { (ac_try="$ac_link"
16922 case "(($ac_try" in
16923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16924 *) ac_try_echo
=$ac_try;;
16926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16927 (eval "$ac_link") 2>conftest.er1
16929 grep -v '^ *+' conftest.er1
>conftest.err
16931 cat conftest.err
>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); } && {
16934 test -z "$ac_c_werror_flag" ||
16935 test ! -s conftest.err
16936 } && test -s conftest
$ac_exeext &&
16937 $as_test_x conftest
$ac_exeext; then
16938 ac_cv_lib_poll_poll
=yes
16940 echo "$as_me: failed program was:" >&5
16941 sed 's/^/| /' conftest.
$ac_ext >&5
16943 ac_cv_lib_poll_poll
=no
16946 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16947 conftest
$ac_exeext conftest.
$ac_ext
16948 LIBS
=$ac_check_lib_save_LIBS
16950 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16951 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16952 if test $ac_cv_lib_poll_poll = yes; then
16953 cat >>confdefs.h
<<\_ACEOF
16954 #define HAVE_POLL 1
16962 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16963 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16964 if test "${ac_cv_search_gethostbyname+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 ac_func_search_save_LIBS
=$LIBS
16968 cat >conftest.
$ac_ext <<_ACEOF
16971 cat confdefs.h
>>conftest.
$ac_ext
16972 cat >>conftest.
$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16975 /* Override any GCC internal prototype to avoid an error.
16976 Use char because int might match the return type of a GCC
16977 builtin and then its argument prototype would still apply. */
16981 char gethostbyname ();
16985 return gethostbyname ();
16990 for ac_lib
in '' nsl
; do
16991 if test -z "$ac_lib"; then
16992 ac_res
="none required"
16995 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16997 rm -f conftest.
$ac_objext conftest
$ac_exeext
16998 if { (ac_try
="$ac_link"
16999 case "(($ac_try" in
17000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17001 *) ac_try_echo=$ac_try;;
17003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17004 (eval "$ac_link") 2>conftest.er1
17006 grep -v '^ *+' conftest.er1 >conftest.err
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } && {
17011 test -z "$ac_c_werror_flag" ||
17012 test ! -s conftest.err
17013 } && test -s conftest$ac_exeext &&
17014 $as_test_x conftest$ac_exeext; then
17015 ac_cv_search_gethostbyname=$ac_res
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17025 if test "${ac_cv_search_gethostbyname+set}" = set; then
17029 if test "${ac_cv_search_gethostbyname+set}" = set; then
17032 ac_cv_search_gethostbyname=no
17034 rm conftest.$ac_ext
17035 LIBS=$ac_func_search_save_LIBS
17037 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17038 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17039 ac_res=$ac_cv_search_gethostbyname
17040 if test "$ac_res" != no; then
17041 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17046 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17047 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17048 if test "${ac_cv_search_connect+set}" = set; then
17049 echo $ECHO_N "(cached) $ECHO_C" >&6
17051 ac_func_search_save_LIBS=$LIBS
17052 cat >conftest.$ac_ext <<_ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17059 /* Override any GCC internal prototype to avoid an error.
17060 Use char because int might match the return type of a GCC
17061 builtin and then its argument prototype would still apply. */
17074 for ac_lib in '' socket; do
17075 if test -z "$ac_lib"; then
17076 ac_res="none required"
17079 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17081 rm -f conftest.$ac_objext conftest$ac_exeext
17082 if { (ac_try="$ac_link"
17083 case "(($ac_try" in
17084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17085 *) ac_try_echo
=$ac_try;;
17087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17088 (eval "$ac_link") 2>conftest.er1
17090 grep -v '^ *+' conftest.er1
>conftest.err
17092 cat conftest.err
>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } && {
17095 test -z "$ac_c_werror_flag" ||
17096 test ! -s conftest.err
17097 } && test -s conftest
$ac_exeext &&
17098 $as_test_x conftest
$ac_exeext; then
17099 ac_cv_search_connect
=$ac_res
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.
$ac_ext >&5
17107 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17109 if test "${ac_cv_search_connect+set}" = set; then
17113 if test "${ac_cv_search_connect+set}" = set; then
17116 ac_cv_search_connect
=no
17118 rm conftest.
$ac_ext
17119 LIBS
=$ac_func_search_save_LIBS
17121 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17122 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17123 ac_res
=$ac_cv_search_connect
17124 if test "$ac_res" != no
; then
17125 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17130 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17131 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17132 if test "${ac_cv_search_inet_aton+set}" = set; then
17133 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 ac_func_search_save_LIBS
=$LIBS
17136 cat >conftest.
$ac_ext <<_ACEOF
17139 cat confdefs.h
>>conftest.
$ac_ext
17140 cat >>conftest.
$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17143 /* Override any GCC internal prototype to avoid an error.
17144 Use char because int might match the return type of a GCC
17145 builtin and then its argument prototype would still apply. */
17153 return inet_aton ();
17158 for ac_lib
in '' resolv
; do
17159 if test -z "$ac_lib"; then
17160 ac_res
="none required"
17163 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17165 rm -f conftest.
$ac_objext conftest
$ac_exeext
17166 if { (ac_try
="$ac_link"
17167 case "(($ac_try" in
17168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17169 *) ac_try_echo=$ac_try;;
17171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17172 (eval "$ac_link") 2>conftest.er1
17174 grep -v '^ *+' conftest.er1 >conftest.err
17176 cat conftest.err >&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } && {
17179 test -z "$ac_c_werror_flag" ||
17180 test ! -s conftest.err
17181 } && test -s conftest$ac_exeext &&
17182 $as_test_x conftest$ac_exeext; then
17183 ac_cv_search_inet_aton=$ac_res
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.$ac_ext >&5
17191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17193 if test "${ac_cv_search_inet_aton+set}" = set; then
17197 if test "${ac_cv_search_inet_aton+set}" = set; then
17200 ac_cv_search_inet_aton=no
17202 rm conftest.$ac_ext
17203 LIBS=$ac_func_search_save_LIBS
17205 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17206 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17207 ac_res=$ac_cv_search_inet_aton
17208 if test "$ac_res" != no; then
17209 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17233 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 cat >conftest.$ac_ext <<_ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17247 #define $ac_func innocuous_$ac_func
17249 /* System header to define __stub macros and hopefully few prototypes,
17250 which can conflict with char $ac_func (); below.
17251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17252 <limits.h> exists even on freestanding compilers. */
17255 # include <limits.h>
17257 # include <assert.h>
17262 /* Override any GCC internal prototype to avoid an error.
17263 Use char because int might match the return type of a GCC
17264 builtin and then its argument prototype would still apply. */
17269 /* The GNU C library defines this for functions which it implements
17270 to always fail with ENOSYS. Some functions are actually named
17271 something starting with __ and the normal name is an alias. */
17272 #if defined __stub_$ac_func || defined __stub___$ac_func
17279 return $ac_func ();
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (ac_try="$ac_link"
17286 case "(($ac_try" in
17287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17288 *) ac_try_echo
=$ac_try;;
17290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17291 (eval "$ac_link") 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } && {
17298 test -z "$ac_c_werror_flag" ||
17299 test ! -s conftest.err
17300 } && test -s conftest
$ac_exeext &&
17301 $as_test_x conftest
$ac_exeext; then
17302 eval "$as_ac_var=yes"
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.
$ac_ext >&5
17307 eval "$as_ac_var=no"
17310 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17311 conftest
$ac_exeext conftest.
$ac_ext
17313 ac_res
=`eval echo '${'$as_ac_var'}'`
17314 { echo "$as_me:$LINENO: result: $ac_res" >&5
17315 echo "${ECHO_T}$ac_res" >&6; }
17316 if test `eval echo '${'$as_ac_var'}'` = yes; then
17317 cat >>confdefs.h
<<_ACEOF
17318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17326 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17327 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17328 if test "${ac_cv_c_const+set}" = set; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17331 cat >conftest.
$ac_ext <<_ACEOF
17334 cat confdefs.h
>>conftest.
$ac_ext
17335 cat >>conftest.
$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17341 /* FIXME: Include the comments suggested by Paul. */
17342 #ifndef __cplusplus
17343 /* Ultrix mips cc rejects this. */
17344 typedef int charset[2];
17346 /* SunOS 4.1.1 cc rejects this. */
17347 char const *const *pcpcc;
17349 /* NEC SVR4.0.2 mips cc rejects this. */
17350 struct point {int x, y;};
17351 static struct point const zero = {0,0};
17352 /* AIX XL C 1.02.0.0 rejects this.
17353 It does not let you subtract one const X* pointer from another in
17354 an arm of an if-expression whose if-part is not a constant
17356 const char *g = "string";
17357 pcpcc = &g + (g ? g-g : 0);
17358 /* HPUX 7.0 cc rejects these. */
17360 ppc = (char**) pcpcc;
17361 pcpcc = (char const *const *) ppc;
17362 { /* SCO 3.2v4 cc rejects this. */
17364 char const *s = 0 ? (char *) 0 : (char const *) 0;
17369 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17370 int x[] = {25, 17};
17371 const int *foo = &x[0];
17374 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17375 typedef const int *iptr;
17379 { /* AIX XL C 1.02.0.0 rejects this saying
17380 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17381 struct s { int j; const int *ap[3]; };
17382 struct s *b; b->j = 5;
17384 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17385 const int foo = 10;
17386 if (!foo) return 0;
17388 return !cs[0] && !zero.x;
17395 rm -f conftest.
$ac_objext
17396 if { (ac_try
="$ac_compile"
17397 case "(($ac_try" in
17398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17399 *) ac_try_echo=$ac_try;;
17401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17402 (eval "$ac_compile") 2>conftest.er1
17404 grep -v '^ *+' conftest.er1 >conftest.err
17406 cat conftest.err >&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } && {
17409 test -z "$ac_c_werror_flag" ||
17410 test ! -s conftest.err
17411 } && test -s conftest.$ac_objext; then
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17423 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17424 if test $ac_cv_c_const = no; then
17426 cat >>confdefs.h <<\_ACEOF
17432 { echo "$as_me:$LINENO: checking for inline" >&5
17433 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17434 if test "${ac_cv_c_inline+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17438 for ac_kw in inline __inline__ __inline; do
17439 cat >conftest.$ac_ext <<_ACEOF
17442 cat confdefs.h >>conftest.$ac_ext
17443 cat >>conftest.$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17445 #ifndef __cplusplus
17447 static $ac_kw foo_t static_foo () {return 0; }
17448 $ac_kw foo_t foo () {return 0; }
17452 rm -f conftest.$ac_objext
17453 if { (ac_try="$ac_compile"
17454 case "(($ac_try" in
17455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17456 *) ac_try_echo
=$ac_try;;
17458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17459 (eval "$ac_compile") 2>conftest.er1
17461 grep -v '^ *+' conftest.er1
>conftest.err
17463 cat conftest.err
>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); } && {
17466 test -z "$ac_c_werror_flag" ||
17467 test ! -s conftest.err
17468 } && test -s conftest.
$ac_objext; then
17469 ac_cv_c_inline
=$ac_kw
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17478 test "$ac_cv_c_inline" != no
&& break
17482 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17483 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17486 case $ac_cv_c_inline in
17489 case $ac_cv_c_inline in
17491 *) ac_val
=$ac_cv_c_inline;;
17493 cat >>confdefs.h
<<_ACEOF
17494 #ifndef __cplusplus
17495 #define inline $ac_val
17501 { echo "$as_me:$LINENO: checking for mode_t" >&5
17502 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17503 if test "${ac_cv_type_mode_t+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 cat >conftest.
$ac_ext <<_ACEOF
17509 cat confdefs.h
>>conftest.
$ac_ext
17510 cat >>conftest.
$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17512 $ac_includes_default
17513 typedef mode_t ac__type_new_;
17517 if ((ac__type_new_ *) 0)
17519 if (sizeof (ac__type_new_))
17525 rm -f conftest.
$ac_objext
17526 if { (ac_try
="$ac_compile"
17527 case "(($ac_try" in
17528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17529 *) ac_try_echo=$ac_try;;
17531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17532 (eval "$ac_compile") 2>conftest.er1
17534 grep -v '^ *+' conftest.er1 >conftest.err
17536 cat conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } && {
17539 test -z "$ac_c_werror_flag" ||
17540 test ! -s conftest.err
17541 } && test -s conftest.$ac_objext; then
17542 ac_cv_type_mode_t=yes
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.$ac_ext >&5
17547 ac_cv_type_mode_t=no
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17553 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17554 if test $ac_cv_type_mode_t = yes; then
17556 cat >>confdefs.h <<_ACEOF
17557 #define HAVE_MODE_T 1
17562 { echo "$as_me:$LINENO: checking for off_t" >&5
17563 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17564 if test "${ac_cv_type_off_t+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 cat >conftest.$ac_ext <<_ACEOF
17570 cat confdefs.h >>conftest.$ac_ext
17571 cat >>conftest.$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17573 $ac_includes_default
17574 typedef off_t ac__type_new_;
17578 if ((ac__type_new_ *) 0)
17580 if (sizeof (ac__type_new_))
17586 rm -f conftest.$ac_objext
17587 if { (ac_try="$ac_compile"
17588 case "(($ac_try" in
17589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17590 *) ac_try_echo
=$ac_try;;
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_compile") 2>conftest.er1
17595 grep -v '^ *+' conftest.er1
>conftest.err
17597 cat conftest.err
>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_c_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest.
$ac_objext; then
17603 ac_cv_type_off_t
=yes
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.
$ac_ext >&5
17608 ac_cv_type_off_t
=no
17611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17613 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17614 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17615 if test $ac_cv_type_off_t = yes; then
17617 cat >>confdefs.h
<<_ACEOF
17618 #define HAVE_OFF_T 1
17623 { echo "$as_me:$LINENO: checking for pid_t" >&5
17624 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17625 if test "${ac_cv_type_pid_t+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17628 cat >conftest.
$ac_ext <<_ACEOF
17631 cat confdefs.h
>>conftest.
$ac_ext
17632 cat >>conftest.
$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 $ac_includes_default
17635 typedef pid_t ac__type_new_;
17639 if ((ac__type_new_ *) 0)
17641 if (sizeof (ac__type_new_))
17647 rm -f conftest.
$ac_objext
17648 if { (ac_try
="$ac_compile"
17649 case "(($ac_try" in
17650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_compile") 2>conftest.er1
17656 grep -v '^ *+' conftest.er1 >conftest.err
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } && {
17661 test -z "$ac_c_werror_flag" ||
17662 test ! -s conftest.err
17663 } && test -s conftest.$ac_objext; then
17664 ac_cv_type_pid_t=yes
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 ac_cv_type_pid_t=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17675 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17676 if test $ac_cv_type_pid_t = yes; then
17678 cat >>confdefs.h <<_ACEOF
17679 #define HAVE_PID_T 1
17684 { echo "$as_me:$LINENO: checking for size_t" >&5
17685 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17686 if test "${ac_cv_type_size_t+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 cat >conftest.$ac_ext <<_ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 $ac_includes_default
17696 typedef size_t ac__type_new_;
17700 if ((ac__type_new_ *) 0)
17702 if (sizeof (ac__type_new_))
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17712 *) ac_try_echo
=$ac_try;;
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_c_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.
$ac_objext; then
17725 ac_cv_type_size_t
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 ac_cv_type_size_t
=no
17733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17735 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17736 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17737 if test $ac_cv_type_size_t = yes; then
17739 cat >>confdefs.h
<<_ACEOF
17740 #define HAVE_SIZE_T 1
17745 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17746 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17747 if test "${ac_cv_type_ssize_t+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 cat >conftest.
$ac_ext <<_ACEOF
17753 cat confdefs.h
>>conftest.
$ac_ext
17754 cat >>conftest.
$ac_ext <<_ACEOF
17755 /* end confdefs.h. */
17756 $ac_includes_default
17757 typedef ssize_t ac__type_new_;
17761 if ((ac__type_new_ *) 0)
17763 if (sizeof (ac__type_new_))
17769 rm -f conftest.
$ac_objext
17770 if { (ac_try
="$ac_compile"
17771 case "(($ac_try" in
17772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17773 *) ac_try_echo=$ac_try;;
17775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17776 (eval "$ac_compile") 2>conftest.er1
17778 grep -v '^ *+' conftest.er1 >conftest.err
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } && {
17783 test -z "$ac_c_werror_flag" ||
17784 test ! -s conftest.err
17785 } && test -s conftest.$ac_objext; then
17786 ac_cv_type_ssize_t=yes
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 ac_cv_type_ssize_t=no
17794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17796 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17797 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17798 if test $ac_cv_type_ssize_t = yes; then
17800 cat >>confdefs.h <<_ACEOF
17801 #define HAVE_SSIZE_T 1
17806 { echo "$as_me:$LINENO: checking for long long" >&5
17807 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17808 if test "${ac_cv_type_long_long+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17811 cat >conftest.$ac_ext <<_ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 $ac_includes_default
17818 typedef long long ac__type_new_;
17822 if ((ac__type_new_ *) 0)
17824 if (sizeof (ac__type_new_))
17830 rm -f conftest.$ac_objext
17831 if { (ac_try="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17834 *) ac_try_echo
=$ac_try;;
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17839 grep -v '^ *+' conftest.er1
>conftest.err
17841 cat conftest.err
>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.
$ac_objext; then
17847 ac_cv_type_long_long
=yes
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.
$ac_ext >&5
17852 ac_cv_type_long_long
=no
17855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17857 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17858 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17859 if test $ac_cv_type_long_long = yes; then
17861 cat >>confdefs.h
<<_ACEOF
17862 #define HAVE_LONG_LONG 1
17867 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17868 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17869 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 cat >conftest.
$ac_ext <<_ACEOF
17875 cat confdefs.h
>>conftest.
$ac_ext
17876 cat >>conftest.
$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878 $ac_includes_default
17879 typedef fsblkcnt_t ac__type_new_;
17883 if ((ac__type_new_ *) 0)
17885 if (sizeof (ac__type_new_))
17891 rm -f conftest.
$ac_objext
17892 if { (ac_try
="$ac_compile"
17893 case "(($ac_try" in
17894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17895 *) ac_try_echo=$ac_try;;
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_compile") 2>conftest.er1
17900 grep -v '^ *+' conftest.er1 >conftest.err
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } && {
17905 test -z "$ac_c_werror_flag" ||
17906 test ! -s conftest.err
17907 } && test -s conftest.$ac_objext; then
17908 ac_cv_type_fsblkcnt_t=yes
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.$ac_ext >&5
17913 ac_cv_type_fsblkcnt_t=no
17916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17919 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17920 if test $ac_cv_type_fsblkcnt_t = yes; then
17922 cat >>confdefs.h <<_ACEOF
17923 #define HAVE_FSBLKCNT_T 1
17928 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17929 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17930 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 cat >conftest.$ac_ext <<_ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 $ac_includes_default
17940 typedef fsfilcnt_t ac__type_new_;
17944 if ((ac__type_new_ *) 0)
17946 if (sizeof (ac__type_new_))
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17956 *) ac_try_echo
=$ac_try;;
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17961 grep -v '^ *+' conftest.er1
>conftest.err
17963 cat conftest.err
>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.
$ac_objext; then
17969 ac_cv_type_fsfilcnt_t
=yes
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.
$ac_ext >&5
17974 ac_cv_type_fsfilcnt_t
=no
17977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17979 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17980 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17981 if test $ac_cv_type_fsfilcnt_t = yes; then
17983 cat >>confdefs.h
<<_ACEOF
17984 #define HAVE_FSFILCNT_T 1
17990 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17991 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17992 if test "${ac_cv_type_sigset_t+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 cat >conftest.
$ac_ext <<_ACEOF
17998 cat confdefs.h
>>conftest.
$ac_ext
17999 cat >>conftest.
$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 #include <signal.h>
18003 typedef sigset_t ac__type_new_;
18007 if ((ac__type_new_ *) 0)
18009 if (sizeof (ac__type_new_))
18015 rm -f conftest.
$ac_objext
18016 if { (ac_try
="$ac_compile"
18017 case "(($ac_try" in
18018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18019 *) ac_try_echo=$ac_try;;
18021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18022 (eval "$ac_compile") 2>conftest.er1
18024 grep -v '^ *+' conftest.er1 >conftest.err
18026 cat conftest.err >&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); } && {
18029 test -z "$ac_c_werror_flag" ||
18030 test ! -s conftest.err
18031 } && test -s conftest.$ac_objext; then
18032 ac_cv_type_sigset_t=yes
18034 echo "$as_me: failed program was:" >&5
18035 sed 's/^/| /' conftest.$ac_ext >&5
18037 ac_cv_type_sigset_t=no
18040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18042 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18043 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18044 if test $ac_cv_type_sigset_t = yes; then
18046 cat >>confdefs.h <<_ACEOF
18047 #define HAVE_SIGSET_T 1
18053 { echo "$as_me:$LINENO: checking for request_sense" >&5
18054 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18055 if test "${ac_cv_type_request_sense+set}" = set; then
18056 echo $ECHO_N "(cached) $ECHO_C" >&6
18058 cat >conftest.$ac_ext <<_ACEOF
18061 cat confdefs.h >>conftest.$ac_ext
18062 cat >>conftest.$ac_ext <<_ACEOF
18063 /* end confdefs.h. */
18064 #include <linux/cdrom.h>
18066 typedef request_sense ac__type_new_;
18070 if ((ac__type_new_ *) 0)
18072 if (sizeof (ac__type_new_))
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18082 *) ac_try_echo
=$ac_try;;
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18087 grep -v '^ *+' conftest.er1
>conftest.err
18089 cat conftest.err
>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_c_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.
$ac_objext; then
18095 ac_cv_type_request_sense
=yes
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.
$ac_ext >&5
18100 ac_cv_type_request_sense
=no
18103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18105 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18106 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18107 if test $ac_cv_type_request_sense = yes; then
18109 cat >>confdefs.h
<<_ACEOF
18110 #define HAVE_REQUEST_SENSE 1
18117 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18118 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18119 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18120 echo $ECHO_N "(cached) $ECHO_C" >&6
18122 cat >conftest.
$ac_ext <<_ACEOF
18125 cat confdefs.h
>>conftest.
$ac_ext
18126 cat >>conftest.
$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 #ifdef HAVE_LINUX_INPUT_H
18129 #include <linux/input.h>
18135 static struct ff_effect ac_aggr;
18136 if (ac_aggr.direction)
18142 rm -f conftest.
$ac_objext
18143 if { (ac_try
="$ac_compile"
18144 case "(($ac_try" in
18145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18146 *) ac_try_echo=$ac_try;;
18148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18149 (eval "$ac_compile") 2>conftest.er1
18151 grep -v '^ *+' conftest.er1 >conftest.err
18153 cat conftest.err >&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } && {
18156 test -z "$ac_c_werror_flag" ||
18157 test ! -s conftest.err
18158 } && test -s conftest.$ac_objext; then
18159 ac_cv_member_struct_ff_effect_direction=yes
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18164 cat >conftest.$ac_ext <<_ACEOF
18167 cat confdefs.h >>conftest.$ac_ext
18168 cat >>conftest.$ac_ext <<_ACEOF
18169 /* end confdefs.h. */
18170 #ifdef HAVE_LINUX_INPUT_H
18171 #include <linux/input.h>
18177 static struct ff_effect ac_aggr;
18178 if (sizeof ac_aggr.direction)
18184 rm -f conftest.$ac_objext
18185 if { (ac_try="$ac_compile"
18186 case "(($ac_try" in
18187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18188 *) ac_try_echo
=$ac_try;;
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_compile") 2>conftest.er1
18193 grep -v '^ *+' conftest.er1
>conftest.err
18195 cat conftest.err
>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } && {
18198 test -z "$ac_c_werror_flag" ||
18199 test ! -s conftest.err
18200 } && test -s conftest.
$ac_objext; then
18201 ac_cv_member_struct_ff_effect_direction
=yes
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.
$ac_ext >&5
18206 ac_cv_member_struct_ff_effect_direction
=no
18209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18214 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18215 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18216 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18218 cat >>confdefs.h
<<_ACEOF
18219 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18226 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18227 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18228 if test "${wine_cv_have_sigaddset+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 cat >conftest.
$ac_ext <<_ACEOF
18234 cat confdefs.h
>>conftest.
$ac_ext
18235 cat >>conftest.
$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18237 #include <signal.h>
18241 sigset_t set; sigaddset(&set,SIGTERM);
18246 rm -f conftest.
$ac_objext conftest
$ac_exeext
18247 if { (ac_try
="$ac_link"
18248 case "(($ac_try" in
18249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_link") 2>conftest.er1
18255 grep -v '^ *+' conftest.er1 >conftest.err
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && {
18260 test -z "$ac_c_werror_flag" ||
18261 test ! -s conftest.err
18262 } && test -s conftest$ac_exeext &&
18263 $as_test_x conftest$ac_exeext; then
18264 wine_cv_have_sigaddset=yes
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.$ac_ext >&5
18269 wine_cv_have_sigaddset=no
18272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18273 conftest$ac_exeext conftest.$ac_ext
18275 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18276 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18277 if test "$wine_cv_have_sigaddset" = "yes"
18280 cat >>confdefs.h <<\_ACEOF
18281 #define HAVE_SIGADDSET 1
18287 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18288 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18289 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18290 echo $ECHO_N "(cached) $ECHO_C" >&6
18292 cat >conftest.$ac_ext <<_ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18305 struct hostent *result;
18312 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18313 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18319 rm -f conftest.$ac_objext conftest$ac_exeext
18320 if { (ac_try="$ac_link"
18321 case "(($ac_try" in
18322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18323 *) ac_try_echo
=$ac_try;;
18325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18326 (eval "$ac_link") 2>conftest.er1
18328 grep -v '^ *+' conftest.er1
>conftest.err
18330 cat conftest.err
>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); } && {
18333 test -z "$ac_c_werror_flag" ||
18334 test ! -s conftest.err
18335 } && test -s conftest
$ac_exeext &&
18336 $as_test_x conftest
$ac_exeext; then
18337 wine_cv_linux_gethostbyname_r_6
=yes
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.
$ac_ext >&5
18342 wine_cv_linux_gethostbyname_r_6
=no
18346 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18347 conftest
$ac_exeext conftest.
$ac_ext
18350 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18351 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18352 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18355 cat >>confdefs.h
<<\_ACEOF
18356 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18361 if test "$ac_cv_header_linux_joystick_h" = "yes"
18363 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18364 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18365 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18368 cat >conftest.
$ac_ext <<_ACEOF
18371 cat confdefs.h
>>conftest.
$ac_ext
18372 cat >>conftest.
$ac_ext <<_ACEOF
18373 /* end confdefs.h. */
18375 #include <sys/ioctl.h>
18376 #include <sys/types.h>
18377 #include <linux/joystick.h>
18379 struct js_event blub;
18380 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18381 #error "no 2.2 header"
18392 rm -f conftest.
$ac_objext
18393 if { (ac_try
="$ac_compile"
18394 case "(($ac_try" in
18395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18396 *) ac_try_echo=$ac_try;;
18398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18399 (eval "$ac_compile") 2>conftest.er1
18401 grep -v '^ *+' conftest.er1 >conftest.err
18403 cat conftest.err >&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); } && {
18406 test -z "$ac_c_werror_flag" ||
18407 test ! -s conftest.err
18408 } && test -s conftest.$ac_objext; then
18409 wine_cv_linux_joystick_22_api=yes
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.$ac_ext >&5
18414 wine_cv_linux_joystick_22_api=no
18417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18421 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18422 if test "$wine_cv_linux_joystick_22_api" = "yes"
18425 cat >>confdefs.h <<\_ACEOF
18426 #define HAVE_LINUX_22_JOYSTICK_API 1
18433 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18434 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18435 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18436 echo $ECHO_N "(cached) $ECHO_C" >&6
18438 cat >conftest.$ac_ext <<_ACEOF
18441 cat confdefs.h >>conftest.$ac_ext
18442 cat >>conftest.$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 #include <sys/types.h>
18445 #ifdef HAVE_SYS_PARAM_H
18446 # include <sys/param.h>
18448 #ifdef HAVE_SYS_MOUNT_H
18449 # include <sys/mount.h>
18451 #ifdef HAVE_SYS_VFS_H
18452 # include <sys/vfs.h>
18454 #ifdef HAVE_SYS_STATFS_H
18455 # include <sys/statfs.h>
18461 static struct statfs ac_aggr;
18462 if (ac_aggr.f_bfree)
18468 rm -f conftest.$ac_objext
18469 if { (ac_try="$ac_compile"
18470 case "(($ac_try" in
18471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18472 *) ac_try_echo
=$ac_try;;
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_compile") 2>conftest.er1
18477 grep -v '^ *+' conftest.er1
>conftest.err
18479 cat conftest.err
>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && {
18482 test -z "$ac_c_werror_flag" ||
18483 test ! -s conftest.err
18484 } && test -s conftest.
$ac_objext; then
18485 ac_cv_member_struct_statfs_f_bfree
=yes
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.
$ac_ext >&5
18490 cat >conftest.
$ac_ext <<_ACEOF
18493 cat confdefs.h
>>conftest.
$ac_ext
18494 cat >>conftest.
$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 #include <sys/types.h>
18497 #ifdef HAVE_SYS_PARAM_H
18498 # include <sys/param.h>
18500 #ifdef HAVE_SYS_MOUNT_H
18501 # include <sys/mount.h>
18503 #ifdef HAVE_SYS_VFS_H
18504 # include <sys/vfs.h>
18506 #ifdef HAVE_SYS_STATFS_H
18507 # include <sys/statfs.h>
18513 static struct statfs ac_aggr;
18514 if (sizeof ac_aggr.f_bfree)
18520 rm -f conftest.
$ac_objext
18521 if { (ac_try
="$ac_compile"
18522 case "(($ac_try" in
18523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18524 *) ac_try_echo=$ac_try;;
18526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18527 (eval "$ac_compile") 2>conftest.er1
18529 grep -v '^ *+' conftest.er1 >conftest.err
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && {
18534 test -z "$ac_c_werror_flag" ||
18535 test ! -s conftest.err
18536 } && test -s conftest.$ac_objext; then
18537 ac_cv_member_struct_statfs_f_bfree=yes
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18542 ac_cv_member_struct_statfs_f_bfree=no
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18551 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18552 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18554 cat >>confdefs.h <<_ACEOF
18555 #define HAVE_STRUCT_STATFS_F_BFREE 1
18560 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18561 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18562 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18565 cat >conftest.$ac_ext <<_ACEOF
18568 cat confdefs.h >>conftest.$ac_ext
18569 cat >>conftest.$ac_ext <<_ACEOF
18570 /* end confdefs.h. */
18571 #include <sys/types.h>
18572 #ifdef HAVE_SYS_PARAM_H
18573 # include <sys/param.h>
18575 #ifdef HAVE_SYS_MOUNT_H
18576 # include <sys/mount.h>
18578 #ifdef HAVE_SYS_VFS_H
18579 # include <sys/vfs.h>
18581 #ifdef HAVE_SYS_STATFS_H
18582 # include <sys/statfs.h>
18588 static struct statfs ac_aggr;
18589 if (ac_aggr.f_bavail)
18595 rm -f conftest.$ac_objext
18596 if { (ac_try="$ac_compile"
18597 case "(($ac_try" in
18598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18599 *) ac_try_echo
=$ac_try;;
18601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18602 (eval "$ac_compile") 2>conftest.er1
18604 grep -v '^ *+' conftest.er1
>conftest.err
18606 cat conftest.err
>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); } && {
18609 test -z "$ac_c_werror_flag" ||
18610 test ! -s conftest.err
18611 } && test -s conftest.
$ac_objext; then
18612 ac_cv_member_struct_statfs_f_bavail
=yes
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.
$ac_ext >&5
18617 cat >conftest.
$ac_ext <<_ACEOF
18620 cat confdefs.h
>>conftest.
$ac_ext
18621 cat >>conftest.
$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 #include <sys/types.h>
18624 #ifdef HAVE_SYS_PARAM_H
18625 # include <sys/param.h>
18627 #ifdef HAVE_SYS_MOUNT_H
18628 # include <sys/mount.h>
18630 #ifdef HAVE_SYS_VFS_H
18631 # include <sys/vfs.h>
18633 #ifdef HAVE_SYS_STATFS_H
18634 # include <sys/statfs.h>
18640 static struct statfs ac_aggr;
18641 if (sizeof ac_aggr.f_bavail)
18647 rm -f conftest.
$ac_objext
18648 if { (ac_try
="$ac_compile"
18649 case "(($ac_try" in
18650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_compile") 2>conftest.er1
18656 grep -v '^ *+' conftest.er1 >conftest.err
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } && {
18661 test -z "$ac_c_werror_flag" ||
18662 test ! -s conftest.err
18663 } && test -s conftest.$ac_objext; then
18664 ac_cv_member_struct_statfs_f_bavail=yes
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.$ac_ext >&5
18669 ac_cv_member_struct_statfs_f_bavail=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18677 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18678 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18679 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18687 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18688 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18689 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 cat >conftest.$ac_ext <<_ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 #include <sys/types.h>
18699 #ifdef HAVE_SYS_PARAM_H
18700 # include <sys/param.h>
18702 #ifdef HAVE_SYS_MOUNT_H
18703 # include <sys/mount.h>
18705 #ifdef HAVE_SYS_VFS_H
18706 # include <sys/vfs.h>
18708 #ifdef HAVE_SYS_STATFS_H
18709 # include <sys/statfs.h>
18715 static struct statfs ac_aggr;
18716 if (ac_aggr.f_frsize)
18722 rm -f conftest.$ac_objext
18723 if { (ac_try="$ac_compile"
18724 case "(($ac_try" in
18725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18726 *) ac_try_echo
=$ac_try;;
18728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18729 (eval "$ac_compile") 2>conftest.er1
18731 grep -v '^ *+' conftest.er1
>conftest.err
18733 cat conftest.err
>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } && {
18736 test -z "$ac_c_werror_flag" ||
18737 test ! -s conftest.err
18738 } && test -s conftest.
$ac_objext; then
18739 ac_cv_member_struct_statfs_f_frsize
=yes
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.
$ac_ext >&5
18744 cat >conftest.
$ac_ext <<_ACEOF
18747 cat confdefs.h
>>conftest.
$ac_ext
18748 cat >>conftest.
$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18750 #include <sys/types.h>
18751 #ifdef HAVE_SYS_PARAM_H
18752 # include <sys/param.h>
18754 #ifdef HAVE_SYS_MOUNT_H
18755 # include <sys/mount.h>
18757 #ifdef HAVE_SYS_VFS_H
18758 # include <sys/vfs.h>
18760 #ifdef HAVE_SYS_STATFS_H
18761 # include <sys/statfs.h>
18767 static struct statfs ac_aggr;
18768 if (sizeof ac_aggr.f_frsize)
18774 rm -f conftest.
$ac_objext
18775 if { (ac_try
="$ac_compile"
18776 case "(($ac_try" in
18777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18778 *) ac_try_echo=$ac_try;;
18780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18781 (eval "$ac_compile") 2>conftest.er1
18783 grep -v '^ *+' conftest.er1 >conftest.err
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } && {
18788 test -z "$ac_c_werror_flag" ||
18789 test ! -s conftest.err
18790 } && test -s conftest.$ac_objext; then
18791 ac_cv_member_struct_statfs_f_frsize=yes
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 ac_cv_member_struct_statfs_f_frsize=no
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18805 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18806 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18808 cat >>confdefs.h <<_ACEOF
18809 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18814 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18815 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18816 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18817 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 cat >conftest.$ac_ext <<_ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 #include <sys/types.h>
18826 #ifdef HAVE_SYS_PARAM_H
18827 # include <sys/param.h>
18829 #ifdef HAVE_SYS_MOUNT_H
18830 # include <sys/mount.h>
18832 #ifdef HAVE_SYS_VFS_H
18833 # include <sys/vfs.h>
18835 #ifdef HAVE_SYS_STATFS_H
18836 # include <sys/statfs.h>
18842 static struct statfs ac_aggr;
18843 if (ac_aggr.f_ffree)
18849 rm -f conftest.$ac_objext
18850 if { (ac_try="$ac_compile"
18851 case "(($ac_try" in
18852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18853 *) ac_try_echo
=$ac_try;;
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_compile") 2>conftest.er1
18858 grep -v '^ *+' conftest.er1
>conftest.err
18860 cat conftest.err
>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && {
18863 test -z "$ac_c_werror_flag" ||
18864 test ! -s conftest.err
18865 } && test -s conftest.
$ac_objext; then
18866 ac_cv_member_struct_statfs_f_ffree
=yes
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.
$ac_ext >&5
18871 cat >conftest.
$ac_ext <<_ACEOF
18874 cat confdefs.h
>>conftest.
$ac_ext
18875 cat >>conftest.
$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 #include <sys/types.h>
18878 #ifdef HAVE_SYS_PARAM_H
18879 # include <sys/param.h>
18881 #ifdef HAVE_SYS_MOUNT_H
18882 # include <sys/mount.h>
18884 #ifdef HAVE_SYS_VFS_H
18885 # include <sys/vfs.h>
18887 #ifdef HAVE_SYS_STATFS_H
18888 # include <sys/statfs.h>
18894 static struct statfs ac_aggr;
18895 if (sizeof ac_aggr.f_ffree)
18901 rm -f conftest.
$ac_objext
18902 if { (ac_try
="$ac_compile"
18903 case "(($ac_try" in
18904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18905 *) ac_try_echo=$ac_try;;
18907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18908 (eval "$ac_compile") 2>conftest.er1
18910 grep -v '^ *+' conftest.er1 >conftest.err
18912 cat conftest.err >&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } && {
18915 test -z "$ac_c_werror_flag" ||
18916 test ! -s conftest.err
18917 } && test -s conftest.$ac_objext; then
18918 ac_cv_member_struct_statfs_f_ffree=yes
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18923 ac_cv_member_struct_statfs_f_ffree=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18932 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18933 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_STRUCT_STATFS_F_FFREE 1
18941 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18942 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18943 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 cat >conftest.$ac_ext <<_ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 #include <sys/types.h>
18953 #ifdef HAVE_SYS_PARAM_H
18954 # include <sys/param.h>
18956 #ifdef HAVE_SYS_MOUNT_H
18957 # include <sys/mount.h>
18959 #ifdef HAVE_SYS_VFS_H
18960 # include <sys/vfs.h>
18962 #ifdef HAVE_SYS_STATFS_H
18963 # include <sys/statfs.h>
18969 static struct statfs ac_aggr;
18970 if (ac_aggr.f_favail)
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18980 *) ac_try_echo
=$ac_try;;
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18985 grep -v '^ *+' conftest.er1
>conftest.err
18987 cat conftest.err
>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.
$ac_objext; then
18993 ac_cv_member_struct_statfs_f_favail
=yes
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 cat >conftest.
$ac_ext <<_ACEOF
19001 cat confdefs.h
>>conftest.
$ac_ext
19002 cat >>conftest.
$ac_ext <<_ACEOF
19003 /* end confdefs.h. */
19004 #include <sys/types.h>
19005 #ifdef HAVE_SYS_PARAM_H
19006 # include <sys/param.h>
19008 #ifdef HAVE_SYS_MOUNT_H
19009 # include <sys/mount.h>
19011 #ifdef HAVE_SYS_VFS_H
19012 # include <sys/vfs.h>
19014 #ifdef HAVE_SYS_STATFS_H
19015 # include <sys/statfs.h>
19021 static struct statfs ac_aggr;
19022 if (sizeof ac_aggr.f_favail)
19028 rm -f conftest.
$ac_objext
19029 if { (ac_try
="$ac_compile"
19030 case "(($ac_try" in
19031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19032 *) ac_try_echo=$ac_try;;
19034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19035 (eval "$ac_compile") 2>conftest.er1
19037 grep -v '^ *+' conftest.er1 >conftest.err
19039 cat conftest.err >&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } && {
19042 test -z "$ac_c_werror_flag" ||
19043 test ! -s conftest.err
19044 } && test -s conftest.$ac_objext; then
19045 ac_cv_member_struct_statfs_f_favail=yes
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.$ac_ext >&5
19050 ac_cv_member_struct_statfs_f_favail=no
19053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19059 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19060 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19068 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19069 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19070 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 cat >conftest.$ac_ext <<_ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <sys/types.h>
19080 #ifdef HAVE_SYS_PARAM_H
19081 # include <sys/param.h>
19083 #ifdef HAVE_SYS_MOUNT_H
19084 # include <sys/mount.h>
19086 #ifdef HAVE_SYS_VFS_H
19087 # include <sys/vfs.h>
19089 #ifdef HAVE_SYS_STATFS_H
19090 # include <sys/statfs.h>
19096 static struct statfs ac_aggr;
19097 if (ac_aggr.f_namelen)
19103 rm -f conftest.$ac_objext
19104 if { (ac_try="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19107 *) ac_try_echo
=$ac_try;;
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19112 grep -v '^ *+' conftest.er1
>conftest.err
19114 cat conftest.err
>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.
$ac_objext; then
19120 ac_cv_member_struct_statfs_f_namelen
=yes
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.
$ac_ext >&5
19125 cat >conftest.
$ac_ext <<_ACEOF
19128 cat confdefs.h
>>conftest.
$ac_ext
19129 cat >>conftest.
$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 #include <sys/types.h>
19132 #ifdef HAVE_SYS_PARAM_H
19133 # include <sys/param.h>
19135 #ifdef HAVE_SYS_MOUNT_H
19136 # include <sys/mount.h>
19138 #ifdef HAVE_SYS_VFS_H
19139 # include <sys/vfs.h>
19141 #ifdef HAVE_SYS_STATFS_H
19142 # include <sys/statfs.h>
19148 static struct statfs ac_aggr;
19149 if (sizeof ac_aggr.f_namelen)
19155 rm -f conftest.
$ac_objext
19156 if { (ac_try
="$ac_compile"
19157 case "(($ac_try" in
19158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19159 *) ac_try_echo=$ac_try;;
19161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19162 (eval "$ac_compile") 2>conftest.er1
19164 grep -v '^ *+' conftest.er1 >conftest.err
19166 cat conftest.err >&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); } && {
19169 test -z "$ac_c_werror_flag" ||
19170 test ! -s conftest.err
19171 } && test -s conftest.$ac_objext; then
19172 ac_cv_member_struct_statfs_f_namelen=yes
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.$ac_ext >&5
19177 ac_cv_member_struct_statfs_f_namelen=no
19180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19186 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19187 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19197 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19198 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19199 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19200 echo $ECHO_N "(cached) $ECHO_C" >&6
19202 cat >conftest.$ac_ext <<_ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #ifdef HAVE_SYS_STATVFS_H
19209 #include <sys/statvfs.h>
19215 static struct statvfs ac_aggr;
19216 if (ac_aggr.f_blocks)
19222 rm -f conftest.$ac_objext
19223 if { (ac_try="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19226 *) ac_try_echo
=$ac_try;;
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19231 grep -v '^ *+' conftest.er1
>conftest.err
19233 cat conftest.err
>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_c_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest.
$ac_objext; then
19239 ac_cv_member_struct_statvfs_f_blocks
=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.
$ac_ext >&5
19244 cat >conftest.
$ac_ext <<_ACEOF
19247 cat confdefs.h
>>conftest.
$ac_ext
19248 cat >>conftest.
$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #ifdef HAVE_SYS_STATVFS_H
19251 #include <sys/statvfs.h>
19257 static struct statvfs ac_aggr;
19258 if (sizeof ac_aggr.f_blocks)
19264 rm -f conftest.
$ac_objext
19265 if { (ac_try
="$ac_compile"
19266 case "(($ac_try" in
19267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_compile") 2>conftest.er1
19273 grep -v '^ *+' conftest.er1 >conftest.err
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } && {
19278 test -z "$ac_c_werror_flag" ||
19279 test ! -s conftest.err
19280 } && test -s conftest.$ac_objext; then
19281 ac_cv_member_struct_statvfs_f_blocks=yes
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19286 ac_cv_member_struct_statvfs_f_blocks=no
19289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19294 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19295 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19296 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19306 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19307 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19308 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19309 echo $ECHO_N "(cached) $ECHO_C" >&6
19311 cat >conftest.$ac_ext <<_ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 #include <sys/types.h>
19318 #ifdef HAVE_SYS_SOCKET_H
19319 # include <sys/socket.h>
19321 #ifdef HAVE_SYS_UN_H
19322 # include <sys/un.h>
19328 static struct msghdr ac_aggr;
19329 if (ac_aggr.msg_accrights)
19335 rm -f conftest.$ac_objext
19336 if { (ac_try="$ac_compile"
19337 case "(($ac_try" in
19338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19339 *) ac_try_echo
=$ac_try;;
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_compile") 2>conftest.er1
19344 grep -v '^ *+' conftest.er1
>conftest.err
19346 cat conftest.err
>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } && {
19349 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest.
$ac_objext; then
19352 ac_cv_member_struct_msghdr_msg_accrights
=yes
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.
$ac_ext >&5
19357 cat >conftest.
$ac_ext <<_ACEOF
19360 cat confdefs.h
>>conftest.
$ac_ext
19361 cat >>conftest.
$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 #include <sys/types.h>
19364 #ifdef HAVE_SYS_SOCKET_H
19365 # include <sys/socket.h>
19367 #ifdef HAVE_SYS_UN_H
19368 # include <sys/un.h>
19374 static struct msghdr ac_aggr;
19375 if (sizeof ac_aggr.msg_accrights)
19381 rm -f conftest.
$ac_objext
19382 if { (ac_try
="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1 >conftest.err
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_cv_member_struct_msghdr_msg_accrights=yes
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 ac_cv_member_struct_msghdr_msg_accrights=no
19406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19411 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19412 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19413 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19415 cat >>confdefs.h <<_ACEOF
19416 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19421 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19422 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19423 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 cat >conftest.$ac_ext <<_ACEOF
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432 #include <sys/types.h>
19433 #ifdef HAVE_SYS_SOCKET_H
19434 # include <sys/socket.h>
19436 #ifdef HAVE_SYS_UN_H
19437 # include <sys/un.h>
19443 static struct sockaddr ac_aggr;
19444 if (ac_aggr.sa_len)
19450 rm -f conftest.$ac_objext
19451 if { (ac_try="$ac_compile"
19452 case "(($ac_try" in
19453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19454 *) ac_try_echo
=$ac_try;;
19456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19457 (eval "$ac_compile") 2>conftest.er1
19459 grep -v '^ *+' conftest.er1
>conftest.err
19461 cat conftest.err
>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } && {
19464 test -z "$ac_c_werror_flag" ||
19465 test ! -s conftest.err
19466 } && test -s conftest.
$ac_objext; then
19467 ac_cv_member_struct_sockaddr_sa_len
=yes
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.
$ac_ext >&5
19472 cat >conftest.
$ac_ext <<_ACEOF
19475 cat confdefs.h
>>conftest.
$ac_ext
19476 cat >>conftest.
$ac_ext <<_ACEOF
19477 /* end confdefs.h. */
19478 #include <sys/types.h>
19479 #ifdef HAVE_SYS_SOCKET_H
19480 # include <sys/socket.h>
19482 #ifdef HAVE_SYS_UN_H
19483 # include <sys/un.h>
19489 static struct sockaddr ac_aggr;
19490 if (sizeof ac_aggr.sa_len)
19496 rm -f conftest.
$ac_objext
19497 if { (ac_try
="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19505 grep -v '^ *+' conftest.er1 >conftest.err
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_member_struct_sockaddr_sa_len=yes
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 ac_cv_member_struct_sockaddr_sa_len=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19527 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19528 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19530 cat >>confdefs.h <<_ACEOF
19531 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19536 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19537 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19538 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 cat >conftest.$ac_ext <<_ACEOF
19544 cat confdefs.h >>conftest.$ac_ext
19545 cat >>conftest.$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 #include <sys/types.h>
19548 #ifdef HAVE_SYS_SOCKET_H
19549 # include <sys/socket.h>
19551 #ifdef HAVE_SYS_UN_H
19552 # include <sys/un.h>
19558 static struct sockaddr_un ac_aggr;
19559 if (ac_aggr.sun_len)
19565 rm -f conftest.$ac_objext
19566 if { (ac_try="$ac_compile"
19567 case "(($ac_try" in
19568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19569 *) ac_try_echo
=$ac_try;;
19571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19572 (eval "$ac_compile") 2>conftest.er1
19574 grep -v '^ *+' conftest.er1
>conftest.err
19576 cat conftest.err
>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } && {
19579 test -z "$ac_c_werror_flag" ||
19580 test ! -s conftest.err
19581 } && test -s conftest.
$ac_objext; then
19582 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.
$ac_ext >&5
19587 cat >conftest.
$ac_ext <<_ACEOF
19590 cat confdefs.h
>>conftest.
$ac_ext
19591 cat >>conftest.
$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19593 #include <sys/types.h>
19594 #ifdef HAVE_SYS_SOCKET_H
19595 # include <sys/socket.h>
19597 #ifdef HAVE_SYS_UN_H
19598 # include <sys/un.h>
19604 static struct sockaddr_un ac_aggr;
19605 if (sizeof ac_aggr.sun_len)
19611 rm -f conftest.
$ac_objext
19612 if { (ac_try
="$ac_compile"
19613 case "(($ac_try" in
19614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19615 *) ac_try_echo=$ac_try;;
19617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19618 (eval "$ac_compile") 2>conftest.er1
19620 grep -v '^ *+' conftest.er1 >conftest.err
19622 cat conftest.err >&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } && {
19625 test -z "$ac_c_werror_flag" ||
19626 test ! -s conftest.err
19627 } && test -s conftest.$ac_objext; then
19628 ac_cv_member_struct_sockaddr_un_sun_len=yes
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.$ac_ext >&5
19633 ac_cv_member_struct_sockaddr_un_sun_len=no
19636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19641 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19642 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19643 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19645 cat >>confdefs.h <<_ACEOF
19646 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19653 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19654 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19655 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19656 echo $ECHO_N "(cached) $ECHO_C" >&6
19658 cat >conftest.$ac_ext <<_ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 #include <sys/types.h>
19665 #ifdef HAVE_SCSI_SG_H
19666 #include <scsi/sg.h>
19672 static scsireq_t ac_aggr;
19679 rm -f conftest.$ac_objext
19680 if { (ac_try="$ac_compile"
19681 case "(($ac_try" in
19682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19683 *) ac_try_echo
=$ac_try;;
19685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19686 (eval "$ac_compile") 2>conftest.er1
19688 grep -v '^ *+' conftest.er1
>conftest.err
19690 cat conftest.err
>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); } && {
19693 test -z "$ac_c_werror_flag" ||
19694 test ! -s conftest.err
19695 } && test -s conftest.
$ac_objext; then
19696 ac_cv_member_scsireq_t_cmd
=yes
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.
$ac_ext >&5
19701 cat >conftest.
$ac_ext <<_ACEOF
19704 cat confdefs.h
>>conftest.
$ac_ext
19705 cat >>conftest.
$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19707 #include <sys/types.h>
19708 #ifdef HAVE_SCSI_SG_H
19709 #include <scsi/sg.h>
19715 static scsireq_t ac_aggr;
19716 if (sizeof ac_aggr.cmd)
19722 rm -f conftest.
$ac_objext
19723 if { (ac_try
="$ac_compile"
19724 case "(($ac_try" in
19725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19726 *) ac_try_echo=$ac_try;;
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_compile") 2>conftest.er1
19731 grep -v '^ *+' conftest.er1 >conftest.err
19733 cat conftest.err >&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } && {
19736 test -z "$ac_c_werror_flag" ||
19737 test ! -s conftest.err
19738 } && test -s conftest.$ac_objext; then
19739 ac_cv_member_scsireq_t_cmd=yes
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.$ac_ext >&5
19744 ac_cv_member_scsireq_t_cmd=no
19747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19752 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19753 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19754 if test $ac_cv_member_scsireq_t_cmd = yes; then
19756 cat >>confdefs.h <<_ACEOF
19757 #define HAVE_SCSIREQ_T_CMD 1
19762 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19763 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19764 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 cat >conftest.$ac_ext <<_ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 #include <sys/types.h>
19774 #ifdef HAVE_SCSI_SG_H
19775 #include <scsi/sg.h>
19781 static sg_io_hdr_t ac_aggr;
19782 if (ac_aggr.interface_id)
19788 rm -f conftest.$ac_objext
19789 if { (ac_try="$ac_compile"
19790 case "(($ac_try" in
19791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19792 *) ac_try_echo
=$ac_try;;
19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_compile") 2>conftest.er1
19797 grep -v '^ *+' conftest.er1
>conftest.err
19799 cat conftest.err
>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } && {
19802 test -z "$ac_c_werror_flag" ||
19803 test ! -s conftest.err
19804 } && test -s conftest.
$ac_objext; then
19805 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.
$ac_ext >&5
19810 cat >conftest.
$ac_ext <<_ACEOF
19813 cat confdefs.h
>>conftest.
$ac_ext
19814 cat >>conftest.
$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 #include <sys/types.h>
19817 #ifdef HAVE_SCSI_SG_H
19818 #include <scsi/sg.h>
19824 static sg_io_hdr_t ac_aggr;
19825 if (sizeof ac_aggr.interface_id)
19831 rm -f conftest.
$ac_objext
19832 if { (ac_try
="$ac_compile"
19833 case "(($ac_try" in
19834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19835 *) ac_try_echo=$ac_try;;
19837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19838 (eval "$ac_compile") 2>conftest.er1
19840 grep -v '^ *+' conftest.er1 >conftest.err
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } && {
19845 test -z "$ac_c_werror_flag" ||
19846 test ! -s conftest.err
19847 } && test -s conftest.$ac_objext; then
19848 ac_cv_member_sg_io_hdr_t_interface_id=yes
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.$ac_ext >&5
19853 ac_cv_member_sg_io_hdr_t_interface_id=no
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19862 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19863 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19865 cat >>confdefs.h <<_ACEOF
19866 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19873 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19874 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19875 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 cat >conftest.$ac_ext <<_ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 #include <signal.h>
19889 static siginfo_t ac_aggr;
19896 rm -f conftest.$ac_objext
19897 if { (ac_try="$ac_compile"
19898 case "(($ac_try" in
19899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19900 *) ac_try_echo
=$ac_try;;
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_compile") 2>conftest.er1
19905 grep -v '^ *+' conftest.er1
>conftest.err
19907 cat conftest.err
>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } && {
19910 test -z "$ac_c_werror_flag" ||
19911 test ! -s conftest.err
19912 } && test -s conftest.
$ac_objext; then
19913 ac_cv_member_siginfo_t_si_fd
=yes
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.
$ac_ext >&5
19918 cat >conftest.
$ac_ext <<_ACEOF
19921 cat confdefs.h
>>conftest.
$ac_ext
19922 cat >>conftest.
$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 #include <signal.h>
19929 static siginfo_t ac_aggr;
19930 if (sizeof ac_aggr.si_fd)
19936 rm -f conftest.
$ac_objext
19937 if { (ac_try
="$ac_compile"
19938 case "(($ac_try" in
19939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19940 *) ac_try_echo=$ac_try;;
19942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19943 (eval "$ac_compile") 2>conftest.er1
19945 grep -v '^ *+' conftest.er1 >conftest.err
19947 cat conftest.err >&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } && {
19950 test -z "$ac_c_werror_flag" ||
19951 test ! -s conftest.err
19952 } && test -s conftest.$ac_objext; then
19953 ac_cv_member_siginfo_t_si_fd=yes
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19958 ac_cv_member_siginfo_t_si_fd=no
19961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19966 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19967 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19968 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19970 cat >>confdefs.h <<_ACEOF
19971 #define HAVE_SIGINFO_T_SI_FD 1
19978 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19979 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19980 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19981 echo $ECHO_N "(cached) $ECHO_C" >&6
19983 cat >conftest.$ac_ext <<_ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 #include <sys/types.h>
19990 #ifdef HAVE_SYS_MTIO_H
19991 #include <sys/mtio.h>
19997 static struct mtget ac_aggr;
19998 if (ac_aggr.mt_blksiz)
20004 rm -f conftest.$ac_objext
20005 if { (ac_try="$ac_compile"
20006 case "(($ac_try" in
20007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20008 *) ac_try_echo
=$ac_try;;
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_compile") 2>conftest.er1
20013 grep -v '^ *+' conftest.er1
>conftest.err
20015 cat conftest.err
>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && {
20018 test -z "$ac_c_werror_flag" ||
20019 test ! -s conftest.err
20020 } && test -s conftest.
$ac_objext; then
20021 ac_cv_member_struct_mtget_mt_blksiz
=yes
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.
$ac_ext >&5
20026 cat >conftest.
$ac_ext <<_ACEOF
20029 cat confdefs.h
>>conftest.
$ac_ext
20030 cat >>conftest.
$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 #include <sys/types.h>
20033 #ifdef HAVE_SYS_MTIO_H
20034 #include <sys/mtio.h>
20040 static struct mtget ac_aggr;
20041 if (sizeof ac_aggr.mt_blksiz)
20047 rm -f conftest.
$ac_objext
20048 if { (ac_try
="$ac_compile"
20049 case "(($ac_try" in
20050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20051 *) ac_try_echo=$ac_try;;
20053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20054 (eval "$ac_compile") 2>conftest.er1
20056 grep -v '^ *+' conftest.er1 >conftest.err
20058 cat conftest.err >&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } && {
20061 test -z "$ac_c_werror_flag" ||
20062 test ! -s conftest.err
20063 } && test -s conftest.$ac_objext; then
20064 ac_cv_member_struct_mtget_mt_blksiz=yes
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.$ac_ext >&5
20069 ac_cv_member_struct_mtget_mt_blksiz=no
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20078 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20079 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20081 cat >>confdefs.h <<_ACEOF
20082 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20087 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20088 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20089 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20090 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 cat >conftest.$ac_ext <<_ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 #include <sys/types.h>
20099 #ifdef HAVE_SYS_MTIO_H
20100 #include <sys/mtio.h>
20106 static struct mtget ac_aggr;
20107 if (ac_aggr.mt_gstat)
20113 rm -f conftest.$ac_objext
20114 if { (ac_try="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20117 *) ac_try_echo
=$ac_try;;
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20122 grep -v '^ *+' conftest.er1
>conftest.err
20124 cat conftest.err
>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.
$ac_objext; then
20130 ac_cv_member_struct_mtget_mt_gstat
=yes
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.
$ac_ext >&5
20135 cat >conftest.
$ac_ext <<_ACEOF
20138 cat confdefs.h
>>conftest.
$ac_ext
20139 cat >>conftest.
$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20141 #include <sys/types.h>
20142 #ifdef HAVE_SYS_MTIO_H
20143 #include <sys/mtio.h>
20149 static struct mtget ac_aggr;
20150 if (sizeof ac_aggr.mt_gstat)
20156 rm -f conftest.
$ac_objext
20157 if { (ac_try
="$ac_compile"
20158 case "(($ac_try" in
20159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_compile") 2>conftest.er1
20165 grep -v '^ *+' conftest.er1 >conftest.err
20167 cat conftest.err >&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } && {
20170 test -z "$ac_c_werror_flag" ||
20171 test ! -s conftest.err
20172 } && test -s conftest.$ac_objext; then
20173 ac_cv_member_struct_mtget_mt_gstat=yes
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.$ac_ext >&5
20178 ac_cv_member_struct_mtget_mt_gstat=no
20181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20186 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20187 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20188 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20190 cat >>confdefs.h <<_ACEOF
20191 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20196 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20197 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20198 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 cat >conftest.$ac_ext <<_ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 #include <sys/types.h>
20208 #ifdef HAVE_SYS_MTIO_H
20209 #include <sys/mtio.h>
20215 static struct mtget ac_aggr;
20216 if (ac_aggr.mt_blkno)
20222 rm -f conftest.$ac_objext
20223 if { (ac_try="$ac_compile"
20224 case "(($ac_try" in
20225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20226 *) ac_try_echo
=$ac_try;;
20228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20229 (eval "$ac_compile") 2>conftest.er1
20231 grep -v '^ *+' conftest.er1
>conftest.err
20233 cat conftest.err
>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); } && {
20236 test -z "$ac_c_werror_flag" ||
20237 test ! -s conftest.err
20238 } && test -s conftest.
$ac_objext; then
20239 ac_cv_member_struct_mtget_mt_blkno
=yes
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.
$ac_ext >&5
20244 cat >conftest.
$ac_ext <<_ACEOF
20247 cat confdefs.h
>>conftest.
$ac_ext
20248 cat >>conftest.
$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20250 #include <sys/types.h>
20251 #ifdef HAVE_SYS_MTIO_H
20252 #include <sys/mtio.h>
20258 static struct mtget ac_aggr;
20259 if (sizeof ac_aggr.mt_blkno)
20265 rm -f conftest.
$ac_objext
20266 if { (ac_try
="$ac_compile"
20267 case "(($ac_try" in
20268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_compile") 2>conftest.er1
20274 grep -v '^ *+' conftest.er1 >conftest.err
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } && {
20279 test -z "$ac_c_werror_flag" ||
20280 test ! -s conftest.err
20281 } && test -s conftest.$ac_objext; then
20282 ac_cv_member_struct_mtget_mt_blkno=yes
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 ac_cv_member_struct_mtget_mt_blkno=no
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20295 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20296 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20297 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20299 cat >>confdefs.h <<_ACEOF
20300 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20307 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20308 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20309 if test "${ac_cv_member_struct_option_name+set}" = set; then
20310 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 cat >conftest.$ac_ext <<_ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 #ifdef HAVE_GETOPT_H
20319 #include <getopt.h>
20325 static struct option ac_aggr;
20332 rm -f conftest.$ac_objext
20333 if { (ac_try="$ac_compile"
20334 case "(($ac_try" in
20335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20336 *) ac_try_echo
=$ac_try;;
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_compile") 2>conftest.er1
20341 grep -v '^ *+' conftest.er1
>conftest.err
20343 cat conftest.err
>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && {
20346 test -z "$ac_c_werror_flag" ||
20347 test ! -s conftest.err
20348 } && test -s conftest.
$ac_objext; then
20349 ac_cv_member_struct_option_name
=yes
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.
$ac_ext >&5
20354 cat >conftest.
$ac_ext <<_ACEOF
20357 cat confdefs.h
>>conftest.
$ac_ext
20358 cat >>conftest.
$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 #ifdef HAVE_GETOPT_H
20361 #include <getopt.h>
20367 static struct option ac_aggr;
20368 if (sizeof ac_aggr.name)
20374 rm -f conftest.
$ac_objext
20375 if { (ac_try
="$ac_compile"
20376 case "(($ac_try" in
20377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20378 *) ac_try_echo=$ac_try;;
20380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20381 (eval "$ac_compile") 2>conftest.er1
20383 grep -v '^ *+' conftest.er1 >conftest.err
20385 cat conftest.err >&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } && {
20388 test -z "$ac_c_werror_flag" ||
20389 test ! -s conftest.err
20390 } && test -s conftest.$ac_objext; then
20391 ac_cv_member_struct_option_name=yes
20393 echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20396 ac_cv_member_struct_option_name=no
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20404 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20405 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20406 if test $ac_cv_member_struct_option_name = yes; then
20408 cat >>confdefs.h <<_ACEOF
20409 #define HAVE_STRUCT_OPTION_NAME 1
20416 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20417 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20418 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20419 echo $ECHO_N "(cached) $ECHO_C" >&6
20421 cat >conftest.$ac_ext <<_ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427 $ac_includes_default
20431 static struct stat ac_aggr;
20432 if (ac_aggr.st_blocks)
20438 rm -f conftest.$ac_objext
20439 if { (ac_try="$ac_compile"
20440 case "(($ac_try" in
20441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20442 *) ac_try_echo
=$ac_try;;
20444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20445 (eval "$ac_compile") 2>conftest.er1
20447 grep -v '^ *+' conftest.er1
>conftest.err
20449 cat conftest.err
>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } && {
20452 test -z "$ac_c_werror_flag" ||
20453 test ! -s conftest.err
20454 } && test -s conftest.
$ac_objext; then
20455 ac_cv_member_struct_stat_st_blocks
=yes
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.
$ac_ext >&5
20460 cat >conftest.
$ac_ext <<_ACEOF
20463 cat confdefs.h
>>conftest.
$ac_ext
20464 cat >>conftest.
$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20466 $ac_includes_default
20470 static struct stat ac_aggr;
20471 if (sizeof ac_aggr.st_blocks)
20477 rm -f conftest.
$ac_objext
20478 if { (ac_try
="$ac_compile"
20479 case "(($ac_try" in
20480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20481 *) ac_try_echo=$ac_try;;
20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20484 (eval "$ac_compile") 2>conftest.er1
20486 grep -v '^ *+' conftest.er1 >conftest.err
20488 cat conftest.err >&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && {
20491 test -z "$ac_c_werror_flag" ||
20492 test ! -s conftest.err
20493 } && test -s conftest.$ac_objext; then
20494 ac_cv_member_struct_stat_st_blocks=yes
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20499 ac_cv_member_struct_stat_st_blocks=no
20502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20507 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20508 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20509 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20511 cat >>confdefs.h <<_ACEOF
20512 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20519 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20520 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20521 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20522 echo $ECHO_N "(cached) $ECHO_C" >&6
20524 cat >conftest.$ac_ext <<_ACEOF
20527 cat confdefs.h >>conftest.$ac_ext
20528 cat >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20530 #ifdef HAVE_SYS_TYPES_H
20531 #include <sys/types.h>
20533 #ifdef HAVE_NETINET_IN_H
20534 #include <netinet/in.h>
20540 static struct sockaddr_in6 ac_aggr;
20541 if (ac_aggr.sin6_scope_id)
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20551 *) ac_try_echo
=$ac_try;;
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20556 grep -v '^ *+' conftest.er1
>conftest.err
20558 cat conftest.err
>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.
$ac_objext; then
20564 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.
$ac_ext >&5
20569 cat >conftest.
$ac_ext <<_ACEOF
20572 cat confdefs.h
>>conftest.
$ac_ext
20573 cat >>conftest.
$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 #ifdef HAVE_SYS_TYPES_H
20576 #include <sys/types.h>
20578 #ifdef HAVE_NETINET_IN_H
20579 #include <netinet/in.h>
20585 static struct sockaddr_in6 ac_aggr;
20586 if (sizeof ac_aggr.sin6_scope_id)
20592 rm -f conftest.
$ac_objext
20593 if { (ac_try
="$ac_compile"
20594 case "(($ac_try" in
20595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_compile") 2>conftest.er1
20601 grep -v '^ *+' conftest.er1 >conftest.err
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } && {
20606 test -z "$ac_c_werror_flag" ||
20607 test ! -s conftest.err
20608 } && test -s conftest.$ac_objext; then
20609 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20611 echo "$as_me: failed program was:" >&5
20612 sed 's/^/| /' conftest.$ac_ext >&5
20614 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20622 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20623 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20624 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20626 cat >>confdefs.h <<_ACEOF
20627 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20634 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20635 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20636 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20639 cat >conftest.$ac_ext <<_ACEOF
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 #ifdef HAVE_SYS_TYPES_H
20646 #include <sys/types.h>
20648 #ifdef HAVE_NETINET_IN_H
20649 # include <netinet/in.h>
20651 #ifdef HAVE_ARPA_NAMESER_H
20652 # include <arpa/nameser.h>
20658 static ns_msg ac_aggr;
20659 if (ac_aggr._msg_ptr)
20665 rm -f conftest.$ac_objext
20666 if { (ac_try="$ac_compile"
20667 case "(($ac_try" in
20668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20669 *) ac_try_echo
=$ac_try;;
20671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_compile") 2>conftest.er1
20674 grep -v '^ *+' conftest.er1
>conftest.err
20676 cat conftest.err
>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } && {
20679 test -z "$ac_c_werror_flag" ||
20680 test ! -s conftest.err
20681 } && test -s conftest.
$ac_objext; then
20682 ac_cv_member_ns_msg__msg_ptr
=yes
20684 echo "$as_me: failed program was:" >&5
20685 sed 's/^/| /' conftest.
$ac_ext >&5
20687 cat >conftest.
$ac_ext <<_ACEOF
20690 cat confdefs.h
>>conftest.
$ac_ext
20691 cat >>conftest.
$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693 #ifdef HAVE_SYS_TYPES_H
20694 #include <sys/types.h>
20696 #ifdef HAVE_NETINET_IN_H
20697 # include <netinet/in.h>
20699 #ifdef HAVE_ARPA_NAMESER_H
20700 # include <arpa/nameser.h>
20706 static ns_msg ac_aggr;
20707 if (sizeof ac_aggr._msg_ptr)
20713 rm -f conftest.
$ac_objext
20714 if { (ac_try
="$ac_compile"
20715 case "(($ac_try" in
20716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20717 *) ac_try_echo=$ac_try;;
20719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20720 (eval "$ac_compile") 2>conftest.er1
20722 grep -v '^ *+' conftest.er1 >conftest.err
20724 cat conftest.err >&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } && {
20727 test -z "$ac_c_werror_flag" ||
20728 test ! -s conftest.err
20729 } && test -s conftest.$ac_objext; then
20730 ac_cv_member_ns_msg__msg_ptr=yes
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20735 ac_cv_member_ns_msg__msg_ptr=no
20738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20744 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20745 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20747 cat >>confdefs.h <<_ACEOF
20748 #define HAVE_NS_MSG__MSG_PTR 1
20755 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20756 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20757 if test "${ac_cv_have_timezone+set}" = set; then
20758 echo $ECHO_N "(cached) $ECHO_C" >&6
20760 cat >conftest.$ac_ext <<_ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20775 rm -f conftest.$ac_objext conftest$ac_exeext
20776 if { (ac_try="$ac_link"
20777 case "(($ac_try" in
20778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20779 *) ac_try_echo
=$ac_try;;
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_link") 2>conftest.er1
20784 grep -v '^ *+' conftest.er1
>conftest.err
20786 cat conftest.err
>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && {
20789 test -z "$ac_c_werror_flag" ||
20790 test ! -s conftest.err
20791 } && test -s conftest
$ac_exeext &&
20792 $as_test_x conftest
$ac_exeext; then
20793 ac_cv_have_timezone
="yes"
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.
$ac_ext >&5
20798 ac_cv_have_timezone
="no"
20801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20802 conftest
$ac_exeext conftest.
$ac_ext
20804 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20805 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20806 if test "$ac_cv_have_timezone" = "yes"
20809 cat >>confdefs.h
<<\_ACEOF
20810 #define HAVE_TIMEZONE 1
20814 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20815 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20816 if test "${ac_cv_have_daylight+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20819 cat >conftest.
$ac_ext <<_ACEOF
20822 cat confdefs.h
>>conftest.
$ac_ext
20823 cat >>conftest.
$ac_ext <<_ACEOF
20824 /* end confdefs.h. */
20834 rm -f conftest.
$ac_objext conftest
$ac_exeext
20835 if { (ac_try
="$ac_link"
20836 case "(($ac_try" in
20837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20838 *) ac_try_echo=$ac_try;;
20840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20841 (eval "$ac_link") 2>conftest.er1
20843 grep -v '^ *+' conftest.er1 >conftest.err
20845 cat conftest.err >&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); } && {
20848 test -z "$ac_c_werror_flag" ||
20849 test ! -s conftest.err
20850 } && test -s conftest$ac_exeext &&
20851 $as_test_x conftest$ac_exeext; then
20852 ac_cv_have_daylight="yes"
20854 echo "$as_me: failed program was:" >&5
20855 sed 's/^/| /' conftest.$ac_ext >&5
20857 ac_cv_have_daylight="no"
20860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20861 conftest$ac_exeext conftest.$ac_ext
20863 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20864 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20865 if test "$ac_cv_have_daylight" = "yes"
20868 cat >>confdefs.h <<\_ACEOF
20869 #define HAVE_DAYLIGHT 1
20876 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20877 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20878 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20879 echo $ECHO_N "(cached) $ECHO_C" >&6
20881 cat >conftest.$ac_ext <<_ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20892 $EGREP "yes" >/dev/null 2>&1; then
20893 ac_cv_cpp_def___i386__=yes
20895 ac_cv_cpp_def___i386__=no
20900 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20901 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20902 if test $ac_cv_cpp_def___i386__ = yes; then
20903 CFLAGS="$CFLAGS -D__i386__"
20904 LINTFLAGS="$LINTFLAGS -D__i386__"
20907 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20908 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20909 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20910 echo $ECHO_N "(cached) $ECHO_C" >&6
20912 cat >conftest.$ac_ext <<_ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20923 $EGREP "yes" >/dev/null 2>&1; then
20924 ac_cv_cpp_def___x86_64__=yes
20926 ac_cv_cpp_def___x86_64__=no
20931 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20932 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20933 if test $ac_cv_cpp_def___x86_64__ = yes; then
20934 CFLAGS="$CFLAGS -D__x86_64__"
20935 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20938 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20939 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20940 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 cat >conftest.$ac_ext <<_ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20954 $EGREP "yes" >/dev/null 2>&1; then
20955 ac_cv_cpp_def___ALPHA__=yes
20957 ac_cv_cpp_def___ALPHA__=no
20962 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20963 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20964 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20965 CFLAGS="$CFLAGS -D__ALPHA__"
20966 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20969 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20970 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20971 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 cat >conftest.$ac_ext <<_ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20985 $EGREP "yes" >/dev/null 2>&1; then
20986 ac_cv_cpp_def___sparc__=yes
20988 ac_cv_cpp_def___sparc__=no
20993 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20994 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20995 if test $ac_cv_cpp_def___sparc__ = yes; then
20996 CFLAGS="$CFLAGS -D__sparc__"
20997 LINTFLAGS="$LINTFLAGS -D__sparc__"
21000 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21001 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21002 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 cat >conftest.$ac_ext <<_ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 #ifndef __powerpc__
21015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21016 $EGREP "yes" >/dev/null 2>&1; then
21017 ac_cv_cpp_def___powerpc__=yes
21019 ac_cv_cpp_def___powerpc__=no
21024 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21025 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21026 if test $ac_cv_cpp_def___powerpc__ = yes; then
21027 CFLAGS="$CFLAGS -D__powerpc__"
21028 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21033 case $host_vendor in
21034 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21035 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21036 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21037 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 cat >conftest.$ac_ext <<_ACEOF
21042 cat confdefs.h >>conftest.$ac_ext
21043 cat >>conftest.$ac_ext <<_ACEOF
21044 /* end confdefs.h. */
21049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21050 $EGREP "yes" >/dev/null 2>&1; then
21051 ac_cv_cpp_def___sun__=yes
21053 ac_cv_cpp_def___sun__=no
21058 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21059 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21060 if test $ac_cv_cpp_def___sun__ = yes; then
21061 CFLAGS="$CFLAGS -D__sun__"
21062 LINTFLAGS="$LINTFLAGS -D__sun__"
21068 DEPENDENCIES="### Dependencies:
21073 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21075 \$(OBJS): \$(IDL_GEN_HEADERS)
21076 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21077 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21078 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21084 ac_config_commands="$ac_config_commands include/stamp-h"
21087 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21089 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21091 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21093 ac_config_commands="$ac_config_commands dlls/user32/resources"
21095 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21097 ac_config_commands="$ac_config_commands include/wine"
21100 MAKE_RULES=Make.rules
21103 MAKE_DLL_RULES=dlls/Makedll.rules
21106 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21109 MAKE_TEST_RULES=dlls/Maketest.rules
21112 MAKE_PROG_RULES=programs/Makeprog.rules
21115 ac_config_files="$ac_config_files Make.rules"
21117 ac_config_files="$ac_config_files dlls/Makedll.rules"
21119 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21121 ac_config_files="$ac_config_files dlls/Maketest.rules"
21123 ac_config_files="$ac_config_files programs/Makeprog.rules"
21125 ac_config_files="$ac_config_files Makefile"
21127 ac_config_files="$ac_config_files dlls/Makefile"
21129 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21131 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21133 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21135 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21137 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21139 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21141 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21143 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21145 ac_config_files="$ac_config_files dlls/atl/Makefile"
21147 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21149 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21151 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21153 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21155 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21157 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21159 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21161 ac_config_files="$ac_config_files dlls/cards/Makefile"
21163 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21165 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21167 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21169 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21171 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21173 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21175 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21177 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21179 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21181 ac_config_files="$ac_config_files dlls/credui/Makefile"
21183 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21185 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21187 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21189 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21191 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21193 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21195 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21197 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21199 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21201 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21203 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21205 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21207 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21209 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21211 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21213 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21215 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21217 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21219 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21221 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21223 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21225 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21227 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21229 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21231 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21233 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21235 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21237 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21239 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21241 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21243 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21245 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21247 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21249 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21251 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21253 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21255 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21257 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21259 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21261 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21263 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21265 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21267 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21269 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21271 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21273 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21275 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21277 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21279 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21281 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21283 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21285 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21287 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21289 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21291 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21293 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21295 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21297 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21299 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21301 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21303 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21305 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21307 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21309 ac_config_files="$ac_config_files dlls/hal/Makefile"
21311 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21313 ac_config_files="$ac_config_files dlls/hid/Makefile"
21315 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21317 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21319 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21321 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21323 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21325 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21327 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21329 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21331 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21333 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21335 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21337 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21339 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21341 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21343 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21345 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21347 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21349 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21351 ac_config_files="$ac_config_files dlls/itss/Makefile"
21353 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21355 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21357 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21359 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21361 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21363 ac_config_files="$ac_config_files dlls/localui/Makefile"
21365 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21367 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21369 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21371 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21373 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21375 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21377 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21379 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21381 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21383 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21385 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21387 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21389 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21391 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21393 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21395 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21397 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21399 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21401 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21403 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21405 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21407 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21409 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21411 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21413 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21415 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21417 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21419 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21421 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21423 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21425 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21427 ac_config_files="$ac_config_files dlls/msi/Makefile"
21429 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21431 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21433 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21435 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21437 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21439 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21441 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21443 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21445 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21447 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21449 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21451 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21453 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21455 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21457 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21459 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21461 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21463 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21465 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21467 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21469 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21471 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21473 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21475 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21477 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21479 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21481 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21483 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21485 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21487 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21489 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21491 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21493 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21495 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21497 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21499 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21501 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21503 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21505 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21507 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21509 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21511 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21513 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21515 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21517 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21519 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21521 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21523 ac_config_files="$ac_config_files dlls/printui/Makefile"
21525 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21527 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21529 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21531 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21533 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21535 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21537 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21539 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21541 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21543 ac_config_files="$ac_config_files dlls/query/Makefile"
21545 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21547 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21549 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21551 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21553 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21555 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21557 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21559 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21561 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21563 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21565 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21567 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21569 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21571 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21573 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21575 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21577 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/security/Makefile"
21581 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21583 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21585 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21587 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21589 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21591 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21593 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21595 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21597 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21599 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21601 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21603 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21605 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21607 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21609 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21611 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21613 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21615 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21617 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21619 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21621 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21623 ac_config_files="$ac_config_files dlls/sti/Makefile"
21625 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21627 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21629 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21631 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21633 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21635 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21637 ac_config_files="$ac_config_files dlls/url/Makefile"
21639 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21641 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21643 ac_config_files="$ac_config_files dlls/user32/Makefile"
21645 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21647 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21649 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21651 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21653 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21655 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21657 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21659 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21661 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21663 ac_config_files="$ac_config_files dlls/version/Makefile"
21665 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21667 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21669 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21671 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21673 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21675 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21677 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21679 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21681 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21683 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21685 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21687 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21689 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21691 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21693 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21695 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21697 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21699 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21701 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21703 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21705 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21707 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21709 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21711 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21713 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21715 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21717 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21719 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21721 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21723 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21725 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21727 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21729 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21731 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21733 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21735 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21737 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21739 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21741 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21743 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21745 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21747 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21749 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21751 ac_config_files="$ac_config_files documentation/Makefile"
21753 ac_config_files="$ac_config_files fonts/Makefile"
21755 ac_config_files="$ac_config_files include/Makefile"
21757 ac_config_files="$ac_config_files libs/Makefile"
21759 ac_config_files="$ac_config_files libs/port/Makefile"
21761 ac_config_files="$ac_config_files libs/wine/Makefile"
21763 ac_config_files="$ac_config_files libs/wpp/Makefile"
21765 ac_config_files="$ac_config_files loader/Makefile"
21767 ac_config_files="$ac_config_files programs/Makefile"
21769 ac_config_files="$ac_config_files programs/clock/Makefile"
21771 ac_config_files="$ac_config_files programs/cmd/Makefile"
21773 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21775 ac_config_files="$ac_config_files programs/control/Makefile"
21777 ac_config_files="$ac_config_files programs/eject/Makefile"
21779 ac_config_files="$ac_config_files programs/expand/Makefile"
21781 ac_config_files="$ac_config_files programs/explorer/Makefile"
21783 ac_config_files="$ac_config_files programs/hh/Makefile"
21785 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21787 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21789 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21791 ac_config_files="$ac_config_files programs/net/Makefile"
21793 ac_config_files="$ac_config_files programs/notepad/Makefile"
21795 ac_config_files="$ac_config_files programs/oleview/Makefile"
21797 ac_config_files="$ac_config_files programs/progman/Makefile"
21799 ac_config_files="$ac_config_files programs/regedit/Makefile"
21801 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21803 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21805 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21807 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21809 ac_config_files="$ac_config_files programs/start/Makefile"
21811 ac_config_files="$ac_config_files programs/svchost/Makefile"
21813 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21815 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21817 ac_config_files="$ac_config_files programs/view/Makefile"
21819 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21821 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21823 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21825 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21827 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21829 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21831 ac_config_files="$ac_config_files programs/winefile/Makefile"
21833 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21835 ac_config_files="$ac_config_files programs/winemine/Makefile"
21837 ac_config_files="$ac_config_files programs/winepath/Makefile"
21839 ac_config_files="$ac_config_files programs/winetest/Makefile"
21841 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21843 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21845 ac_config_files="$ac_config_files programs/winver/Makefile"
21847 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21849 ac_config_files="$ac_config_files programs/write/Makefile"
21851 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21853 ac_config_files="$ac_config_files server/Makefile"
21855 ac_config_files="$ac_config_files tools/Makefile"
21857 ac_config_files="$ac_config_files tools/widl/Makefile"
21859 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21861 ac_config_files="$ac_config_files tools/winedump/Makefile"
21863 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21865 ac_config_files="$ac_config_files tools/wmc/Makefile"
21867 ac_config_files="$ac_config_files tools/wrc/Makefile"
21870 cat >confcache <<\_ACEOF
21871 # This file is a shell script that caches the results of configure
21872 # tests run on this system so they can be shared between configure
21873 # scripts and configure runs, see configure's option --config-cache.
21874 # It is not useful on other systems. If it contains results you don't
21875 # want to keep, you may remove or edit it.
21877 # config.status only pays attention to the cache file if you give it
21878 # the --recheck option to rerun configure.
21880 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21881 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21882 # following values.
21886 # The following way of writing the cache mishandles newlines in values,
21887 # but we know of no workaround that is simple, portable, and efficient.
21888 # So, we kill variables containing newlines.
21889 # Ultrix sh set writes to stderr and can't be redirected directly,
21890 # and sets the high bit in the cache file unless we assign to the vars.
21892 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21893 eval ac_val
=\$
$ac_var
21897 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21898 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21901 _ | IFS | as_nl
) ;; #(
21902 *) $as_unset $ac_var ;;
21908 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21909 *${as_nl}ac_space
=\
*)
21910 # `set' does not quote correctly, so add quotes (double-quote
21911 # substitution turns \\\\ into \\, and sed turns \\ into \).
21914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21917 # `set' quotes correctly as required by POSIX, so do not add quotes.
21918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21929 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21931 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21932 if test -w "$cache_file"; then
21933 test "x$cache_file" != "x/dev/null" &&
21934 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21935 echo "$as_me: updating cache $cache_file" >&6;}
21936 cat confcache
>$cache_file
21938 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21939 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21944 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21945 # Let make expand exec_prefix.
21946 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21948 DEFS
=-DHAVE_CONFIG_H
21952 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21953 # 1. Remove the extension, and $U if already installed.
21954 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21955 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21957 # will be set to the directory where LIBOBJS objects are built.
21958 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21959 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21961 LIBOBJS
=$ac_libobjs
21963 LTLIBOBJS
=$ac_ltlibobjs
21967 : ${CONFIG_STATUS=./config.status}
21968 ac_clean_files_save
=$ac_clean_files
21969 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21970 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21971 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21972 cat >$CONFIG_STATUS <<_ACEOF
21974 # Generated by $as_me.
21975 # Run this file to recreate the current configuration.
21976 # Compiler output produced by configure, useful for debugging
21977 # configure, is in config.log if it exists.
21980 ac_cs_recheck=false
21982 SHELL=\${CONFIG_SHELL-$SHELL}
21985 cat >>$CONFIG_STATUS <<\_ACEOF
21986 ## --------------------- ##
21987 ## M4sh Initialization. ##
21988 ## --------------------- ##
21990 # Be more Bourne compatible
21991 DUALCASE
=1; export DUALCASE
# for MKS sh
21992 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21995 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21996 # is contrary to our usage. Disable this feature.
21997 alias -g '${1+"$@"}'='"$@"'
21998 setopt NO_GLOB_SUBST
22000 case `(set -o) 2>/dev/null` in
22001 *posix
*) set -o posix
;;
22010 # Avoid depending upon Character Ranges.
22011 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22012 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22013 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22014 as_cr_digits
='0123456789'
22015 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22017 # The user is always right.
22018 if test "${PATH_SEPARATOR+set}" != set; then
22019 echo "#! /bin/sh" >conf$$.sh
22020 echo "exit 0" >>conf$$.sh
22022 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22030 # Support unset when possible.
22031 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22039 # We need space, tab and new line, in precisely that order. Quoting is
22040 # there to prevent editors from complaining about space-tab.
22041 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22042 # splitting by setting IFS to empty value.)
22047 # Find who we are. Look in the path if we contain no directory separator.
22049 *[\\/]* ) as_myself
=$0 ;;
22050 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22051 for as_dir
in $PATH
22054 test -z "$as_dir" && as_dir
=.
22055 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22061 # We did not find ourselves, most probably we were run as `sh COMMAND'
22062 # in which case we are not to be found in the path.
22063 if test "x$as_myself" = x
; then
22066 if test ! -f "$as_myself"; then
22067 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22068 { (exit 1); exit 1; }
22071 # Work around bugs in pre-3.0 UWIN ksh.
22072 for as_var
in ENV MAIL MAILPATH
22073 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22081 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22082 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22083 LC_TELEPHONE LC_TIME
22085 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22086 eval $as_var=C
; export $as_var
22088 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22092 # Required to use basename.
22093 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22094 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22100 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22101 as_basename
=basename
22107 # Name of the executable.
22108 as_me
=`$as_basename -- "$0" ||
22109 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22110 X"$0" : 'X\(//\)$' \| \
22111 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22113 sed '/^.*\/\([^/][^/]*\)\/*$/{
22132 as_lineno_1
=$LINENO
22133 as_lineno_2
=$LINENO
22134 test "x$as_lineno_1" != "x$as_lineno_2" &&
22135 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22137 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22138 # uniformly replaced by the line number. The first 'sed' inserts a
22139 # line-number line after each line using $LINENO; the second 'sed'
22140 # does the real work. The second script uses 'N' to pair each
22141 # line-number line with the line containing $LINENO, and appends
22142 # trailing '-' during substitution so that $LINENO is not a special
22143 # case at line end.
22144 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22145 # scripts with optimization help from Paolo Bonzini. Blame Lee
22146 # E. McMahon (1931-1989) for sed's syntax. :-)
22158 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22161 ' >$as_me.lineno
&&
22162 chmod +x
"$as_me.lineno" ||
22163 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22164 { (exit 1); exit 1; }; }
22166 # Don't try to exec as it changes $[0], causing all sort of problems
22167 # (the dirname of $[0] is not the place where we might find the
22168 # original and so on. Autoconf is especially sensitive to this).
22169 .
"./$as_me.lineno"
22170 # Exit status is that of the last command.
22175 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22181 ECHO_C
= ECHO_N
= ECHO_T
=
22182 case `echo -n x` in
22184 case `echo 'x\c'` in
22185 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22192 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22193 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22199 rm -f conf$$ conf$$.exe conf$$.
file
22200 if test -d conf$$.dir
; then
22201 rm -f conf$$.dir
/conf$$.
file
22207 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22209 # ... but there are two gotchas:
22210 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22211 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22212 # In both cases, we have to default to `cp -p'.
22213 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22215 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22220 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22221 rmdir conf$$.dir
2>/dev
/null
22223 if mkdir
-p .
2>/dev
/null
; then
22226 test -d .
/-p && rmdir .
/-p
22230 if test -x / >/dev
/null
2>&1; then
22231 as_test_x
='test -x'
22233 if ls -dL / >/dev
/null
2>&1; then
22240 if test -d "$1"; then
22246 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22247 ???[sx]*):;;*)false;;esac;fi
22251 as_executable_p
=$as_test_x
22253 # Sed expression to map a string onto a valid CPP name.
22254 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22256 # Sed expression to map a string onto a valid variable name.
22257 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22262 # Save the log message, to keep $[0] and so on meaningful, and to
22263 # report actual input values of CONFIG_FILES etc. instead of their
22264 # values after options handling.
22266 This file was extended by Wine $as_me 0.9.53, which was
22267 generated by GNU Autoconf 2.61. Invocation command line was
22269 CONFIG_FILES = $CONFIG_FILES
22270 CONFIG_HEADERS = $CONFIG_HEADERS
22271 CONFIG_LINKS = $CONFIG_LINKS
22272 CONFIG_COMMANDS = $CONFIG_COMMANDS
22275 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22280 cat >>$CONFIG_STATUS <<_ACEOF
22281 # Files that config.status was made for.
22282 config_files="$ac_config_files"
22283 config_headers="$ac_config_headers"
22284 config_commands="$ac_config_commands"
22288 cat >>$CONFIG_STATUS <<\_ACEOF
22290 \`$as_me' instantiates files from templates according to the
22291 current configuration.
22293 Usage: $0 [OPTIONS] [FILE]...
22295 -h, --help print this help, then exit
22296 -V, --version print version number and configuration settings, then exit
22297 -q, --quiet do not print progress messages
22298 -d, --debug don't remove temporary files
22299 --recheck update $as_me by reconfiguring in the same conditions
22300 --file=FILE[:TEMPLATE]
22301 instantiate the configuration file FILE
22302 --header=FILE[:TEMPLATE]
22303 instantiate the configuration header FILE
22305 Configuration files:
22308 Configuration headers:
22311 Configuration commands:
22314 Report bugs to <bug-autoconf@gnu.org>."
22317 cat >>$CONFIG_STATUS <<_ACEOF
22319 Wine config.status 0.9.53
22320 configured by $0, generated by GNU Autoconf 2.61,
22321 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22323 Copyright (C) 2006 Free Software Foundation, Inc.
22324 This config.status script is free software; the Free Software Foundation
22325 gives unlimited permission to copy, distribute and modify it."
22332 cat >>$CONFIG_STATUS <<\_ACEOF
22333 # If no file are specified by the user, then we need to provide default
22334 # value. By we need to know if files were specified by the user.
22340 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22341 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22352 # Handling of the options.
22353 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22355 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22356 echo "$ac_cs_version"; exit ;;
22357 --debug |
--debu |
--deb |
--de |
--d |
-d )
22359 --file |
--fil |
--fi |
--f )
22361 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22362 ac_need_defaults
=false
;;
22363 --header |
--heade |
--head |
--hea )
22365 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22366 ac_need_defaults
=false
;;
22368 # Conflict between --help and --header
22369 { echo "$as_me: error: ambiguous option: $1
22370 Try \`$0 --help' for more information." >&2
22371 { (exit 1); exit 1; }; };;
22372 --help |
--hel |
-h )
22373 echo "$ac_cs_usage"; exit ;;
22374 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22375 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22378 # This is an error.
22379 -*) { echo "$as_me: error: unrecognized option: $1
22380 Try \`$0 --help' for more information." >&2
22381 { (exit 1); exit 1; }; } ;;
22383 *) ac_config_targets
="$ac_config_targets $1"
22384 ac_need_defaults
=false
;;
22390 ac_configure_extra_args
=
22392 if $ac_cs_silent; then
22394 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22398 cat >>$CONFIG_STATUS <<_ACEOF
22399 if \$ac_cs_recheck; then
22400 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22401 CONFIG_SHELL=$SHELL
22402 export CONFIG_SHELL
22403 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22407 cat >>$CONFIG_STATUS <<\_ACEOF
22411 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22412 ## Running $as_me. ##
22418 cat >>$CONFIG_STATUS <<_ACEOF
22421 cat >>$CONFIG_STATUS <<\_ACEOF
22423 # Handling of arguments.
22424 for ac_config_target
in $ac_config_targets
22426 case $ac_config_target in
22427 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22428 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22429 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22430 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22431 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22432 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22433 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22434 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22435 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22436 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22437 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22438 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22439 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22440 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22441 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22442 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22443 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22444 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22445 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22446 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22447 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22448 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22449 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22450 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22451 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22452 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22453 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22454 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22455 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22456 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22457 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22458 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22459 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22460 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22461 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22462 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22463 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22464 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22465 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22466 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22467 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22468 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22469 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22470 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22471 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22472 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22473 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22474 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22475 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22476 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22477 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22478 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22479 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22480 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22481 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22482 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22483 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22484 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22485 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22486 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22487 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22488 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22489 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22490 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22491 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22492 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22493 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22494 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22495 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22496 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22497 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22498 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22499 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22500 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22501 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22502 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22503 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22504 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22505 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22506 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22507 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22508 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22509 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22510 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22511 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22512 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22513 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22514 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22515 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22516 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22517 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22518 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22519 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22520 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22521 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22522 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22523 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22524 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22525 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22526 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22527 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22528 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22529 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22530 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22531 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22532 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22533 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22534 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22535 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22536 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22537 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22538 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22539 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22540 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22541 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22542 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22543 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22544 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22545 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22546 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22547 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22548 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22549 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22550 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22551 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22552 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22553 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22554 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22555 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22556 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22557 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22558 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22559 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22560 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22561 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22562 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22563 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22564 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22565 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22566 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22567 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22568 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22569 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22570 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22571 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22572 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22573 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22574 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22575 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22576 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22577 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22578 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22579 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22580 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22581 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22582 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22583 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22584 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22585 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22586 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22587 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22588 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22589 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22590 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22591 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22592 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22593 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22594 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22595 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22596 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22597 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22598 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22599 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22600 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22601 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22602 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22603 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22604 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22605 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22606 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22607 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22608 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22609 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22610 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22611 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22612 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22613 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22614 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22615 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22616 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22617 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22618 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22619 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22620 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22621 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22622 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22623 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22624 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22625 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22626 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22627 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22628 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22629 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22630 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22631 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22632 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22633 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22634 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22635 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22636 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22637 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22638 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22639 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22640 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
22641 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22642 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22643 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22644 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22645 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22646 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22647 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22648 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22649 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22650 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22651 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22652 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22653 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22654 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22655 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22656 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22657 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22658 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22659 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22660 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22661 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22662 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22663 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22664 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22665 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22666 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22667 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22668 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22669 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22670 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22671 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22672 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22673 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22674 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22675 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22676 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22677 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22678 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22679 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22680 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22681 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22682 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22683 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22684 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22685 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22686 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22687 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22688 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22689 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22690 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22691 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22692 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22693 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22694 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22695 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22696 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22697 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22698 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22699 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22700 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22701 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22702 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22703 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22704 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22705 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22706 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22707 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22708 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22709 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22710 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22711 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22712 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22713 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22714 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22715 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22716 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22717 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22718 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22719 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22720 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22721 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22722 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22723 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22724 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22725 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22726 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22727 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22728 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22729 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22730 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22731 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22732 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22733 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22734 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22735 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22736 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22737 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22738 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22739 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22740 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22741 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22742 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22743 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22744 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22745 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22746 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
22747 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22748 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22749 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22750 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22751 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22752 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22753 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22754 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22755 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22756 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22757 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22758 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22759 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22760 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22761 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22762 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22763 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22764 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22765 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22766 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22767 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22768 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22769 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22770 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22771 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22772 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22773 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22774 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22775 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22776 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22777 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22778 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22779 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22780 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22781 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22782 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22783 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22784 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22785 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22786 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22787 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22788 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22789 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22790 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22791 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22792 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22793 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22794 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22795 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22796 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22797 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22798 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22799 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22800 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22801 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22802 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22803 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22804 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22805 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22806 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22807 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22808 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22809 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22810 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22811 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22813 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22814 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22815 { (exit 1); exit 1; }; };;
22820 # If the user did not use the arguments to specify the items to instantiate,
22821 # then the envvar interface is used. Set only those that are not.
22822 # We use the long form for the default assignment because of an extremely
22823 # bizarre bug on SunOS 4.1.3.
22824 if $ac_need_defaults; then
22825 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22826 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22827 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22830 # Have a temporary directory for convenience. Make it in the build tree
22831 # simply because there is no reason against having it here, and in addition,
22832 # creating and moving files from /tmp can sometimes cause problems.
22833 # Hook for its removal unless debugging.
22834 # Note that there is a small window in which the directory will not be cleaned:
22835 # after its creation but before its name has been assigned to `$tmp'.
22839 trap 'exit_status=$?
22840 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22842 trap '{ (exit 1); exit 1; }' 1 2 13 15
22844 # Create a (secure) tmp directory for tmp files.
22847 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22848 test -n "$tmp" && test -d "$tmp"
22851 tmp
=.
/conf$$
-$RANDOM
22852 (umask 077 && mkdir
"$tmp")
22855 echo "$me: cannot create a temporary directory in ." >&2
22856 { (exit 1); exit 1; }
22860 # Set up the sed scripts for CONFIG_FILES section.
22863 # No need to generate the scripts if there are no CONFIG_FILES.
22864 # This happens for instance when ./config.status config.h
22865 if test -n "$CONFIG_FILES"; then
22869 # Create sed commands to just substitute file output variables.
22871 # Remaining file output variables are in a fragment that also has non-file
22877 for ac_last_try
in false false false false false
:; do
22878 cat >conf$
$subs.
sed <<_ACEOF
22879 SHELL!$SHELL$ac_delim
22880 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22881 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22882 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22883 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22884 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22885 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22886 exec_prefix!$exec_prefix$ac_delim
22887 prefix!$prefix$ac_delim
22888 program_transform_name!$program_transform_name$ac_delim
22889 bindir!$bindir$ac_delim
22890 sbindir!$sbindir$ac_delim
22891 libexecdir!$libexecdir$ac_delim
22892 datarootdir!$datarootdir$ac_delim
22893 datadir!$datadir$ac_delim
22894 sysconfdir!$sysconfdir$ac_delim
22895 sharedstatedir!$sharedstatedir$ac_delim
22896 localstatedir!$localstatedir$ac_delim
22897 includedir!$includedir$ac_delim
22898 oldincludedir!$oldincludedir$ac_delim
22899 docdir!$docdir$ac_delim
22900 infodir!$infodir$ac_delim
22901 htmldir!$htmldir$ac_delim
22902 dvidir!$dvidir$ac_delim
22903 pdfdir!$pdfdir$ac_delim
22904 psdir!$psdir$ac_delim
22905 libdir!$libdir$ac_delim
22906 localedir!$localedir$ac_delim
22907 mandir!$mandir$ac_delim
22908 DEFS!$DEFS$ac_delim
22909 ECHO_C!$ECHO_C$ac_delim
22910 ECHO_N!$ECHO_N$ac_delim
22911 ECHO_T!$ECHO_T$ac_delim
22912 LIBS!$LIBS$ac_delim
22913 build_alias!$build_alias$ac_delim
22914 host_alias!$host_alias$ac_delim
22915 target_alias!$target_alias$ac_delim
22916 build!$build$ac_delim
22917 build_cpu!$build_cpu$ac_delim
22918 build_vendor!$build_vendor$ac_delim
22919 build_os!$build_os$ac_delim
22920 host!$host$ac_delim
22921 host_cpu!$host_cpu$ac_delim
22922 host_vendor!$host_vendor$ac_delim
22923 host_os!$host_os$ac_delim
22924 WIN16_FILES!$WIN16_FILES$ac_delim
22925 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22926 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22927 WINETEST!$WINETEST$ac_delim
22928 SET_MAKE!$SET_MAKE$ac_delim
22930 CFLAGS!$CFLAGS$ac_delim
22931 LDFLAGS!$LDFLAGS$ac_delim
22932 CPPFLAGS!$CPPFLAGS$ac_delim
22933 ac_ct_CC!$ac_ct_CC$ac_delim
22934 EXEEXT!$EXEEXT$ac_delim
22935 OBJEXT!$OBJEXT$ac_delim
22937 CXXFLAGS!$CXXFLAGS$ac_delim
22938 ac_ct_CXX!$ac_ct_CXX$ac_delim
22939 CPPBIN!$CPPBIN$ac_delim
22940 TOOLSDIR!$TOOLSDIR$ac_delim
22941 XMKMF!$XMKMF$ac_delim
22943 X_CFLAGS!$X_CFLAGS$ac_delim
22944 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22945 X_LIBS!$X_LIBS$ac_delim
22946 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22947 FLEX!$FLEX$ac_delim
22948 BISON!$BISON$ac_delim
22950 ac_ct_AS!$ac_ct_AS$ac_delim
22953 RANLIB!$RANLIB$ac_delim
22954 STRIP!$STRIP$ac_delim
22955 WINDRES!$WINDRES$ac_delim
22956 LN_S!$LN_S$ac_delim
22958 GREP!$GREP$ac_delim
22959 EGREP!$EGREP$ac_delim
22960 LDCONFIG!$LDCONFIG$ac_delim
22963 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22965 elif $ac_last_try; then
22966 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22967 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22968 { (exit 1); exit 1; }; }
22970 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22974 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22975 if test -n "$ac_eof"; then
22976 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22977 ac_eof
=`expr $ac_eof + 1`
22980 cat >>$CONFIG_STATUS <<_ACEOF
22981 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22982 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22983 /^[ ]*@MAKE_RULES@[ ]*$/{
22987 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22991 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22992 r $MAKE_IMPLIB_RULES
22995 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22999 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23005 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23006 s/^/s,@/; s/!/@,|#_!!_#|/
23009 s/'"$ac_delim"'$/,g/; t
23011 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23012 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23013 rm -f conf$
$subs.
sed
23014 cat >>$CONFIG_STATUS <<_ACEOF
23020 for ac_last_try
in false false false false false
:; do
23021 cat >conf$
$subs.
sed <<_ACEOF
23022 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23023 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23024 INSTALL_DATA!$INSTALL_DATA$ac_delim
23025 LINT!$LINT$ac_delim
23026 LINTFLAGS!$LINTFLAGS$ac_delim
23027 FONTFORGE!$FONTFORGE$ac_delim
23028 PKG_CONFIG!$PKG_CONFIG$ac_delim
23029 PRELINK!$PRELINK$ac_delim
23030 LIBPTHREAD!$LIBPTHREAD$ac_delim
23031 XLIB!$XLIB$ac_delim
23032 XFILES!$XFILES$ac_delim
23033 OPENGLFILES!$OPENGLFILES$ac_delim
23034 GLU32FILES!$GLU32FILES$ac_delim
23035 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23036 QUARTZFILES!$QUARTZFILES$ac_delim
23037 DLLEXT!$DLLEXT$ac_delim
23038 DLLFLAGS!$DLLFLAGS$ac_delim
23039 LDSHARED!$LDSHARED$ac_delim
23040 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23041 LIBEXT!$LIBEXT$ac_delim
23042 IMPLIBEXT!$IMPLIBEXT$ac_delim
23043 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23044 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23046 DLLTOOL!$DLLTOOL$ac_delim
23047 DLLWRAP!$DLLWRAP$ac_delim
23048 MINGWAR!$MINGWAR$ac_delim
23049 SECURITYLIB!$SECURITYLIB$ac_delim
23050 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23051 IOKITLIB!$IOKITLIB$ac_delim
23052 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23053 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23054 COREAUDIO!$COREAUDIO$ac_delim
23055 CARBONLIB!$CARBONLIB$ac_delim
23056 CROSSTEST!$CROSSTEST$ac_delim
23057 CROSSCC!$CROSSCC$ac_delim
23058 CROSSWINDRES!$CROSSWINDRES$ac_delim
23059 NASLIBS!$NASLIBS$ac_delim
23060 XML2LIBS!$XML2LIBS$ac_delim
23061 XML2INCL!$XML2INCL$ac_delim
23062 XSLTLIBS!$XSLTLIBS$ac_delim
23063 XSLTINCL!$XSLTINCL$ac_delim
23064 HALINCL!$HALINCL$ac_delim
23065 sane_devel!$sane_devel$ac_delim
23066 SANEINCL!$SANEINCL$ac_delim
23067 gphoto2_devel!$gphoto2_devel$ac_delim
23068 gphoto2port_devel!$gphoto2port_devel$ac_delim
23069 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23070 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23071 RESOLVLIBS!$RESOLVLIBS$ac_delim
23072 LCMSLIBS!$LCMSLIBS$ac_delim
23073 LDAPLIBS!$LDAPLIBS$ac_delim
23074 ft_devel!$ft_devel$ac_delim
23075 FREETYPELIBS!$FREETYPELIBS$ac_delim
23076 FREETYPEINCL!$FREETYPEINCL$ac_delim
23077 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23078 ESDCONFIG!$ESDCONFIG$ac_delim
23079 ESDLIBS!$ESDLIBS$ac_delim
23080 ESDINCL!$ESDINCL$ac_delim
23081 ALSALIBS!$ALSALIBS$ac_delim
23082 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23083 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23084 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23085 BUILTINFLAG!$BUILTINFLAG$ac_delim
23086 LDPATH!$LDPATH$ac_delim
23087 CRTLIBS!$CRTLIBS$ac_delim
23088 SOCKETLIBS!$SOCKETLIBS$ac_delim
23089 MAIN_BINARY!$MAIN_BINARY$ac_delim
23090 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23091 LIBDL!$LIBDL$ac_delim
23092 LIBPOLL!$LIBPOLL$ac_delim
23093 DEPENDENCIES!$DEPENDENCIES$ac_delim
23094 LIBOBJS!$LIBOBJS$ac_delim
23095 LTLIBOBJS!$LTLIBOBJS$ac_delim
23098 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
23100 elif $ac_last_try; then
23101 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23102 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23103 { (exit 1); exit 1; }; }
23105 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23109 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23110 if test -n "$ac_eof"; then
23111 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23112 ac_eof
=`expr $ac_eof + 1`
23115 cat >>$CONFIG_STATUS <<_ACEOF
23116 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23120 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23121 s/^/s,@/; s/!/@,|#_!!_#|/
23124 s/'"$ac_delim"'$/,g/; t
23126 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23127 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23128 rm -f conf$
$subs.
sed
23129 cat >>$CONFIG_STATUS <<_ACEOF
23136 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23137 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23138 # trailing colons and then remove the whole line if VPATH becomes empty
23139 # (actually we leave an empty line to preserve line numbers).
23140 if test "x$srcdir" = x.
; then
23141 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23142 s/:*\$(srcdir):*/:/
23143 s/:*\${srcdir}:*/:/
23145 s/^\([^=]*=[ ]*\):*/\1/
23151 cat >>$CONFIG_STATUS <<\_ACEOF
23152 fi # test -n "$CONFIG_FILES"
23155 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23158 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23160 case $ac_mode$ac_tag in
23162 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23163 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23164 { (exit 1); exit 1; }; };;
23165 :[FH
]-) ac_tag
=-:-;;
23166 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23183 -) ac_f
="$tmp/stdin";;
23184 *) # Look for the file first in the build tree, then in the source tree
23185 # (if the path is not absolute). The absolute path cannot be DOS-style,
23186 # because $ac_f cannot contain `:'.
23190 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23192 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23193 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23194 { (exit 1); exit 1; }; };;
23196 ac_file_inputs
="$ac_file_inputs $ac_f"
23199 # Let's still pretend it is `configure' which instantiates (i.e., don't
23200 # use $as_me), people would be surprised to read:
23201 # /* config.h. Generated by config.status. */
23202 configure_input
="Generated from "`IFS=:
23203 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23204 if test x
"$ac_file" != x-
; then
23205 configure_input
="$ac_file. $configure_input"
23206 { echo "$as_me:$LINENO: creating $ac_file" >&5
23207 echo "$as_me: creating $ac_file" >&6;}
23211 *:-:* |
*:-) cat >"$tmp/stdin";;
23216 ac_dir
=`$as_dirname -- "$ac_file" ||
23217 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23218 X"$ac_file" : 'X\(//\)[^/]' \| \
23219 X"$ac_file" : 'X\(//\)$' \| \
23220 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23226 /^X\(\/\/\)[^/].*/{
23241 -*) as_dir
=.
/$as_dir;;
23243 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23247 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23248 *) as_qdir
=$as_dir;;
23250 as_dirs
="'$as_qdir' $as_dirs"
23251 as_dir
=`$as_dirname -- "$as_dir" ||
23252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23253 X"$as_dir" : 'X\(//\)[^/]' \| \
23254 X"$as_dir" : 'X\(//\)$' \| \
23255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23261 /^X\(\/\/\)[^/].*/{
23274 test -d "$as_dir" && break
23276 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23277 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23278 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23279 { (exit 1); exit 1; }; }; }
23283 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23285 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23286 # A ".." for each directory in $ac_dir_suffix.
23287 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23288 case $ac_top_builddir_sub in
23289 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23290 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23293 ac_abs_top_builddir
=$ac_pwd
23294 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23295 # for backward compatibility:
23296 ac_top_builddir
=$ac_top_build_prefix
23299 .
) # We are building in place.
23301 ac_top_srcdir
=$ac_top_builddir_sub
23302 ac_abs_top_srcdir
=$ac_pwd ;;
23303 [\\/]* | ?
:[\\/]* ) # Absolute name.
23304 ac_srcdir
=$srcdir$ac_dir_suffix;
23305 ac_top_srcdir
=$srcdir
23306 ac_abs_top_srcdir
=$srcdir ;;
23307 *) # Relative name.
23308 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23309 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23310 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23312 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23322 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23323 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23327 cat >>$CONFIG_STATUS <<\_ACEOF
23328 # If the template does not know about datarootdir, expand it.
23329 # FIXME: This hack should be removed a few years after 2.60.
23330 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23332 case `sed -n '/datarootdir/ {
23341 ' $ac_file_inputs` in
23342 *datarootdir
*) ac_datarootdir_seen
=yes;;
23343 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23344 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23345 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23347 cat >>$CONFIG_STATUS <<_ACEOF
23348 ac_datarootdir_hack='
23349 s&@datadir@&$datadir&g
23350 s&@docdir@&$docdir&g
23351 s&@infodir@&$infodir&g
23352 s&@localedir@&$localedir&g
23353 s&@mandir@&$mandir&g
23354 s&\\\${datarootdir}&$datarootdir&g' ;;
23358 # Neutralize VPATH when `$srcdir' = `.'.
23359 # Shell code in configure.ac might set extrasub.
23360 # FIXME: do we really want to maintain this feature?
23361 cat >>$CONFIG_STATUS <<_ACEOF
23365 cat >>$CONFIG_STATUS <<\_ACEOF
23367 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23368 s
&@configure_input@
&$configure_input&;t t
23369 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23370 s
&@srcdir@
&$ac_srcdir&;t t
23371 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23372 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23373 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23374 s
&@builddir@
&$ac_builddir&;t t
23375 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23376 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23377 s
&@INSTALL@
&$ac_INSTALL&;t t
23378 $ac_datarootdir_hack
23379 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23381 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23382 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23383 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23384 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23385 which seems to be undefined. Please make sure it is defined." >&5
23386 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23387 which seems to be undefined. Please make sure it is defined." >&2;}
23391 -) cat "$tmp/out"; rm -f "$tmp/out";;
23392 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23401 # Transform confdefs.h into a sed script `conftest.defines', that
23402 # substitutes the proper values into config.h.in to produce config.h.
23403 rm -f conftest.defines conftest.
tail
23404 # First, append a space to every undef/define line, to ease matching.
23405 echo 's/$/ /' >conftest.defines
23406 # Then, protect against being on the right side of a sed subst, or in
23407 # an unquoted here document, in config.status. If some macros were
23408 # called several times there might be several #defines for the same
23409 # symbol, which is useless. But do not sort them, since the last
23410 # AC_DEFINE must be honored.
23411 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23412 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23413 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23414 # PARAMS is the parameter list in the macro definition--in most cases, it's
23415 # just an empty string.
23416 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23417 ac_dB
='\\)[ (].*,\\1define\\2'
23425 s/^[ ]*#[ ]*define[ ][ ]*//
23430 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23431 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23432 ' >>conftest.defines
23434 # Remove the space that was appended to ease matching.
23435 # Then replace #undef with comments. This is necessary, for
23436 # example, in the case of _POSIX_SOURCE, which is predefined and required
23437 # on some systems where configure will not decide to define it.
23438 # (The regexp can be short, since the line contains either #define or #undef.)
23440 s,^[ #]*u.*,/* & */,' >>conftest.defines
23442 # Break up conftest.defines:
23443 ac_max_sed_lines
=50
23445 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23446 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23447 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23449 ac_in
='$ac_file_inputs'
23450 ac_out
='"$tmp/out1"'
23451 ac_nxt
='"$tmp/out2"'
23455 # Write a here document:
23456 cat >>$CONFIG_STATUS <<_ACEOF
23457 # First, check the format of the line:
23458 cat >"\$tmp/defines.sed" <<\\CEOF
23459 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23460 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23464 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23466 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23467 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23468 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23469 grep . conftest.
tail >/dev
/null ||
break
23470 rm -f conftest.defines
23471 mv conftest.
tail conftest.defines
23473 rm -f conftest.defines conftest.
tail
23475 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23476 cat >>$CONFIG_STATUS <<\_ACEOF
23477 if test x
"$ac_file" != x-
; then
23478 echo "/* $configure_input */" >"$tmp/config.h"
23479 cat "$ac_result" >>"$tmp/config.h"
23480 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23481 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23482 echo "$as_me: $ac_file is unchanged" >&6;}
23485 mv "$tmp/config.h" $ac_file
23488 echo "/* $configure_input */"
23494 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23495 echo "$as_me: executing $ac_file commands" >&6;}
23500 case $ac_file$ac_mode in
23501 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23502 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23503 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
23504 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23505 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
23506 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23507 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
23508 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23509 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
23510 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23511 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
23512 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
23513 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23519 { (exit 0); exit 0; }
23521 chmod +x
$CONFIG_STATUS
23522 ac_clean_files
=$ac_clean_files_save
23525 # configure is writing to config.log, and then calls config.status.
23526 # config.status does its own redirection, appending to config.log.
23527 # Unfortunately, on DOS this fails, as config.log is still kept open
23528 # by configure, so config.status won't be able to write to it; its
23529 # output is simply discarded. So we exec the FD to /dev/null,
23530 # effectively closing config.log, so it can be properly (re)opened and
23531 # appended to by config.status. When coming back to configure, we
23532 # need to make the FD available again.
23533 if test "$no_create" != yes; then
23535 ac_config_status_args
=
23536 test "$silent" = yes &&
23537 ac_config_status_args
="$ac_config_status_args --quiet"
23539 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23541 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23542 # would make configure fail if this is the last instruction.
23543 $ac_cs_success ||
{ (exit 1); exit 1; }
23547 if test "$no_create" = "yes"
23554 if test "x$wine_notices != "x
; then
23556 for msg
in $wine_notices; do
23557 if test -n "$msg"; then
23558 { echo "$as_me:$LINENO: $msg" >&5
23559 echo "$as_me: $msg" >&6;}
23563 for msg
in $wine_warnings; do
23564 if test -n "$msg"; then
23566 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23567 echo "$as_me: WARNING: $msg" >&2;}
23573 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.