2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
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.57'
578 PACKAGE_STRING
='Wine 0.9.57'
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
776 ac_subst_files
='MAKE_RULES
781 ac_precious_vars
='build_alias
796 # Initialize some variables set by options.
798 ac_init_version
=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_
$ac_feature=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_
$ac_feature=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_
$ac_package=\
$ac_optarg ;;
1121 -without-* |
--without-*)
1122 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_
$ac_package=no
;;
1131 # Obsolete; use --with-x.
1134 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1135 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1136 ac_prev
=x_includes
;;
1137 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1138 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1139 x_includes
=$ac_optarg ;;
1141 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1142 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1143 ac_prev
=x_libraries
;;
1144 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1145 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1146 x_libraries
=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\
$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val
=\$
$ac_var
1187 [\\/$
]* | ?
:[\\/]* ) continue;;
1188 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target
=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x
; then
1203 if test "x$build_alias" = x
; then
1204 cross_compiling
=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1215 test "$silent" = yes && exec 6>/dev
/null
1218 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di
=`ls -di .` &&
1220 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted
=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir
=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted
=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var
in $ac_precious_vars; do
1283 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1285 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --x-includes=DIR X include files are
in DIR
1355 --x-libraries=DIR X library files are
in DIR
1358 --build=BUILD configure
for building on BUILD
[guessed
]
1359 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive
) echo "Configuration of Wine 0.9.57:";;
1370 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1371 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1377 --disable-tests do not build the testsuites
1380 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1381 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1382 --without-alsa do not use the Alsa sound support
1383 --without-audioio do not use the AudioIO sound support
1384 --without-capi do not use CAPI (ISDN support)
1385 --without-cms do not use CMS (color management support)
1386 --without-coreaudio do not use the CoreAudio sound support
1387 --without-cups do not use CUPS
1388 --without-curses do not use (n)curses
1389 --without-esd do not use the EsounD sound support
1390 --without-fontconfig do not use fontconfig
1391 --without-gphoto do not use gphoto (Digital Camera support)
1392 --without-hal do not use HAL (dynamic device support)
1393 --without-jack do not use the Jack sound support
1394 --without-jpeg do not use JPEG
1395 --without-ldap do not use LDAP
1396 --without-nas do not use the NAS sound support
1397 --without-opengl do not use OpenGL
1398 --without-openssl do not use OpenSSL
1399 --without-oss do not use the OSS sound support
1400 --without-png do not use PNG
1401 --without-sane do not use SANE (scanner support)
1402 --without-xcomposite do not use the Xcomposite extension
1403 --without-xcursor do not use the Xcursor extension
1404 --without-xinerama do not use Xinerama (multi-monitor support)
1405 --without-xinput do not use the Xinput extension
1406 --without-xml do not use XML
1407 --without-xrandr do not use Xrandr (resolution changes)
1408 --without-xrender do not use the Xrender extension
1409 --without-xshape do not use the Xshape extension
1410 --without-xshm do not use XShm (shared memory extension)
1411 --without-xslt do not use XSLT
1412 --without-xvidmode do not use XFree video mode extension
1413 --with-wine-tools=DIR use Wine tools from directory DIR
1414 --with-x use the X Window System
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 CXX C++ compiler command
1425 CXXFLAGS C++ compiler flags
1426 XMKMF Path to xmkmf, Makefile generator for X Window System
1429 Use these variables to override the choices made by `configure' or to
help
1430 it to
find libraries and programs with nonstandard names
/locations.
1432 Report bugs to
<wine-devel@winehq.org
>.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1440 test -d "$ac_dir" ||
continue
1444 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1446 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1447 # A ".." for each directory in $ac_dir_suffix.
1448 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1449 case $ac_top_builddir_sub in
1450 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1451 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1454 ac_abs_top_builddir
=$ac_pwd
1455 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1456 # for backward compatibility:
1457 ac_top_builddir
=$ac_top_build_prefix
1460 .
) # We are building in place.
1462 ac_top_srcdir
=$ac_top_builddir_sub
1463 ac_abs_top_srcdir
=$ac_pwd ;;
1464 [\\/]* | ?
:[\\/]* ) # Absolute name.
1465 ac_srcdir
=$srcdir$ac_dir_suffix;
1466 ac_top_srcdir
=$srcdir
1467 ac_abs_top_srcdir
=$srcdir ;;
1469 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1471 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1473 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1475 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1476 # Check for guested configure.
1477 if test -f "$ac_srcdir/configure.gnu"; then
1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480 elif test -f "$ac_srcdir/configure"; then
1482 $SHELL "$ac_srcdir/configure" --help=recursive
1484 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1490 test -n "$ac_init_help" && exit $ac_status
1491 if $ac_init_version; then
1493 Wine configure
0.9.57
1494 generated by GNU Autoconf
2.61
1496 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1497 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1498 This configure
script is free software
; the Free Software Foundation
1499 gives unlimited permission to copy
, distribute and modify it.
1503 cat >config.log
<<_ACEOF
1504 This file contains any messages produced by compilers while
1505 running configure, to aid debugging if configure makes a mistake.
1507 It was created by Wine $as_me 0.9.57, which was
1508 generated by GNU Autoconf 2.61. Invocation command line was
1520 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1521 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1522 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1523 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1524 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1526 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1527 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1529 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1530 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1531 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1532 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1533 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1534 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1535 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir
=.
1544 echo "PATH: $as_dir"
1560 # Keep a trace of the command line.
1561 # Strip out --no-create and --no-recursion so they do not pile up.
1562 # Strip out --silent because we don't want to record it for future runs.
1563 # Also quote any args containing shell meta-characters.
1564 # Make two passes to allow for proper duplicate-argument suppression.
1568 ac_must_keep_next
=false
1574 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1575 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1576 |
-silent |
--silent |
--silen |
--sile |
--sil)
1579 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1584 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1585 if test $ac_must_keep_next = true
; then
1586 ac_must_keep_next
=false
# Got value, back to normal.
1589 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1590 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1591 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1592 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1593 case "$ac_configure_args0 " in
1594 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1597 -* ) ac_must_keep_next
=true
;;
1600 ac_configure_args
="$ac_configure_args '$ac_arg'"
1605 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1606 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1608 # When interrupted or exit'd, cleanup temporary files, and complete
1609 # config.log. We remove comments because anyway the quotes in there
1610 # would cause problems or look ugly.
1611 # WARNING: Use '\'' to represent an apostrophe within the trap.
1612 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1613 trap 'exit_status=$?
1614 # Save into config.log some information that might help in debugging.
1619 ## ---------------- ##
1620 ## Cache variables. ##
1621 ## ---------------- ##
1624 # The following way of writing the cache mishandles newlines in values,
1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1627 eval ac_val=\$$ac_var
1631 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1632 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1635 _ | IFS | as_nl) ;; #(
1636 *) $as_unset $ac_var ;;
1641 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1642 *${as_nl}ac_space=\ *)
1644 "s/'\''/'\''\\\\'\'''\''/g;
1645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656 ## ----------------- ##
1657 ## Output variables. ##
1658 ## ----------------- ##
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1665 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 echo "$ac_var='\''$ac_val'\''"
1671 if test -n "$ac_subst_files"; then
1673 ## ------------------- ##
1674 ## File substitutions. ##
1675 ## ------------------- ##
1678 for ac_var
in $ac_subst_files
1680 eval ac_val
=\$
$ac_var
1682 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684 echo "$ac_var='\''$ac_val'\''"
1689 if test -s confdefs.h; then
1699 test "$ac_signal" != 0 &&
1700 echo "$as_me: caught signal $ac_signal"
1701 echo "$as_me: exit $exit_status"
1703 rm -f core *.core core.conftest.* &&
1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 for ac_signal
in 1 2 13 15; do
1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1713 rm -f -r conftest
* confdefs.h
1715 # Predefined preprocessor variables.
1717 cat >>confdefs.h
<<_ACEOF
1718 #define PACKAGE_NAME "$PACKAGE_NAME"
1722 cat >>confdefs.h
<<_ACEOF
1723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1732 cat >>confdefs.h
<<_ACEOF
1733 #define PACKAGE_STRING "$PACKAGE_STRING"
1737 cat >>confdefs.h
<<_ACEOF
1738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1742 # Let the site file select an alternate cache file if it wants to.
1743 # Prefer explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 set x
"$CONFIG_SITE"
1746 elif test "x$prefix" != xNONE
; then
1747 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1749 set x
"$ac_default_prefix/share/config.site" \
1750 "$ac_default_prefix/etc/config.site"
1755 if test -r "$ac_site_file"; then
1756 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1757 echo "$as_me: loading site script $ac_site_file" >&6;}
1758 sed 's/^/| /' "$ac_site_file" >&5
1763 if test -r "$cache_file"; then
1764 # Some versions of bash will fail to source /dev/null (special
1765 # files actually), so we avoid doing that.
1766 if test -f "$cache_file"; then
1767 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1768 echo "$as_me: loading cache $cache_file" >&6;}
1770 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1771 *) .
"./$cache_file";;
1775 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1776 echo "$as_me: creating cache $cache_file" >&6;}
1780 # Check that the precious variables saved in the cache have kept the same
1782 ac_cache_corrupted
=false
1783 for ac_var
in $ac_precious_vars; do
1784 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1785 eval ac_new_set
=\
$ac_env_${ac_var}_set
1786 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1787 eval ac_new_val
=\
$ac_env_${ac_var}_value
1788 case $ac_old_set,$ac_new_set in
1790 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1791 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792 ac_cache_corrupted
=: ;;
1794 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1795 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1796 ac_cache_corrupted
=: ;;
1799 if test "x$ac_old_val" != "x$ac_new_val"; then
1800 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1801 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1802 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1803 echo "$as_me: former value: $ac_old_val" >&2;}
1804 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1805 echo "$as_me: current value: $ac_new_val" >&2;}
1806 ac_cache_corrupted
=:
1809 # Pass precious variables to config.status.
1810 if test "$ac_new_set" = set; then
1812 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1813 *) ac_arg
=$ac_var=$ac_new_val ;;
1815 case " $ac_configure_args " in
1816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1817 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1821 if $ac_cache_corrupted; then
1822 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1823 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1824 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1825 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1826 { (exit 1); exit 1; }; }
1854 ac_cpp
='$CPP $CPPFLAGS'
1855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1861 ac_config_headers
="$ac_config_headers include/config.h"
1864 for ac_dir
in tools
"$srcdir"/tools
; do
1865 if test -f "$ac_dir/install-sh"; then
1867 ac_install_sh
="$ac_aux_dir/install-sh -c"
1869 elif test -f "$ac_dir/install.sh"; then
1871 ac_install_sh
="$ac_aux_dir/install.sh -c"
1873 elif test -f "$ac_dir/shtool"; then
1875 ac_install_sh
="$ac_aux_dir/shtool install -c"
1879 if test -z "$ac_aux_dir"; then
1880 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1881 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1882 { (exit 1); exit 1; }; }
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1890 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1891 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1896 # Check whether --enable-win16 was given.
1897 if test "${enable_win16+set}" = set; then
1898 enableval
=$enable_win16;
1901 # Check whether --enable-win64 was given.
1902 if test "${enable_win64+set}" = set; then
1903 enableval
=$enable_win64;
1906 # Check whether --enable-maintainer-mode was given.
1907 if test "${enable_maintainer_mode+set}" = set; then
1908 enableval
=$enable_maintainer_mode;
1916 # Check whether --with-alsa was given.
1917 if test "${with_alsa+set}" = set; then
1918 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1922 # Check whether --with-audioio was given.
1923 if test "${with_audioio+set}" = set; then
1924 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1928 # Check whether --with-capi was given.
1929 if test "${with_capi+set}" = set; then
1930 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1934 # Check whether --with-cms was given.
1935 if test "${with_cms+set}" = set; then
1936 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1940 # Check whether --with-coreaudio was given.
1941 if test "${with_coreaudio+set}" = set; then
1942 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1946 # Check whether --with-cups was given.
1947 if test "${with_cups+set}" = set; then
1948 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1952 # Check whether --with-curses was given.
1953 if test "${with_curses+set}" = set; then
1954 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1958 # Check whether --with-esd was given.
1959 if test "${with_esd+set}" = set; then
1964 # Check whether --with-fontconfig was given.
1965 if test "${with_fontconfig+set}" = set; then
1966 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1970 # Check whether --with-gphoto was given.
1971 if test "${with_gphoto+set}" = set; then
1972 withval
=$with_gphoto;
1976 # Check whether --with-hal was given.
1977 if test "${with_hal+set}" = set; then
1982 # Check whether --with-jack was given.
1983 if test "${with_jack+set}" = set; then
1984 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
1988 # Check whether --with-jpeg was given.
1989 if test "${with_jpeg+set}" = set; then
1990 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
1994 # Check whether --with-ldap was given.
1995 if test "${with_ldap+set}" = set; then
1996 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2000 # Check whether --with-nas was given.
2001 if test "${with_nas+set}" = set; then
2002 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2006 # Check whether --with-opengl was given.
2007 if test "${with_opengl+set}" = set; then
2008 withval
=$with_opengl;
2012 # Check whether --with-openssl was given.
2013 if test "${with_openssl+set}" = set; then
2014 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2018 # Check whether --with-oss was given.
2019 if test "${with_oss+set}" = set; then
2020 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
2024 # Check whether --with-png was given.
2025 if test "${with_png+set}" = set; then
2026 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2030 # Check whether --with-sane was given.
2031 if test "${with_sane+set}" = set; then
2036 # Check whether --with-xcomposite was given.
2037 if test "${with_xcomposite+set}" = set; then
2038 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2042 # Check whether --with-xcursor was given.
2043 if test "${with_xcursor+set}" = set; then
2044 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2048 # Check whether --with-xinerama was given.
2049 if test "${with_xinerama+set}" = set; then
2050 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2054 # Check whether --with-xinput was given.
2055 if test "${with_xinput+set}" = set; then
2056 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2060 # Check whether --with-xml was given.
2061 if test "${with_xml+set}" = set; then
2066 # Check whether --with-xrandr was given.
2067 if test "${with_xrandr+set}" = set; then
2068 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2072 # Check whether --with-xrender was given.
2073 if test "${with_xrender+set}" = set; then
2074 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2078 # Check whether --with-xshape was given.
2079 if test "${with_xshape+set}" = set; then
2080 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2084 # Check whether --with-xshm was given.
2085 if test "${with_xshm+set}" = set; then
2086 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2090 # Check whether --with-xslt was given.
2091 if test "${with_xslt+set}" = set; then
2096 # Check whether --with-xvidmode was given.
2097 if test "${with_xvidmode+set}" = set; then
2098 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2103 # Check whether --with-wine-tools was given.
2104 if test "${with_wine_tools+set}" = set; then
2105 withval
=$with_wine_tools;
2108 # Check whether --enable-tests was given.
2109 if test "${enable_tests+set}" = set; then
2110 enableval
=$enable_tests;
2114 # Make sure we can run config.sub.
2115 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2116 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2117 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2118 { (exit 1); exit 1; }; }
2120 { echo "$as_me:$LINENO: checking build system type" >&5
2121 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2122 if test "${ac_cv_build+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 ac_build_alias
=$build_alias
2126 test "x$ac_build_alias" = x
&&
2127 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2128 test "x$ac_build_alias" = x
&&
2129 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2130 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2131 { (exit 1); exit 1; }; }
2132 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2133 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2134 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2135 { (exit 1); exit 1; }; }
2138 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2139 echo "${ECHO_T}$ac_cv_build" >&6; }
2140 case $ac_cv_build in
2142 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2143 echo "$as_me: error: invalid value of canonical build" >&2;}
2144 { (exit 1); exit 1; }; };;
2147 ac_save_IFS
=$IFS; IFS
='-'
2153 # Remember, the first character of IFS is used to create $*,
2154 # except with old shells:
2157 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2160 { echo "$as_me:$LINENO: checking host system type" >&5
2161 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2162 if test "${ac_cv_host+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test "x$host_alias" = x
; then
2166 ac_cv_host
=$ac_cv_build
2168 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2169 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2170 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2171 { (exit 1); exit 1; }; }
2175 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2176 echo "${ECHO_T}$ac_cv_host" >&6; }
2179 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2180 echo "$as_me: error: invalid value of canonical host" >&2;}
2181 { (exit 1); exit 1; }; };;
2184 ac_save_IFS
=$IFS; IFS
='-'
2190 # Remember, the first character of IFS is used to create $*,
2191 # except with old shells:
2194 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2199 if test "x$enable_win64" != "xyes"
2201 test -n "$CC" || CC
="gcc -m32"
2202 test -n "$CXX"|| CXX
="g++ -m32"
2203 test -n "$LD" || LD
="ld -m elf_i386"
2204 test -n "$AS" || AS
="as --32"
2212 if test "x$enable_win16" != "xno"
2219 WIN16_FILES
="\$(WIN16_FILES)"
2221 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2223 if test "x$enable_win16" != "xyes"
2229 if test "x$enable_tests" == "xno"
2236 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2244 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2245 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2246 You need to run 'make distclean' in the source tree first." >&5
2247 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&2;}
2249 { (exit 1); exit 1; }; }
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 cat >conftest.
make <<\_ACEOF
2263 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2268 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2270 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2274 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2275 { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281 SET_MAKE
="MAKE=${MAKE-make}"
2285 ac_cpp
='$CPP $CPPFLAGS'
2286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2291 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC
="$CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 if test -n "$CC"; then
2319 { echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$ac_cv_prog_CC"; then
2330 # Extract the first word of "gcc", so it can be a program name with args.
2331 set dummy gcc
; ac_word
=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 if test -n "$ac_ct_CC"; then
2338 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_CC
="gcc"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6; }
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2366 if test "x$ac_ct_CC" = x
; then
2369 case $cross_compiling:$ac_tool_warned in
2371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&5
2374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2377 ac_tool_warned
=yes ;;
2385 if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2387 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2388 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC
="$CC" # Let the user override the test.
2397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir
=.
2402 for ac_exec_ext
in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$CC"; then
2416 { echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6; }
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 # Extract the first word of "cc", so it can be a program name with args.
2428 set dummy cc
; ac_word
=$2
2429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC
="$CC" # Let the user override the test.
2438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir
=.
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2446 ac_prog_rejected
=yes
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test $ac_prog_rejected = yes; then
2458 # We found a bogon in the path, so make sure we never use it.
2459 set dummy
$ac_cv_prog_CC
2461 if test $# != 0; then
2462 # We chose a different compiler from the bogus one.
2463 # However, it has the same basename, so the bogon will be chosen
2464 # first if we set CC to just the basename; use the full file name.
2466 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2472 if test -n "$CC"; then
2473 { echo "$as_me:$LINENO: result: $CC" >&5
2474 echo "${ECHO_T}$CC" >&6; }
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2484 for ac_prog
in cl.exe
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC
="$CC" # Let the user override the test.
2496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir
=.
2501 for ac_exec_ext
in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 if test -n "$CC"; then
2515 { echo "$as_me:$LINENO: result: $CC" >&5
2516 echo "${ECHO_T}$CC" >&6; }
2518 { echo "$as_me:$LINENO: result: no" >&5
2519 echo "${ECHO_T}no" >&6; }
2523 test -n "$CC" && break
2526 if test -z "$CC"; then
2528 for ac_prog
in cl.exe
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy
$ac_prog; ac_word
=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$ac_ct_CC"; then
2538 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_CC
="$ac_prog"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2558 if test -n "$ac_ct_CC"; then
2559 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 echo "${ECHO_T}$ac_ct_CC" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2567 test -n "$ac_ct_CC" && break
2570 if test "x$ac_ct_CC" = x
; then
2573 case $cross_compiling:$ac_tool_warned in
2575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2576 whose name does not start with the host triplet. If you think this
2577 configuration is useful to you, please write to autoconf@gnu.org." >&5
2578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2579 whose name does not start with the host triplet. If you think this
2580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2581 ac_tool_warned
=yes ;;
2590 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2596 # Provide some information about the compiler.
2597 echo "$as_me:$LINENO: checking for C compiler version" >&5
2598 ac_compiler
=`set X $ac_compile; echo $2`
2599 { (ac_try
="$ac_compiler --version >&5"
2601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compiler --version >&5") 2>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }
2609 { (ac_try="$ac_compiler -v >&5"
2611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2612 *) ac_try_echo
=$ac_try;;
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_compiler -v >&5") 2>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }
2619 { (ac_try
="$ac_compiler -V >&5"
2621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_compiler -V >&5") 2>&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }
2630 cat >conftest.$ac_ext <<_ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 ac_clean_files_save=$ac_clean_files
2646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2647 # Try to create an executable without -o first, disregard a.out.
2648 # It will help us diagnose broken compilers, and finding out an intuition
2650 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2652 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2654 # List of possible output files, starting from the most likely.
2655 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2656 # only as a last resort. b.out is created by i960 compilers.
2657 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2659 # The IRIX 6 linker writes into existing files which may not be
2660 # executable, retaining their permissions. Remove them first so a
2661 # subsequent execution test works.
2663 for ac_file in $ac_files
2666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2667 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2672 if { (ac_try="$ac_link_default"
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_link_default") 2>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; then
2682 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2683 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2684 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2685 # so that the user can short-circuit this test for compilers unknown to
2687 for ac_file
in $ac_files ''
2689 test -f "$ac_file" ||
continue
2691 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2694 # We found the default executable, but exeext='' is most
2698 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2700 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 # We set ac_cv_exeext here because the later test for it is not
2703 # safe: cross compilers may not add the suffix if given an `-o'
2704 # argument, so we may need to know it at that point already.
2705 # Even if this section looks crufty: it has the advantage of
2712 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2718 { echo "$as_me:$LINENO: result: $ac_file" >&5
2719 echo "${ECHO_T}$ac_file" >&6; }
2720 if test -z "$ac_file"; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.
$ac_ext >&5
2724 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2725 See \`config.log' for more details." >&5
2726 echo "$as_me: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&2;}
2728 { (exit 77); exit 77; }; }
2731 ac_exeext
=$ac_cv_exeext
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2736 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2737 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2738 # If not cross compiling, check that we can run a simple program.
2739 if test "$cross_compiling" != yes; then
2740 if { ac_try
='./$ac_file'
2741 { (case "(($ac_try" in
2742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746 (eval "$ac_try") 2>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2752 if test "$cross_compiling" = maybe; then
2755 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2756 If you meant to cross compile, use \`--host'.
2757 See \`config.log' for more details.
" >&5
2758 echo "$as_me: error
: cannot run C compiled programs.
2759 If you meant to cross compile
, use \
`--host'.
2760 See \`config.log
' for more details." >&2;}
2761 { (exit 1); exit 1; }; }
2765 { echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6; }
2768 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2769 ac_clean_files=$ac_clean_files_save
2770 # Check that the compiler produces executables we can run. If not, either
2771 # the compiler is broken, or we cross compile.
2772 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2773 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2774 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2775 echo "${ECHO_T}$cross_compiling" >&6; }
2777 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2778 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2779 if { (ac_try="$ac_link"
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_link") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2790 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2791 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2793 for ac_file
in conftest.exe conftest conftest.
*; do
2794 test -f "$ac_file" ||
continue
2796 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2797 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2803 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2804 See \`config.log' for more details." >&5
2805 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&2;}
2807 { (exit 1); exit 1; }; }
2810 rm -f conftest
$ac_cv_exeext
2811 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2812 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2814 rm -f conftest.
$ac_ext
2815 EXEEXT
=$ac_cv_exeext
2817 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2818 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2819 if test "${ac_cv_objext+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 cat >conftest.
$ac_ext <<_ACEOF
2825 cat confdefs.h
>>conftest.
$ac_ext
2826 cat >>conftest.
$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2837 rm -f conftest.o conftest.obj
2838 if { (ac_try
="$ac_compile"
2840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_compile") 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; then
2848 for ac_file in conftest.o conftest.obj conftest.*; do
2849 test -f "$ac_file" || continue;
2851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2852 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2861 See \`config.log
' for more details." >&5
2862 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details.
" >&2;}
2864 { (exit 1); exit 1; }; }
2867 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2869 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2870 echo "${ECHO_T}$ac_cv_objext" >&6; }
2871 OBJEXT=$ac_cv_objext
2873 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2874 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2875 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2876 echo $ECHO_N "(cached
) $ECHO_C" >&6
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2896 rm -f conftest.$ac_objext
2897 if { (ac_try="$ac_compile"
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_compile") 2>conftest.er1
2905 grep -v '^ *+' conftest.er1 >conftest.err
2907 cat conftest.err >&5
2908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2909 (exit $ac_status); } && {
2910 test -z "$ac_c_werror_flag" ||
2911 test ! -s conftest.err
2912 } && test -s conftest.$ac_objext; then
2915 echo "$as_me: failed program was
:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2925 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2926 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2927 GCC=`test $ac_compiler_gnu = yes && echo yes`
2928 ac_test_CFLAGS=${CFLAGS+set}
2929 ac_save_CFLAGS=$CFLAGS
2930 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2931 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2932 if test "${ac_cv_prog_cc_g+set}" = set; then
2933 echo $ECHO_N "(cached
) $ECHO_C" >&6
2935 ac_save_c_werror_flag=$ac_c_werror_flag
2936 ac_c_werror_flag=yes
2939 cat >conftest.$ac_ext <<_ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2954 rm -f conftest.$ac_objext
2955 if { (ac_try="$ac_compile"
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2961 (eval "$ac_compile") 2>conftest.er1
2963 grep -v '^ *+' conftest.er1 >conftest.err
2965 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2967 (exit $ac_status); } && {
2968 test -z "$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.$ac_objext; then
2973 echo "$as_me: failed program was
:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2992 rm -f conftest.$ac_objext
2993 if { (ac_try="$ac_compile"
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2999 (eval "$ac_compile") 2>conftest.er1
3001 grep -v '^ *+' conftest.er1 >conftest.err
3003 cat conftest.err >&5
3004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3005 (exit $ac_status); } && {
3006 test -z "$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3008 } && test -s conftest.$ac_objext; then
3011 echo "$as_me: failed program was
:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_c_werror_flag=$ac_save_c_werror_flag
3016 cat >conftest.$ac_ext <<_ACEOF
3019 cat confdefs.h >>conftest.$ac_ext
3020 cat >>conftest.$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3031 rm -f conftest.$ac_objext
3032 if { (ac_try="$ac_compile"
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3038 (eval "$ac_compile") 2>conftest.er1
3040 grep -v '^ *+' conftest.er1 >conftest.err
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3044 (exit $ac_status); } && {
3045 test -z "$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3047 } && test -s conftest.$ac_objext; then
3050 echo "$as_me: failed program was
:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 ac_c_werror_flag=$ac_save_c_werror_flag
3065 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3067 if test "$ac_test_CFLAGS" = set; then
3068 CFLAGS=$ac_save_CFLAGS
3069 elif test $ac_cv_prog_cc_g = yes; then
3070 if test "$GCC" = yes; then
3076 if test "$GCC" = yes; then
3082 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3083 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3084 if test "${ac_cv_prog_cc_c89+set}" = set; then
3085 echo $ECHO_N "(cached
) $ECHO_C" >&6
3087 ac_cv_prog_cc_c89=no
3089 cat >conftest.$ac_ext <<_ACEOF
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3097 #include <sys/types.h>
3098 #include <sys/stat.h>
3099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3100 struct buf { int x; };
3101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3102 static char *e (p, i)
3108 static char *f (char * (*g) (char **, int), char **p, ...)
3113 s = g (p, va_arg (v,int));
3118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3119 function prototypes and stuff, but not '\xHH' hex character constants.
3120 These don't provoke an error unfortunately, instead are silently treated
3121 as 'x'. The following induces an error, until -std is added to get
3122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3123 array size at least. It's necessary to write '\x00'==0 to get something
3124 that's true only with -std. */
3125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3128 inside strings and character constants. */
3130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3132 int test (int i, double x);
3133 struct s1 {int (*f) (int a);};
3134 struct s2 {int (*f) (double a);};
3135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3149 CC="$ac_save_CC $ac_arg"
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^ *+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_cv_prog_cc_c89=$ac_arg
3169 echo "$as_me: failed program was
:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext
3176 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3178 rm -f conftest.$ac_ext
3183 case "x
$ac_cv_prog_cc_c89" in
3185 { echo "$as_me:$LINENO: result
: none needed
" >&5
3186 echo "${ECHO_T}none needed
" >&6; } ;;
3188 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3189 echo "${ECHO_T}unsupported
" >&6; } ;;
3191 CC="$CC $ac_cv_prog_cc_c89"
3192 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3193 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3204 ac_cpp='$CXXCPP $CPPFLAGS'
3205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3208 if test -z "$CXX"; then
3209 if test -n "$CCC"; then
3212 if test -n "$ac_tool_prefix"; then
3213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3217 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3218 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3219 if test "${ac_cv_prog_CXX+set}" = set; then
3220 echo $ECHO_N "(cached
) $ECHO_C" >&6
3222 if test -n "$CXX"; then
3223 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3233 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3243 if test -n "$CXX"; then
3244 { echo "$as_me:$LINENO: result
: $CXX" >&5
3245 echo "${ECHO_T}$CXX" >&6; }
3247 { echo "$as_me:$LINENO: result
: no
" >&5
3248 echo "${ECHO_T}no
" >&6; }
3252 test -n "$CXX" && break
3255 if test -z "$CXX"; then
3257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3259 # Extract the first word of "$ac_prog", so it can be a program name with args.
3260 set dummy $ac_prog; ac_word=$2
3261 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3262 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3264 echo $ECHO_N "(cached
) $ECHO_C" >&6
3266 if test -n "$ac_ct_CXX"; then
3267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_ac_ct_CXX="$ac_prog"
3277 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3287 if test -n "$ac_ct_CXX"; then
3288 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3289 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3291 { echo "$as_me:$LINENO: result
: no
" >&5
3292 echo "${ECHO_T}no
" >&6; }
3296 test -n "$ac_ct_CXX" && break
3299 if test "x
$ac_ct_CXX" = x; then
3302 case $cross_compiling:$ac_tool_warned in
3304 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3305 whose name does not start with the
host triplet. If you think this
3306 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3307 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3308 whose name does not start with the
host triplet. If you think this
3309 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3310 ac_tool_warned=yes ;;
3318 # Provide some information about the compiler.
3319 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3320 ac_compiler=`set X $ac_compile; echo $2`
3321 { (ac_try="$ac_compiler --version >&5"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compiler --version >&5") 2>&5
3329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3330 (exit $ac_status); }
3331 { (ac_try="$ac_compiler -v >&5"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compiler -v >&5") 2>&5
3339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3340 (exit $ac_status); }
3341 { (ac_try="$ac_compiler -V >&5"
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compiler -V >&5") 2>&5
3349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3350 (exit $ac_status); }
3352 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3353 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3355 echo $ECHO_N "(cached
) $ECHO_C" >&6
3357 cat >conftest.$ac_ext <<_ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3375 rm -f conftest.$ac_objext
3376 if { (ac_try="$ac_compile"
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_cxx_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3394 echo "$as_me: failed program was
:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3404 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3405 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3406 GXX=`test $ac_compiler_gnu = yes && echo yes`
3407 ac_test_CXXFLAGS=${CXXFLAGS+set}
3408 ac_save_CXXFLAGS=$CXXFLAGS
3409 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3410 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3411 if test "${ac_cv_prog_cxx_g+set}" = set; then
3412 echo $ECHO_N "(cached
) $ECHO_C" >&6
3414 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3415 ac_cxx_werror_flag=yes
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 rm -f conftest.$ac_objext
3434 if { (ac_try="$ac_compile"
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3440 (eval "$ac_compile") 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3446 (exit $ac_status); } && {
3447 test -z "$ac_cxx_werror_flag" ||
3448 test ! -s conftest.err
3449 } && test -s conftest.$ac_objext; then
3450 ac_cv_prog_cxx_g=yes
3452 echo "$as_me: failed program was
:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3456 cat >conftest.$ac_ext <<_ACEOF
3459 cat confdefs.h >>conftest.$ac_ext
3460 cat >>conftest.$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3471 rm -f conftest.$ac_objext
3472 if { (ac_try="$ac_compile"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_compile") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_cxx_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest.$ac_objext; then
3490 echo "$as_me: failed program was
:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3495 cat >conftest.$ac_ext <<_ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3510 rm -f conftest.$ac_objext
3511 if { (ac_try="$ac_compile"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3517 (eval "$ac_compile") 2>conftest.er1
3519 grep -v '^ *+' conftest.er1 >conftest.err
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3523 (exit $ac_status); } && {
3524 test -z "$ac_cxx_werror_flag" ||
3525 test ! -s conftest.err
3526 } && test -s conftest.$ac_objext; then
3527 ac_cv_prog_cxx_g=yes
3529 echo "$as_me: failed program was
:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3544 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3545 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3546 if test "$ac_test_CXXFLAGS" = set; then
3547 CXXFLAGS=$ac_save_CXXFLAGS
3548 elif test $ac_cv_prog_cxx_g = yes; then
3549 if test "$GXX" = yes; then
3555 if test "$GXX" = yes; then
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3569 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3570 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3571 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3572 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3573 echo $ECHO_N "(cached
) $ECHO_C" >&6
3575 if test -n "$CPPBIN"; then
3576 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3586 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3595 CPPBIN=$ac_cv_prog_CPPBIN
3596 if test -n "$CPPBIN"; then
3597 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3598 echo "${ECHO_T}$CPPBIN" >&6; }
3600 { echo "$as_me:$LINENO: result
: no
" >&5
3601 echo "${ECHO_T}no
" >&6; }
3606 if test -z "$ac_cv_prog_CPPBIN"; then
3607 ac_ct_CPPBIN=$CPPBIN
3608 # Extract the first word of "cpp
", so it can be a program name with args.
3609 set dummy cpp; ac_word=$2
3610 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3611 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3612 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3613 echo $ECHO_N "(cached
) $ECHO_C" >&6
3615 if test -n "$ac_ct_CPPBIN"; then
3616 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3626 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3635 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3636 if test -n "$ac_ct_CPPBIN"; then
3637 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3638 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3640 { echo "$as_me:$LINENO: result
: no
" >&5
3641 echo "${ECHO_T}no
" >&6; }
3644 if test "x
$ac_ct_CPPBIN" = x; then
3647 case $cross_compiling:$ac_tool_warned in
3649 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3650 whose name does not start with the
host triplet. If you think this
3651 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3652 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3653 whose name does not start with the
host triplet. If you think this
3654 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3655 ac_tool_warned=yes ;;
3657 CPPBIN=$ac_ct_CPPBIN
3660 CPPBIN="$ac_cv_prog_CPPBIN"
3664 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3665 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3666 if test "${wine_cv_toolsdir+set}" = set; then
3667 echo $ECHO_N "(cached
) $ECHO_C" >&6
3669 if test -z "$with_wine_tools"; then
3670 if test "$cross_compiling" = "yes"; then
3671 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3672 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3673 { (exit 1); exit 1; }; }
3675 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3677 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3678 case $with_wine_tools in
3679 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3680 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3683 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3684 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3685 { (exit 1); exit 1; }; }
3688 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3689 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3690 TOOLSDIR=$wine_cv_toolsdir
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3700 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3701 # On Suns, sometimes $CPP names a directory.
3702 if test -n "$CPP" && test -d "$CPP"; then
3705 if test -z "$CPP"; then
3706 if test "${ac_cv_prog_CPP+set}" = set; then
3707 echo $ECHO_N "(cached
) $ECHO_C" >&6
3709 # Double quotes because CPP needs to be expanded
3710 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3713 for ac_c_preproc_warn_flag in '' yes
3715 # Use a header file that comes with gcc, so configuring glibc
3716 # with a fresh cross-compiler works.
3717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3718 # <limits.h> exists even on freestanding compilers.
3719 # On the NeXT, cc -E runs the code through the compiler's parser,
3720 # not just through cpp. "Syntax error
" is here to catch this case.
3721 cat >conftest.$ac_ext <<_ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3728 # include <limits.h>
3730 # include <assert.h>
3734 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3742 grep -v '^ *+' conftest.er1 >conftest.err
3744 cat conftest.err >&5
3745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3746 (exit $ac_status); } >/dev/null && {
3747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3748 test ! -s conftest.err
3752 echo "$as_me: failed program was
:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 # Broken: fails on valid input.
3759 rm -f conftest.err conftest.$ac_ext
3761 # OK, works on sane cases. Now check whether nonexistent headers
3762 # can be detected and how.
3763 cat >conftest.$ac_ext <<_ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 #include <ac_nonexistent.h>
3771 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3779 grep -v '^ *+' conftest.er1 >conftest.err
3781 cat conftest.err >&5
3782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3783 (exit $ac_status); } >/dev/null && {
3784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3787 # Broken: success on invalid input.
3790 echo "$as_me: failed program was
:" >&5
3791 sed 's/^/| /' conftest.$ac_ext >&5
3793 # Passes both tests.
3798 rm -f conftest.err conftest.$ac_ext
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.err conftest.$ac_ext
3803 if $ac_preproc_ok; then
3815 { echo "$as_me:$LINENO: result
: $CPP" >&5
3816 echo "${ECHO_T}$CPP" >&6; }
3818 for ac_c_preproc_warn_flag in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error
" is here to catch this case.
3826 cat >conftest.$ac_ext <<_ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3833 # include <limits.h>
3835 # include <assert.h>
3839 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3845 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3847 grep -v '^ *+' conftest.er1 >conftest.err
3849 cat conftest.err >&5
3850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3851 (exit $ac_status); } >/dev/null && {
3852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3853 test ! -s conftest.err
3857 echo "$as_me: failed program was
:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3860 # Broken: fails on valid input.
3864 rm -f conftest.err conftest.$ac_ext
3866 # OK, works on sane cases. Now check whether nonexistent headers
3867 # can be detected and how.
3868 cat >conftest.$ac_ext <<_ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3874 #include <ac_nonexistent.h>
3876 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3884 grep -v '^ *+' conftest.er1 >conftest.err
3886 cat conftest.err >&5
3887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3888 (exit $ac_status); } >/dev/null && {
3889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3890 test ! -s conftest.err
3892 # Broken: success on invalid input.
3895 echo "$as_me: failed program was
:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 # Passes both tests.
3903 rm -f conftest.err conftest.$ac_ext
3906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3907 rm -f conftest.err conftest.$ac_ext
3908 if $ac_preproc_ok; then
3911 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3912 See \
`config.log' for more details." >&5
3913 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log
' for more details." >&2;}
3915 { (exit 1); exit 1; }; }
3919 ac_cpp='$CPP $CPPFLAGS'
3920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3921 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 { echo "$as_me:$LINENO: checking for X" >&5
3926 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3929 # Check whether --with-x was given.
3930 if test "${with_x+set}" = set; then
3934 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3935 if test "x$with_x" = xno; then
3936 # The user explicitly disabled X.
3939 case $x_includes,$x_libraries in #(
3940 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3941 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3942 { (exit 1); exit 1; }; };; #(
3943 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 # One or both of the vars are not set, and there is no cached value.
3947 ac_x_includes=no ac_x_libraries=no
3948 rm -f -r conftest.dir
3949 if mkdir conftest.dir; then
3951 cat >Imakefile <<'_ACEOF'
3953 @echo incroot='${INCROOT}'
3955 @echo usrlibdir='${USRLIBDIR}'
3957 @echo libdir='${LIBDIR}'
3959 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3961 for ac_var in incroot usrlibdir libdir; do
3962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3965 for ac_extension in a so sl; do
3966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3968 ac_im_usrlibdir=$ac_im_libdir; break
3971 # Screen out bogus values from the imake configuration. They are
3972 # bogus both because they are the default anyway, and because
3973 # using them would break gcc on systems where it needs fixed includes.
3974 case $ac_im_incroot in
3975 /usr/include) ac_x_includes= ;;
3976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3978 case $ac_im_usrlibdir in
3980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3984 rm -f -r conftest.dir
3987 # Standard set of common directories for X headers.
3988 # Check X11 before X11Rn because it is often a symlink to the current release.
4000 /usr
/local
/X11
/include
4001 /usr
/local
/X11R
6/include
4002 /usr
/local
/X11R
5/include
4003 /usr
/local
/X11R
4/include
4005 /usr
/local
/include
/X11
4006 /usr
/local
/include
/X11R6
4007 /usr
/local
/include
/X11R5
4008 /usr
/local
/include
/X11R4
4012 /usr
/XFree86
/include
/X11
4016 /usr
/unsupported
/include
4018 /usr
/local
/x11r
5/include
4019 /usr
/lpp
/Xamples
/include
4021 /usr
/openwin
/include
4022 /usr
/openwin
/share
/include
'
4024 if test "$ac_x_includes" = no; then
4025 # Guess where to find include files, by looking for Xlib.h.
4026 # First, try using that file with no special directory specified.
4027 cat >conftest.$ac_ext <<_ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4033 #include <X11/Xlib.h>
4035 if { (ac_try="$ac_cpp conftest.$ac_ext"
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4043 grep -v '^
*+' conftest.er1 >conftest.err
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err
4051 # We can compile using X headers with no special include directory.
4054 echo "$as_me: failed program was:" >&5
4055 sed 's
/^
/|
/' conftest.$ac_ext >&5
4057 for ac_dir in $ac_x_header_dirs; do
4058 if test -r "$ac_dir/X11/Xlib.h"; then
4059 ac_x_includes=$ac_dir
4065 rm -f conftest.err conftest.$ac_ext
4066 fi # $ac_x_includes = no
4068 if test "$ac_x_libraries" = no; then
4069 # Check for the libraries.
4070 # See if we find them without any special options.
4071 # Don't add to
$LIBS permanently.
4074 cat >conftest.
$ac_ext <<_ACEOF
4077 cat confdefs.h
>>conftest.
$ac_ext
4078 cat >>conftest.
$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 #include <X11/Xlib.h>
4089 rm -f conftest.
$ac_objext conftest
$ac_exeext
4090 if { (ac_try
="$ac_link"
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_link") 2>conftest.er1
4098 grep -v '^ *+' conftest.er1 >conftest.err
4100 cat conftest.err >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); } && {
4103 test -z "$ac_c_werror_flag" ||
4104 test ! -s conftest.err
4105 } && test -s conftest$ac_exeext &&
4106 $as_test_x conftest$ac_exeext; then
4108 # We can link X programs with no special library path.
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4115 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4117 # Don't even attempt the hair of trying to link an X program!
4118 for ac_extension in a so sl; do
4119 if test -r "$ac_dir/libX11.$ac_extension"; then
4120 ac_x_libraries=$ac_dir
4127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4128 conftest$ac_exeext conftest.$ac_ext
4129 fi # $ac_x_libraries = no
4131 case $ac_x_includes,$ac_x_libraries in #(
4133 # Didn't find X, or a directory has "'" in its name.
4134 ac_cv_have_x="have_x=no";; #(
4136 # Record where we found X for the cache.
4137 ac_cv_have_x="have_x=yes\
4138 ac_x_includes='$ac_x_includes'\
4139 ac_x_libraries='$ac_x_libraries'"
4145 eval "$ac_cv_have_x"
4148 if test "$have_x" != yes; then
4149 { echo "$as_me:$LINENO: result: $have_x" >&5
4150 echo "${ECHO_T}$have_x" >&6; }
4153 # If each of the values was on the command line, it overrides each guess.
4154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4156 # Update the cache value to reflect the command line values.
4157 ac_cv_have_x="have_x=yes\
4158 ac_x_includes='$x_includes'\
4159 ac_x_libraries='$x_libraries'"
4160 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4161 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4164 if test "$no_x" = yes; then
4165 # Not all programs may use this symbol, but it does not hurt to define it.
4167 cat >>confdefs.h <<\_ACEOF
4168 #define X_DISPLAY_MISSING 1
4171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4173 if test -n "$x_includes"; then
4174 X_CFLAGS="$X_CFLAGS -I$x_includes"
4177 # It would also be nice to do this for all -L options, not just this one.
4178 if test -n "$x_libraries"; then
4179 X_LIBS="$X_LIBS -L$x_libraries"
4180 # For Solaris; some versions of Sun CC require a space after -R and
4181 # others require no space. Words are not sufficient . . . .
4182 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4183 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4185 ac_xsave_c_werror_flag=$ac_c_werror_flag
4186 ac_c_werror_flag=yes
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4202 rm -f conftest.$ac_objext conftest$ac_exeext
4203 if { (ac_try="$ac_link"
4205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4206 *) ac_try_echo
=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4211 grep -v '^ *+' conftest.er1
>conftest.err
4213 cat conftest.err
>&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && {
4216 test -z "$ac_c_werror_flag" ||
4217 test ! -s conftest.err
4218 } && test -s conftest
$ac_exeext &&
4219 $as_test_x conftest
$ac_exeext; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 X_LIBS
="$X_LIBS -R$x_libraries"
4224 echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.
$ac_ext >&5
4227 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4243 rm -f conftest.
$ac_objext conftest
$ac_exeext
4244 if { (ac_try
="$ac_link"
4246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4250 (eval "$ac_link") 2>conftest.er1
4252 grep -v '^ *+' conftest.er1 >conftest.err
4254 cat conftest.err >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } && {
4257 test -z "$ac_c_werror_flag" ||
4258 test ! -s conftest.err
4259 } && test -s conftest$ac_exeext &&
4260 $as_test_x conftest$ac_exeext; then
4261 { echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6; }
4263 X_LIBS="$X_LIBS -R $x_libraries"
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 { echo "$as_me:$LINENO: result: neither works" >&5
4269 echo "${ECHO_T}neither works" >&6; }
4272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4273 conftest$ac_exeext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4277 conftest$ac_exeext conftest.$ac_ext
4278 ac_c_werror_flag=$ac_xsave_c_werror_flag
4282 # Check for system-dependent libraries X programs must link with.
4283 # Do this before checking for the system-independent R6 libraries
4284 # (-lICE), since we may need -lsocket or whatever for X linking.
4286 if test "$ISC" = yes; then
4287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4289 # Martyn Johnson says this is needed for Ultrix, if the X
4290 # libraries were built with DECnet support. And Karl Berry says
4291 # the Alpha needs dnet_stub (dnet does not exist).
4292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4293 cat >conftest.$ac_ext <<_ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4300 /* Override any GCC internal prototype to avoid an error.
4301 Use char because int might match the return type of a GCC
4302 builtin and then its argument prototype would still apply. */
4306 char XOpenDisplay ();
4310 return XOpenDisplay ();
4315 rm -f conftest.$ac_objext conftest$ac_exeext
4316 if { (ac_try="$ac_link"
4318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4319 *) ac_try_echo
=$ac_try;;
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_link") 2>conftest.er1
4324 grep -v '^ *+' conftest.er1
>conftest.err
4326 cat conftest.err
>&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } && {
4329 test -z "$ac_c_werror_flag" ||
4330 test ! -s conftest.err
4331 } && test -s conftest
$ac_exeext &&
4332 $as_test_x conftest
$ac_exeext; then
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.
$ac_ext >&5
4338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4339 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4340 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 ac_check_lib_save_LIBS
=$LIBS
4345 cat >conftest.
$ac_ext <<_ACEOF
4348 cat confdefs.h
>>conftest.
$ac_ext
4349 cat >>conftest.
$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4352 /* Override any GCC internal prototype to avoid an error.
4353 Use char because int might match the return type of a GCC
4354 builtin and then its argument prototype would still apply. */
4362 return dnet_ntoa ();
4367 rm -f conftest.
$ac_objext conftest
$ac_exeext
4368 if { (ac_try
="$ac_link"
4370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4374 (eval "$ac_link") 2>conftest.er1
4376 grep -v '^ *+' conftest.er1 >conftest.err
4378 cat conftest.err >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } && {
4381 test -z "$ac_c_werror_flag" ||
4382 test ! -s conftest.err
4383 } && test -s conftest$ac_exeext &&
4384 $as_test_x conftest$ac_exeext; then
4385 ac_cv_lib_dnet_dnet_ntoa=yes
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 ac_cv_lib_dnet_dnet_ntoa=no
4393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4394 conftest$ac_exeext conftest.$ac_ext
4395 LIBS=$ac_check_lib_save_LIBS
4397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4398 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4399 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4403 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4404 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4405 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4406 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 ac_check_lib_save_LIBS=$LIBS
4410 LIBS="-ldnet_stub $LIBS"
4411 cat >conftest.$ac_ext <<_ACEOF
4414 cat confdefs.h >>conftest.$ac_ext
4415 cat >>conftest.$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4418 /* Override any GCC internal prototype to avoid an error.
4419 Use char because int might match the return type of a GCC
4420 builtin and then its argument prototype would still apply. */
4428 return dnet_ntoa ();
4433 rm -f conftest.$ac_objext conftest$ac_exeext
4434 if { (ac_try="$ac_link"
4436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4437 *) ac_try_echo
=$ac_try;;
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440 (eval "$ac_link") 2>conftest.er1
4442 grep -v '^ *+' conftest.er1
>conftest.err
4444 cat conftest.err
>&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } && {
4447 test -z "$ac_c_werror_flag" ||
4448 test ! -s conftest.err
4449 } && test -s conftest
$ac_exeext &&
4450 $as_test_x conftest
$ac_exeext; then
4451 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.
$ac_ext >&5
4456 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4460 conftest
$ac_exeext conftest.
$ac_ext
4461 LIBS
=$ac_check_lib_save_LIBS
4463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4464 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4465 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4466 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4473 conftest
$ac_exeext conftest.
$ac_ext
4474 LIBS
="$ac_xsave_LIBS"
4476 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4477 # to get the SysV transport functions.
4478 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4480 # The nsl library prevents programs from opening the X display
4481 # on Irix 5.2, according to T.E. Dickey.
4482 # The functions gethostbyname, getservbyname, and inet_addr are
4483 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4484 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4485 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_gethostbyname+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 cat >conftest.
$ac_ext <<_ACEOF
4492 cat confdefs.h
>>conftest.
$ac_ext
4493 cat >>conftest.
$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define gethostbyname innocuous_gethostbyname
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char gethostbyname (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4505 # include <limits.h>
4507 # include <assert.h>
4510 #undef gethostbyname
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4518 char gethostbyname ();
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4529 return gethostbyname ();
4534 rm -f conftest.
$ac_objext conftest
$ac_exeext
4535 if { (ac_try
="$ac_link"
4537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 ac_cv_func_gethostbyname=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_gethostbyname=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4566 if test $ac_cv_func_gethostbyname = no; then
4567 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS=$LIBS
4574 cat >conftest.$ac_ext <<_ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4587 char gethostbyname ();
4591 return gethostbyname ();
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (ac_try="$ac_link"
4599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4600 *) ac_try_echo
=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1
>conftest.err
4607 cat conftest.err
>&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest
$ac_exeext &&
4613 $as_test_x conftest
$ac_exeext; then
4614 ac_cv_lib_nsl_gethostbyname
=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.
$ac_ext >&5
4619 ac_cv_lib_nsl_gethostbyname
=no
4622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4623 conftest
$ac_exeext conftest.
$ac_ext
4624 LIBS
=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4629 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4632 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4633 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS
=$LIBS
4640 cat >conftest.
$ac_ext <<_ACEOF
4643 cat confdefs.h
>>conftest.
$ac_ext
4644 cat >>conftest.
$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any GCC internal prototype to avoid an error.
4648 Use char because int might match the return type of a GCC
4649 builtin and then its argument prototype would still apply. */
4653 char gethostbyname ();
4657 return gethostbyname ();
4662 rm -f conftest.
$ac_objext conftest
$ac_exeext
4663 if { (ac_try
="$ac_link"
4665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4669 (eval "$ac_link") 2>conftest.er1
4671 grep -v '^ *+' conftest.er1 >conftest.err
4673 cat conftest.err >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } && {
4676 test -z "$ac_c_werror_flag" ||
4677 test ! -s conftest.err
4678 } && test -s conftest$ac_exeext &&
4679 $as_test_x conftest$ac_exeext; then
4680 ac_cv_lib_bsd_gethostbyname=yes
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 ac_cv_lib_bsd_gethostbyname=no
4688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4689 conftest$ac_exeext conftest.$ac_ext
4690 LIBS=$ac_check_lib_save_LIBS
4692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4693 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4694 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4702 # socket/setsockopt and other routines are undefined under SCO ODT
4703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4704 # on later versions), says Simon Leinen: it contains gethostby*
4705 # variants that don't use the name server (or something). -lsocket
4706 # must be given before -lnsl if both are needed. We assume that
4707 # if connect needs -lnsl, so does gethostbyname.
4708 { echo "$as_me:$LINENO: checking for connect" >&5
4709 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4710 if test "${ac_cv_func_connect+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 cat >conftest.$ac_ext <<_ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4721 #define connect innocuous_connect
4723 /* System header to define __stub macros and hopefully few prototypes,
4724 which can conflict with char connect (); below.
4725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4726 <limits.h> exists even on freestanding compilers. */
4729 # include <limits.h>
4731 # include <assert.h>
4736 /* Override any GCC internal prototype to avoid an error.
4737 Use char because int might match the return type of a GCC
4738 builtin and then its argument prototype would still apply. */
4743 /* The GNU C library defines this for functions which it implements
4744 to always fail with ENOSYS. Some functions are actually named
4745 something starting with __ and the normal name is an alias. */
4746 #if defined __stub_connect || defined __stub___connect
4758 rm -f conftest.$ac_objext conftest$ac_exeext
4759 if { (ac_try="$ac_link"
4761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4762 *) ac_try_echo
=$ac_try;;
4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765 (eval "$ac_link") 2>conftest.er1
4767 grep -v '^ *+' conftest.er1
>conftest.err
4769 cat conftest.err
>&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } && {
4772 test -z "$ac_c_werror_flag" ||
4773 test ! -s conftest.err
4774 } && test -s conftest
$ac_exeext &&
4775 $as_test_x conftest
$ac_exeext; then
4776 ac_cv_func_connect
=yes
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.
$ac_ext >&5
4781 ac_cv_func_connect
=no
4784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4785 conftest
$ac_exeext conftest.
$ac_ext
4787 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4788 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4790 if test $ac_cv_func_connect = no
; then
4791 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4793 if test "${ac_cv_lib_socket_connect+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 ac_check_lib_save_LIBS
=$LIBS
4797 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4798 cat >conftest.
$ac_ext <<_ACEOF
4801 cat confdefs.h
>>conftest.
$ac_ext
4802 cat >>conftest.
$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4805 /* Override any GCC internal prototype to avoid an error.
4806 Use char because int might match the return type of a GCC
4807 builtin and then its argument prototype would still apply. */
4820 rm -f conftest.
$ac_objext conftest
$ac_exeext
4821 if { (ac_try
="$ac_link"
4823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_link") 2>conftest.er1
4829 grep -v '^ *+' conftest.er1 >conftest.err
4831 cat conftest.err >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest$ac_exeext &&
4837 $as_test_x conftest$ac_exeext; then
4838 ac_cv_lib_socket_connect=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4843 ac_cv_lib_socket_connect=no
4846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4847 conftest$ac_exeext conftest.$ac_ext
4848 LIBS=$ac_check_lib_save_LIBS
4850 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4851 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4852 if test $ac_cv_lib_socket_connect = yes; then
4853 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4858 # Guillermo Gomez says -lposix is necessary on A/UX.
4859 { echo "$as_me:$LINENO: checking for remove" >&5
4860 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4861 if test "${ac_cv_func_remove+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4872 #define remove innocuous_remove
4874 /* System header to define __stub macros and hopefully few prototypes,
4875 which can conflict with char remove (); below.
4876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4877 <limits.h> exists even on freestanding compilers. */
4880 # include <limits.h>
4882 # include <assert.h>
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4894 /* The GNU C library defines this for functions which it implements
4895 to always fail with ENOSYS. Some functions are actually named
4896 something starting with __ and the normal name is an alias. */
4897 #if defined __stub_remove || defined __stub___remove
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4913 *) ac_try_echo
=$ac_try;;
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4918 grep -v '^ *+' conftest.er1
>conftest.err
4920 cat conftest.err
>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } && {
4923 test -z "$ac_c_werror_flag" ||
4924 test ! -s conftest.err
4925 } && test -s conftest
$ac_exeext &&
4926 $as_test_x conftest
$ac_exeext; then
4927 ac_cv_func_remove
=yes
4929 echo "$as_me: failed program was:" >&5
4930 sed 's/^/| /' conftest.
$ac_ext >&5
4932 ac_cv_func_remove
=no
4935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4936 conftest
$ac_exeext conftest.
$ac_ext
4938 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4939 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4941 if test $ac_cv_func_remove = no
; then
4942 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4943 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4944 if test "${ac_cv_lib_posix_remove+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 ac_check_lib_save_LIBS
=$LIBS
4948 LIBS
="-lposix $LIBS"
4949 cat >conftest.
$ac_ext <<_ACEOF
4952 cat confdefs.h
>>conftest.
$ac_ext
4953 cat >>conftest.
$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4956 /* Override any GCC internal prototype to avoid an error.
4957 Use char because int might match the return type of a GCC
4958 builtin and then its argument prototype would still apply. */
4971 rm -f conftest.
$ac_objext conftest
$ac_exeext
4972 if { (ac_try
="$ac_link"
4974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>conftest.er1
4980 grep -v '^ *+' conftest.er1 >conftest.err
4982 cat conftest.err >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } && {
4985 test -z "$ac_c_werror_flag" ||
4986 test ! -s conftest.err
4987 } && test -s conftest$ac_exeext &&
4988 $as_test_x conftest$ac_exeext; then
4989 ac_cv_lib_posix_remove=yes
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 ac_cv_lib_posix_remove=no
4997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998 conftest$ac_exeext conftest.$ac_ext
4999 LIBS=$ac_check_lib_save_LIBS
5001 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5002 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5003 if test $ac_cv_lib_posix_remove = yes; then
5004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5009 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5010 { echo "$as_me:$LINENO: checking for shmat" >&5
5011 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5012 if test "${ac_cv_func_shmat+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 cat >conftest.$ac_ext <<_ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5023 #define shmat innocuous_shmat
5025 /* System header to define __stub macros and hopefully few prototypes,
5026 which can conflict with char shmat (); below.
5027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5028 <limits.h> exists even on freestanding compilers. */
5031 # include <limits.h>
5033 # include <assert.h>
5038 /* Override any GCC internal prototype to avoid an error.
5039 Use char because int might match the return type of a GCC
5040 builtin and then its argument prototype would still apply. */
5045 /* The GNU C library defines this for functions which it implements
5046 to always fail with ENOSYS. Some functions are actually named
5047 something starting with __ and the normal name is an alias. */
5048 #if defined __stub_shmat || defined __stub___shmat
5060 rm -f conftest.$ac_objext conftest$ac_exeext
5061 if { (ac_try="$ac_link"
5063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5064 *) ac_try_echo
=$ac_try;;
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_link") 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest
$ac_exeext &&
5077 $as_test_x conftest
$ac_exeext; then
5078 ac_cv_func_shmat
=yes
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.
$ac_ext >&5
5086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5087 conftest
$ac_exeext conftest.
$ac_ext
5089 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5090 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5092 if test $ac_cv_func_shmat = no
; then
5093 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5094 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5095 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 ac_check_lib_save_LIBS
=$LIBS
5100 cat >conftest.
$ac_ext <<_ACEOF
5103 cat confdefs.h
>>conftest.
$ac_ext
5104 cat >>conftest.
$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5107 /* Override any GCC internal prototype to avoid an error.
5108 Use char because int might match the return type of a GCC
5109 builtin and then its argument prototype would still apply. */
5122 rm -f conftest.
$ac_objext conftest
$ac_exeext
5123 if { (ac_try
="$ac_link"
5125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129 (eval "$ac_link") 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } && {
5136 test -z "$ac_c_werror_flag" ||
5137 test ! -s conftest.err
5138 } && test -s conftest$ac_exeext &&
5139 $as_test_x conftest$ac_exeext; then
5140 ac_cv_lib_ipc_shmat=yes
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 ac_cv_lib_ipc_shmat=no
5148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5149 conftest$ac_exeext conftest.$ac_ext
5150 LIBS=$ac_check_lib_save_LIBS
5152 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5154 if test $ac_cv_lib_ipc_shmat = yes; then
5155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5161 # Check for libraries that X11R6 Xt/Xaw programs need.
5162 ac_save_LDFLAGS=$LDFLAGS
5163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5165 # check for ICE first), but we must link in the order -lSM -lICE or
5166 # we get undefined symbols. So assume we have SM if we have ICE.
5167 # These have to be linked with before -lX11, unlike the other
5168 # libraries we check for below, so use a different variable.
5169 # John Interrante, Karl Berry
5170 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 ac_check_lib_save_LIBS=$LIBS
5176 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5177 cat >conftest.$ac_ext <<_ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5184 /* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5190 char IceConnectionNumber ();
5194 return IceConnectionNumber ();
5199 rm -f conftest.$ac_objext conftest$ac_exeext
5200 if { (ac_try="$ac_link"
5202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5203 *) ac_try_echo
=$ac_try;;
5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5206 (eval "$ac_link") 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } && {
5213 test -z "$ac_c_werror_flag" ||
5214 test ! -s conftest.err
5215 } && test -s conftest
$ac_exeext &&
5216 $as_test_x conftest
$ac_exeext; then
5217 ac_cv_lib_ICE_IceConnectionNumber
=yes
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.
$ac_ext >&5
5222 ac_cv_lib_ICE_IceConnectionNumber
=no
5225 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5226 conftest
$ac_exeext conftest.
$ac_ext
5227 LIBS
=$ac_check_lib_save_LIBS
5229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5230 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5231 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5232 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5235 LDFLAGS
=$ac_save_LDFLAGS
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy
$ac_prog; ac_word
=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_FLEX+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$FLEX"; then
5250 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_FLEX
="$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 FLEX
=$ac_cv_prog_FLEX
5270 if test -n "$FLEX"; then
5271 { echo "$as_me:$LINENO: result: $FLEX" >&5
5272 echo "${ECHO_T}$FLEX" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5279 test -n "$FLEX" && break
5281 test -n "$FLEX" || FLEX
="none"
5283 if test "$FLEX" = "none"
5285 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5286 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5287 { (exit 1); exit 1; }; }
5290 for ac_prog
in bison
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy
$ac_prog; ac_word
=$2
5294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5296 if test "${ac_cv_prog_BISON+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 if test -n "$BISON"; then
5300 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_BISON
="$ac_prog"
5310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 BISON
=$ac_cv_prog_BISON
5320 if test -n "$BISON"; then
5321 { echo "$as_me:$LINENO: result: $BISON" >&5
5322 echo "${ECHO_T}$BISON" >&6; }
5324 { echo "$as_me:$LINENO: result: no" >&5
5325 echo "${ECHO_T}no" >&6; }
5329 test -n "$BISON" && break
5331 test -n "$BISON" || BISON
="none"
5333 if test "$BISON" = "none"
5335 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5336 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5337 { (exit 1); exit 1; }; }
5340 if test -n "$ac_tool_prefix"; then
5341 for ac_prog
in gas as
5343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5344 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5347 if test "${ac_cv_prog_AS+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 if test -n "$AS"; then
5351 ac_cv_prog_AS
="$AS" # Let the user override the test.
5353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir
=.
5358 for ac_exec_ext
in '' $ac_executable_extensions; do
5359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 if test -n "$AS"; then
5372 { echo "$as_me:$LINENO: result: $AS" >&5
5373 echo "${ECHO_T}$AS" >&6; }
5375 { echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6; }
5380 test -n "$AS" && break
5383 if test -z "$AS"; then
5385 for ac_prog
in gas as
5387 # Extract the first word of "$ac_prog", so it can be a program name with args.
5388 set dummy
$ac_prog; ac_word
=$2
5389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5391 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 if test -n "$ac_ct_AS"; then
5395 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_ac_ct_AS
="$ac_prog"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5415 if test -n "$ac_ct_AS"; then
5416 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5417 echo "${ECHO_T}$ac_ct_AS" >&6; }
5419 { echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6; }
5424 test -n "$ac_ct_AS" && break
5427 if test "x$ac_ct_AS" = x
; then
5430 case $cross_compiling:$ac_tool_warned in
5432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5433 whose name does not start with the host triplet. If you think this
5434 configuration is useful to you, please write to autoconf@gnu.org." >&5
5435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5436 whose name does not start with the host triplet. If you think this
5437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5438 ac_tool_warned
=yes ;;
5444 if test -n "$ac_tool_prefix"; then
5445 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5446 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5449 if test "${ac_cv_prog_LD+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 if test -n "$LD"; then
5453 ac_cv_prog_LD
="$LD" # Let the user override the test.
5455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir
=.
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 if test -n "$LD"; then
5474 { echo "$as_me:$LINENO: result: $LD" >&5
5475 echo "${ECHO_T}$LD" >&6; }
5477 { echo "$as_me:$LINENO: result: no" >&5
5478 echo "${ECHO_T}no" >&6; }
5483 if test -z "$ac_cv_prog_LD"; then
5485 # Extract the first word of "ld", so it can be a program name with args.
5486 set dummy ld
; ac_word
=$2
5487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5489 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 if test -n "$ac_ct_LD"; then
5493 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir
=.
5500 for ac_exec_ext
in '' $ac_executable_extensions; do
5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5502 ac_cv_prog_ac_ct_LD
="ld"
5503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5513 if test -n "$ac_ct_LD"; then
5514 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5515 echo "${ECHO_T}$ac_ct_LD" >&6; }
5517 { echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6; }
5521 if test "x$ac_ct_LD" = x
; then
5524 case $cross_compiling:$ac_tool_warned in
5526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5527 whose name does not start with the host triplet. If you think this
5528 configuration is useful to you, please write to autoconf@gnu.org." >&5
5529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5530 whose name does not start with the host triplet. If you think this
5531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5532 ac_tool_warned
=yes ;;
5540 if test -n "$ac_tool_prefix"; then
5541 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5542 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5545 if test "${ac_cv_prog_AR+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5548 if test -n "$AR"; then
5549 ac_cv_prog_AR
="$AR" # Let the user override the test.
5551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir
=.
5556 for ac_exec_ext
in '' $ac_executable_extensions; do
5557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5558 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 if test -n "$AR"; then
5570 { echo "$as_me:$LINENO: result: $AR" >&5
5571 echo "${ECHO_T}$AR" >&6; }
5573 { echo "$as_me:$LINENO: result: no" >&5
5574 echo "${ECHO_T}no" >&6; }
5579 if test -z "$ac_cv_prog_AR"; then
5581 # Extract the first word of "ar", so it can be a program name with args.
5582 set dummy
ar; ac_word
=$2
5583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5585 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 if test -n "$ac_ct_AR"; then
5589 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5598 ac_cv_prog_ac_ct_AR
="ar"
5599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5609 if test -n "$ac_ct_AR"; then
5610 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5611 echo "${ECHO_T}$ac_ct_AR" >&6; }
5613 { echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6; }
5617 if test "x$ac_ct_AR" = x
; then
5620 case $cross_compiling:$ac_tool_warned in
5622 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5623 whose name does not start with the host triplet. If you think this
5624 configuration is useful to you, please write to autoconf@gnu.org." >&5
5625 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5626 whose name does not start with the host triplet. If you think this
5627 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5628 ac_tool_warned
=yes ;;
5638 if test -n "$ac_tool_prefix"; then
5639 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5640 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5643 if test "${ac_cv_prog_RANLIB+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 if test -n "$RANLIB"; then
5647 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir
=.
5654 for ac_exec_ext
in '' $ac_executable_extensions; do
5655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5656 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 RANLIB
=$ac_cv_prog_RANLIB
5667 if test -n "$RANLIB"; then
5668 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5669 echo "${ECHO_T}$RANLIB" >&6; }
5671 { echo "$as_me:$LINENO: result: no" >&5
5672 echo "${ECHO_T}no" >&6; }
5677 if test -z "$ac_cv_prog_RANLIB"; then
5678 ac_ct_RANLIB
=$RANLIB
5679 # Extract the first word of "ranlib", so it can be a program name with args.
5680 set dummy ranlib
; ac_word
=$2
5681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5683 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 if test -n "$ac_ct_RANLIB"; then
5687 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir
=.
5694 for ac_exec_ext
in '' $ac_executable_extensions; do
5695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5696 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5707 if test -n "$ac_ct_RANLIB"; then
5708 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5709 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5711 { echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6; }
5715 if test "x$ac_ct_RANLIB" = x
; then
5718 case $cross_compiling:$ac_tool_warned in
5720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5721 whose name does not start with the host triplet. If you think this
5722 configuration is useful to you, please write to autoconf@gnu.org." >&5
5723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5724 whose name does not start with the host triplet. If you think this
5725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5726 ac_tool_warned
=yes ;;
5728 RANLIB
=$ac_ct_RANLIB
5731 RANLIB
="$ac_cv_prog_RANLIB"
5734 if test -n "$ac_tool_prefix"; then
5735 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5736 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5739 if test "${ac_cv_prog_STRIP+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 if test -n "$STRIP"; then
5743 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5749 test -z "$as_dir" && as_dir
=.
5750 for ac_exec_ext
in '' $ac_executable_extensions; do
5751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 STRIP
=$ac_cv_prog_STRIP
5763 if test -n "$STRIP"; then
5764 { echo "$as_me:$LINENO: result: $STRIP" >&5
5765 echo "${ECHO_T}$STRIP" >&6; }
5767 { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5773 if test -z "$ac_cv_prog_STRIP"; then
5775 # Extract the first word of "strip", so it can be a program name with args.
5776 set dummy strip
; ac_word
=$2
5777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5779 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 if test -n "$ac_ct_STRIP"; then
5783 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir
=.
5790 for ac_exec_ext
in '' $ac_executable_extensions; do
5791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792 ac_cv_prog_ac_ct_STRIP
="strip"
5793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5803 if test -n "$ac_ct_STRIP"; then
5804 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5805 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5807 { echo "$as_me:$LINENO: result: no" >&5
5808 echo "${ECHO_T}no" >&6; }
5811 if test "x$ac_ct_STRIP" = x
; then
5814 case $cross_compiling:$ac_tool_warned in
5816 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5817 whose name does not start with the host triplet. If you think this
5818 configuration is useful to you, please write to autoconf@gnu.org." >&5
5819 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5820 whose name does not start with the host triplet. If you think this
5821 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5822 ac_tool_warned
=yes ;;
5827 STRIP
="$ac_cv_prog_STRIP"
5830 if test -n "$ac_tool_prefix"; then
5831 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5832 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5835 if test "${ac_cv_prog_WINDRES+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 if test -n "$WINDRES"; then
5839 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 WINDRES
=$ac_cv_prog_WINDRES
5859 if test -n "$WINDRES"; then
5860 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5861 echo "${ECHO_T}$WINDRES" >&6; }
5863 { echo "$as_me:$LINENO: result: no" >&5
5864 echo "${ECHO_T}no" >&6; }
5869 if test -z "$ac_cv_prog_WINDRES"; then
5870 ac_ct_WINDRES
=$WINDRES
5871 # Extract the first word of "windres", so it can be a program name with args.
5872 set dummy windres
; ac_word
=$2
5873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5875 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 if test -n "$ac_ct_WINDRES"; then
5879 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5885 test -z "$as_dir" && as_dir
=.
5886 for ac_exec_ext
in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_prog_ac_ct_WINDRES
="windres"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5899 if test -n "$ac_ct_WINDRES"; then
5900 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5901 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5907 if test "x$ac_ct_WINDRES" = x
; then
5910 case $cross_compiling:$ac_tool_warned in
5912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5913 whose name does not start with the host triplet. If you think this
5914 configuration is useful to you, please write to autoconf@gnu.org." >&5
5915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5916 whose name does not start with the host triplet. If you think this
5917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5918 ac_tool_warned
=yes ;;
5920 WINDRES
=$ac_ct_WINDRES
5923 WINDRES
="$ac_cv_prog_WINDRES"
5926 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5927 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5929 if test "$LN_S" = "ln -s"; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5933 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5934 echo "${ECHO_T}no, using $LN_S" >&6; }
5937 { echo "$as_me:$LINENO: checking whether ln works" >&5
5938 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5939 rm -f conf$$ conf$$.
file
5941 if ln conf$$.
file conf$$
2>/dev
/null
; then
5944 { echo "$as_me:$LINENO: result: yes" >&5
5945 echo "${ECHO_T}yes" >&6; }
5949 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5950 echo "${ECHO_T}no, using $LN" >&6; }
5952 rm -f conf$$ conf$$.
file
5953 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5954 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5955 if test "${ac_cv_path_GREP+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 # Extract the first word of "grep ggrep" to use in msg output
5959 if test -z "$GREP"; then
5960 set dummy
grep ggrep
; ac_prog_name
=$2
5961 if test "${ac_cv_path_GREP+set}" = set; then
5962 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 ac_path_GREP_found
=false
5965 # Loop through the user's path and test for each of PROGNAME-LIST
5966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5967 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5970 test -z "$as_dir" && as_dir
=.
5971 for ac_prog
in grep ggrep
; do
5972 for ac_exec_ext
in '' $ac_executable_extensions; do
5973 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5974 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5975 # Check for GNU ac_path_GREP and select it if it is found.
5976 # Check for GNU $ac_path_GREP
5977 case `"$ac_path_GREP" --version 2>&1` in
5979 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5982 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5985 cat "conftest.in" "conftest.in" >"conftest.tmp"
5986 mv "conftest.tmp" "conftest.in"
5987 cp "conftest.in" "conftest.nl"
5988 echo 'GREP' >> "conftest.nl"
5989 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5990 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5991 ac_count
=`expr $ac_count + 1`
5992 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5993 # Best one so far, save it but keep looking for a better one
5994 ac_cv_path_GREP
="$ac_path_GREP"
5995 ac_path_GREP_max
=$ac_count
5997 # 10*(2^10) chars as input seems more than enough
5998 test $ac_count -gt 10 && break
6000 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6004 $ac_path_GREP_found && break 3
6014 GREP
="$ac_cv_path_GREP"
6015 if test -z "$GREP"; then
6016 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6017 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6018 { (exit 1); exit 1; }; }
6022 ac_cv_path_GREP
=$GREP
6027 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6028 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6029 GREP
="$ac_cv_path_GREP"
6032 { echo "$as_me:$LINENO: checking for egrep" >&5
6033 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6034 if test "${ac_cv_path_EGREP+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6038 then ac_cv_path_EGREP
="$GREP -E"
6040 # Extract the first word of "egrep" to use in msg output
6041 if test -z "$EGREP"; then
6042 set dummy
egrep; ac_prog_name
=$2
6043 if test "${ac_cv_path_EGREP+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 ac_path_EGREP_found
=false
6047 # Loop through the user's path and test for each of PROGNAME-LIST
6048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6049 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6052 test -z "$as_dir" && as_dir
=.
6053 for ac_prog
in egrep; do
6054 for ac_exec_ext
in '' $ac_executable_extensions; do
6055 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6056 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6057 # Check for GNU ac_path_EGREP and select it if it is found.
6058 # Check for GNU $ac_path_EGREP
6059 case `"$ac_path_EGREP" --version 2>&1` in
6061 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6064 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6067 cat "conftest.in" "conftest.in" >"conftest.tmp"
6068 mv "conftest.tmp" "conftest.in"
6069 cp "conftest.in" "conftest.nl"
6070 echo 'EGREP' >> "conftest.nl"
6071 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6072 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6073 ac_count
=`expr $ac_count + 1`
6074 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6075 # Best one so far, save it but keep looking for a better one
6076 ac_cv_path_EGREP
="$ac_path_EGREP"
6077 ac_path_EGREP_max
=$ac_count
6079 # 10*(2^10) chars as input seems more than enough
6080 test $ac_count -gt 10 && break
6082 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6086 $ac_path_EGREP_found && break 3
6096 EGREP
="$ac_cv_path_EGREP"
6097 if test -z "$EGREP"; then
6098 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6099 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6100 { (exit 1); exit 1; }; }
6104 ac_cv_path_EGREP
=$EGREP
6110 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6111 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6112 EGREP
="$ac_cv_path_EGREP"
6115 # Extract the first word of "ldconfig", so it can be a program name with args.
6116 set dummy ldconfig
; ac_word
=$2
6117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6119 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6120 echo $ECHO_N "(cached) $ECHO_C" >&6
6124 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6128 for as_dir
in /sbin
/usr
/sbin
$PATH
6131 test -z "$as_dir" && as_dir
=.
6132 for ac_exec_ext
in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6146 LDCONFIG
=$ac_cv_path_LDCONFIG
6147 if test -n "$LDCONFIG"; then
6148 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6149 echo "${ECHO_T}$LDCONFIG" >&6; }
6151 { echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6; }
6156 # Find a good install program. We prefer a C program (faster),
6157 # so one script is as good as another. But avoid the broken or
6158 # incompatible versions:
6159 # SysV /etc/install, /usr/sbin/install
6160 # SunOS /usr/etc/install
6161 # IRIX /sbin/install
6163 # AmigaOS /C/install, which installs bootblocks on floppy discs
6164 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6165 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6166 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6167 # OS/2's system install, which has a completely different semantic
6168 # ./install, which can be erroneously created by make from ./install.sh.
6169 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6170 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6171 if test -z "$INSTALL"; then
6172 if test "${ac_cv_path_install+set}" = set; then
6173 echo $ECHO_N "(cached) $ECHO_C" >&6
6175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6179 test -z "$as_dir" && as_dir
=.
6180 # Account for people who put trailing slashes in PATH elements.
6182 .
/ | .
// |
/cC
/* | \
6183 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6184 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6187 # OSF1 and SCO ODT 3.0 have their own names for install.
6188 # Don't use installbsd from OSF since it installs stuff as root
6190 for ac_prog
in ginstall scoinst
install; do
6191 for ac_exec_ext
in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6193 if test $ac_prog = install &&
6194 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6195 # AIX install. It has an incompatible calling convention.
6197 elif test $ac_prog = install &&
6198 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6199 # program-specific install script used by HP pwplus--don't use.
6202 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6215 if test "${ac_cv_path_install+set}" = set; then
6216 INSTALL
=$ac_cv_path_install
6218 # As a last resort, use the slow shell script. Don't cache a
6219 # value for INSTALL within a source directory, because that will
6220 # break other packages using the cache if that directory is
6221 # removed, or if the value is a relative name.
6222 INSTALL
=$ac_install_sh
6225 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6226 echo "${ECHO_T}$INSTALL" >&6; }
6228 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6229 # It thinks the first close brace ends the variable substitution.
6230 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6232 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6234 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6237 [\\/$
]* | ?
:[\\/]* ) ;;
6238 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6241 for ac_prog
in lclint lint
6243 # Extract the first word of "$ac_prog", so it can be a program name with args.
6244 set dummy
$ac_prog; ac_word
=$2
6245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6247 if test "${ac_cv_prog_LINT+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 if test -n "$LINT"; then
6251 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir
=.
6258 for ac_exec_ext
in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_prog_LINT
="$ac_prog"
6261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 LINT
=$ac_cv_prog_LINT
6271 if test -n "$LINT"; then
6272 { echo "$as_me:$LINENO: result: $LINT" >&5
6273 echo "${ECHO_T}$LINT" >&6; }
6275 { echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6; }
6280 test -n "$LINT" && break
6283 if test "$LINT" = "lint"
6285 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6290 for ac_prog
in fontforge
6292 # Extract the first word of "$ac_prog", so it can be a program name with args.
6293 set dummy
$ac_prog; ac_word
=$2
6294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6296 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 if test -n "$FONTFORGE"; then
6300 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6306 test -z "$as_dir" && as_dir
=.
6307 for ac_exec_ext
in '' $ac_executable_extensions; do
6308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6309 ac_cv_prog_FONTFORGE
="$ac_prog"
6310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 FONTFORGE
=$ac_cv_prog_FONTFORGE
6320 if test -n "$FONTFORGE"; then
6321 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6322 echo "${ECHO_T}$FONTFORGE" >&6; }
6324 { echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6; }
6329 test -n "$FONTFORGE" && break
6331 test -n "$FONTFORGE" || FONTFORGE
="false"
6333 for ac_prog
in pkg-config
6335 # Extract the first word of "$ac_prog", so it can be a program name with args.
6336 set dummy
$ac_prog; ac_word
=$2
6337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6339 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6342 if test -n "$PKG_CONFIG"; then
6343 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir
=.
6350 for ac_exec_ext
in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6363 if test -n "$PKG_CONFIG"; then
6364 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6365 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6367 { echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6; }
6372 test -n "$PKG_CONFIG" && break
6374 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6379 # Extract the first word of "prelink", so it can be a program name with args.
6380 set dummy prelink
; ac_word
=$2
6381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6383 if test "${ac_cv_path_PRELINK+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6388 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6392 for as_dir
in /sbin
/usr
/sbin
$PATH
6395 test -z "$as_dir" && as_dir
=.
6396 for ac_exec_ext
in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6410 PRELINK
=$ac_cv_path_PRELINK
6411 if test -n "$PRELINK"; then
6412 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6413 echo "${ECHO_T}$PRELINK" >&6; }
6415 { echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6; }
6425 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6426 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6427 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 ac_check_lib_save_LIBS
=$LIBS
6432 cat >conftest.
$ac_ext <<_ACEOF
6435 cat confdefs.h
>>conftest.
$ac_ext
6436 cat >>conftest.
$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6439 /* Override any GCC internal prototype to avoid an error.
6440 Use char because int might match the return type of a GCC
6441 builtin and then its argument prototype would still apply. */
6445 char i386_set_ldt ();
6449 return i386_set_ldt ();
6454 rm -f conftest.
$ac_objext conftest
$ac_exeext
6455 if { (ac_try
="$ac_link"
6457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6458 *) ac_try_echo=$ac_try;;
6460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6461 (eval "$ac_link") 2>conftest.er1
6463 grep -v '^ *+' conftest.er1 >conftest.err
6465 cat conftest.err >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); } && {
6468 test -z "$ac_c_werror_flag" ||
6469 test ! -s conftest.err
6470 } && test -s conftest$ac_exeext &&
6471 $as_test_x conftest$ac_exeext; then
6472 ac_cv_lib_i386_i386_set_ldt=yes
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_cv_lib_i386_i386_set_ldt=no
6480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6481 conftest$ac_exeext conftest.$ac_ext
6482 LIBS=$ac_check_lib_save_LIBS
6484 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6485 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6486 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6487 cat >>confdefs.h <<_ACEOF
6488 #define HAVE_LIBI386 1
6496 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6497 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6498 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6501 ac_check_lib_save_LIBS=$LIBS
6502 LIBS="-lossaudio $LIBS"
6503 cat >conftest.$ac_ext <<_ACEOF
6506 cat confdefs.h >>conftest.$ac_ext
6507 cat >>conftest.$ac_ext <<_ACEOF
6508 /* end confdefs.h. */
6510 /* Override any GCC internal prototype to avoid an error.
6511 Use char because int might match the return type of a GCC
6512 builtin and then its argument prototype would still apply. */
6520 return _oss_ioctl ();
6525 rm -f conftest.$ac_objext conftest$ac_exeext
6526 if { (ac_try="$ac_link"
6528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6529 *) ac_try_echo
=$ac_try;;
6531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6532 (eval "$ac_link") 2>conftest.er1
6534 grep -v '^ *+' conftest.er1
>conftest.err
6536 cat conftest.err
>&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } && {
6539 test -z "$ac_c_werror_flag" ||
6540 test ! -s conftest.err
6541 } && test -s conftest
$ac_exeext &&
6542 $as_test_x conftest
$ac_exeext; then
6543 ac_cv_lib_ossaudio__oss_ioctl
=yes
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.
$ac_ext >&5
6548 ac_cv_lib_ossaudio__oss_ioctl
=no
6551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6552 conftest
$ac_exeext conftest.
$ac_ext
6553 LIBS
=$ac_check_lib_save_LIBS
6555 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6556 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6557 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6558 cat >>confdefs.h
<<_ACEOF
6559 #define HAVE_LIBOSSAUDIO 1
6562 LIBS
="-lossaudio $LIBS"
6566 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6567 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6568 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 ac_check_lib_save_LIBS
=$LIBS
6572 LIBS
="-lpthread $LIBS"
6573 cat >conftest.
$ac_ext <<_ACEOF
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6580 /* Override any GCC internal prototype to avoid an error.
6581 Use char because int might match the return type of a GCC
6582 builtin and then its argument prototype would still apply. */
6586 char pthread_create ();
6590 return pthread_create ();
6595 rm -f conftest.
$ac_objext conftest
$ac_exeext
6596 if { (ac_try
="$ac_link"
6598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6599 *) ac_try_echo=$ac_try;;
6601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6602 (eval "$ac_link") 2>conftest.er1
6604 grep -v '^ *+' conftest.er1 >conftest.err
6606 cat conftest.err >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } && {
6609 test -z "$ac_c_werror_flag" ||
6610 test ! -s conftest.err
6611 } && test -s conftest$ac_exeext &&
6612 $as_test_x conftest$ac_exeext; then
6613 ac_cv_lib_pthread_pthread_create=yes
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6618 ac_cv_lib_pthread_pthread_create=no
6621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6622 conftest$ac_exeext conftest.$ac_ext
6623 LIBS=$ac_check_lib_save_LIBS
6625 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6626 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6627 if test $ac_cv_lib_pthread_pthread_create = yes; then
6628 LIBPTHREAD="-lpthread"
6647 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6648 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6649 if test "${ac_cv_header_stdc+set}" = set; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6652 cat >conftest.$ac_ext <<_ACEOF
6655 cat confdefs.h >>conftest.$ac_ext
6656 cat >>conftest.$ac_ext <<_ACEOF
6657 /* end confdefs.h. */
6671 rm -f conftest.$ac_objext
6672 if { (ac_try="$ac_compile"
6674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6675 *) ac_try_echo
=$ac_try;;
6677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6678 (eval "$ac_compile") 2>conftest.er1
6680 grep -v '^ *+' conftest.er1
>conftest.err
6682 cat conftest.err
>&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); } && {
6685 test -z "$ac_c_werror_flag" ||
6686 test ! -s conftest.err
6687 } && test -s conftest.
$ac_objext; then
6688 ac_cv_header_stdc
=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.
$ac_ext >&5
6693 ac_cv_header_stdc
=no
6696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6698 if test $ac_cv_header_stdc = yes; then
6699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6700 cat >conftest.
$ac_ext <<_ACEOF
6703 cat confdefs.h
>>conftest.
$ac_ext
6704 cat >>conftest.
$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "memchr" >/dev
/null
2>&1; then
6713 ac_cv_header_stdc
=no
6719 if test $ac_cv_header_stdc = yes; then
6720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6721 cat >conftest.
$ac_ext <<_ACEOF
6724 cat confdefs.h
>>conftest.
$ac_ext
6725 cat >>conftest.
$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6731 $EGREP "free" >/dev
/null
2>&1; then
6734 ac_cv_header_stdc
=no
6740 if test $ac_cv_header_stdc = yes; then
6741 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6742 if test "$cross_compiling" = yes; then
6745 cat >conftest.
$ac_ext <<_ACEOF
6748 cat confdefs.h
>>conftest.
$ac_ext
6749 cat >>conftest.
$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6753 #if ((' ' & 0x0FF) == 0x020)
6754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6757 # define ISLOWER(c) \
6758 (('a' <= (c) && (c) <= 'i') \
6759 || ('j' <= (c) && (c) <= 'r') \
6760 || ('s' <= (c) && (c) <= 'z'))
6761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6769 for (i = 0; i < 256; i++)
6770 if (XOR (islower (i), ISLOWER (i))
6771 || toupper (i) != TOUPPER (i))
6776 rm -f conftest
$ac_exeext
6777 if { (ac_try
="$ac_link"
6779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6780 *) ac_try_echo=$ac_try;;
6782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6783 (eval "$ac_link") 2>&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6787 { (case "(($ac_try" in
6788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6789 *) ac_try_echo
=$ac_try;;
6791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6792 (eval "$ac_try") 2>&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6798 echo "$as_me: program exited with status $ac_status" >&5
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.
$ac_ext >&5
6803 ac_cv_header_stdc
=no
6805 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6811 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6812 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6813 if test $ac_cv_header_stdc = yes; then
6815 cat >>confdefs.h
<<\_ACEOF
6816 #define STDC_HEADERS 1
6821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6831 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6832 inttypes.h stdint.h unistd.h
6834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6837 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6840 cat >conftest.
$ac_ext <<_ACEOF
6843 cat confdefs.h
>>conftest.
$ac_ext
6844 cat >>conftest.
$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 $ac_includes_default
6848 #include <$ac_header>
6850 rm -f conftest.
$ac_objext
6851 if { (ac_try
="$ac_compile"
6853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6854 *) ac_try_echo=$ac_try;;
6856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6857 (eval "$ac_compile") 2>conftest.er1
6859 grep -v '^ *+' conftest.er1 >conftest.err
6861 cat conftest.err >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } && {
6864 test -z "$ac_c_werror_flag" ||
6865 test ! -s conftest.err
6866 } && test -s conftest.$ac_objext; then
6867 eval "$as_ac_Header=yes"
6869 echo "$as_me: failed program was:" >&5
6870 sed 's/^/| /' conftest.$ac_ext >&5
6872 eval "$as_ac_Header=no"
6875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877 ac_res=`eval echo '${'$as_ac_Header'}'`
6878 { echo "$as_me:$LINENO: result: $ac_res" >&5
6879 echo "${ECHO_T}$ac_res" >&6; }
6880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6881 cat >>confdefs.h <<_ACEOF
6882 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7001 AudioUnit/AudioUnit.h \
7003 CoreAudio/CoreAudio.h \
7004 DiskArbitration/DiskArbitration.h \
7017 fontconfig/fontconfig.h \
7043 machine/soundcard.h \
7048 netinet/in_systm.h \
7113 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7115 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 ac_res=`eval echo '${'$as_ac_Header'}'`
7121 { echo "$as_me:$LINENO: result: $ac_res" >&5
7122 echo "${ECHO_T}$ac_res" >&6; }
7124 # Is the header compilable?
7125 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7127 cat >conftest.$ac_ext <<_ACEOF
7130 cat confdefs.h >>conftest.$ac_ext
7131 cat >>conftest.$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7133 $ac_includes_default
7134 #include <$ac_header>
7136 rm -f conftest.$ac_objext
7137 if { (ac_try="$ac_compile"
7139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7140 *) ac_try_echo
=$ac_try;;
7142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7143 (eval "$ac_compile") 2>conftest.er1
7145 grep -v '^ *+' conftest.er1
>conftest.err
7147 cat conftest.err
>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } && {
7150 test -z "$ac_c_werror_flag" ||
7151 test ! -s conftest.err
7152 } && test -s conftest.
$ac_objext; then
7153 ac_header_compiler
=yes
7155 echo "$as_me: failed program was:" >&5
7156 sed 's/^/| /' conftest.
$ac_ext >&5
7158 ac_header_compiler
=no
7161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7162 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7163 echo "${ECHO_T}$ac_header_compiler" >&6; }
7165 # Is the header present?
7166 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7168 cat >conftest.
$ac_ext <<_ACEOF
7171 cat confdefs.h
>>conftest.
$ac_ext
7172 cat >>conftest.
$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #include <$ac_header>
7176 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7184 grep -v '^ *+' conftest.er1 >conftest.err
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } >/dev/null && {
7189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7192 ac_header_preproc=yes
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 ac_header_preproc=no
7200 rm -f conftest.err conftest.$ac_ext
7201 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7202 echo "${ECHO_T}$ac_header_preproc" >&6; }
7204 # So? What about this header?
7205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7211 ac_header_preproc=yes
7214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7227 ## ------------------------------------ ##
7228 ## Report this to wine-devel@winehq.org ##
7229 ## ------------------------------------ ##
7231 ) | sed "s/^/$as_me: WARNING: /" >&2
7234 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 eval "$as_ac_Header=\$ac_header_preproc"
7241 ac_res=`eval echo '${'$as_ac_Header'}'`
7242 { echo "$as_me:$LINENO: result: $ac_res" >&5
7243 echo "${ECHO_T}$ac_res" >&6; }
7246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7247 cat >>confdefs.h <<_ACEOF
7248 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7255 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7256 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7257 if test "${ac_cv_header_stat_broken+set}" = set; then
7258 echo $ECHO_N "(cached) $ECHO_C" >&6
7260 cat >conftest.$ac_ext <<_ACEOF
7263 cat confdefs.h >>conftest.$ac_ext
7264 cat >>conftest.$ac_ext <<_ACEOF
7265 /* end confdefs.h. */
7266 #include <sys/types.h>
7267 #include <sys/stat.h>
7269 #if defined S_ISBLK && defined S_IFDIR
7270 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7273 #if defined S_ISBLK && defined S_IFCHR
7274 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7277 #if defined S_ISLNK && defined S_IFREG
7278 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7281 #if defined S_ISSOCK && defined S_IFREG
7282 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7286 rm -f conftest.$ac_objext
7287 if { (ac_try="$ac_compile"
7289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7290 *) ac_try_echo
=$ac_try;;
7292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7293 (eval "$ac_compile") 2>conftest.er1
7295 grep -v '^ *+' conftest.er1
>conftest.err
7297 cat conftest.err
>&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); } && {
7300 test -z "$ac_c_werror_flag" ||
7301 test ! -s conftest.err
7302 } && test -s conftest.
$ac_objext; then
7303 ac_cv_header_stat_broken
=no
7305 echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.
$ac_ext >&5
7308 ac_cv_header_stat_broken
=yes
7311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7313 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7314 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7315 if test $ac_cv_header_stat_broken = yes; then
7317 cat >>confdefs.h
<<\_ACEOF
7318 #define STAT_MACROS_BROKEN 1
7329 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7331 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7334 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7337 cat >conftest.
$ac_ext <<_ACEOF
7340 cat confdefs.h
>>conftest.
$ac_ext
7341 cat >>conftest.
$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7343 #include <sys/types.h>
7344 #ifdef HAVE_SYS_PARAM_H
7345 # include <sys/param.h>
7348 #include <$ac_header>
7350 rm -f conftest.
$ac_objext
7351 if { (ac_try
="$ac_compile"
7353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7354 *) ac_try_echo=$ac_try;;
7356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7357 (eval "$ac_compile") 2>conftest.er1
7359 grep -v '^ *+' conftest.er1 >conftest.err
7361 cat conftest.err >&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } && {
7364 test -z "$ac_c_werror_flag" ||
7365 test ! -s conftest.err
7366 } && test -s conftest.$ac_objext; then
7367 eval "$as_ac_Header=yes"
7369 echo "$as_me: failed program was:" >&5
7370 sed 's/^/| /' conftest.$ac_ext >&5
7372 eval "$as_ac_Header=no"
7375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377 ac_res=`eval echo '${'$as_ac_Header'}'`
7378 { echo "$as_me:$LINENO: result: $ac_res" >&5
7379 echo "${ECHO_T}$ac_res" >&6; }
7380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7381 cat >>confdefs.h <<_ACEOF
7382 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7398 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
7400 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 cat >conftest.$ac_ext <<_ACEOF
7409 cat confdefs.h >>conftest.$ac_ext
7410 cat >>conftest.$ac_ext <<_ACEOF
7411 /* end confdefs.h. */
7412 #include <sys/types.h>
7413 #ifdef HAVE_SYS_SOCKET_H
7414 # include <sys/socket.h>
7416 #ifdef HAVE_SYS_SOCKETVAR_H
7417 # include <sys/socketvar.h>
7419 #ifdef HAVE_NETINET_IN_H
7420 # include <netinet/in.h>
7423 #include <$ac_header>
7425 rm -f conftest.$ac_objext
7426 if { (ac_try="$ac_compile"
7428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7429 *) ac_try_echo
=$ac_try;;
7431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7432 (eval "$ac_compile") 2>conftest.er1
7434 grep -v '^ *+' conftest.er1
>conftest.err
7436 cat conftest.err
>&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); } && {
7439 test -z "$ac_c_werror_flag" ||
7440 test ! -s conftest.err
7441 } && test -s conftest.
$ac_objext; then
7442 eval "$as_ac_Header=yes"
7444 echo "$as_me: failed program was:" >&5
7445 sed 's/^/| /' conftest.
$ac_ext >&5
7447 eval "$as_ac_Header=no"
7450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7452 ac_res
=`eval echo '${'$as_ac_Header'}'`
7453 { echo "$as_me:$LINENO: result: $ac_res" >&5
7454 echo "${ECHO_T}$ac_res" >&6; }
7455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7456 cat >>confdefs.h
<<_ACEOF
7457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 for ac_header
in netinet
/tcp_var.h
7468 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7471 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 cat >conftest.
$ac_ext <<_ACEOF
7477 cat confdefs.h
>>conftest.
$ac_ext
7478 cat >>conftest.
$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7480 #include <sys/types.h>
7481 #ifdef HAVE_SYS_SOCKET_H
7482 # include <sys/socket.h>
7484 #ifdef HAVE_SYS_SOCKETVAR_H
7485 # include <sys/socketvar.h>
7487 #ifdef HAVE_NETINET_IN_H
7488 # include <netinet/in.h>
7490 #ifdef HAVE_NETINET_TCP_H
7491 # include <netinet/tcp.h>
7494 #include <$ac_header>
7496 rm -f conftest.
$ac_objext
7497 if { (ac_try
="$ac_compile"
7499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7500 *) ac_try_echo=$ac_try;;
7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7503 (eval "$ac_compile") 2>conftest.er1
7505 grep -v '^ *+' conftest.er1 >conftest.err
7507 cat conftest.err >&5
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); } && {
7510 test -z "$ac_c_werror_flag" ||
7511 test ! -s conftest.err
7512 } && test -s conftest.$ac_objext; then
7513 eval "$as_ac_Header=yes"
7515 echo "$as_me: failed program was:" >&5
7516 sed 's/^/| /' conftest.$ac_ext >&5
7518 eval "$as_ac_Header=no"
7521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7523 ac_res=`eval echo '${'$as_ac_Header'}'`
7524 { echo "$as_me:$LINENO: result: $ac_res" >&5
7525 echo "${ECHO_T}$ac_res" >&6; }
7526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7527 cat >>confdefs.h <<_ACEOF
7528 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7537 for ac_header in linux/ipx.h
7539 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7543 echo $ECHO_N "(cached) $ECHO_C" >&6
7545 cat >conftest.$ac_ext <<_ACEOF
7548 cat confdefs.h >>conftest.$ac_ext
7549 cat >>conftest.$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7551 #include <sys/types.h>
7552 #ifdef HAVE_ASM_TYPES_H
7553 # include <asm/types.h>
7555 #ifdef HAVE_SYS_SOCKET_H
7556 # include <sys/socket.h>
7559 #include <$ac_header>
7561 rm -f conftest.$ac_objext
7562 if { (ac_try="$ac_compile"
7564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7565 *) ac_try_echo
=$ac_try;;
7567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7568 (eval "$ac_compile") 2>conftest.er1
7570 grep -v '^ *+' conftest.er1
>conftest.err
7572 cat conftest.err
>&5
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); } && {
7575 test -z "$ac_c_werror_flag" ||
7576 test ! -s conftest.err
7577 } && test -s conftest.
$ac_objext; then
7578 eval "$as_ac_Header=yes"
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.
$ac_ext >&5
7583 eval "$as_ac_Header=no"
7586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7588 ac_res
=`eval echo '${'$as_ac_Header'}'`
7589 { echo "$as_me:$LINENO: result: $ac_res" >&5
7590 echo "${ECHO_T}$ac_res" >&6; }
7591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7592 cat >>confdefs.h
<<_ACEOF
7593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7602 for ac_header
in resolv.h
7604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7607 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7610 cat >conftest.
$ac_ext <<_ACEOF
7613 cat confdefs.h
>>conftest.
$ac_ext
7614 cat >>conftest.
$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #include <sys/types.h>
7617 #ifdef HAVE_SYS_SOCKET_H
7618 # include <sys/socket.h>
7620 #ifdef HAVE_NETINET_IN_H
7621 # include <netinet/in.h>
7623 #ifdef HAVE_ARPA_NAMESER_H
7624 # include <arpa/nameser.h>
7627 #include <$ac_header>
7629 rm -f conftest.
$ac_objext
7630 if { (ac_try
="$ac_compile"
7632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_compile") 2>conftest.er1
7638 grep -v '^ *+' conftest.er1 >conftest.err
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } && {
7643 test -z "$ac_c_werror_flag" ||
7644 test ! -s conftest.err
7645 } && test -s conftest.$ac_objext; then
7646 eval "$as_ac_Header=yes"
7648 echo "$as_me: failed program was:" >&5
7649 sed 's/^/| /' conftest.$ac_ext >&5
7651 eval "$as_ac_Header=no"
7654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7656 ac_res=`eval echo '${'$as_ac_Header'}'`
7657 { echo "$as_me:$LINENO: result: $ac_res" >&5
7658 echo "${ECHO_T}$ac_res" >&6; }
7659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7660 cat >>confdefs.h <<_ACEOF
7661 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7670 for ac_header in ucontext.h
7672 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7678 cat >conftest.$ac_ext <<_ACEOF
7681 cat confdefs.h >>conftest.$ac_ext
7682 cat >>conftest.$ac_ext <<_ACEOF
7683 /* end confdefs.h. */
7686 #include <$ac_header>
7688 rm -f conftest.$ac_objext
7689 if { (ac_try="$ac_compile"
7691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7692 *) ac_try_echo
=$ac_try;;
7694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7695 (eval "$ac_compile") 2>conftest.er1
7697 grep -v '^ *+' conftest.er1
>conftest.err
7699 cat conftest.err
>&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } && {
7702 test -z "$ac_c_werror_flag" ||
7703 test ! -s conftest.err
7704 } && test -s conftest.
$ac_objext; then
7705 eval "$as_ac_Header=yes"
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7710 eval "$as_ac_Header=no"
7713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7715 ac_res
=`eval echo '${'$as_ac_Header'}'`
7716 { echo "$as_me:$LINENO: result: $ac_res" >&5
7717 echo "${ECHO_T}$ac_res" >&6; }
7718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7719 cat >>confdefs.h
<<_ACEOF
7720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7729 for ac_header
in sys
/thr.h
7731 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7734 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7735 echo $ECHO_N "(cached) $ECHO_C" >&6
7737 cat >conftest.
$ac_ext <<_ACEOF
7740 cat confdefs.h
>>conftest.
$ac_ext
7741 cat >>conftest.
$ac_ext <<_ACEOF
7742 /* end confdefs.h. */
7743 #include <sys/types.h>
7744 #ifdef HAVE_UCONTEXT_H
7745 #include <ucontext.h>
7748 #include <$ac_header>
7750 rm -f conftest.
$ac_objext
7751 if { (ac_try
="$ac_compile"
7753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7754 *) ac_try_echo=$ac_try;;
7756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7757 (eval "$ac_compile") 2>conftest.er1
7759 grep -v '^ *+' conftest.er1 >conftest.err
7761 cat conftest.err >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); } && {
7764 test -z "$ac_c_werror_flag" ||
7765 test ! -s conftest.err
7766 } && test -s conftest.$ac_objext; then
7767 eval "$as_ac_Header=yes"
7769 echo "$as_me: failed program was:" >&5
7770 sed 's/^/| /' conftest.$ac_ext >&5
7772 eval "$as_ac_Header=no"
7775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7777 ac_res=`eval echo '${'$as_ac_Header'}'`
7778 { echo "$as_me:$LINENO: result: $ac_res" >&5
7779 echo "${ECHO_T}$ac_res" >&6; }
7780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7781 cat >>confdefs.h <<_ACEOF
7782 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7791 for ac_header in pthread_np.h
7793 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 cat >conftest.$ac_ext <<_ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7805 #ifdef HAVE_PTHREAD_H
7806 #include <pthread.h>
7809 #include <$ac_header>
7811 rm -f conftest.$ac_objext
7812 if { (ac_try="$ac_compile"
7814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7815 *) ac_try_echo
=$ac_try;;
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_compile") 2>conftest.er1
7820 grep -v '^ *+' conftest.er1
>conftest.err
7822 cat conftest.err
>&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } && {
7825 test -z "$ac_c_werror_flag" ||
7826 test ! -s conftest.err
7827 } && test -s conftest.
$ac_objext; then
7828 eval "$as_ac_Header=yes"
7830 echo "$as_me: failed program was:" >&5
7831 sed 's/^/| /' conftest.
$ac_ext >&5
7833 eval "$as_ac_Header=no"
7836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7838 ac_res
=`eval echo '${'$as_ac_Header'}'`
7839 { echo "$as_me:$LINENO: result: $ac_res" >&5
7840 echo "${ECHO_T}$ac_res" >&6; }
7841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7842 cat >>confdefs.h
<<_ACEOF
7843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7852 for ac_header
in linux
/videodev.h
7854 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7855 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7857 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 cat >conftest.
$ac_ext <<_ACEOF
7863 cat confdefs.h
>>conftest.
$ac_ext
7864 cat >>conftest.
$ac_ext <<_ACEOF
7865 /* end confdefs.h. */
7866 #ifdef HAVE_SYS_TIME_H
7867 #include <sys/time.h>
7869 #include <sys/types.h>
7870 #ifdef HAVE_ASM_TYPES_H
7871 #include <asm/types.h>
7874 #include <$ac_header>
7876 rm -f conftest.
$ac_objext
7877 if { (ac_try
="$ac_compile"
7879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7880 *) ac_try_echo=$ac_try;;
7882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7883 (eval "$ac_compile") 2>conftest.er1
7885 grep -v '^ *+' conftest.er1 >conftest.err
7887 cat conftest.err >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } && {
7890 test -z "$ac_c_werror_flag" ||
7891 test ! -s conftest.err
7892 } && test -s conftest.$ac_objext; then
7893 eval "$as_ac_Header=yes"
7895 echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.$ac_ext >&5
7898 eval "$as_ac_Header=no"
7901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7903 ac_res=`eval echo '${'$as_ac_Header'}'`
7904 { echo "$as_me:$LINENO: result: $ac_res" >&5
7905 echo "${ECHO_T}$ac_res" >&6; }
7906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7907 cat >>confdefs.h <<_ACEOF
7908 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7917 for ac_header in linux/capi.h
7919 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 cat >conftest.$ac_ext <<_ACEOF
7928 cat confdefs.h >>conftest.$ac_ext
7929 cat >>conftest.$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7933 #include <$ac_header>
7935 rm -f conftest.$ac_objext
7936 if { (ac_try="$ac_compile"
7938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7939 *) ac_try_echo
=$ac_try;;
7941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7942 (eval "$ac_compile") 2>conftest.er1
7944 grep -v '^ *+' conftest.er1
>conftest.err
7946 cat conftest.err
>&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); } && {
7949 test -z "$ac_c_werror_flag" ||
7950 test ! -s conftest.err
7951 } && test -s conftest.
$ac_objext; then
7952 eval "$as_ac_Header=yes"
7954 echo "$as_me: failed program was:" >&5
7955 sed 's/^/| /' conftest.
$ac_ext >&5
7957 eval "$as_ac_Header=no"
7960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7962 ac_res
=`eval echo '${'$as_ac_Header'}'`
7963 { echo "$as_me:$LINENO: result: $ac_res" >&5
7964 echo "${ECHO_T}$ac_res" >&6; }
7965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7966 cat >>confdefs.h
<<_ACEOF
7967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7978 DLLFLAGS
="-D_REENTRANT"
7992 # Extract the first word of "ldd", so it can be a program name with args.
7993 set dummy ldd
; ac_word
=$2
7994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7996 if test "${ac_cv_path_LDD+set}" = set; then
7997 echo $ECHO_N "(cached) $ECHO_C" >&6
8001 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8005 as_dummy
="/sbin:/usr/sbin:$PATH"
8006 for as_dir
in $as_dummy
8009 test -z "$as_dir" && as_dir
=.
8010 for ac_exec_ext
in '' $ac_executable_extensions; do
8011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8012 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8025 if test -n "$LDD"; then
8026 { echo "$as_me:$LINENO: result: $LDD" >&5
8027 echo "${ECHO_T}$LDD" >&6; }
8029 { echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6; }
8037 if test -n "$ac_tool_prefix"; then
8038 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8039 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8042 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6
8045 if test -n "$DLLTOOL"; then
8046 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8052 test -z "$as_dir" && as_dir
=.
8053 for ac_exec_ext
in '' $ac_executable_extensions; do
8054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8055 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 DLLTOOL
=$ac_cv_prog_DLLTOOL
8066 if test -n "$DLLTOOL"; then
8067 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8068 echo "${ECHO_T}$DLLTOOL" >&6; }
8070 { echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6; }
8076 if test -z "$ac_cv_prog_DLLTOOL"; then
8077 ac_ct_DLLTOOL
=$DLLTOOL
8078 # Extract the first word of "dlltool", so it can be a program name with args.
8079 set dummy dlltool
; ac_word
=$2
8080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8082 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8085 if test -n "$ac_ct_DLLTOOL"; then
8086 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8092 test -z "$as_dir" && as_dir
=.
8093 for ac_exec_ext
in '' $ac_executable_extensions; do
8094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8095 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8105 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8106 if test -n "$ac_ct_DLLTOOL"; then
8107 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8108 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8110 { echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6; }
8114 if test "x$ac_ct_DLLTOOL" = x
; then
8117 case $cross_compiling:$ac_tool_warned in
8119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8120 whose name does not start with the host triplet. If you think this
8121 configuration is useful to you, please write to autoconf@gnu.org." >&5
8122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8123 whose name does not start with the host triplet. If you think this
8124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8125 ac_tool_warned
=yes ;;
8127 DLLTOOL
=$ac_ct_DLLTOOL
8130 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8133 if test -n "$ac_tool_prefix"; then
8134 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8135 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8138 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8139 echo $ECHO_N "(cached) $ECHO_C" >&6
8141 if test -n "$DLLWRAP"; then
8142 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8148 test -z "$as_dir" && as_dir
=.
8149 for ac_exec_ext
in '' $ac_executable_extensions; do
8150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8151 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8161 DLLWRAP
=$ac_cv_prog_DLLWRAP
8162 if test -n "$DLLWRAP"; then
8163 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8164 echo "${ECHO_T}$DLLWRAP" >&6; }
8166 { echo "$as_me:$LINENO: result: no" >&5
8167 echo "${ECHO_T}no" >&6; }
8172 if test -z "$ac_cv_prog_DLLWRAP"; then
8173 ac_ct_DLLWRAP
=$DLLWRAP
8174 # Extract the first word of "dllwrap", so it can be a program name with args.
8175 set dummy dllwrap
; ac_word
=$2
8176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8178 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8181 if test -n "$ac_ct_DLLWRAP"; then
8182 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8188 test -z "$as_dir" && as_dir
=.
8189 for ac_exec_ext
in '' $ac_executable_extensions; do
8190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8191 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8201 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8202 if test -n "$ac_ct_DLLWRAP"; then
8203 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8204 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8206 { echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6; }
8210 if test "x$ac_ct_DLLWRAP" = x
; then
8213 case $cross_compiling:$ac_tool_warned in
8215 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8216 whose name does not start with the host triplet. If you think this
8217 configuration is useful to you, please write to autoconf@gnu.org." >&5
8218 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8219 whose name does not start with the host triplet. If you think this
8220 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8221 ac_tool_warned
=yes ;;
8223 DLLWRAP
=$ac_ct_DLLWRAP
8226 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8229 if test -n "$ac_tool_prefix"; then
8230 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8231 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8234 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 if test -n "$MINGWAR"; then
8238 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8244 test -z "$as_dir" && as_dir
=.
8245 for ac_exec_ext
in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 MINGWAR
=$ac_cv_prog_MINGWAR
8258 if test -n "$MINGWAR"; then
8259 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8260 echo "${ECHO_T}$MINGWAR" >&6; }
8262 { echo "$as_me:$LINENO: result: no" >&5
8263 echo "${ECHO_T}no" >&6; }
8268 if test -z "$ac_cv_prog_MINGWAR"; then
8269 ac_ct_MINGWAR
=$MINGWAR
8270 # Extract the first word of "ar", so it can be a program name with args.
8271 set dummy
ar; ac_word
=$2
8272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8274 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 if test -n "$ac_ct_MINGWAR"; then
8278 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8284 test -z "$as_dir" && as_dir
=.
8285 for ac_exec_ext
in '' $ac_executable_extensions; do
8286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8287 ac_cv_prog_ac_ct_MINGWAR
="ar"
8288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8297 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8298 if test -n "$ac_ct_MINGWAR"; then
8299 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8300 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8302 { echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6; }
8306 if test "x$ac_ct_MINGWAR" = x
; then
8309 case $cross_compiling:$ac_tool_warned in
8311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8312 whose name does not start with the host triplet. If you think this
8313 configuration is useful to you, please write to autoconf@gnu.org." >&5
8314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8315 whose name does not start with the host triplet. If you think this
8316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8317 ac_tool_warned
=yes ;;
8319 MINGWAR
=$ac_ct_MINGWAR
8322 MINGWAR
="$ac_cv_prog_MINGWAR"
8325 if test "$DLLWRAP" = "false"; then
8337 DLLFLAGS
="$DLLFLAGS -fPIC"
8338 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8339 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8340 LDSHARED
="\$(CC) -dynamiclib"
8342 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8343 SECURITYLIB
="-framework Security -framework CoreFoundation"
8345 COREFOUNDATIONLIB
="-framework CoreFoundation"
8347 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8349 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8351 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8353 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8356 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8358 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8363 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8365 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8367 CARBONLIB
="-framework Carbon"
8369 QUARTZFILES
='$(QUARTZFILES)'
8373 DLLFLAGS
="$DLLFLAGS -fPIC"
8375 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8376 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8377 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8378 echo $ECHO_N "(cached) $ECHO_C" >&6
8380 ac_wine_try_cflags_saved
=$CFLAGS
8381 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8382 cat >conftest.
$ac_ext <<_ACEOF
8385 rm -f conftest.
$ac_objext conftest
$ac_exeext
8386 if { (ac_try
="$ac_link"
8388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8389 *) ac_try_echo=$ac_try;;
8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8392 (eval "$ac_link") 2>conftest.er1
8394 grep -v '^ *+' conftest.er1 >conftest.err
8396 cat conftest.err >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } && {
8399 test -z "$ac_c_werror_flag" ||
8400 test ! -s conftest.err
8401 } && test -s conftest$ac_exeext &&
8402 $as_test_x conftest$ac_exeext; then
8403 ac_cv_c_dll_gnuelf="yes"
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.$ac_ext >&5
8408 ac_cv_c_dll_gnuelf="no"
8411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8416 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8417 if test "$ac_cv_c_dll_gnuelf" = "yes"
8419 LDSHARED="\$(CC) -shared"
8420 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8421 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8422 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8423 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8424 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8428 cat >conftest.$ac_ext <<_ACEOF
8431 cat confdefs.h >>conftest.$ac_ext
8432 cat >>conftest.$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8443 rm -f conftest.$ac_objext conftest$ac_exeext
8444 if { (ac_try="$ac_link"
8446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8447 *) ac_try_echo
=$ac_try;;
8449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8450 (eval "$ac_link") 2>conftest.er1
8452 grep -v '^ *+' conftest.er1
>conftest.err
8454 cat conftest.err
>&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); } && {
8457 test -z "$ac_c_werror_flag" ||
8458 test ! -s conftest.err
8459 } && test -s conftest
$ac_exeext &&
8460 $as_test_x conftest
$ac_exeext; then
8461 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.
$ac_ext >&5
8466 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8470 conftest
$ac_exeext conftest.
$ac_ext
8471 CFLAGS
=$ac_wine_try_cflags_saved
8473 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8474 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8475 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8476 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8478 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8479 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8480 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8481 echo $ECHO_N "(cached) $ECHO_C" >&6
8483 ac_wine_try_cflags_saved
=$CFLAGS
8484 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8485 cat >conftest.
$ac_ext <<_ACEOF
8488 cat confdefs.h
>>conftest.
$ac_ext
8489 cat >>conftest.
$ac_ext <<_ACEOF
8490 /* end confdefs.h. */
8500 rm -f conftest.
$ac_objext conftest
$ac_exeext
8501 if { (ac_try
="$ac_link"
8503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8504 *) ac_try_echo=$ac_try;;
8506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8507 (eval "$ac_link") 2>conftest.er1
8509 grep -v '^ *+' conftest.er1 >conftest.err
8511 cat conftest.err >&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } && {
8514 test -z "$ac_c_werror_flag" ||
8515 test ! -s conftest.err
8516 } && test -s conftest$ac_exeext &&
8517 $as_test_x conftest$ac_exeext; then
8518 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8520 echo "$as_me: failed program was:" >&5
8521 sed 's/^/| /' conftest.$ac_ext >&5
8523 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8527 conftest$ac_exeext conftest.$ac_ext
8528 CFLAGS=$ac_wine_try_cflags_saved
8530 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8531 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8532 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8533 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8539 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8540 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8541 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8542 echo $ECHO_N "(cached) $ECHO_C" >&6
8544 ac_wine_try_cflags_saved=$CFLAGS
8545 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8546 cat >conftest.$ac_ext <<_ACEOF
8549 cat confdefs.h >>conftest.$ac_ext
8550 cat >>conftest.$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8561 rm -f conftest.$ac_objext conftest$ac_exeext
8562 if { (ac_try="$ac_link"
8564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8565 *) ac_try_echo
=$ac_try;;
8567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8568 (eval "$ac_link") 2>conftest.er1
8570 grep -v '^ *+' conftest.er1
>conftest.err
8572 cat conftest.err
>&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); } && {
8575 test -z "$ac_c_werror_flag" ||
8576 test ! -s conftest.err
8577 } && test -s conftest
$ac_exeext &&
8578 $as_test_x conftest
$ac_exeext; then
8579 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8581 echo "$as_me: failed program was:" >&5
8582 sed 's/^/| /' conftest.
$ac_ext >&5
8584 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8587 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8588 conftest
$ac_exeext conftest.
$ac_ext
8589 CFLAGS
=$ac_wine_try_cflags_saved
8591 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8592 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8593 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8594 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8598 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8599 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8600 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 ac_wine_try_cflags_saved
=$CFLAGS
8604 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8605 cat >conftest.
$ac_ext <<_ACEOF
8608 cat confdefs.h
>>conftest.
$ac_ext
8609 cat >>conftest.
$ac_ext <<_ACEOF
8610 /* end confdefs.h. */
8620 rm -f conftest.
$ac_objext conftest
$ac_exeext
8621 if { (ac_try
="$ac_link"
8623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_link") 2>conftest.er1
8629 grep -v '^ *+' conftest.er1 >conftest.err
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest$ac_exeext &&
8637 $as_test_x conftest$ac_exeext; then
8638 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8643 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8651 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8652 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8653 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8657 echo '{ global: *; };' >conftest.map
8658 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8659 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8660 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 ac_wine_try_cflags_saved=$CFLAGS
8664 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8665 cat >conftest.$ac_ext <<_ACEOF
8668 cat confdefs.h >>conftest.$ac_ext
8669 cat >>conftest.$ac_ext <<_ACEOF
8670 /* end confdefs.h. */
8680 rm -f conftest.$ac_objext conftest$ac_exeext
8681 if { (ac_try="$ac_link"
8683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8684 *) ac_try_echo
=$ac_try;;
8686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8687 (eval "$ac_link") 2>conftest.er1
8689 grep -v '^ *+' conftest.er1
>conftest.err
8691 cat conftest.err
>&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); } && {
8694 test -z "$ac_c_werror_flag" ||
8695 test ! -s conftest.err
8696 } && test -s conftest
$ac_exeext &&
8697 $as_test_x conftest
$ac_exeext; then
8698 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8700 echo "$as_me: failed program was:" >&5
8701 sed 's/^/| /' conftest.
$ac_ext >&5
8703 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8706 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8707 conftest
$ac_exeext conftest.
$ac_ext
8708 CFLAGS
=$ac_wine_try_cflags_saved
8710 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8711 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8712 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8713 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8718 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8719 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8720 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8721 echo $ECHO_N "(cached) $ECHO_C" >&6
8723 ac_wine_try_cflags_saved
=$CFLAGS
8724 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8725 cat >conftest.
$ac_ext <<_ACEOF
8728 cat confdefs.h
>>conftest.
$ac_ext
8729 cat >>conftest.
$ac_ext <<_ACEOF
8730 /* end confdefs.h. */
8740 rm -f conftest.
$ac_objext conftest
$ac_exeext
8741 if { (ac_try
="$ac_link"
8743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8744 *) ac_try_echo=$ac_try;;
8746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8747 (eval "$ac_link") 2>conftest.er1
8749 grep -v '^ *+' conftest.er1 >conftest.err
8751 cat conftest.err >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } && {
8754 test -z "$ac_c_werror_flag" ||
8755 test ! -s conftest.err
8756 } && test -s conftest$ac_exeext &&
8757 $as_test_x conftest$ac_exeext; then
8758 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8760 echo "$as_me: failed program was:" >&5
8761 sed 's/^/| /' conftest.$ac_ext >&5
8763 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8771 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8772 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8773 LDEXECFLAGS="-Wl,--export-dynamic"
8778 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8779 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8780 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8781 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8786 cat >conftest.$ac_ext <<_ACEOF
8789 cat confdefs.h >>conftest.$ac_ext
8790 cat >>conftest.$ac_ext <<_ACEOF
8791 /* end confdefs.h. */
8801 rm -f conftest.$ac_objext conftest$ac_exeext
8802 if { (ac_try="$ac_link"
8804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8805 *) ac_try_echo
=$ac_try;;
8807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8808 (eval "$ac_link") 2>conftest.er1
8810 grep -v '^ *+' conftest.er1
>conftest.err
8812 cat conftest.err
>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } && {
8815 test -z "$ac_c_werror_flag" ||
8816 test ! -s conftest.err
8817 } && test -s conftest
$ac_exeext &&
8818 $as_test_x conftest
$ac_exeext; then
8819 eval "$as_ac_var=yes"
8821 echo "$as_me: failed program was:" >&5
8822 sed 's/^/| /' conftest.
$ac_ext >&5
8824 eval "$as_ac_var=no"
8827 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8828 conftest
$ac_exeext conftest.
$ac_ext
8829 CFLAGS
=$ac_wine_try_cflags_saved
8831 ac_res
=`eval echo '${'$as_ac_var'}'`
8832 { echo "$as_me:$LINENO: result: $ac_res" >&5
8833 echo "${ECHO_T}$ac_res" >&6; }
8834 if test `eval echo '${'$as_ac_var'}'` = yes; then
8835 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8836 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8838 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8839 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8840 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8841 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 ac_wine_try_cflags_saved
=$CFLAGS
8845 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8846 cat >conftest.
$ac_ext <<_ACEOF
8849 cat confdefs.h
>>conftest.
$ac_ext
8850 cat >>conftest.
$ac_ext <<_ACEOF
8851 /* end confdefs.h. */
8861 rm -f conftest.
$ac_objext conftest
$ac_exeext
8862 if { (ac_try
="$ac_link"
8864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8865 *) ac_try_echo=$ac_try;;
8867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8868 (eval "$ac_link") 2>conftest.er1
8870 grep -v '^ *+' conftest.er1 >conftest.err
8872 cat conftest.err >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); } && {
8875 test -z "$ac_c_werror_flag" ||
8876 test ! -s conftest.err
8877 } && test -s conftest$ac_exeext &&
8878 $as_test_x conftest$ac_exeext; then
8879 eval "$as_ac_var=yes"
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8884 eval "$as_ac_var=no"
8887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8888 conftest$ac_exeext conftest.$ac_ext
8889 CFLAGS=$ac_wine_try_cflags_saved
8891 ac_res=`eval echo '${'$as_ac_var'}'`
8892 { echo "$as_me:$LINENO: result: $ac_res" >&5
8893 echo "${ECHO_T}$ac_res" >&6; }
8894 if test `eval echo '${'$as_ac_var'}'` = yes; then
8895 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8896 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8902 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8903 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8904 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6
8907 ac_wine_try_cflags_saved=$CFLAGS
8908 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8909 cat >conftest.$ac_ext <<_ACEOF
8912 cat confdefs.h >>conftest.$ac_ext
8913 cat >>conftest.$ac_ext <<_ACEOF
8914 /* end confdefs.h. */
8924 rm -f conftest.$ac_objext conftest$ac_exeext
8925 if { (ac_try="$ac_link"
8927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8928 *) ac_try_echo
=$ac_try;;
8930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8931 (eval "$ac_link") 2>conftest.er1
8933 grep -v '^ *+' conftest.er1
>conftest.err
8935 cat conftest.err
>&5
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937 (exit $ac_status); } && {
8938 test -z "$ac_c_werror_flag" ||
8939 test ! -s conftest.err
8940 } && test -s conftest
$ac_exeext &&
8941 $as_test_x conftest
$ac_exeext; then
8942 ac_cv_cflags__Wl___enable_new_dtags
=yes
8944 echo "$as_me: failed program was:" >&5
8945 sed 's/^/| /' conftest.
$ac_ext >&5
8947 ac_cv_cflags__Wl___enable_new_dtags
=no
8950 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8951 conftest
$ac_exeext conftest.
$ac_ext
8952 CFLAGS
=$ac_wine_try_cflags_saved
8954 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8955 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8956 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8957 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8962 *i
[3456789]86* | x86_64
)
8963 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8964 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8965 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8968 ac_wine_try_cflags_saved
=$CFLAGS
8969 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8970 cat >conftest.
$ac_ext <<_ACEOF
8973 cat confdefs.h
>>conftest.
$ac_ext
8974 cat >>conftest.
$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8985 rm -f conftest.
$ac_objext conftest
$ac_exeext
8986 if { (ac_try
="$ac_link"
8988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8989 *) ac_try_echo=$ac_try;;
8991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8992 (eval "$ac_link") 2>conftest.er1
8994 grep -v '^ *+' conftest.er1 >conftest.err
8996 cat conftest.err >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); } && {
8999 test -z "$ac_c_werror_flag" ||
9000 test ! -s conftest.err
9001 } && test -s conftest$ac_exeext &&
9002 $as_test_x conftest$ac_exeext; then
9003 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9005 echo "$as_me: failed program was:" >&5
9006 sed 's/^/| /' conftest.$ac_ext >&5
9008 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9012 conftest$ac_exeext conftest.$ac_ext
9013 CFLAGS=$ac_wine_try_cflags_saved
9015 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9016 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9017 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9018 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9025 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9026 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9027 if test "${ac_cv_c_dll_unixware+set}" = set; then
9028 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 ac_wine_try_cflags_saved=$CFLAGS
9031 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9032 cat >conftest.$ac_ext <<_ACEOF
9035 rm -f conftest.$ac_objext conftest$ac_exeext
9036 if { (ac_try="$ac_link"
9038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9039 *) ac_try_echo
=$ac_try;;
9041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_link") 2>conftest.er1
9044 grep -v '^ *+' conftest.er1
>conftest.err
9046 cat conftest.err
>&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && {
9049 test -z "$ac_c_werror_flag" ||
9050 test ! -s conftest.err
9051 } && test -s conftest
$ac_exeext &&
9052 $as_test_x conftest
$ac_exeext; then
9053 ac_cv_c_dll_unixware
="yes"
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.
$ac_ext >&5
9058 ac_cv_c_dll_unixware
="no"
9061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9062 conftest
$ac_exeext conftest.
$ac_ext
9063 CFLAGS
=$ac_wine_try_cflags_saved
9065 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9066 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9067 if test "$ac_cv_c_dll_unixware" = "yes"
9069 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9070 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9073 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9074 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9075 if test "${ac_cv_c_dll_hpux+set}" = set; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 ac_wine_try_cflags_saved
=$CFLAGS
9079 CFLAGS
="$CFLAGS -shared"
9080 cat >conftest.
$ac_ext <<_ACEOF
9083 rm -f conftest.
$ac_objext conftest
$ac_exeext
9084 if { (ac_try
="$ac_link"
9086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9087 *) ac_try_echo=$ac_try;;
9089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9090 (eval "$ac_link") 2>conftest.er1
9092 grep -v '^ *+' conftest.er1 >conftest.err
9094 cat conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); } && {
9097 test -z "$ac_c_werror_flag" ||
9098 test ! -s conftest.err
9099 } && test -s conftest$ac_exeext &&
9100 $as_test_x conftest$ac_exeext; then
9101 ac_cv_c_dll_hpux="yes"
9103 echo "$as_me: failed program was:" >&5
9104 sed 's/^/| /' conftest.$ac_ext >&5
9106 ac_cv_c_dll_hpux="no"
9109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9110 conftest$ac_exeext conftest.$ac_ext
9111 CFLAGS=$ac_wine_try_cflags_saved
9113 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9114 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9115 if test "$ac_cv_c_dll_hpux" = "yes"
9119 LDDLLFLAGS="-shared -fPIC"
9120 LDSHARED="\$(CC) -shared"
9127 if test "$cross_compiling" = "no"
9129 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9131 # Extract the first word of "$ac_prog", so it can be a program name with args.
9132 set dummy $ac_prog; ac_word=$2
9133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9135 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 if test -n "$CROSSCC"; then
9139 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9145 test -z "$as_dir" && as_dir=.
9146 for ac_exec_ext in '' $ac_executable_extensions; do
9147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9148 ac_cv_prog_CROSSCC="$ac_prog"
9149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9158 CROSSCC=$ac_cv_prog_CROSSCC
9159 if test -n "$CROSSCC"; then
9160 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9161 echo "${ECHO_T}$CROSSCC" >&6; }
9163 { echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6; }
9168 test -n "$CROSSCC" && break
9170 test -n "$CROSSCC" || CROSSCC="false"
9172 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9174 # Extract the first word of "$ac_prog", so it can be a program name with args.
9175 set dummy $ac_prog; ac_word=$2
9176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9178 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 if test -n "$DLLTOOL"; then
9182 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9188 test -z "$as_dir" && as_dir=.
9189 for ac_exec_ext in '' $ac_executable_extensions; do
9190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9191 ac_cv_prog_DLLTOOL="$ac_prog"
9192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9201 DLLTOOL=$ac_cv_prog_DLLTOOL
9202 if test -n "$DLLTOOL"; then
9203 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9204 echo "${ECHO_T}$DLLTOOL" >&6; }
9206 { echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6; }
9211 test -n "$DLLTOOL" && break
9213 test -n "$DLLTOOL" || DLLTOOL="false"
9215 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9217 # Extract the first word of "$ac_prog", so it can be a program name with args.
9218 set dummy $ac_prog; ac_word=$2
9219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9221 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9224 if test -n "$CROSSWINDRES"; then
9225 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9231 test -z "$as_dir" && as_dir=.
9232 for ac_exec_ext in '' $ac_executable_extensions; do
9233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9234 ac_cv_prog_CROSSWINDRES="$ac_prog"
9235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9244 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9245 if test -n "$CROSSWINDRES"; then
9246 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9247 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9249 { echo "$as_me:$LINENO: result: no" >&5
9250 echo "${ECHO_T}no" >&6; }
9254 test -n "$CROSSWINDRES" && break
9256 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9258 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9260 # Extract the first word of "$ac_prog", so it can be a program name with args.
9261 set dummy $ac_prog; ac_word=$2
9262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9264 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6
9267 if test -n "$MINGWAR"; then
9268 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9274 test -z "$as_dir" && as_dir=.
9275 for ac_exec_ext in '' $ac_executable_extensions; do
9276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9277 ac_cv_prog_MINGWAR="$ac_prog"
9278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9287 MINGWAR=$ac_cv_prog_MINGWAR
9288 if test -n "$MINGWAR"; then
9289 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9290 echo "${ECHO_T}$MINGWAR" >&6; }
9292 { echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6; }
9297 test -n "$MINGWAR" && break
9299 test -n "$MINGWAR" || MINGWAR="false"
9301 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9306 if test "$LIBEXT" = "a"; then
9307 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9308 It is currently not possible to build Wine without shared library
9309 (.so) support to allow transparent switch between .so and .dll files.
9310 If you are using Linux, you will need a newer binutils.
9312 echo "$as_me: error: could not find a way to build shared libraries.
9313 It is currently not possible to build Wine without shared library
9314 (.so) support to allow transparent switch between .so and .dll files.
9315 If you are using Linux, you will need a newer binutils.
9317 { (exit 1); exit 1; }; }
9321 if test "$have_x" = "yes"
9324 ac_save_CPPFLAGS="$CPPFLAGS"
9325 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9327 { echo "$as_me:$LINENO: checking for -lX11" >&5
9328 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9329 if test "${ac_cv_lib_soname_X11+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 ac_check_soname_save_LIBS=$LIBS
9333 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9334 cat >conftest.$ac_ext <<_ACEOF
9337 cat confdefs.h >>conftest.$ac_ext
9338 cat >>conftest.$ac_ext <<_ACEOF
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9347 char XCreateWindow ();
9351 return XCreateWindow ();
9356 rm -f conftest.$ac_objext conftest$ac_exeext
9357 if { (ac_try="$ac_link"
9359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9360 *) ac_try_echo
=$ac_try;;
9362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9363 (eval "$ac_link") 2>conftest.er1
9365 grep -v '^ *+' conftest.er1
>conftest.err
9367 cat conftest.err
>&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } && {
9370 test -z "$ac_c_werror_flag" ||
9371 test ! -s conftest.err
9372 } && test -s conftest
$ac_exeext &&
9373 $as_test_x conftest
$ac_exeext; then
9376 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'` ;;
9377 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9380 echo "$as_me: failed program was:" >&5
9381 sed 's/^/| /' conftest.
$ac_ext >&5
9386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9387 conftest
$ac_exeext conftest.
$ac_ext
9388 LIBS
=$ac_check_soname_save_LIBS
9390 if test "x$ac_cv_lib_soname_X11" = "x"; then
9391 { echo "$as_me:$LINENO: result: not found" >&5
9392 echo "${ECHO_T}not found" >&6; }
9395 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9396 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9398 cat >>confdefs.h
<<_ACEOF
9399 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9405 { echo "$as_me:$LINENO: checking for -lXext" >&5
9406 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9407 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9408 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 ac_check_soname_save_LIBS
=$LIBS
9411 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9412 cat >conftest.
$ac_ext <<_ACEOF
9415 cat confdefs.h
>>conftest.
$ac_ext
9416 cat >>conftest.
$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9419 /* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
9425 char XextCreateExtension ();
9429 return XextCreateExtension ();
9434 rm -f conftest.
$ac_objext conftest
$ac_exeext
9435 if { (ac_try
="$ac_link"
9437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9438 *) ac_try_echo=$ac_try;;
9440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9441 (eval "$ac_link") 2>conftest.er1
9443 grep -v '^ *+' conftest.er1 >conftest.err
9445 cat conftest.err >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } && {
9448 test -z "$ac_c_werror_flag" ||
9449 test ! -s conftest.err
9450 } && test -s conftest$ac_exeext &&
9451 $as_test_x conftest$ac_exeext; then
9454 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'` ;;
9455 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9458 echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.$ac_ext >&5
9464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9465 conftest$ac_exeext conftest.$ac_ext
9466 LIBS=$ac_check_soname_save_LIBS
9468 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9469 { echo "$as_me:$LINENO: result: not found" >&5
9470 echo "${ECHO_T}not found" >&6; }
9473 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9474 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9476 cat >>confdefs.h <<_ACEOF
9477 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9496 for ac_header in X11/Xlib.h \
9499 X11/Xcursor/Xcursor.h \
9500 X11/extensions/shape.h \
9501 X11/extensions/XInput.h \
9502 X11/extensions/XShm.h \
9503 X11/extensions/Xcomposite.h \
9504 X11/extensions/Xinerama.h \
9505 X11/extensions/Xrandr.h \
9506 X11/extensions/Xrender.h \
9507 X11/extensions/xf86vmode.h
9509 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9513 echo $ECHO_N "(cached) $ECHO_C" >&6
9515 cat >conftest.$ac_ext <<_ACEOF
9518 cat confdefs.h >>conftest.$ac_ext
9519 cat >>conftest.$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9521 #ifdef HAVE_X11_XLIB_H
9522 # include <X11/Xlib.h>
9524 #ifdef HAVE_X11_XUTIL_H
9525 # include <X11/Xutil.h>
9528 #include <$ac_header>
9530 rm -f conftest.$ac_objext
9531 if { (ac_try="$ac_compile"
9533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9534 *) ac_try_echo
=$ac_try;;
9536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9537 (eval "$ac_compile") 2>conftest.er1
9539 grep -v '^ *+' conftest.er1
>conftest.err
9541 cat conftest.err
>&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); } && {
9544 test -z "$ac_c_werror_flag" ||
9545 test ! -s conftest.err
9546 } && test -s conftest.
$ac_objext; then
9547 eval "$as_ac_Header=yes"
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.
$ac_ext >&5
9552 eval "$as_ac_Header=no"
9555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9557 ac_res
=`eval echo '${'$as_ac_Header'}'`
9558 { echo "$as_me:$LINENO: result: $ac_res" >&5
9559 echo "${ECHO_T}$ac_res" >&6; }
9560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9561 cat >>confdefs.h
<<_ACEOF
9562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9570 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9572 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9573 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9574 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9575 echo $ECHO_N "(cached) $ECHO_C" >&6
9577 ac_check_lib_save_LIBS
=$LIBS
9578 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9579 cat >conftest.
$ac_ext <<_ACEOF
9582 cat confdefs.h
>>conftest.
$ac_ext
9583 cat >>conftest.
$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9592 char XkbQueryExtension ();
9596 return XkbQueryExtension ();
9601 rm -f conftest.
$ac_objext conftest
$ac_exeext
9602 if { (ac_try
="$ac_link"
9604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9605 *) ac_try_echo=$ac_try;;
9607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9608 (eval "$ac_link") 2>conftest.er1
9610 grep -v '^ *+' conftest.er1 >conftest.err
9612 cat conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } && {
9615 test -z "$ac_c_werror_flag" ||
9616 test ! -s conftest.err
9617 } && test -s conftest$ac_exeext &&
9618 $as_test_x conftest$ac_exeext; then
9619 ac_cv_lib_X11_XkbQueryExtension=yes
9621 echo "$as_me: failed program was:" >&5
9622 sed 's/^/| /' conftest.$ac_ext >&5
9624 ac_cv_lib_X11_XkbQueryExtension=no
9627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9628 conftest$ac_exeext conftest.$ac_ext
9629 LIBS=$ac_check_lib_save_LIBS
9631 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9632 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9633 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9635 cat >>confdefs.h <<\_ACEOF
9643 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9645 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9646 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9647 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 ac_check_soname_save_LIBS=$LIBS
9651 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9652 cat >conftest.$ac_ext <<_ACEOF
9655 cat confdefs.h >>conftest.$ac_ext
9656 cat >>conftest.$ac_ext <<_ACEOF
9657 /* end confdefs.h. */
9659 /* Override any GCC internal prototype to avoid an error.
9660 Use char because int might match the return type of a GCC
9661 builtin and then its argument prototype would still apply. */
9665 char XcursorImageLoadCursor ();
9669 return XcursorImageLoadCursor ();
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (ac_try="$ac_link"
9677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9678 *) ac_try_echo
=$ac_try;;
9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_link") 2>conftest.er1
9683 grep -v '^ *+' conftest.er1
>conftest.err
9685 cat conftest.err
>&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && {
9688 test -z "$ac_c_werror_flag" ||
9689 test ! -s conftest.err
9690 } && test -s conftest
$ac_exeext &&
9691 $as_test_x conftest
$ac_exeext; then
9694 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'` ;;
9695 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.
$ac_ext >&5
9704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9705 conftest
$ac_exeext conftest.
$ac_ext
9706 LIBS
=$ac_check_soname_save_LIBS
9708 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9709 { echo "$as_me:$LINENO: result: not found" >&5
9710 echo "${ECHO_T}not found" >&6; }
9713 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9714 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9716 cat >>confdefs.h
<<_ACEOF
9717 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9724 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9725 case "x$with_xcursor" in
9726 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9728 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9729 This is an error since --with-xcursor was requested." >&5
9730 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9731 This is an error since --with-xcursor was requested." >&2;}
9732 { (exit 1); exit 1; }; } ;;
9737 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9739 { echo "$as_me:$LINENO: checking for -lXi" >&5
9740 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9741 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 ac_check_soname_save_LIBS
=$LIBS
9745 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9746 cat >conftest.
$ac_ext <<_ACEOF
9749 cat confdefs.h
>>conftest.
$ac_ext
9750 cat >>conftest.
$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9759 char XOpenDevice ();
9763 return XOpenDevice ();
9768 rm -f conftest.
$ac_objext conftest
$ac_exeext
9769 if { (ac_try
="$ac_link"
9771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_link") 2>conftest.er1
9777 grep -v '^ *+' conftest.er1 >conftest.err
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest$ac_exeext &&
9785 $as_test_x conftest$ac_exeext; then
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_soname_save_LIBS
9802 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9803 { echo "$as_me:$LINENO: result: not found" >&5
9804 echo "${ECHO_T}not found" >&6; }
9807 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9808 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9810 cat >>confdefs.h <<_ACEOF
9811 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9818 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9819 case "x$with_xinput" in
9820 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9822 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9823 This is an error since --with-xinput was requested." >&5
9824 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9825 This is an error since --with-xinput was requested." >&2;}
9826 { (exit 1); exit 1; }; } ;;
9831 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9833 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9834 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9835 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 ac_check_lib_save_LIBS=$LIBS
9839 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9840 cat >conftest.$ac_ext <<_ACEOF
9843 cat confdefs.h >>conftest.$ac_ext
9844 cat >>conftest.$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9853 char XShmQueryExtension ();
9857 return XShmQueryExtension ();
9862 rm -f conftest.$ac_objext conftest$ac_exeext
9863 if { (ac_try="$ac_link"
9865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9866 *) ac_try_echo
=$ac_try;;
9868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9869 (eval "$ac_link") 2>conftest.er1
9871 grep -v '^ *+' conftest.er1
>conftest.err
9873 cat conftest.err
>&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); } && {
9876 test -z "$ac_c_werror_flag" ||
9877 test ! -s conftest.err
9878 } && test -s conftest
$ac_exeext &&
9879 $as_test_x conftest
$ac_exeext; then
9880 ac_cv_lib_Xext_XShmQueryExtension
=yes
9882 echo "$as_me: failed program was:" >&5
9883 sed 's/^/| /' conftest.
$ac_ext >&5
9885 ac_cv_lib_Xext_XShmQueryExtension
=no
9888 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9889 conftest
$ac_exeext conftest.
$ac_ext
9890 LIBS
=$ac_check_lib_save_LIBS
9892 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9893 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9894 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9896 cat >>confdefs.h
<<\_ACEOF
9897 #define HAVE_LIBXXSHM 1
9903 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9904 case "x$with_xshm" in
9905 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9907 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9908 This is an error since --with-xshm was requested." >&5
9909 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9910 This is an error since --with-xshm was requested." >&2;}
9911 { (exit 1); exit 1; }; } ;;
9916 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9918 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9919 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9920 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 ac_check_lib_save_LIBS
=$LIBS
9924 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9925 cat >conftest.
$ac_ext <<_ACEOF
9928 cat confdefs.h
>>conftest.
$ac_ext
9929 cat >>conftest.
$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9938 char XShapeQueryExtension ();
9942 return XShapeQueryExtension ();
9947 rm -f conftest.
$ac_objext conftest
$ac_exeext
9948 if { (ac_try
="$ac_link"
9950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9951 *) ac_try_echo=$ac_try;;
9953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9954 (eval "$ac_link") 2>conftest.er1
9956 grep -v '^ *+' conftest.er1 >conftest.err
9958 cat conftest.err >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } && {
9961 test -z "$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9963 } && test -s conftest$ac_exeext &&
9964 $as_test_x conftest$ac_exeext; then
9965 ac_cv_lib_Xext_XShapeQueryExtension=yes
9967 echo "$as_me: failed program was:" >&5
9968 sed 's/^/| /' conftest.$ac_ext >&5
9970 ac_cv_lib_Xext_XShapeQueryExtension=no
9973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_lib_save_LIBS
9977 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9978 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9979 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9981 cat >>confdefs.h <<\_ACEOF
9982 #define HAVE_LIBXSHAPE 1
9988 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9989 case "x$with_xshape" in
9990 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9992 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9993 This is an error since --with-xshape was requested." >&5
9994 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9995 This is an error since --with-xshape was requested." >&2;}
9996 { (exit 1); exit 1; }; } ;;
10001 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10003 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10004 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10005 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10008 ac_check_lib_save_LIBS=$LIBS
10009 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10010 cat >conftest.$ac_ext <<_ACEOF
10013 cat confdefs.h >>conftest.$ac_ext
10014 cat >>conftest.$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10023 char XF86VidModeQueryExtension ();
10027 return XF86VidModeQueryExtension ();
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (ac_try="$ac_link"
10034 case "(($ac_try" in
10035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10036 *) ac_try_echo
=$ac_try;;
10038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10039 (eval "$ac_link") 2>conftest.er1
10041 grep -v '^ *+' conftest.er1
>conftest.err
10043 cat conftest.err
>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && {
10046 test -z "$ac_c_werror_flag" ||
10047 test ! -s conftest.err
10048 } && test -s conftest
$ac_exeext &&
10049 $as_test_x conftest
$ac_exeext; then
10050 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10052 echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.
$ac_ext >&5
10055 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_lib_save_LIBS
10062 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10063 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10064 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10066 cat >>confdefs.h
<<\_ACEOF
10067 #define HAVE_LIBXXF86VM 1
10070 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10075 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10076 case "x$with_xvidmode" in
10077 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10079 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10080 This is an error since --with-xvidmode was requested." >&5
10081 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10082 This is an error since --with-xvidmode was requested." >&2;}
10083 { (exit 1); exit 1; }; } ;;
10088 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"
10090 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10091 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10092 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 ac_check_soname_save_LIBS
=$LIBS
10096 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10097 cat >conftest.
$ac_ext <<_ACEOF
10100 cat confdefs.h
>>conftest.
$ac_ext
10101 cat >>conftest.
$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10104 /* Override any GCC internal prototype to avoid an error.
10105 Use char because int might match the return type of a GCC
10106 builtin and then its argument prototype would still apply. */
10110 char XRenderQueryExtension ();
10114 return XRenderQueryExtension ();
10119 rm -f conftest.
$ac_objext conftest
$ac_exeext
10120 if { (ac_try
="$ac_link"
10121 case "(($ac_try" in
10122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_link") 2>conftest.er1
10128 grep -v '^ *+' conftest.er1 >conftest.err
10130 cat conftest.err >&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } && {
10133 test -z "$ac_c_werror_flag" ||
10134 test ! -s conftest.err
10135 } && test -s conftest$ac_exeext &&
10136 $as_test_x conftest$ac_exeext; then
10139 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'` ;;
10140 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10143 echo "$as_me: failed program was:" >&5
10144 sed 's/^/| /' conftest.$ac_ext >&5
10149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10150 conftest$ac_exeext conftest.$ac_ext
10151 LIBS=$ac_check_soname_save_LIBS
10153 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10154 { echo "$as_me:$LINENO: result: not found" >&5
10155 echo "${ECHO_T}not found" >&6; }
10158 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10159 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10161 cat >>confdefs.h <<_ACEOF
10162 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10165 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10166 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10167 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10170 ac_check_lib_save_LIBS=$LIBS
10171 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10172 cat >conftest.$ac_ext <<_ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10179 /* Override any GCC internal prototype to avoid an error.
10180 Use char because int might match the return type of a GCC
10181 builtin and then its argument prototype would still apply. */
10185 char XRenderSetPictureTransform ();
10189 return XRenderSetPictureTransform ();
10194 rm -f conftest.$ac_objext conftest$ac_exeext
10195 if { (ac_try="$ac_link"
10196 case "(($ac_try" in
10197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10198 *) ac_try_echo
=$ac_try;;
10200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10201 (eval "$ac_link") 2>conftest.er1
10203 grep -v '^ *+' conftest.er1
>conftest.err
10205 cat conftest.err
>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } && {
10208 test -z "$ac_c_werror_flag" ||
10209 test ! -s conftest.err
10210 } && test -s conftest
$ac_exeext &&
10211 $as_test_x conftest
$ac_exeext; then
10212 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10214 echo "$as_me: failed program was:" >&5
10215 sed 's/^/| /' conftest.
$ac_ext >&5
10217 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10220 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10221 conftest
$ac_exeext conftest.
$ac_ext
10222 LIBS
=$ac_check_lib_save_LIBS
10224 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10225 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10226 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10228 cat >>confdefs.h
<<\_ACEOF
10229 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10238 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10239 case "x$with_xrender" in
10240 x
) wine_notices
="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10242 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10243 This is an error since --with-xrender was requested." >&5
10244 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10245 This is an error since --with-xrender was requested." >&2;}
10246 { (exit 1); exit 1; }; } ;;
10251 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10253 cat >conftest.
$ac_ext <<_ACEOF
10256 cat confdefs.h
>>conftest.
$ac_ext
10257 cat >>conftest.
$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10259 #include <X11/Xlib.h>
10260 #include <X11/extensions/Xrandr.h>
10264 static typeof(XRRSetScreenConfigAndRate) * func;
10269 rm -f conftest.
$ac_objext
10270 if { (ac_try
="$ac_compile"
10271 case "(($ac_try" in
10272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10273 *) ac_try_echo=$ac_try;;
10275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10276 (eval "$ac_compile") 2>conftest.er1
10278 grep -v '^ *+' conftest.er1 >conftest.err
10280 cat conftest.err >&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); } && {
10283 test -z "$ac_c_werror_flag" ||
10284 test ! -s conftest.err
10285 } && test -s conftest.$ac_objext; then
10286 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10287 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10288 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 ac_check_soname_save_LIBS=$LIBS
10292 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10293 cat >conftest.$ac_ext <<_ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10306 char XRRQueryExtension ();
10310 return XRRQueryExtension ();
10315 rm -f conftest.$ac_objext conftest$ac_exeext
10316 if { (ac_try="$ac_link"
10317 case "(($ac_try" in
10318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10319 *) ac_try_echo
=$ac_try;;
10321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10322 (eval "$ac_link") 2>conftest.er1
10324 grep -v '^ *+' conftest.er1
>conftest.err
10326 cat conftest.err
>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } && {
10329 test -z "$ac_c_werror_flag" ||
10330 test ! -s conftest.err
10331 } && test -s conftest
$ac_exeext &&
10332 $as_test_x conftest
$ac_exeext; then
10335 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'` ;;
10336 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10339 echo "$as_me: failed program was:" >&5
10340 sed 's/^/| /' conftest.
$ac_ext >&5
10345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10346 conftest
$ac_exeext conftest.
$ac_ext
10347 LIBS
=$ac_check_soname_save_LIBS
10349 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10350 { echo "$as_me:$LINENO: result: not found" >&5
10351 echo "${ECHO_T}not found" >&6; }
10354 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10355 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10357 cat >>confdefs.h
<<_ACEOF
10358 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10365 echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.
$ac_ext >&5
10371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10373 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10374 case "x$with_xrandr" in
10375 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10377 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10378 This is an error since --with-xrandr was requested." >&5
10379 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10380 This is an error since --with-xrandr was requested." >&2;}
10381 { (exit 1); exit 1; }; } ;;
10386 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10388 cat >conftest.
$ac_ext <<_ACEOF
10391 cat confdefs.h
>>conftest.
$ac_ext
10392 cat >>conftest.
$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10394 #include <X11/Xlib.h>
10395 #include <X11/extensions/Xinerama.h>
10399 static typeof(XineramaQueryScreens) * func;
10404 rm -f conftest.
$ac_objext
10405 if { (ac_try
="$ac_compile"
10406 case "(($ac_try" in
10407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10408 *) ac_try_echo=$ac_try;;
10410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10411 (eval "$ac_compile") 2>conftest.er1
10413 grep -v '^ *+' conftest.er1 >conftest.err
10415 cat conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } && {
10418 test -z "$ac_c_werror_flag" ||
10419 test ! -s conftest.err
10420 } && test -s conftest.$ac_objext; then
10421 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10422 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10423 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10426 ac_check_soname_save_LIBS=$LIBS
10427 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10428 cat >conftest.$ac_ext <<_ACEOF
10431 cat confdefs.h >>conftest.$ac_ext
10432 cat >>conftest.$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10441 char XineramaQueryScreens ();
10445 return XineramaQueryScreens ();
10450 rm -f conftest.$ac_objext conftest$ac_exeext
10451 if { (ac_try="$ac_link"
10452 case "(($ac_try" in
10453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10454 *) ac_try_echo
=$ac_try;;
10456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10457 (eval "$ac_link") 2>conftest.er1
10459 grep -v '^ *+' conftest.er1
>conftest.err
10461 cat conftest.err
>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } && {
10464 test -z "$ac_c_werror_flag" ||
10465 test ! -s conftest.err
10466 } && test -s conftest
$ac_exeext &&
10467 $as_test_x conftest
$ac_exeext; then
10470 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'` ;;
10471 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10481 conftest
$ac_exeext conftest.
$ac_ext
10482 LIBS
=$ac_check_soname_save_LIBS
10484 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10485 { echo "$as_me:$LINENO: result: not found" >&5
10486 echo "${ECHO_T}not found" >&6; }
10489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10490 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10492 cat >>confdefs.h
<<_ACEOF
10493 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.
$ac_ext >&5
10506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10508 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10509 case "x$with_xinerama" in
10510 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10512 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10513 This is an error since --with-xinerama was requested." >&5
10514 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10515 This is an error since --with-xinerama was requested." >&2;}
10516 { (exit 1); exit 1; }; } ;;
10521 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10523 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10524 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10525 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 ac_check_soname_save_LIBS
=$LIBS
10529 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10530 cat >conftest.
$ac_ext <<_ACEOF
10533 cat confdefs.h
>>conftest.
$ac_ext
10534 cat >>conftest.
$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10543 char XCompositeRedirectWindow ();
10547 return XCompositeRedirectWindow ();
10552 rm -f conftest.
$ac_objext conftest
$ac_exeext
10553 if { (ac_try
="$ac_link"
10554 case "(($ac_try" in
10555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10556 *) ac_try_echo=$ac_try;;
10558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10559 (eval "$ac_link") 2>conftest.er1
10561 grep -v '^ *+' conftest.er1 >conftest.err
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } && {
10566 test -z "$ac_c_werror_flag" ||
10567 test ! -s conftest.err
10568 } && test -s conftest$ac_exeext &&
10569 $as_test_x conftest$ac_exeext; then
10572 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'` ;;
10573 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10576 echo "$as_me: failed program was:" >&5
10577 sed 's/^/| /' conftest.$ac_ext >&5
10582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_soname_save_LIBS
10586 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10587 { echo "$as_me:$LINENO: result: not found" >&5
10588 echo "${ECHO_T}not found" >&6; }
10591 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10592 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10594 cat >>confdefs.h <<_ACEOF
10595 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10602 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10603 case "x$with_xcomposite" in
10604 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10606 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10607 This is an error since --with-xcomposite was requested." >&5
10608 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10609 This is an error since --with-xcomposite was requested." >&2;}
10610 { (exit 1); exit 1; }; } ;;
10617 if test "x$with_opengl" != "xno"
10623 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10625 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 cat >conftest.$ac_ext <<_ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 #ifdef HAVE_GL_GLX_H
10638 # include <GL/glx.h>
10641 #include <$ac_header>
10643 rm -f conftest.$ac_objext
10644 if { (ac_try="$ac_compile"
10645 case "(($ac_try" in
10646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10647 *) ac_try_echo
=$ac_try;;
10649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10650 (eval "$ac_compile") 2>conftest.er1
10652 grep -v '^ *+' conftest.er1
>conftest.err
10654 cat conftest.err
>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } && {
10657 test -z "$ac_c_werror_flag" ||
10658 test ! -s conftest.err
10659 } && test -s conftest.
$ac_objext; then
10660 eval "$as_ac_Header=yes"
10662 echo "$as_me: failed program was:" >&5
10663 sed 's/^/| /' conftest.
$ac_ext >&5
10665 eval "$as_ac_Header=no"
10668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10670 ac_res
=`eval echo '${'$as_ac_Header'}'`
10671 { echo "$as_me:$LINENO: result: $ac_res" >&5
10672 echo "${ECHO_T}$ac_res" >&6; }
10673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10674 cat >>confdefs.h
<<_ACEOF
10675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10682 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10684 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10685 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10686 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10687 echo $ECHO_N "(cached) $ECHO_C" >&6
10689 cat >conftest.
$ac_ext <<_ACEOF
10692 cat confdefs.h
>>conftest.
$ac_ext
10693 cat >>conftest.
$ac_ext <<_ACEOF
10694 /* end confdefs.h. */
10699 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10704 rm -f conftest.
$ac_objext
10705 if { (ac_try
="$ac_compile"
10706 case "(($ac_try" in
10707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10708 *) ac_try_echo=$ac_try;;
10710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10711 (eval "$ac_compile") 2>conftest.er1
10713 grep -v '^ *+' conftest.er1 >conftest.err
10715 cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } && {
10718 test -z "$ac_c_werror_flag" ||
10719 test ! -s conftest.err
10720 } && test -s conftest.$ac_objext; then
10721 wine_cv_opengl_header_version_OK="yes"
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.$ac_ext >&5
10726 wine_cv_opengl_header_version_OK="no"
10729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10731 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10732 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10734 if test "$wine_cv_opengl_header_version_OK" = "yes"
10736 { echo "$as_me:$LINENO: checking for -lGL" >&5
10737 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10738 if test "${ac_cv_lib_soname_GL+set}" = set; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 ac_check_soname_save_LIBS=$LIBS
10742 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10743 cat >conftest.$ac_ext <<_ACEOF
10746 cat confdefs.h >>conftest.$ac_ext
10747 cat >>conftest.$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10756 char glXCreateContext ();
10760 return glXCreateContext ();
10765 rm -f conftest.$ac_objext conftest$ac_exeext
10766 if { (ac_try="$ac_link"
10767 case "(($ac_try" in
10768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10769 *) ac_try_echo
=$ac_try;;
10771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10772 (eval "$ac_link") 2>conftest.er1
10774 grep -v '^ *+' conftest.er1
>conftest.err
10776 cat conftest.err
>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); } && {
10779 test -z "$ac_c_werror_flag" ||
10780 test ! -s conftest.err
10781 } && test -s conftest
$ac_exeext &&
10782 $as_test_x conftest
$ac_exeext; then
10785 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'` ;;
10786 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.
$ac_ext >&5
10795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10796 conftest
$ac_exeext conftest.
$ac_ext
10797 LIBS
=$ac_check_soname_save_LIBS
10799 if test "x$ac_cv_lib_soname_GL" = "x"; then
10800 { echo "$as_me:$LINENO: result: not found" >&5
10801 echo "${ECHO_T}not found" >&6; }
10802 { echo "$as_me:$LINENO: checking for -lGL" >&5
10803 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10804 if test "${ac_cv_lib_soname_GL+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 ac_check_soname_save_LIBS
=$LIBS
10808 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"
10809 cat >conftest.
$ac_ext <<_ACEOF
10812 cat confdefs.h
>>conftest.
$ac_ext
10813 cat >>conftest.
$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10822 char glXCreateContext ();
10826 return glXCreateContext ();
10831 rm -f conftest.
$ac_objext conftest
$ac_exeext
10832 if { (ac_try
="$ac_link"
10833 case "(($ac_try" in
10834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10835 *) ac_try_echo=$ac_try;;
10837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10838 (eval "$ac_link") 2>conftest.er1
10840 grep -v '^ *+' conftest.er1 >conftest.err
10842 cat conftest.err >&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && {
10845 test -z "$ac_c_werror_flag" ||
10846 test ! -s conftest.err
10847 } && test -s conftest$ac_exeext &&
10848 $as_test_x conftest$ac_exeext; then
10851 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'` ;;
10852 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.$ac_ext >&5
10861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_soname_save_LIBS
10865 if test "x$ac_cv_lib_soname_GL" = "x"; then
10866 { echo "$as_me:$LINENO: result: not found" >&5
10867 echo "${ECHO_T}not found" >&6; }
10868 if test -f /usr/X11R6/lib/libGL.a
10870 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10871 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10873 opengl_msg="No OpenGL library found on this system."
10876 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10877 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10879 cat >>confdefs.h <<_ACEOF
10880 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10883 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"
10884 OPENGLFILES='$(OPENGLFILES)'
10886 cat >>confdefs.h <<\_ACEOF
10887 #define HAVE_OPENGL 1
10893 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10894 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10896 cat >>confdefs.h <<_ACEOF
10897 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10901 OPENGLFILES='$(OPENGLFILES)'
10903 cat >>confdefs.h <<\_ACEOF
10904 #define HAVE_OPENGL 1
10910 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10911 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10912 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 ac_check_lib_save_LIBS=$LIBS
10916 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10917 cat >conftest.$ac_ext <<_ACEOF
10920 cat confdefs.h >>conftest.$ac_ext
10921 cat >>conftest.$ac_ext <<_ACEOF
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10934 return gluLookAt ();
10939 rm -f conftest.$ac_objext conftest$ac_exeext
10940 if { (ac_try="$ac_link"
10941 case "(($ac_try" in
10942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10943 *) ac_try_echo
=$ac_try;;
10945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10946 (eval "$ac_link") 2>conftest.er1
10948 grep -v '^ *+' conftest.er1
>conftest.err
10950 cat conftest.err
>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } && {
10953 test -z "$ac_c_werror_flag" ||
10954 test ! -s conftest.err
10955 } && test -s conftest
$ac_exeext &&
10956 $as_test_x conftest
$ac_exeext; then
10957 ac_cv_lib_GLU_gluLookAt
=yes
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.
$ac_ext >&5
10962 ac_cv_lib_GLU_gluLookAt
=no
10965 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10966 conftest
$ac_exeext conftest.
$ac_ext
10967 LIBS
=$ac_check_lib_save_LIBS
10969 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10970 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10971 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10972 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10973 GLU32FILES
='$(GLU32FILES)'
10978 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10981 opengl_msg
="OpenGL development headers not found."
10984 if test -n "$opengl_msg"; then
10985 case "x$with_opengl" in
10986 x
) wine_warnings
="$wine_warnings|$opengl_msg
10987 OpenGL and Direct3D won't be supported." ;;
10989 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10990 OpenGL and Direct3D won't be supported.
10991 This is an error since --with-opengl was requested." >&5
10992 echo "$as_me: error: $opengl_msg
10993 OpenGL and Direct3D won't be supported.
10994 This is an error since --with-opengl was requested." >&2;}
10995 { (exit 1); exit 1; }; } ;;
11003 for ac_header
in audio
/audiolib.h
11005 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11006 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11009 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11010 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 ac_res
=`eval echo '${'$as_ac_Header'}'`
11013 { echo "$as_me:$LINENO: result: $ac_res" >&5
11014 echo "${ECHO_T}$ac_res" >&6; }
11016 # Is the header compilable?
11017 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11018 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11019 cat >conftest.
$ac_ext <<_ACEOF
11022 cat confdefs.h
>>conftest.
$ac_ext
11023 cat >>conftest.
$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11025 $ac_includes_default
11026 #include <$ac_header>
11028 rm -f conftest.
$ac_objext
11029 if { (ac_try
="$ac_compile"
11030 case "(($ac_try" in
11031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11032 *) ac_try_echo=$ac_try;;
11034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11035 (eval "$ac_compile") 2>conftest.er1
11037 grep -v '^ *+' conftest.er1 >conftest.err
11039 cat conftest.err >&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } && {
11042 test -z "$ac_c_werror_flag" ||
11043 test ! -s conftest.err
11044 } && test -s conftest.$ac_objext; then
11045 ac_header_compiler=yes
11047 echo "$as_me: failed program was:" >&5
11048 sed 's/^/| /' conftest.$ac_ext >&5
11050 ac_header_compiler=no
11053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11054 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11055 echo "${ECHO_T}$ac_header_compiler" >&6; }
11057 # Is the header present?
11058 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11060 cat >conftest.$ac_ext <<_ACEOF
11063 cat confdefs.h >>conftest.$ac_ext
11064 cat >>conftest.$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 #include <$ac_header>
11068 if { (ac_try="$ac_cpp conftest.$ac_ext"
11069 case "(($ac_try" in
11070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11071 *) ac_try_echo
=$ac_try;;
11073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11076 grep -v '^ *+' conftest.er1
>conftest.err
11078 cat conftest.err
>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } >/dev
/null
&& {
11081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11082 test ! -s conftest.err
11084 ac_header_preproc
=yes
11086 echo "$as_me: failed program was:" >&5
11087 sed 's/^/| /' conftest.
$ac_ext >&5
11089 ac_header_preproc
=no
11092 rm -f conftest.err conftest.
$ac_ext
11093 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11094 echo "${ECHO_T}$ac_header_preproc" >&6; }
11096 # So? What about this header?
11097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11103 ac_header_preproc
=yes
11106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11110 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11112 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11113 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11116 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11119 ## ------------------------------------ ##
11120 ## Report this to wine-devel@winehq.org ##
11121 ## ------------------------------------ ##
11123 ) |
sed "s/^/$as_me: WARNING: /" >&2
11126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11128 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 eval "$as_ac_Header=\$ac_header_preproc"
11133 ac_res
=`eval echo '${'$as_ac_Header'}'`
11134 { echo "$as_me:$LINENO: result: $ac_res" >&5
11135 echo "${ECHO_T}$ac_res" >&6; }
11138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11139 cat >>confdefs.h
<<_ACEOF
11140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11143 for ac_header
in audio
/soundlib.h
11145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11148 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 cat >conftest.
$ac_ext <<_ACEOF
11154 cat confdefs.h
>>conftest.
$ac_ext
11155 cat >>conftest.
$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11157 #include <audio/audiolib.h>
11159 #include <$ac_header>
11161 rm -f conftest.
$ac_objext
11162 if { (ac_try
="$ac_compile"
11163 case "(($ac_try" in
11164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11165 *) ac_try_echo=$ac_try;;
11167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11168 (eval "$ac_compile") 2>conftest.er1
11170 grep -v '^ *+' conftest.er1 >conftest.err
11172 cat conftest.err >&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } && {
11175 test -z "$ac_c_werror_flag" ||
11176 test ! -s conftest.err
11177 } && test -s conftest.$ac_objext; then
11178 eval "$as_ac_Header=yes"
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.$ac_ext >&5
11183 eval "$as_ac_Header=no"
11186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11188 ac_res=`eval echo '${'$as_ac_Header'}'`
11189 { echo "$as_me:$LINENO: result: $ac_res" >&5
11190 echo "${ECHO_T}$ac_res" >&6; }
11191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11192 cat >>confdefs.h <<_ACEOF
11193 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11200 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11201 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11202 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11205 ac_check_lib_save_LIBS=$LIBS
11206 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11207 cat >conftest.$ac_ext <<_ACEOF
11210 cat confdefs.h >>conftest.$ac_ext
11211 cat >>conftest.$ac_ext <<_ACEOF
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11220 char AuCreateFlow ();
11224 return AuCreateFlow ();
11229 rm -f conftest.$ac_objext conftest$ac_exeext
11230 if { (ac_try="$ac_link"
11231 case "(($ac_try" in
11232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11233 *) ac_try_echo
=$ac_try;;
11235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11236 (eval "$ac_link") 2>conftest.er1
11238 grep -v '^ *+' conftest.er1
>conftest.err
11240 cat conftest.err
>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } && {
11243 test -z "$ac_c_werror_flag" ||
11244 test ! -s conftest.err
11245 } && test -s conftest
$ac_exeext &&
11246 $as_test_x conftest
$ac_exeext; then
11247 ac_cv_lib_audio_AuCreateFlow
=yes
11249 echo "$as_me: failed program was:" >&5
11250 sed 's/^/| /' conftest.
$ac_ext >&5
11252 ac_cv_lib_audio_AuCreateFlow
=no
11255 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11256 conftest
$ac_exeext conftest.
$ac_ext
11257 LIBS
=$ac_check_lib_save_LIBS
11259 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11260 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11261 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11263 cat >>confdefs.h
<<\_ACEOF
11267 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11268 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11269 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11270 echo $ECHO_N "(cached) $ECHO_C" >&6
11272 ac_check_lib_save_LIBS
=$LIBS
11273 LIBS
="-lXau $X_LIBS $LIBS"
11274 cat >conftest.
$ac_ext <<_ACEOF
11277 cat confdefs.h
>>conftest.
$ac_ext
11278 cat >>conftest.
$ac_ext <<_ACEOF
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11287 char XauGetBestAuthByAddr ();
11291 return XauGetBestAuthByAddr ();
11296 rm -f conftest.
$ac_objext conftest
$ac_exeext
11297 if { (ac_try
="$ac_link"
11298 case "(($ac_try" in
11299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11300 *) ac_try_echo=$ac_try;;
11302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11303 (eval "$ac_link") 2>conftest.er1
11305 grep -v '^ *+' conftest.er1 >conftest.err
11307 cat conftest.err >&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } && {
11310 test -z "$ac_c_werror_flag" ||
11311 test ! -s conftest.err
11312 } && test -s conftest$ac_exeext &&
11313 $as_test_x conftest$ac_exeext; then
11314 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11316 echo "$as_me: failed program was:" >&5
11317 sed 's/^/| /' conftest.$ac_ext >&5
11319 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11326 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11327 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11328 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11329 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11331 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11342 CPPFLAGS="$ac_save_CPPFLAGS"
11349 if test "x$XLIB" = "x"; then
11351 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11352 without X support, which probably isn't what you want. You will need to install
11353 development packages of Xlib/Xfree86 at the very least." ;;
11355 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11356 without X support, which probably isn't what you want. You will need to install
11357 development packages of Xlib/Xfree86 at the very least.
11358 This is an error since --with-x was requested." >&5
11359 echo "$as_me: error: X development files not found. Wine will be built
11360 without X support, which probably isn't what you want. You will need to install
11361 development packages of Xlib/Xfree86 at the very least.
11362 This is an error since --with-x was requested." >&2;}
11363 { (exit 1); exit 1; }; } ;;
11377 if test "x$with_xml" != "xno"
11379 ac_save_CPPFLAGS="$CPPFLAGS"
11380 if test "$PKG_CONFIG" != "false"
11382 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11383 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11385 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11386 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11388 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11390 for ac_header in libxml/parser.h
11392 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6
11399 ac_res=`eval echo '${'$as_ac_Header'}'`
11400 { echo "$as_me:$LINENO: result: $ac_res" >&5
11401 echo "${ECHO_T}$ac_res" >&6; }
11403 # Is the header compilable?
11404 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11406 cat >conftest.$ac_ext <<_ACEOF
11409 cat confdefs.h >>conftest.$ac_ext
11410 cat >>conftest.$ac_ext <<_ACEOF
11411 /* end confdefs.h. */
11412 $ac_includes_default
11413 #include <$ac_header>
11415 rm -f conftest.$ac_objext
11416 if { (ac_try="$ac_compile"
11417 case "(($ac_try" in
11418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11419 *) ac_try_echo
=$ac_try;;
11421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11422 (eval "$ac_compile") 2>conftest.er1
11424 grep -v '^ *+' conftest.er1
>conftest.err
11426 cat conftest.err
>&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); } && {
11429 test -z "$ac_c_werror_flag" ||
11430 test ! -s conftest.err
11431 } && test -s conftest.
$ac_objext; then
11432 ac_header_compiler
=yes
11434 echo "$as_me: failed program was:" >&5
11435 sed 's/^/| /' conftest.
$ac_ext >&5
11437 ac_header_compiler
=no
11440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11441 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11442 echo "${ECHO_T}$ac_header_compiler" >&6; }
11444 # Is the header present?
11445 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11447 cat >conftest.
$ac_ext <<_ACEOF
11450 cat confdefs.h
>>conftest.
$ac_ext
11451 cat >>conftest.
$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 #include <$ac_header>
11455 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11456 case "(($ac_try" in
11457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11458 *) ac_try_echo=$ac_try;;
11460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11463 grep -v '^ *+' conftest.er1 >conftest.err
11465 cat conftest.err >&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); } >/dev/null && {
11468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11469 test ! -s conftest.err
11471 ac_header_preproc=yes
11473 echo "$as_me: failed program was:" >&5
11474 sed 's/^/| /' conftest.$ac_ext >&5
11476 ac_header_preproc=no
11479 rm -f conftest.err conftest.$ac_ext
11480 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11481 echo "${ECHO_T}$ac_header_preproc" >&6; }
11483 # So? What about this header?
11484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11490 ac_header_preproc=yes
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11506 ## ------------------------------------ ##
11507 ## Report this to wine-devel@winehq.org ##
11508 ## ------------------------------------ ##
11510 ) | sed "s/^/$as_me: WARNING: /" >&2
11513 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11516 echo $ECHO_N "(cached) $ECHO_C" >&6
11518 eval "$as_ac_Header=\$ac_header_preproc"
11520 ac_res=`eval echo '${'$as_ac_Header'}'`
11521 { echo "$as_me:$LINENO: result: $ac_res" >&5
11522 echo "${ECHO_T}$ac_res" >&6; }
11525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11526 cat >>confdefs.h <<_ACEOF
11527 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11529 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11530 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11531 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6
11534 ac_check_lib_save_LIBS=$LIBS
11535 LIBS="-lxml2 $ac_xml_libs $LIBS"
11536 cat >conftest.$ac_ext <<_ACEOF
11539 cat confdefs.h >>conftest.$ac_ext
11540 cat >>conftest.$ac_ext <<_ACEOF
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11549 char xmlParseMemory ();
11553 return xmlParseMemory ();
11558 rm -f conftest.$ac_objext conftest$ac_exeext
11559 if { (ac_try="$ac_link"
11560 case "(($ac_try" in
11561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11562 *) ac_try_echo
=$ac_try;;
11564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11565 (eval "$ac_link") 2>conftest.er1
11567 grep -v '^ *+' conftest.er1
>conftest.err
11569 cat conftest.err
>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } && {
11572 test -z "$ac_c_werror_flag" ||
11573 test ! -s conftest.err
11574 } && test -s conftest
$ac_exeext &&
11575 $as_test_x conftest
$ac_exeext; then
11576 ac_cv_lib_xml2_xmlParseMemory
=yes
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.
$ac_ext >&5
11581 ac_cv_lib_xml2_xmlParseMemory
=no
11584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11585 conftest
$ac_exeext conftest.
$ac_ext
11586 LIBS
=$ac_check_lib_save_LIBS
11588 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11589 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11590 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11592 cat >>confdefs.h
<<\_ACEOF
11593 #define HAVE_LIBXML2 1
11596 XML2LIBS
="$ac_xml_libs"
11597 XML2INCL
="$ac_xml_cflags"
11600 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11601 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11602 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 ac_check_lib_save_LIBS
=$LIBS
11606 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11607 cat >conftest.
$ac_ext <<_ACEOF
11610 cat confdefs.h
>>conftest.
$ac_ext
11611 cat >>conftest.
$ac_ext <<_ACEOF
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11620 char xmlReadMemory ();
11624 return xmlReadMemory ();
11629 rm -f conftest.
$ac_objext conftest
$ac_exeext
11630 if { (ac_try
="$ac_link"
11631 case "(($ac_try" in
11632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11633 *) ac_try_echo=$ac_try;;
11635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11636 (eval "$ac_link") 2>conftest.er1
11638 grep -v '^ *+' conftest.er1 >conftest.err
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } && {
11643 test -z "$ac_c_werror_flag" ||
11644 test ! -s conftest.err
11645 } && test -s conftest$ac_exeext &&
11646 $as_test_x conftest$ac_exeext; then
11647 ac_cv_lib_xml2_xmlReadMemory=yes
11649 echo "$as_me: failed program was:" >&5
11650 sed 's/^/| /' conftest.$ac_ext >&5
11652 ac_cv_lib_xml2_xmlReadMemory=no
11655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11656 conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_lib_save_LIBS
11659 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11660 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11661 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11663 cat >>confdefs.h <<\_ACEOF
11664 #define HAVE_XMLREADMEMORY 1
11669 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11670 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11671 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 ac_check_lib_save_LIBS=$LIBS
11675 LIBS="-lxml2 $ac_xml_libs $LIBS"
11676 cat >conftest.$ac_ext <<_ACEOF
11679 cat confdefs.h >>conftest.$ac_ext
11680 cat >>conftest.$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11689 char xmlNewDocPI ();
11693 return xmlNewDocPI ();
11698 rm -f conftest.$ac_objext conftest$ac_exeext
11699 if { (ac_try="$ac_link"
11700 case "(($ac_try" in
11701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11702 *) ac_try_echo
=$ac_try;;
11704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11705 (eval "$ac_link") 2>conftest.er1
11707 grep -v '^ *+' conftest.er1
>conftest.err
11709 cat conftest.err
>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); } && {
11712 test -z "$ac_c_werror_flag" ||
11713 test ! -s conftest.err
11714 } && test -s conftest
$ac_exeext &&
11715 $as_test_x conftest
$ac_exeext; then
11716 ac_cv_lib_xml2_xmlNewDocPI
=yes
11718 echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.
$ac_ext >&5
11721 ac_cv_lib_xml2_xmlNewDocPI
=no
11724 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11725 conftest
$ac_exeext conftest.
$ac_ext
11726 LIBS
=$ac_check_lib_save_LIBS
11728 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11729 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11730 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11732 cat >>confdefs.h
<<\_ACEOF
11733 #define HAVE_XMLNEWDOCPI 1
11743 CPPFLAGS
="$ac_save_CPPFLAGS"
11745 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11746 case "x$with_xml" in
11747 x
) wine_notices
="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11749 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11750 This is an error since --with-xml was requested." >&5
11751 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11752 This is an error since --with-xml was requested." >&2;}
11753 { (exit 1); exit 1; }; } ;;
11758 if test "x$with_xslt" != "xno"
11760 if test "$PKG_CONFIG" != "false"
11762 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11763 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11765 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11766 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11768 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11771 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11776 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11779 cat >conftest.
$ac_ext <<_ACEOF
11782 cat confdefs.h
>>conftest.
$ac_ext
11783 cat >>conftest.
$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11785 #ifdef HAVE_LIBXSLT_PATTERN_H
11786 # include <libxslt/pattern.h>
11789 #include <$ac_header>
11791 rm -f conftest.
$ac_objext
11792 if { (ac_try
="$ac_compile"
11793 case "(($ac_try" in
11794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11795 *) ac_try_echo=$ac_try;;
11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11798 (eval "$ac_compile") 2>conftest.er1
11800 grep -v '^ *+' conftest.er1 >conftest.err
11802 cat conftest.err >&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); } && {
11805 test -z "$ac_c_werror_flag" ||
11806 test ! -s conftest.err
11807 } && test -s conftest.$ac_objext; then
11808 eval "$as_ac_Header=yes"
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 eval "$as_ac_Header=no"
11816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11818 ac_res=`eval echo '${'$as_ac_Header'}'`
11819 { echo "$as_me:$LINENO: result: $ac_res" >&5
11820 echo "${ECHO_T}$ac_res" >&6; }
11821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11822 cat >>confdefs.h <<_ACEOF
11823 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11825 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11826 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11827 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lxslt $ac_xslt_libs $LIBS"
11832 cat >conftest.$ac_ext <<_ACEOF
11835 cat confdefs.h >>conftest.$ac_ext
11836 cat >>conftest.$ac_ext <<_ACEOF
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11845 char xsltCompilePattern ();
11849 return xsltCompilePattern ();
11854 rm -f conftest.$ac_objext conftest$ac_exeext
11855 if { (ac_try="$ac_link"
11856 case "(($ac_try" in
11857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11858 *) ac_try_echo
=$ac_try;;
11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11861 (eval "$ac_link") 2>conftest.er1
11863 grep -v '^ *+' conftest.er1
>conftest.err
11865 cat conftest.err
>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && {
11868 test -z "$ac_c_werror_flag" ||
11869 test ! -s conftest.err
11870 } && test -s conftest
$ac_exeext &&
11871 $as_test_x conftest
$ac_exeext; then
11872 ac_cv_lib_xslt_xsltCompilePattern
=yes
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.
$ac_ext >&5
11877 ac_cv_lib_xslt_xsltCompilePattern
=no
11880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11881 conftest
$ac_exeext conftest.
$ac_ext
11882 LIBS
=$ac_check_lib_save_LIBS
11884 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11885 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11886 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11888 cat >>confdefs.h
<<\_ACEOF
11889 #define HAVE_LIBXSLT 1
11892 XSLTLIBS
="$ac_xslt_libs"
11893 XSLTINCL
="$ac_xslt_cflags"
11901 CPPFLAGS
="$ac_save_CPPFLAGS"
11903 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11904 case "x$with_xslt" in
11905 x
) wine_notices
="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11907 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11908 This is an error since --with-xslt was requested." >&5
11909 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11910 This is an error since --with-xslt was requested." >&2;}
11911 { (exit 1); exit 1; }; } ;;
11918 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11920 ac_save_CPPFLAGS
="$CPPFLAGS"
11921 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11922 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11923 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11926 for ac_header
in dbus
/dbus.h hal
/libhal.h
11928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11929 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11932 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 ac_res
=`eval echo '${'$as_ac_Header'}'`
11936 { echo "$as_me:$LINENO: result: $ac_res" >&5
11937 echo "${ECHO_T}$ac_res" >&6; }
11939 # Is the header compilable?
11940 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11942 cat >conftest.
$ac_ext <<_ACEOF
11945 cat confdefs.h
>>conftest.
$ac_ext
11946 cat >>conftest.
$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11948 $ac_includes_default
11949 #include <$ac_header>
11951 rm -f conftest.
$ac_objext
11952 if { (ac_try
="$ac_compile"
11953 case "(($ac_try" in
11954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11955 *) ac_try_echo=$ac_try;;
11957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11958 (eval "$ac_compile") 2>conftest.er1
11960 grep -v '^ *+' conftest.er1 >conftest.err
11962 cat conftest.err >&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); } && {
11965 test -z "$ac_c_werror_flag" ||
11966 test ! -s conftest.err
11967 } && test -s conftest.$ac_objext; then
11968 ac_header_compiler=yes
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.$ac_ext >&5
11973 ac_header_compiler=no
11976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11977 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11978 echo "${ECHO_T}$ac_header_compiler" >&6; }
11980 # Is the header present?
11981 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11983 cat >conftest.$ac_ext <<_ACEOF
11986 cat confdefs.h >>conftest.$ac_ext
11987 cat >>conftest.$ac_ext <<_ACEOF
11988 /* end confdefs.h. */
11989 #include <$ac_header>
11991 if { (ac_try="$ac_cpp conftest.$ac_ext"
11992 case "(($ac_try" in
11993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11994 *) ac_try_echo
=$ac_try;;
11996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11999 grep -v '^ *+' conftest.er1
>conftest.err
12001 cat conftest.err
>&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); } >/dev
/null
&& {
12004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12005 test ! -s conftest.err
12007 ac_header_preproc
=yes
12009 echo "$as_me: failed program was:" >&5
12010 sed 's/^/| /' conftest.
$ac_ext >&5
12012 ac_header_preproc
=no
12015 rm -f conftest.err conftest.
$ac_ext
12016 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12017 echo "${ECHO_T}$ac_header_preproc" >&6; }
12019 # So? What about this header?
12020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12026 ac_header_preproc
=yes
12029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12042 ## ------------------------------------ ##
12043 ## Report this to wine-devel@winehq.org ##
12044 ## ------------------------------------ ##
12046 ) |
sed "s/^/$as_me: WARNING: /" >&2
12049 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12051 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 eval "$as_ac_Header=\$ac_header_preproc"
12056 ac_res
=`eval echo '${'$as_ac_Header'}'`
12057 { echo "$as_me:$LINENO: result: $ac_res" >&5
12058 echo "${ECHO_T}$ac_res" >&6; }
12061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12062 cat >>confdefs.h
<<_ACEOF
12063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12070 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12072 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12073 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12074 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 ac_check_lib_save_LIBS
=$LIBS
12078 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
12079 cat >conftest.
$ac_ext <<_ACEOF
12082 cat confdefs.h
>>conftest.
$ac_ext
12083 cat >>conftest.
$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12092 char dbus_connection_close ();
12096 return dbus_connection_close ();
12101 rm -f conftest.
$ac_objext conftest
$ac_exeext
12102 if { (ac_try
="$ac_link"
12103 case "(($ac_try" in
12104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12105 *) ac_try_echo=$ac_try;;
12107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12108 (eval "$ac_link") 2>conftest.er1
12110 grep -v '^ *+' conftest.er1 >conftest.err
12112 cat conftest.err >&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } && {
12115 test -z "$ac_c_werror_flag" ||
12116 test ! -s conftest.err
12117 } && test -s conftest$ac_exeext &&
12118 $as_test_x conftest$ac_exeext; then
12119 ac_cv_lib_dbus_1_dbus_connection_close=yes
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 ac_cv_lib_dbus_1_dbus_connection_close=no
12127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12131 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12132 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12133 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12134 { echo "$as_me:$LINENO: checking for -lhal" >&5
12135 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12136 if test "${ac_cv_lib_soname_hal+set}" = set; then
12137 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 ac_check_soname_save_LIBS=$LIBS
12140 LIBS="-lhal $ac_hal_libs $LIBS"
12141 cat >conftest.$ac_ext <<_ACEOF
12144 cat confdefs.h >>conftest.$ac_ext
12145 cat >>conftest.$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12154 char libhal_ctx_new ();
12158 return libhal_ctx_new ();
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (ac_try="$ac_link"
12165 case "(($ac_try" in
12166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12167 *) ac_try_echo
=$ac_try;;
12169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12170 (eval "$ac_link") 2>conftest.er1
12172 grep -v '^ *+' conftest.er1
>conftest.err
12174 cat conftest.err
>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } && {
12177 test -z "$ac_c_werror_flag" ||
12178 test ! -s conftest.err
12179 } && test -s conftest
$ac_exeext &&
12180 $as_test_x conftest
$ac_exeext; then
12183 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'` ;;
12184 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.
$ac_ext >&5
12193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12194 conftest
$ac_exeext conftest.
$ac_ext
12195 LIBS
=$ac_check_soname_save_LIBS
12197 if test "x$ac_cv_lib_soname_hal" = "x"; then
12198 { echo "$as_me:$LINENO: result: not found" >&5
12199 echo "${ECHO_T}not found" >&6; }
12202 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12203 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12205 cat >>confdefs.h
<<_ACEOF
12206 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12209 HALINCL
="$ac_hal_cflags"
12215 CPPFLAGS
="$ac_save_CPPFLAGS"
12217 if test "x$ac_cv_lib_soname_hal" = "x"; then
12218 case "x$with_hal" in
12219 x
) wine_notices
="$wine_notices|libhal development files not found, no dynamic device support." ;;
12221 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12222 This is an error since --with-hal was requested." >&5
12223 echo "$as_me: error: libhal development files not found, no dynamic device support.
12224 This is an error since --with-hal was requested." >&2;}
12225 { (exit 1); exit 1; }; } ;;
12231 if test "$ac_cv_header_ncurses_h" = "yes"
12233 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12234 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12235 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 ac_check_soname_save_LIBS
=$LIBS
12239 LIBS
="-lncurses $LIBS"
12240 cat >conftest.
$ac_ext <<_ACEOF
12243 cat confdefs.h
>>conftest.
$ac_ext
12244 cat >>conftest.
$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12262 rm -f conftest.
$ac_objext conftest
$ac_exeext
12263 if { (ac_try
="$ac_link"
12264 case "(($ac_try" in
12265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12266 *) ac_try_echo=$ac_try;;
12268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12269 (eval "$ac_link") 2>conftest.er1
12271 grep -v '^ *+' conftest.er1 >conftest.err
12273 cat conftest.err >&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } && {
12276 test -z "$ac_c_werror_flag" ||
12277 test ! -s conftest.err
12278 } && test -s conftest$ac_exeext &&
12279 $as_test_x conftest$ac_exeext; then
12282 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'` ;;
12283 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_soname_save_LIBS
12296 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12297 { echo "$as_me:$LINENO: result: not found" >&5
12298 echo "${ECHO_T}not found" >&6; }
12301 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12302 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12304 cat >>confdefs.h <<_ACEOF
12305 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12308 CURSESLIBS="-lncurses"
12311 elif test "$ac_cv_header_curses_h" = "yes"
12313 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12314 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12315 if test "${ac_cv_lib_soname_curses+set}" = set; then
12316 echo $ECHO_N "(cached) $ECHO_C" >&6
12318 ac_check_soname_save_LIBS=$LIBS
12319 LIBS="-lcurses $LIBS"
12320 cat >conftest.$ac_ext <<_ACEOF
12323 cat confdefs.h >>conftest.$ac_ext
12324 cat >>conftest.$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12342 rm -f conftest.$ac_objext conftest$ac_exeext
12343 if { (ac_try="$ac_link"
12344 case "(($ac_try" in
12345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12346 *) ac_try_echo
=$ac_try;;
12348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12349 (eval "$ac_link") 2>conftest.er1
12351 grep -v '^ *+' conftest.er1
>conftest.err
12353 cat conftest.err
>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); } && {
12356 test -z "$ac_c_werror_flag" ||
12357 test ! -s conftest.err
12358 } && test -s conftest
$ac_exeext &&
12359 $as_test_x conftest
$ac_exeext; then
12362 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'` ;;
12363 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12366 echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.
$ac_ext >&5
12372 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12373 conftest
$ac_exeext conftest.
$ac_ext
12374 LIBS
=$ac_check_soname_save_LIBS
12376 if test "x$ac_cv_lib_soname_curses" = "x"; then
12377 { echo "$as_me:$LINENO: result: not found" >&5
12378 echo "${ECHO_T}not found" >&6; }
12381 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12382 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12384 cat >>confdefs.h
<<_ACEOF
12385 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12388 CURSESLIBS
="-lcurses"
12392 ac_save_LIBS
="$LIBS"
12393 LIBS
="$LIBS $CURSESLIBS"
12395 for ac_func
in mousemask
12397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12400 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12403 cat >conftest.
$ac_ext <<_ACEOF
12406 cat confdefs.h
>>conftest.
$ac_ext
12407 cat >>conftest.
$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12411 #define $ac_func innocuous_$ac_func
12413 /* System header to define __stub macros and hopefully few prototypes,
12414 which can conflict with char $ac_func (); below.
12415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12416 <limits.h> exists even on freestanding compilers. */
12419 # include <limits.h>
12421 # include <assert.h>
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12433 /* The GNU C library defines this for functions which it implements
12434 to always fail with ENOSYS. Some functions are actually named
12435 something starting with __ and the normal name is an alias. */
12436 #if defined __stub_$ac_func || defined __stub___$ac_func
12443 return $ac_func ();
12448 rm -f conftest.
$ac_objext conftest
$ac_exeext
12449 if { (ac_try
="$ac_link"
12450 case "(($ac_try" in
12451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12452 *) ac_try_echo=$ac_try;;
12454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12455 (eval "$ac_link") 2>conftest.er1
12457 grep -v '^ *+' conftest.er1 >conftest.err
12459 cat conftest.err >&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } && {
12462 test -z "$ac_c_werror_flag" ||
12463 test ! -s conftest.err
12464 } && test -s conftest$ac_exeext &&
12465 $as_test_x conftest$ac_exeext; then
12466 eval "$as_ac_var=yes"
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12471 eval "$as_ac_var=no"
12474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12475 conftest$ac_exeext conftest.$ac_ext
12477 ac_res=`eval echo '${'$as_ac_var'}'`
12478 { echo "$as_me:$LINENO: result: $ac_res" >&5
12479 echo "${ECHO_T}$ac_res" >&6; }
12480 if test `eval echo '${'$as_ac_var'}'` = yes; then
12481 cat >>confdefs.h <<_ACEOF
12482 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12488 LIBS="$ac_save_LIBS"
12489 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12490 case "x$with_curses" in
12491 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12493 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12494 This is an error since --with-curses was requested." >&5
12495 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12496 This is an error since --with-curses was requested." >&2;}
12497 { (exit 1); exit 1; }; } ;;
12502 # Extract the first word of "sane-config", so it can be a program name with args.
12503 set dummy sane-config; ac_word=$2
12504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12506 if test "${ac_cv_prog_sane_devel+set}" = set; then
12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12509 if test -n "$sane_devel"; then
12510 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12513 for as_dir in $PATH
12516 test -z "$as_dir" && as_dir=.
12517 for ac_exec_ext in '' $ac_executable_extensions; do
12518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12519 ac_cv_prog_sane_devel="sane-config"
12520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12527 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12530 sane_devel=$ac_cv_prog_sane_devel
12531 if test -n "$sane_devel"; then
12532 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12533 echo "${ECHO_T}$sane_devel" >&6; }
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12540 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12542 ac_sane_incl="`$sane_devel --cflags`"
12543 ac_save_CPPFLAGS="$CPPFLAGS"
12544 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12545 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12546 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12547 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12548 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12552 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12554 # Is the header compilable?
12555 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12556 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12557 cat >conftest.$ac_ext <<_ACEOF
12560 cat confdefs.h >>conftest.$ac_ext
12561 cat >>conftest.$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12563 $ac_includes_default
12564 #include <sane/sane.h>
12566 rm -f conftest.$ac_objext
12567 if { (ac_try="$ac_compile"
12568 case "(($ac_try" in
12569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12570 *) ac_try_echo
=$ac_try;;
12572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12573 (eval "$ac_compile") 2>conftest.er1
12575 grep -v '^ *+' conftest.er1
>conftest.err
12577 cat conftest.err
>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } && {
12580 test -z "$ac_c_werror_flag" ||
12581 test ! -s conftest.err
12582 } && test -s conftest.
$ac_objext; then
12583 ac_header_compiler
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 ac_header_compiler
=no
12591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12593 echo "${ECHO_T}$ac_header_compiler" >&6; }
12595 # Is the header present?
12596 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12597 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12598 cat >conftest.
$ac_ext <<_ACEOF
12601 cat confdefs.h
>>conftest.
$ac_ext
12602 cat >>conftest.
$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12604 #include <sane/sane.h>
12606 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12607 case "(($ac_try" in
12608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12609 *) ac_try_echo=$ac_try;;
12611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12614 grep -v '^ *+' conftest.er1 >conftest.err
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } >/dev/null && {
12619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12620 test ! -s conftest.err
12622 ac_header_preproc=yes
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ac_header_preproc=no
12630 rm -f conftest.err conftest.$ac_ext
12631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12632 echo "${ECHO_T}$ac_header_preproc" >&6; }
12634 # So? What about this header?
12635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12637 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12638 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12640 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12641 ac_header_preproc=yes
12644 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12645 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12646 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12647 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12649 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12650 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12651 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12652 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12653 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12654 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12655 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12657 ## ------------------------------------ ##
12658 ## Report this to wine-devel@winehq.org ##
12659 ## ------------------------------------ ##
12661 ) | sed "s/^/$as_me: WARNING: /" >&2
12664 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12665 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12666 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12667 echo $ECHO_N "(cached) $ECHO_C" >&6
12669 ac_cv_header_sane_sane_h=$ac_header_preproc
12671 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12672 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12675 if test $ac_cv_header_sane_sane_h = yes; then
12676 { echo "$as_me:$LINENO: checking for -lsane" >&5
12677 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12678 if test "${ac_cv_lib_soname_sane+set}" = set; then
12679 echo $ECHO_N "(cached) $ECHO_C" >&6
12681 ac_check_soname_save_LIBS=$LIBS
12682 LIBS="-lsane $LIBS"
12683 cat >conftest.$ac_ext <<_ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12700 return sane_init ();
12705 rm -f conftest.$ac_objext conftest$ac_exeext
12706 if { (ac_try="$ac_link"
12707 case "(($ac_try" in
12708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12709 *) ac_try_echo
=$ac_try;;
12711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12712 (eval "$ac_link") 2>conftest.er1
12714 grep -v '^ *+' conftest.er1
>conftest.err
12716 cat conftest.err
>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } && {
12719 test -z "$ac_c_werror_flag" ||
12720 test ! -s conftest.err
12721 } && test -s conftest
$ac_exeext &&
12722 $as_test_x conftest
$ac_exeext; then
12725 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'` ;;
12726 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.
$ac_ext >&5
12735 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12736 conftest
$ac_exeext conftest.
$ac_ext
12737 LIBS
=$ac_check_soname_save_LIBS
12739 if test "x$ac_cv_lib_soname_sane" = "x"; then
12740 { echo "$as_me:$LINENO: result: not found" >&5
12741 echo "${ECHO_T}not found" >&6; }
12744 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12745 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12747 cat >>confdefs.h
<<_ACEOF
12748 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12751 SANEINCL
="$ac_sane_incl"
12758 CPPFLAGS
="$ac_save_CPPFLAGS"
12760 if test "x$ac_cv_lib_soname_sane" = "x"; then
12761 case "x$with_sane" in
12762 x
) wine_notices
="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12764 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12765 This is an error since --with-sane was requested." >&5
12766 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12767 This is an error since --with-sane was requested." >&2;}
12768 { (exit 1); exit 1; }; } ;;
12773 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12774 set dummy gphoto2-config
; ac_word
=$2
12775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12777 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 if test -n "$gphoto2_devel"; then
12781 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12784 for as_dir
in $PATH
12787 test -z "$as_dir" && as_dir
=.
12788 for ac_exec_ext
in '' $ac_executable_extensions; do
12789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12798 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12801 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12802 if test -n "$gphoto2_devel"; then
12803 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12804 echo "${ECHO_T}$gphoto2_devel" >&6; }
12806 { echo "$as_me:$LINENO: result: no" >&5
12807 echo "${ECHO_T}no" >&6; }
12811 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12812 set dummy gphoto2-port-config
; ac_word
=$2
12813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12815 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12816 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 if test -n "$gphoto2port_devel"; then
12819 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12822 for as_dir
in $PATH
12825 test -z "$as_dir" && as_dir
=.
12826 for ac_exec_ext
in '' $ac_executable_extensions; do
12827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12828 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12836 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12839 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12840 if test -n "$gphoto2port_devel"; then
12841 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12842 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12844 { echo "$as_me:$LINENO: result: no" >&5
12845 echo "${ECHO_T}no" >&6; }
12849 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12851 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12853 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12856 -L/usr
/lib|
-L/usr
/lib64
) ;;
12857 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12860 ac_save_CPPFLAGS
="$CPPFLAGS"
12861 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12862 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12863 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12864 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12865 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12869 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12871 # Is the header compilable?
12872 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12873 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12874 cat >conftest.
$ac_ext <<_ACEOF
12877 cat confdefs.h
>>conftest.
$ac_ext
12878 cat >>conftest.
$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 $ac_includes_default
12881 #include <gphoto2-camera.h>
12883 rm -f conftest.
$ac_objext
12884 if { (ac_try
="$ac_compile"
12885 case "(($ac_try" in
12886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12887 *) ac_try_echo=$ac_try;;
12889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12890 (eval "$ac_compile") 2>conftest.er1
12892 grep -v '^ *+' conftest.er1 >conftest.err
12894 cat conftest.err >&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); } && {
12897 test -z "$ac_c_werror_flag" ||
12898 test ! -s conftest.err
12899 } && test -s conftest.$ac_objext; then
12900 ac_header_compiler=yes
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12905 ac_header_compiler=no
12908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12909 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12910 echo "${ECHO_T}$ac_header_compiler" >&6; }
12912 # Is the header present?
12913 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12914 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12915 cat >conftest.$ac_ext <<_ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 #include <gphoto2-camera.h>
12923 if { (ac_try="$ac_cpp conftest.$ac_ext"
12924 case "(($ac_try" in
12925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12926 *) ac_try_echo
=$ac_try;;
12928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12931 grep -v '^ *+' conftest.er1
>conftest.err
12933 cat conftest.err
>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } >/dev
/null
&& {
12936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12937 test ! -s conftest.err
12939 ac_header_preproc
=yes
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.
$ac_ext >&5
12944 ac_header_preproc
=no
12947 rm -f conftest.err conftest.
$ac_ext
12948 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12949 echo "${ECHO_T}$ac_header_preproc" >&6; }
12951 # So? What about this header?
12952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12954 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12955 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12957 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12958 ac_header_preproc
=yes
12961 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12962 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12963 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12964 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12965 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12966 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12967 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12968 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12970 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12971 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12972 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12974 ## ------------------------------------ ##
12975 ## Report this to wine-devel@winehq.org ##
12976 ## ------------------------------------ ##
12978 ) |
sed "s/^/$as_me: WARNING: /" >&2
12981 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12982 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12983 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12988 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12989 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12992 if test $ac_cv_header_gphoto2_camera_h = yes; then
12993 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12994 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12995 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12998 ac_check_lib_save_LIBS
=$LIBS
12999 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
13000 cat >conftest.
$ac_ext <<_ACEOF
13003 cat confdefs.h
>>conftest.
$ac_ext
13004 cat >>conftest.
$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13007 /* Override any GCC internal prototype to avoid an error.
13008 Use char because int might match the return type of a GCC
13009 builtin and then its argument prototype would still apply. */
13013 char gp_camera_new ();
13017 return gp_camera_new ();
13022 rm -f conftest.
$ac_objext conftest
$ac_exeext
13023 if { (ac_try
="$ac_link"
13024 case "(($ac_try" in
13025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13026 *) ac_try_echo=$ac_try;;
13028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13029 (eval "$ac_link") 2>conftest.er1
13031 grep -v '^ *+' conftest.er1 >conftest.err
13033 cat conftest.err >&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } && {
13036 test -z "$ac_c_werror_flag" ||
13037 test ! -s conftest.err
13038 } && test -s conftest$ac_exeext &&
13039 $as_test_x conftest$ac_exeext; then
13040 ac_cv_lib_gphoto2_gp_camera_new=yes
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.$ac_ext >&5
13045 ac_cv_lib_gphoto2_gp_camera_new=no
13048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13049 conftest$ac_exeext conftest.$ac_ext
13050 LIBS=$ac_check_lib_save_LIBS
13052 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13053 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13054 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13056 cat >>confdefs.h <<\_ACEOF
13057 #define HAVE_GPHOTO2 1
13060 GPHOTO2LIBS="$ac_gphoto2_libs"
13062 GPHOTO2INCL="$ac_gphoto2_incl"
13069 CPPFLAGS="$ac_save_CPPFLAGS"
13071 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13072 case "x$with_gphoto" in
13073 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13075 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13076 This is an error since --with-gphoto was requested." >&5
13077 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13078 This is an error since --with-gphoto was requested." >&2;}
13079 { (exit 1); exit 1; }; } ;;
13087 if test "$ac_cv_header_resolv_h" = "yes"
13089 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13090 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13091 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 ac_check_lib_save_LIBS=$LIBS
13095 LIBS="-lresolv $LIBS"
13096 cat >conftest.$ac_ext <<_ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13113 return res_query ();
13118 rm -f conftest.$ac_objext conftest$ac_exeext
13119 if { (ac_try="$ac_link"
13120 case "(($ac_try" in
13121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13122 *) ac_try_echo
=$ac_try;;
13124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13125 (eval "$ac_link") 2>conftest.er1
13127 grep -v '^ *+' conftest.er1
>conftest.err
13129 cat conftest.err
>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } && {
13132 test -z "$ac_c_werror_flag" ||
13133 test ! -s conftest.err
13134 } && test -s conftest
$ac_exeext &&
13135 $as_test_x conftest
$ac_exeext; then
13136 ac_cv_lib_resolv_res_query
=yes
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.
$ac_ext >&5
13141 ac_cv_lib_resolv_res_query
=no
13144 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13145 conftest
$ac_exeext conftest.
$ac_ext
13146 LIBS
=$ac_check_lib_save_LIBS
13148 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13149 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13150 if test $ac_cv_lib_resolv_res_query = yes; then
13152 cat >>confdefs.h
<<\_ACEOF
13153 #define HAVE_RESOLV 1
13156 RESOLVLIBS
="-lresolv"
13163 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13165 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13166 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13167 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13170 ac_check_lib_save_LIBS
=$LIBS
13171 LIBS
="-llcms $LIBS"
13172 cat >conftest.
$ac_ext <<_ACEOF
13175 cat confdefs.h
>>conftest.
$ac_ext
13176 cat >>conftest.
$ac_ext <<_ACEOF
13177 /* end confdefs.h. */
13179 /* Override any GCC internal prototype to avoid an error.
13180 Use char because int might match the return type of a GCC
13181 builtin and then its argument prototype would still apply. */
13185 char cmsOpenProfileFromFile ();
13189 return cmsOpenProfileFromFile ();
13194 rm -f conftest.
$ac_objext conftest
$ac_exeext
13195 if { (ac_try
="$ac_link"
13196 case "(($ac_try" in
13197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13198 *) ac_try_echo=$ac_try;;
13200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13201 (eval "$ac_link") 2>conftest.er1
13203 grep -v '^ *+' conftest.er1 >conftest.err
13205 cat conftest.err >&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); } && {
13208 test -z "$ac_c_werror_flag" ||
13209 test ! -s conftest.err
13210 } && test -s conftest$ac_exeext &&
13211 $as_test_x conftest$ac_exeext; then
13212 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13214 echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.$ac_ext >&5
13217 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13221 conftest$ac_exeext conftest.$ac_ext
13222 LIBS=$ac_check_lib_save_LIBS
13224 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13225 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13226 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13228 cat >>confdefs.h <<\_ACEOF
13229 #define HAVE_LCMS 1
13236 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13237 case "x$with_cms" in
13238 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13240 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13241 This is an error since --with-cms was requested." >&5
13242 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13243 This is an error since --with-cms was requested." >&2;}
13244 { (exit 1); exit 1; }; } ;;
13251 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13253 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13254 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13255 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13256 echo $ECHO_N "(cached) $ECHO_C" >&6
13258 ac_check_lib_save_LIBS=$LIBS
13259 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13260 cat >conftest.$ac_ext <<_ACEOF
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13267 /* Override any GCC internal prototype to avoid an error.
13268 Use char because int might match the return type of a GCC
13269 builtin and then its argument prototype would still apply. */
13273 char ldap_initialize ();
13277 return ldap_initialize ();
13282 rm -f conftest.$ac_objext conftest$ac_exeext
13283 if { (ac_try="$ac_link"
13284 case "(($ac_try" in
13285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13286 *) ac_try_echo
=$ac_try;;
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_link") 2>conftest.er1
13291 grep -v '^ *+' conftest.er1
>conftest.err
13293 cat conftest.err
>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } && {
13296 test -z "$ac_c_werror_flag" ||
13297 test ! -s conftest.err
13298 } && test -s conftest
$ac_exeext &&
13299 $as_test_x conftest
$ac_exeext; then
13300 ac_cv_lib_ldap_r_ldap_initialize
=yes
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.
$ac_ext >&5
13305 ac_cv_lib_ldap_r_ldap_initialize
=no
13308 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13309 conftest
$ac_exeext conftest.
$ac_ext
13310 LIBS
=$ac_check_lib_save_LIBS
13312 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13313 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13314 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13315 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13316 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13317 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13318 echo $ECHO_N "(cached) $ECHO_C" >&6
13320 ac_check_lib_save_LIBS
=$LIBS
13321 LIBS
="-llber $LIBPTHREAD $LIBS"
13322 cat >conftest.
$ac_ext <<_ACEOF
13325 cat confdefs.h
>>conftest.
$ac_ext
13326 cat >>conftest.
$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13339 return ber_init ();
13344 rm -f conftest.
$ac_objext conftest
$ac_exeext
13345 if { (ac_try
="$ac_link"
13346 case "(($ac_try" in
13347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13348 *) ac_try_echo=$ac_try;;
13350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13351 (eval "$ac_link") 2>conftest.er1
13353 grep -v '^ *+' conftest.er1 >conftest.err
13355 cat conftest.err >&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } && {
13358 test -z "$ac_c_werror_flag" ||
13359 test ! -s conftest.err
13360 } && test -s conftest$ac_exeext &&
13361 $as_test_x conftest$ac_exeext; then
13362 ac_cv_lib_lber_ber_init=yes
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13367 ac_cv_lib_lber_ber_init=no
13370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13375 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13376 if test $ac_cv_lib_lber_ber_init = yes; then
13378 cat >>confdefs.h <<\_ACEOF
13379 #define HAVE_LDAP 1
13382 LDAPLIBS="-lldap_r -llber"
13387 ac_wine_check_funcs_save_LIBS="$LIBS"
13388 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13398 ldap_count_references \
13399 ldap_first_reference \
13400 ldap_next_reference \
13401 ldap_parse_reference \
13402 ldap_parse_sort_control \
13403 ldap_parse_sortresponse_control \
13404 ldap_parse_vlv_control \
13405 ldap_parse_vlvresponse_control
13407 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 cat >conftest.$ac_ext <<_ACEOF
13416 cat confdefs.h >>conftest.$ac_ext
13417 cat >>conftest.$ac_ext <<_ACEOF
13418 /* end confdefs.h. */
13419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13421 #define $ac_func innocuous_$ac_func
13423 /* System header to define __stub macros and hopefully few prototypes,
13424 which can conflict with char $ac_func (); below.
13425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13426 <limits.h> exists even on freestanding compilers. */
13429 # include <limits.h>
13431 # include <assert.h>
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13443 /* The GNU C library defines this for functions which it implements
13444 to always fail with ENOSYS. Some functions are actually named
13445 something starting with __ and the normal name is an alias. */
13446 #if defined __stub_$ac_func || defined __stub___$ac_func
13453 return $ac_func ();
13458 rm -f conftest.$ac_objext conftest$ac_exeext
13459 if { (ac_try="$ac_link"
13460 case "(($ac_try" in
13461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13462 *) ac_try_echo
=$ac_try;;
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465 (eval "$ac_link") 2>conftest.er1
13467 grep -v '^ *+' conftest.er1
>conftest.err
13469 cat conftest.err
>&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } && {
13472 test -z "$ac_c_werror_flag" ||
13473 test ! -s conftest.err
13474 } && test -s conftest
$ac_exeext &&
13475 $as_test_x conftest
$ac_exeext; then
13476 eval "$as_ac_var=yes"
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.
$ac_ext >&5
13481 eval "$as_ac_var=no"
13484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13485 conftest
$ac_exeext conftest.
$ac_ext
13487 ac_res
=`eval echo '${'$as_ac_var'}'`
13488 { echo "$as_me:$LINENO: result: $ac_res" >&5
13489 echo "${ECHO_T}$ac_res" >&6; }
13490 if test `eval echo '${'$as_ac_var'}'` = yes; then
13491 cat >>confdefs.h
<<_ACEOF
13492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13498 LIBS
="$ac_wine_check_funcs_save_LIBS"
13500 if test "x$LDAPLIBS" = "x"; then
13501 case "x$with_ldap" in
13502 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13504 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13505 This is an error since --with-ldap was requested." >&5
13506 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13507 This is an error since --with-ldap was requested." >&2;}
13508 { (exit 1); exit 1; }; } ;;
13513 for ac_prog
in freetype-config freetype2-config
13515 # Extract the first word of "$ac_prog", so it can be a program name with args.
13516 set dummy
$ac_prog; ac_word
=$2
13517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13519 if test "${ac_cv_prog_ft_devel+set}" = set; then
13520 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 if test -n "$ft_devel"; then
13523 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13526 for as_dir
in $PATH
13529 test -z "$as_dir" && as_dir
=.
13530 for ac_exec_ext
in '' $ac_executable_extensions; do
13531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13532 ac_cv_prog_ft_devel
="$ac_prog"
13533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13542 ft_devel
=$ac_cv_prog_ft_devel
13543 if test -n "$ft_devel"; then
13544 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13545 echo "${ECHO_T}$ft_devel" >&6; }
13547 { echo "$as_me:$LINENO: result: no" >&5
13548 echo "${ECHO_T}no" >&6; }
13552 test -n "$ft_devel" && break
13554 test -n "$ft_devel" || ft_devel
="false"
13556 if test "$ft_devel" != "false"
13558 ac_freetype_libs
=`$ft_devel --libs`
13559 ac_freetype_incl
=`$ft_devel --cflags`
13560 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13561 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13562 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 ac_check_soname_save_LIBS
=$LIBS
13566 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13567 cat >conftest.
$ac_ext <<_ACEOF
13570 cat confdefs.h
>>conftest.
$ac_ext
13571 cat >>conftest.
$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13574 /* Override any GCC internal prototype to avoid an error.
13575 Use char because int might match the return type of a GCC
13576 builtin and then its argument prototype would still apply. */
13580 char FT_Init_FreeType ();
13584 return FT_Init_FreeType ();
13589 rm -f conftest.
$ac_objext conftest
$ac_exeext
13590 if { (ac_try
="$ac_link"
13591 case "(($ac_try" in
13592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13593 *) ac_try_echo=$ac_try;;
13595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13596 (eval "$ac_link") 2>conftest.er1
13598 grep -v '^ *+' conftest.er1 >conftest.err
13600 cat conftest.err >&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); } && {
13603 test -z "$ac_c_werror_flag" ||
13604 test ! -s conftest.err
13605 } && test -s conftest$ac_exeext &&
13606 $as_test_x conftest$ac_exeext; then
13609 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'` ;;
13610 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.$ac_ext >&5
13619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_soname_save_LIBS
13623 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13624 { echo "$as_me:$LINENO: result: not found" >&5
13625 echo "${ECHO_T}not found" >&6; }
13628 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13629 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13631 cat >>confdefs.h <<_ACEOF
13632 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13638 if test "$ft_lib" = "yes"
13640 ac_save_CPPFLAGS="$CPPFLAGS"
13641 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13654 for ac_header in ft2build.h \
13655 freetype/freetype.h \
13656 freetype/ftglyph.h \
13657 freetype/fttypes.h \
13658 freetype/tttables.h \
13659 freetype/ftnames.h \
13660 freetype/ftsnames.h \
13661 freetype/ttnameid.h \
13662 freetype/ftoutln.h \
13663 freetype/ftwinfnt.h \
13664 freetype/ftmodapi.h \
13665 freetype/internal/sfnt.h
13667 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13673 cat >conftest.$ac_ext <<_ACEOF
13676 cat confdefs.h >>conftest.$ac_ext
13677 cat >>conftest.$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 #ifdef HAVE_FT2BUILD_H
13680 # include <ft2build.h>
13683 #include <$ac_header>
13685 rm -f conftest.$ac_objext
13686 if { (ac_try="$ac_compile"
13687 case "(($ac_try" in
13688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13689 *) ac_try_echo
=$ac_try;;
13691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_compile") 2>conftest.er1
13694 grep -v '^ *+' conftest.er1
>conftest.err
13696 cat conftest.err
>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && {
13699 test -z "$ac_c_werror_flag" ||
13700 test ! -s conftest.err
13701 } && test -s conftest.
$ac_objext; then
13702 eval "$as_ac_Header=yes"
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.
$ac_ext >&5
13707 eval "$as_ac_Header=no"
13710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13712 ac_res
=`eval echo '${'$as_ac_Header'}'`
13713 { echo "$as_me:$LINENO: result: $ac_res" >&5
13714 echo "${ECHO_T}$ac_res" >&6; }
13715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13716 cat >>confdefs.h
<<_ACEOF
13717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13724 cat >conftest.
$ac_ext <<_ACEOF
13727 cat confdefs.h
>>conftest.
$ac_ext
13728 cat >>conftest.
$ac_ext <<_ACEOF
13729 /* end confdefs.h. */
13730 #include <ft2build.h>
13731 #include <freetype/fttrigon.h>
13733 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13734 case "(($ac_try" in
13735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13736 *) ac_try_echo=$ac_try;;
13738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13741 grep -v '^ *+' conftest.er1 >conftest.err
13743 cat conftest.err >&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } >/dev/null && {
13746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13747 test ! -s conftest.err
13750 cat >>confdefs.h <<\_ACEOF
13751 #define HAVE_FREETYPE_FTTRIGON_H 1
13754 wine_cv_fttrigon=yes
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13759 wine_cv_fttrigon=no
13762 rm -f conftest.err conftest.$ac_ext
13763 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13764 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13765 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13768 cat >conftest.$ac_ext <<_ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 #include <freetype/ftmodapi.h>
13776 typedef FT_TrueTypeEngineType ac__type_new_;
13780 if ((ac__type_new_ *) 0)
13782 if (sizeof (ac__type_new_))
13788 rm -f conftest.$ac_objext
13789 if { (ac_try="$ac_compile"
13790 case "(($ac_try" in
13791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13792 *) ac_try_echo
=$ac_try;;
13794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13795 (eval "$ac_compile") 2>conftest.er1
13797 grep -v '^ *+' conftest.er1
>conftest.err
13799 cat conftest.err
>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } && {
13802 test -z "$ac_c_werror_flag" ||
13803 test ! -s conftest.err
13804 } && test -s conftest.
$ac_objext; then
13805 ac_cv_type_FT_TrueTypeEngineType
=yes
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.
$ac_ext >&5
13810 ac_cv_type_FT_TrueTypeEngineType
=no
13813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13815 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13816 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13817 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13819 cat >>confdefs.h
<<_ACEOF
13820 #define HAVE_FT_TRUETYPEENGINETYPE 1
13826 ac_save_CFLAGS
="$CFLAGS"
13827 CFLAGS
="$CFLAGS $ac_freetype_libs"
13829 for ac_func
in FT_Load_Sfnt_Table
13831 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13834 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13835 echo $ECHO_N "(cached) $ECHO_C" >&6
13837 cat >conftest.
$ac_ext <<_ACEOF
13840 cat confdefs.h
>>conftest.
$ac_ext
13841 cat >>conftest.
$ac_ext <<_ACEOF
13842 /* end confdefs.h. */
13843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13845 #define $ac_func innocuous_$ac_func
13847 /* System header to define __stub macros and hopefully few prototypes,
13848 which can conflict with char $ac_func (); below.
13849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13850 <limits.h> exists even on freestanding compilers. */
13853 # include <limits.h>
13855 # include <assert.h>
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13867 /* The GNU C library defines this for functions which it implements
13868 to always fail with ENOSYS. Some functions are actually named
13869 something starting with __ and the normal name is an alias. */
13870 #if defined __stub_$ac_func || defined __stub___$ac_func
13877 return $ac_func ();
13882 rm -f conftest.
$ac_objext conftest
$ac_exeext
13883 if { (ac_try
="$ac_link"
13884 case "(($ac_try" in
13885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13886 *) ac_try_echo=$ac_try;;
13888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13889 (eval "$ac_link") 2>conftest.er1
13891 grep -v '^ *+' conftest.er1 >conftest.err
13893 cat conftest.err >&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } && {
13896 test -z "$ac_c_werror_flag" ||
13897 test ! -s conftest.err
13898 } && test -s conftest$ac_exeext &&
13899 $as_test_x conftest$ac_exeext; then
13900 eval "$as_ac_var=yes"
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.$ac_ext >&5
13905 eval "$as_ac_var=no"
13908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13909 conftest$ac_exeext conftest.$ac_ext
13911 ac_res=`eval echo '${'$as_ac_var'}'`
13912 { echo "$as_me:$LINENO: result: $ac_res" >&5
13913 echo "${ECHO_T}$ac_res" >&6; }
13914 if test `eval echo '${'$as_ac_var'}'` = yes; then
13915 cat >>confdefs.h <<_ACEOF
13916 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13922 CFLAGS="$ac_save_CFLAGS"
13923 CPPFLAGS="$ac_save_CPPFLAGS"
13924 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13927 cat >>confdefs.h <<\_ACEOF
13928 #define HAVE_FREETYPE 1
13931 FREETYPELIBS="$ac_freetype_libs"
13933 FREETYPEINCL="$ac_freetype_incl"
13939 if test "$FONTFORGE" = "false"
13941 wine_warnings="$wine_warnings|FontForge is missing.
13942 Fonts will not be built. Dialog text may be invisible or unaligned."
13943 elif test "x$FREETYPELIBS" = "x"
13945 wine_warnings="$wine_warnings|FreeType development files not found.
13946 Fonts will not be built. Dialog text may be invisible or unaligned."
13948 FONTSSUBDIRS="fonts"
13952 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13953 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13954 if test "${ac_cv_c_ppdev+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13957 cat >conftest.$ac_ext <<_ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #include <linux/ppdev.h>
13967 ioctl (1,PPCLAIM,0)
13972 rm -f conftest.$ac_objext
13973 if { (ac_try="$ac_compile"
13974 case "(($ac_try" in
13975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13976 *) ac_try_echo
=$ac_try;;
13978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13979 (eval "$ac_compile") 2>conftest.er1
13981 grep -v '^ *+' conftest.er1
>conftest.err
13983 cat conftest.err
>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } && {
13986 test -z "$ac_c_werror_flag" ||
13987 test ! -s conftest.err
13988 } && test -s conftest.
$ac_objext; then
13989 ac_cv_c_ppdev
="yes"
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.
$ac_ext >&5
13997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13999 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14000 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14001 if test "$ac_cv_c_ppdev" = "yes"
14004 cat >>confdefs.h
<<\_ACEOF
14005 #define HAVE_PPDEV 1
14010 { echo "$as_me:$LINENO: checking for va_copy" >&5
14011 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14012 if test "${ac_cv_c_va_copy+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 cat >conftest.
$ac_ext <<_ACEOF
14018 cat confdefs.h
>>conftest.
$ac_ext
14019 cat >>conftest.
$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14021 #include <stdarg.h>
14025 va_list ap1, ap2; va_copy(ap1,ap2);
14030 rm -f conftest.
$ac_objext conftest
$ac_exeext
14031 if { (ac_try
="$ac_link"
14032 case "(($ac_try" in
14033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14034 *) ac_try_echo=$ac_try;;
14036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14037 (eval "$ac_link") 2>conftest.er1
14039 grep -v '^ *+' conftest.er1 >conftest.err
14041 cat conftest.err >&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); } && {
14044 test -z "$ac_c_werror_flag" ||
14045 test ! -s conftest.err
14046 } && test -s conftest$ac_exeext &&
14047 $as_test_x conftest$ac_exeext; then
14048 ac_cv_c_va_copy="yes"
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14053 ac_cv_c_va_copy="no"
14056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14057 conftest$ac_exeext conftest.$ac_ext
14060 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14061 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14062 if test "$ac_cv_c_va_copy" = "yes"
14065 cat >>confdefs.h <<\_ACEOF
14066 #define HAVE_VA_COPY 1
14070 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14071 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14072 if test "${ac_cv_c___va_copy+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14075 cat >conftest.$ac_ext <<_ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 #include <stdarg.h>
14085 va_list ap1, ap2; __va_copy(ap1,ap2);
14090 rm -f conftest.$ac_objext conftest$ac_exeext
14091 if { (ac_try="$ac_link"
14092 case "(($ac_try" in
14093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14094 *) ac_try_echo
=$ac_try;;
14096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14097 (eval "$ac_link") 2>conftest.er1
14099 grep -v '^ *+' conftest.er1
>conftest.err
14101 cat conftest.err
>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); } && {
14104 test -z "$ac_c_werror_flag" ||
14105 test ! -s conftest.err
14106 } && test -s conftest
$ac_exeext &&
14107 $as_test_x conftest
$ac_exeext; then
14108 ac_cv_c___va_copy
="yes"
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.
$ac_ext >&5
14113 ac_cv_c___va_copy
="no"
14116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14117 conftest
$ac_exeext conftest.
$ac_ext
14120 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14121 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14122 if test "$ac_cv_c___va_copy" = "yes"
14125 cat >>confdefs.h
<<\_ACEOF
14126 #define HAVE___VA_COPY 1
14131 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14132 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14133 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 cat >conftest.
$ac_ext <<_ACEOF
14139 cat confdefs.h
>>conftest.
$ac_ext
14140 cat >>conftest.
$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #include <setjmp.h>
14147 sigsetjmp( buf, 1 );
14148 siglongjmp( buf, 1 );
14153 rm -f conftest.
$ac_objext conftest
$ac_exeext
14154 if { (ac_try
="$ac_link"
14155 case "(($ac_try" in
14156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14157 *) ac_try_echo=$ac_try;;
14159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14160 (eval "$ac_link") 2>conftest.er1
14162 grep -v '^ *+' conftest.er1 >conftest.err
14164 cat conftest.err >&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } && {
14167 test -z "$ac_c_werror_flag" ||
14168 test ! -s conftest.err
14169 } && test -s conftest$ac_exeext &&
14170 $as_test_x conftest$ac_exeext; then
14171 ac_cv_c_sigsetjmp="yes"
14173 echo "$as_me: failed program was:" >&5
14174 sed 's/^/| /' conftest.$ac_ext >&5
14176 ac_cv_c_sigsetjmp="no"
14179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14180 conftest$ac_exeext conftest.$ac_ext
14183 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14184 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14185 if test "$ac_cv_c_sigsetjmp" = "yes"
14188 cat >>confdefs.h <<\_ACEOF
14189 #define HAVE_SIGSETJMP 1
14194 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14195 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14196 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 cat >conftest.$ac_ext <<_ACEOF
14202 cat confdefs.h >>conftest.$ac_ext
14203 cat >>conftest.$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14205 #define _GNU_SOURCE
14206 #include <pthread.h>
14208 typedef pthread_rwlock_t ac__type_new_;
14212 if ((ac__type_new_ *) 0)
14214 if (sizeof (ac__type_new_))
14220 rm -f conftest.$ac_objext
14221 if { (ac_try="$ac_compile"
14222 case "(($ac_try" in
14223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14224 *) ac_try_echo
=$ac_try;;
14226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14227 (eval "$ac_compile") 2>conftest.er1
14229 grep -v '^ *+' conftest.er1
>conftest.err
14231 cat conftest.err
>&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); } && {
14234 test -z "$ac_c_werror_flag" ||
14235 test ! -s conftest.err
14236 } && test -s conftest.
$ac_objext; then
14237 ac_cv_type_pthread_rwlock_t
=yes
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.
$ac_ext >&5
14242 ac_cv_type_pthread_rwlock_t
=no
14245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14247 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14248 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14249 if test $ac_cv_type_pthread_rwlock_t = yes; then
14251 cat >>confdefs.h
<<_ACEOF
14252 #define HAVE_PTHREAD_RWLOCK_T 1
14257 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14258 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14259 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 cat >conftest.
$ac_ext <<_ACEOF
14265 cat confdefs.h
>>conftest.
$ac_ext
14266 cat >>conftest.
$ac_ext <<_ACEOF
14267 /* end confdefs.h. */
14268 #define _GNU_SOURCE
14269 #include <pthread.h>
14271 typedef pthread_rwlockattr_t ac__type_new_;
14275 if ((ac__type_new_ *) 0)
14277 if (sizeof (ac__type_new_))
14283 rm -f conftest.
$ac_objext
14284 if { (ac_try
="$ac_compile"
14285 case "(($ac_try" in
14286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14287 *) ac_try_echo=$ac_try;;
14289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14290 (eval "$ac_compile") 2>conftest.er1
14292 grep -v '^ *+' conftest.er1 >conftest.err
14294 cat conftest.err >&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } && {
14297 test -z "$ac_c_werror_flag" ||
14298 test ! -s conftest.err
14299 } && test -s conftest.$ac_objext; then
14300 ac_cv_type_pthread_rwlockattr_t=yes
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14305 ac_cv_type_pthread_rwlockattr_t=no
14308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14310 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14311 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14312 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14314 cat >>confdefs.h <<_ACEOF
14315 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14322 ac_wine_check_funcs_save_LIBS="$LIBS"
14323 LIBS="$LIBS $LIBPTHREAD"
14329 pthread_attr_get_np \
14330 pthread_getattr_np \
14331 pthread_get_stackaddr_np \
14332 pthread_get_stacksize_np
14334 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 cat >conftest.$ac_ext <<_ACEOF
14343 cat confdefs.h >>conftest.$ac_ext
14344 cat >>conftest.$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14348 #define $ac_func innocuous_$ac_func
14350 /* System header to define __stub macros and hopefully few prototypes,
14351 which can conflict with char $ac_func (); below.
14352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14353 <limits.h> exists even on freestanding compilers. */
14356 # include <limits.h>
14358 # include <assert.h>
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14370 /* The GNU C library defines this for functions which it implements
14371 to always fail with ENOSYS. Some functions are actually named
14372 something starting with __ and the normal name is an alias. */
14373 #if defined __stub_$ac_func || defined __stub___$ac_func
14380 return $ac_func ();
14385 rm -f conftest.$ac_objext conftest$ac_exeext
14386 if { (ac_try="$ac_link"
14387 case "(($ac_try" in
14388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14389 *) ac_try_echo
=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_link") 2>conftest.er1
14394 grep -v '^ *+' conftest.er1
>conftest.err
14396 cat conftest.err
>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && {
14399 test -z "$ac_c_werror_flag" ||
14400 test ! -s conftest.err
14401 } && test -s conftest
$ac_exeext &&
14402 $as_test_x conftest
$ac_exeext; then
14403 eval "$as_ac_var=yes"
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.
$ac_ext >&5
14408 eval "$as_ac_var=no"
14411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14412 conftest
$ac_exeext conftest.
$ac_ext
14414 ac_res
=`eval echo '${'$as_ac_var'}'`
14415 { echo "$as_me:$LINENO: result: $ac_res" >&5
14416 echo "${ECHO_T}$ac_res" >&6; }
14417 if test `eval echo '${'$as_ac_var'}'` = yes; then
14418 cat >>confdefs.h
<<_ACEOF
14419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14425 LIBS
="$ac_wine_check_funcs_save_LIBS"
14427 # Extract the first word of "esd-config", so it can be a program name with args.
14428 set dummy esd-config
; ac_word
=$2
14429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14431 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14440 for as_dir
in $PATH
14443 test -z "$as_dir" && as_dir
=.
14444 for ac_exec_ext
in '' $ac_executable_extensions; do
14445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14446 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14457 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14458 if test -n "$ESDCONFIG"; then
14459 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14460 echo "${ECHO_T}$ESDCONFIG" >&6; }
14462 { echo "$as_me:$LINENO: result: no" >&5
14463 echo "${ECHO_T}no" >&6; }
14467 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14470 for i
in `$ESDCONFIG --cflags`
14473 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14476 ESD_LIBS
=`$ESDCONFIG --libs`
14477 save_CFLAGS
="$CFLAGS"
14478 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14479 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14480 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14481 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 ac_check_lib_save_LIBS
=$LIBS
14486 cat >conftest.
$ac_ext <<_ACEOF
14489 cat confdefs.h
>>conftest.
$ac_ext
14490 cat >>conftest.
$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14493 /* Override any GCC internal prototype to avoid an error.
14494 Use char because int might match the return type of a GCC
14495 builtin and then its argument prototype would still apply. */
14499 char esd_open_sound ();
14503 return esd_open_sound ();
14508 rm -f conftest.
$ac_objext conftest
$ac_exeext
14509 if { (ac_try
="$ac_link"
14510 case "(($ac_try" in
14511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14512 *) ac_try_echo=$ac_try;;
14514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14515 (eval "$ac_link") 2>conftest.er1
14517 grep -v '^ *+' conftest.er1 >conftest.err
14519 cat conftest.err >&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); } && {
14522 test -z "$ac_c_werror_flag" ||
14523 test ! -s conftest.err
14524 } && test -s conftest$ac_exeext &&
14525 $as_test_x conftest$ac_exeext; then
14526 ac_cv_lib_esd_esd_open_sound=yes
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.$ac_ext >&5
14531 ac_cv_lib_esd_esd_open_sound=no
14534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14535 conftest$ac_exeext conftest.$ac_ext
14536 LIBS=$ac_check_lib_save_LIBS
14538 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14539 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14540 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14543 ESDINCL=$ESD_CFLAGS
14546 cat >>confdefs.h <<\_ACEOF
14552 CFLAGS="$save_CFLAGS"
14557 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14559 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14560 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14561 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14562 echo $ECHO_N "(cached) $ECHO_C" >&6
14564 ac_check_lib_save_LIBS=$LIBS
14565 LIBS="-lasound $LIBS"
14566 cat >conftest.$ac_ext <<_ACEOF
14569 cat confdefs.h >>conftest.$ac_ext
14570 cat >>conftest.$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14579 char snd_pcm_hw_params_get_access ();
14583 return snd_pcm_hw_params_get_access ();
14588 rm -f conftest.$ac_objext conftest$ac_exeext
14589 if { (ac_try="$ac_link"
14590 case "(($ac_try" in
14591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14592 *) ac_try_echo
=$ac_try;;
14594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14595 (eval "$ac_link") 2>conftest.er1
14597 grep -v '^ *+' conftest.er1
>conftest.err
14599 cat conftest.err
>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); } && {
14602 test -z "$ac_c_werror_flag" ||
14603 test ! -s conftest.err
14604 } && test -s conftest
$ac_exeext &&
14605 $as_test_x conftest
$ac_exeext; then
14606 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.
$ac_ext >&5
14611 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14615 conftest
$ac_exeext conftest.
$ac_ext
14616 LIBS
=$ac_check_lib_save_LIBS
14618 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14619 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14620 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14621 cat >conftest.
$ac_ext <<_ACEOF
14624 cat confdefs.h
>>conftest.
$ac_ext
14625 cat >>conftest.
$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 #ifdef HAVE_ALSA_ASOUNDLIB_H
14628 #include <alsa/asoundlib.h>
14629 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14630 #include <sys/asoundlib.h>
14635 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14640 rm -f conftest.
$ac_objext
14641 if { (ac_try
="$ac_compile"
14642 case "(($ac_try" in
14643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14644 *) ac_try_echo=$ac_try;;
14646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14647 (eval "$ac_compile") 2>conftest.er1
14649 grep -v '^ *+' conftest.er1 >conftest.err
14651 cat conftest.err >&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && {
14654 test -z "$ac_c_werror_flag" ||
14655 test ! -s conftest.err
14656 } && test -s conftest.$ac_objext; then
14658 cat >>confdefs.h <<\_ACEOF
14659 #define HAVE_ALSA 1
14662 ALSALIBS="-lasound"
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14677 if test "$ac_cv_header_libaudioio_h" = "yes"
14679 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14680 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14681 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14682 echo $ECHO_N "(cached) $ECHO_C" >&6
14684 ac_check_lib_save_LIBS=$LIBS
14685 LIBS="-laudioio $LIBS"
14686 cat >conftest.$ac_ext <<_ACEOF
14689 cat confdefs.h >>conftest.$ac_ext
14690 cat >>conftest.$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14693 /* Override any GCC internal prototype to avoid an error.
14694 Use char because int might match the return type of a GCC
14695 builtin and then its argument prototype would still apply. */
14699 char AudioIOGetVersion ();
14703 return AudioIOGetVersion ();
14708 rm -f conftest.$ac_objext conftest$ac_exeext
14709 if { (ac_try="$ac_link"
14710 case "(($ac_try" in
14711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14712 *) ac_try_echo
=$ac_try;;
14714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14715 (eval "$ac_link") 2>conftest.er1
14717 grep -v '^ *+' conftest.er1
>conftest.err
14719 cat conftest.err
>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } && {
14722 test -z "$ac_c_werror_flag" ||
14723 test ! -s conftest.err
14724 } && test -s conftest
$ac_exeext &&
14725 $as_test_x conftest
$ac_exeext; then
14726 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14728 echo "$as_me: failed program was:" >&5
14729 sed 's/^/| /' conftest.
$ac_ext >&5
14731 ac_cv_lib_audioio_AudioIOGetVersion
=no
14734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14735 conftest
$ac_exeext conftest.
$ac_ext
14736 LIBS
=$ac_check_lib_save_LIBS
14738 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14739 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14740 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14741 AUDIOIOLIBS
="-laudioio"
14743 cat >>confdefs.h
<<\_ACEOF
14744 #define HAVE_LIBAUDIOIO 1
14752 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14754 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14755 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14756 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 ac_check_soname_save_LIBS
=$LIBS
14760 LIBS
="-lcapi20 $LIBS"
14761 cat >conftest.
$ac_ext <<_ACEOF
14764 cat confdefs.h
>>conftest.
$ac_ext
14765 cat >>conftest.
$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14774 char capi20_register ();
14778 return capi20_register ();
14783 rm -f conftest.
$ac_objext conftest
$ac_exeext
14784 if { (ac_try
="$ac_link"
14785 case "(($ac_try" in
14786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14787 *) ac_try_echo=$ac_try;;
14789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14790 (eval "$ac_link") 2>conftest.er1
14792 grep -v '^ *+' conftest.er1 >conftest.err
14794 cat conftest.err >&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } && {
14797 test -z "$ac_c_werror_flag" ||
14798 test ! -s conftest.err
14799 } && test -s conftest$ac_exeext &&
14800 $as_test_x conftest$ac_exeext; then
14803 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'` ;;
14804 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14807 echo "$as_me: failed program was:" >&5
14808 sed 's/^/| /' conftest.$ac_ext >&5
14813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_soname_save_LIBS
14817 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14818 { echo "$as_me:$LINENO: result: not found" >&5
14819 echo "${ECHO_T}not found" >&6; }
14822 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14823 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14825 cat >>confdefs.h <<_ACEOF
14826 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14833 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14834 case "x$with_capi" in
14835 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14837 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14838 This is an error since --with-capi was requested." >&5
14839 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14840 This is an error since --with-capi was requested." >&2;}
14841 { (exit 1); exit 1; }; } ;;
14846 if test "$ac_cv_header_cups_cups_h" = "yes"
14848 { echo "$as_me:$LINENO: checking for -lcups" >&5
14849 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14850 if test "${ac_cv_lib_soname_cups+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 ac_check_soname_save_LIBS=$LIBS
14854 LIBS="-lcups $LIBS"
14855 cat >conftest.$ac_ext <<_ACEOF
14858 cat confdefs.h >>conftest.$ac_ext
14859 cat >>conftest.$ac_ext <<_ACEOF
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14868 char cupsGetDefault ();
14872 return cupsGetDefault ();
14877 rm -f conftest.$ac_objext conftest$ac_exeext
14878 if { (ac_try="$ac_link"
14879 case "(($ac_try" in
14880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14881 *) ac_try_echo
=$ac_try;;
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14884 (eval "$ac_link") 2>conftest.er1
14886 grep -v '^ *+' conftest.er1
>conftest.err
14888 cat conftest.err
>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } && {
14891 test -z "$ac_c_werror_flag" ||
14892 test ! -s conftest.err
14893 } && test -s conftest
$ac_exeext &&
14894 $as_test_x conftest
$ac_exeext; then
14897 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'` ;;
14898 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.
$ac_ext >&5
14907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14908 conftest
$ac_exeext conftest.
$ac_ext
14909 LIBS
=$ac_check_soname_save_LIBS
14911 if test "x$ac_cv_lib_soname_cups" = "x"; then
14912 { echo "$as_me:$LINENO: result: not found" >&5
14913 echo "${ECHO_T}not found" >&6; }
14916 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14917 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14919 cat >>confdefs.h
<<_ACEOF
14920 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14927 if test "x$ac_cv_lib_soname_cups" = "x"; then
14928 case "x$with_cups" in
14929 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14931 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14932 This is an error since --with-cups was requested." >&5
14933 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14934 This is an error since --with-cups was requested." >&2;}
14935 { (exit 1); exit 1; }; } ;;
14940 if test "$ac_cv_header_jack_jack_h" = "yes"
14942 { echo "$as_me:$LINENO: checking for -ljack" >&5
14943 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14944 if test "${ac_cv_lib_soname_jack+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 ac_check_soname_save_LIBS
=$LIBS
14948 LIBS
="-ljack $LIBS"
14949 cat >conftest.
$ac_ext <<_ACEOF
14952 cat confdefs.h
>>conftest.
$ac_ext
14953 cat >>conftest.
$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14962 char jack_client_new ();
14966 return jack_client_new ();
14971 rm -f conftest.
$ac_objext conftest
$ac_exeext
14972 if { (ac_try
="$ac_link"
14973 case "(($ac_try" in
14974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14975 *) ac_try_echo=$ac_try;;
14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14978 (eval "$ac_link") 2>conftest.er1
14980 grep -v '^ *+' conftest.er1 >conftest.err
14982 cat conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } && {
14985 test -z "$ac_c_werror_flag" ||
14986 test ! -s conftest.err
14987 } && test -s conftest$ac_exeext &&
14988 $as_test_x conftest$ac_exeext; then
14991 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'` ;;
14992 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
15001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_soname_save_LIBS
15005 if test "x$ac_cv_lib_soname_jack" = "x"; then
15006 { echo "$as_me:$LINENO: result: not found" >&5
15007 echo "${ECHO_T}not found" >&6; }
15010 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15011 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15013 cat >>confdefs.h <<_ACEOF
15014 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15022 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15024 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15025 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15026 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 ac_check_soname_save_LIBS=$LIBS
15030 LIBS="-lfontconfig $LIBS"
15031 cat >conftest.$ac_ext <<_ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15038 /* Override any GCC internal prototype to avoid an error.
15039 Use char because int might match the return type of a GCC
15040 builtin and then its argument prototype would still apply. */
15053 rm -f conftest.$ac_objext conftest$ac_exeext
15054 if { (ac_try="$ac_link"
15055 case "(($ac_try" in
15056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15057 *) ac_try_echo
=$ac_try;;
15059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15060 (eval "$ac_link") 2>conftest.er1
15062 grep -v '^ *+' conftest.er1
>conftest.err
15064 cat conftest.err
>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && {
15067 test -z "$ac_c_werror_flag" ||
15068 test ! -s conftest.err
15069 } && test -s conftest
$ac_exeext &&
15070 $as_test_x conftest
$ac_exeext; then
15073 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'` ;;
15074 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.
$ac_ext >&5
15083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15084 conftest
$ac_exeext conftest.
$ac_ext
15085 LIBS
=$ac_check_soname_save_LIBS
15087 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15088 { echo "$as_me:$LINENO: result: not found" >&5
15089 echo "${ECHO_T}not found" >&6; }
15092 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15093 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15095 cat >>confdefs.h
<<_ACEOF
15096 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15102 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15104 ac_save_CPPFLAGS
="$CPPFLAGS"
15105 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15106 $as_unset ac_cv_header_fontconfig_fontconfig_h
15108 for ac_header
in fontconfig
/fontconfig.h
15110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15111 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15114 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15115 echo $ECHO_N "(cached) $ECHO_C" >&6
15117 ac_res
=`eval echo '${'$as_ac_Header'}'`
15118 { echo "$as_me:$LINENO: result: $ac_res" >&5
15119 echo "${ECHO_T}$ac_res" >&6; }
15121 # Is the header compilable?
15122 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15124 cat >conftest.
$ac_ext <<_ACEOF
15127 cat confdefs.h
>>conftest.
$ac_ext
15128 cat >>conftest.
$ac_ext <<_ACEOF
15129 /* end confdefs.h. */
15130 $ac_includes_default
15131 #include <$ac_header>
15133 rm -f conftest.
$ac_objext
15134 if { (ac_try
="$ac_compile"
15135 case "(($ac_try" in
15136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15137 *) ac_try_echo=$ac_try;;
15139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15140 (eval "$ac_compile") 2>conftest.er1
15142 grep -v '^ *+' conftest.er1 >conftest.err
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } && {
15147 test -z "$ac_c_werror_flag" ||
15148 test ! -s conftest.err
15149 } && test -s conftest.$ac_objext; then
15150 ac_header_compiler=yes
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15155 ac_header_compiler=no
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15160 echo "${ECHO_T}$ac_header_compiler" >&6; }
15162 # Is the header present?
15163 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15165 cat >conftest.$ac_ext <<_ACEOF
15168 cat confdefs.h >>conftest.$ac_ext
15169 cat >>conftest.$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15171 #include <$ac_header>
15173 if { (ac_try="$ac_cpp conftest.$ac_ext"
15174 case "(($ac_try" in
15175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15176 *) ac_try_echo
=$ac_try;;
15178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15181 grep -v '^ *+' conftest.er1
>conftest.err
15183 cat conftest.err
>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } >/dev
/null
&& {
15186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15187 test ! -s conftest.err
15189 ac_header_preproc
=yes
15191 echo "$as_me: failed program was:" >&5
15192 sed 's/^/| /' conftest.
$ac_ext >&5
15194 ac_header_preproc
=no
15197 rm -f conftest.err conftest.
$ac_ext
15198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15199 echo "${ECHO_T}$ac_header_preproc" >&6; }
15201 # So? What about this header?
15202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15208 ac_header_preproc
=yes
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15224 ## ------------------------------------ ##
15225 ## Report this to wine-devel@winehq.org ##
15226 ## ------------------------------------ ##
15228 ) |
sed "s/^/$as_me: WARNING: /" >&2
15231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15233 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 eval "$as_ac_Header=\$ac_header_preproc"
15238 ac_res
=`eval echo '${'$as_ac_Header'}'`
15239 { echo "$as_me:$LINENO: result: $ac_res" >&5
15240 echo "${ECHO_T}$ac_res" >&6; }
15243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15244 cat >>confdefs.h
<<_ACEOF
15245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15252 CPPFLAGS
="$ac_save_CPPFLAGS"
15253 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15255 FONTCONFIGINCL
="$X_CFLAGS"
15257 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15258 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15259 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 ac_check_soname_save_LIBS
=$LIBS
15263 LIBS
="-lfontconfig $X_LIBS $LIBS"
15264 cat >conftest.
$ac_ext <<_ACEOF
15267 cat confdefs.h
>>conftest.
$ac_ext
15268 cat >>conftest.
$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15286 rm -f conftest.
$ac_objext conftest
$ac_exeext
15287 if { (ac_try
="$ac_link"
15288 case "(($ac_try" in
15289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15290 *) ac_try_echo=$ac_try;;
15292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15293 (eval "$ac_link") 2>conftest.er1
15295 grep -v '^ *+' conftest.er1 >conftest.err
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } && {
15300 test -z "$ac_c_werror_flag" ||
15301 test ! -s conftest.err
15302 } && test -s conftest$ac_exeext &&
15303 $as_test_x conftest$ac_exeext; then
15306 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'` ;;
15307 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15317 conftest$ac_exeext conftest.$ac_ext
15318 LIBS=$ac_check_soname_save_LIBS
15320 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15321 { echo "$as_me:$LINENO: result: not found" >&5
15322 echo "${ECHO_T}not found" >&6; }
15325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15326 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15328 cat >>confdefs.h <<_ACEOF
15329 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15337 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15338 case "x$with_fontconfig" in
15339 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15341 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15342 This is an error since --with-fontconfig was requested." >&5
15343 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15344 This is an error since --with-fontconfig was requested." >&2;}
15345 { (exit 1); exit 1; }; } ;;
15350 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15352 { echo "$as_me:$LINENO: checking for -lssl" >&5
15353 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15354 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15355 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 ac_check_soname_save_LIBS=$LIBS
15359 cat >conftest.$ac_ext <<_ACEOF
15362 cat confdefs.h >>conftest.$ac_ext
15363 cat >>conftest.$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15366 /* Override any GCC internal prototype to avoid an error.
15367 Use char because int might match the return type of a GCC
15368 builtin and then its argument prototype would still apply. */
15372 char SSL_library_init ();
15376 return SSL_library_init ();
15381 rm -f conftest.$ac_objext conftest$ac_exeext
15382 if { (ac_try="$ac_link"
15383 case "(($ac_try" in
15384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15385 *) ac_try_echo
=$ac_try;;
15387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15388 (eval "$ac_link") 2>conftest.er1
15390 grep -v '^ *+' conftest.er1
>conftest.err
15392 cat conftest.err
>&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } && {
15395 test -z "$ac_c_werror_flag" ||
15396 test ! -s conftest.err
15397 } && test -s conftest
$ac_exeext &&
15398 $as_test_x conftest
$ac_exeext; then
15401 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'` ;;
15402 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15405 echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.
$ac_ext >&5
15411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15412 conftest
$ac_exeext conftest.
$ac_ext
15413 LIBS
=$ac_check_soname_save_LIBS
15415 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15416 { echo "$as_me:$LINENO: result: not found" >&5
15417 echo "${ECHO_T}not found" >&6; }
15420 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15421 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15423 cat >>confdefs.h
<<_ACEOF
15424 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15430 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15431 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15432 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 ac_check_soname_save_LIBS
=$LIBS
15436 LIBS
="-lcrypto $LIBS"
15437 cat >conftest.
$ac_ext <<_ACEOF
15440 cat confdefs.h
>>conftest.
$ac_ext
15441 cat >>conftest.
$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15444 /* Override any GCC internal prototype to avoid an error.
15445 Use char because int might match the return type of a GCC
15446 builtin and then its argument prototype would still apply. */
15450 char BIO_new_socket ();
15454 return BIO_new_socket ();
15459 rm -f conftest.
$ac_objext conftest
$ac_exeext
15460 if { (ac_try
="$ac_link"
15461 case "(($ac_try" in
15462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15463 *) ac_try_echo=$ac_try;;
15465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15466 (eval "$ac_link") 2>conftest.er1
15468 grep -v '^ *+' conftest.er1 >conftest.err
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest$ac_exeext &&
15476 $as_test_x conftest$ac_exeext; then
15479 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'` ;;
15480 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15490 conftest$ac_exeext conftest.$ac_ext
15491 LIBS=$ac_check_soname_save_LIBS
15493 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15494 { echo "$as_me:$LINENO: result: not found" >&5
15495 echo "${ECHO_T}not found" >&6; }
15498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15499 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15501 cat >>confdefs.h <<_ACEOF
15502 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15509 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15510 case "x$with_openssl" in
15511 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15513 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15514 This is an error since --with-openssl was requested." >&5
15515 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15516 This is an error since --with-openssl was requested." >&2;}
15517 { (exit 1); exit 1; }; } ;;
15522 if test "$ac_cv_header_jpeglib_h" = "yes"
15524 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15525 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15526 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 ac_check_soname_save_LIBS=$LIBS
15530 LIBS="-ljpeg $LIBS"
15531 cat >conftest.$ac_ext <<_ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15544 char jpeg_start_decompress ();
15548 return jpeg_start_decompress ();
15553 rm -f conftest.$ac_objext conftest$ac_exeext
15554 if { (ac_try="$ac_link"
15555 case "(($ac_try" in
15556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15557 *) ac_try_echo
=$ac_try;;
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_link") 2>conftest.er1
15562 grep -v '^ *+' conftest.er1
>conftest.err
15564 cat conftest.err
>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } && {
15567 test -z "$ac_c_werror_flag" ||
15568 test ! -s conftest.err
15569 } && test -s conftest
$ac_exeext &&
15570 $as_test_x conftest
$ac_exeext; then
15573 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'` ;;
15574 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.
$ac_ext >&5
15583 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15584 conftest
$ac_exeext conftest.
$ac_ext
15585 LIBS
=$ac_check_soname_save_LIBS
15587 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15588 { echo "$as_me:$LINENO: result: not found" >&5
15589 echo "${ECHO_T}not found" >&6; }
15592 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15593 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15595 cat >>confdefs.h
<<_ACEOF
15596 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15603 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15604 case "x$with_jpeg" in
15605 x
) wine_notices
="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15607 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15608 This is an error since --with-jpeg was requested." >&5
15609 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15610 This is an error since --with-jpeg was requested." >&2;}
15611 { (exit 1); exit 1; }; } ;;
15616 if test "$ac_cv_header_png_h" = "yes"
15618 { echo "$as_me:$LINENO: checking for -lpng" >&5
15619 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15620 if test "${ac_cv_lib_soname_png+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 ac_check_soname_save_LIBS
=$LIBS
15625 cat >conftest.
$ac_ext <<_ACEOF
15628 cat confdefs.h
>>conftest.
$ac_ext
15629 cat >>conftest.
$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15632 /* Override any GCC internal prototype to avoid an error.
15633 Use char because int might match the return type of a GCC
15634 builtin and then its argument prototype would still apply. */
15638 char png_create_read_struct ();
15642 return png_create_read_struct ();
15647 rm -f conftest.
$ac_objext conftest
$ac_exeext
15648 if { (ac_try
="$ac_link"
15649 case "(($ac_try" in
15650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_link") 2>conftest.er1
15656 grep -v '^ *+' conftest.er1 >conftest.err
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest$ac_exeext &&
15664 $as_test_x conftest$ac_exeext; then
15667 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'` ;;
15668 *) 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'` ;;
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15678 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_check_soname_save_LIBS
15681 if test "x$ac_cv_lib_soname_png" = "x"; then
15682 { echo "$as_me:$LINENO: result: not found" >&5
15683 echo "${ECHO_T}not found" >&6; }
15686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15687 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15689 cat >>confdefs.h <<_ACEOF
15690 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15697 if test "x$ac_cv_lib_soname_png" = "x"; then
15698 case "x$with_png" in
15699 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15701 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15702 This is an error since --with-png was requested." >&5
15703 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15704 This is an error since --with-png was requested." >&2;}
15705 { (exit 1); exit 1; }; } ;;
15710 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15711 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15712 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 ac_check_soname_save_LIBS=$LIBS
15716 LIBS="-lodbc $LIBS"
15717 cat >conftest.$ac_ext <<_ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15724 /* Override any GCC internal prototype to avoid an error.
15725 Use char because int might match the return type of a GCC
15726 builtin and then its argument prototype would still apply. */
15730 char SQLConnect ();
15734 return SQLConnect ();
15739 rm -f conftest.$ac_objext conftest$ac_exeext
15740 if { (ac_try="$ac_link"
15741 case "(($ac_try" in
15742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15743 *) ac_try_echo
=$ac_try;;
15745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15746 (eval "$ac_link") 2>conftest.er1
15748 grep -v '^ *+' conftest.er1
>conftest.err
15750 cat conftest.err
>&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } && {
15753 test -z "$ac_c_werror_flag" ||
15754 test ! -s conftest.err
15755 } && test -s conftest
$ac_exeext &&
15756 $as_test_x conftest
$ac_exeext; then
15759 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'` ;;
15760 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15763 echo "$as_me: failed program was:" >&5
15764 sed 's/^/| /' conftest.
$ac_ext >&5
15769 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15770 conftest
$ac_exeext conftest.
$ac_ext
15771 LIBS
=$ac_check_soname_save_LIBS
15773 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15774 { echo "$as_me:$LINENO: result: not found" >&5
15775 echo "${ECHO_T}not found" >&6; }
15776 cat >>confdefs.h
<<_ACEOF
15777 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15781 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15782 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15784 cat >>confdefs.h
<<_ACEOF
15785 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15792 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15793 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15794 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15795 "$ac_cv_header_soundcard_h" != "yes" -a \
15796 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15798 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15804 if test "x${GCC}" = "xyes"
15806 EXTRACFLAGS
="-Wall -pipe"
15808 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15809 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15810 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 if test "$cross_compiling" = yes; then
15814 ac_cv_c_gcc_strength_bug
="yes"
15816 cat >conftest.
$ac_ext <<_ACEOF
15819 cat confdefs.h
>>conftest.
$ac_ext
15820 cat >>conftest.
$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15822 int L[4] = {0,1,2,3};
15826 static int Array[3];
15827 unsigned int B = 3;
15829 for(i=0; i<B; i++) Array[i] = i - 3;
15830 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15832 exit( Array[1] != -2 || L[2] != 3)
15837 rm -f conftest
$ac_exeext
15838 if { (ac_try
="$ac_link"
15839 case "(($ac_try" in
15840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_link") 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15848 { (case "(($ac_try" in
15849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15850 *) ac_try_echo
=$ac_try;;
15852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 (eval "$ac_try") 2>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; }; then
15857 ac_cv_c_gcc_strength_bug
="no"
15859 echo "$as_me: program exited with status $ac_status" >&5
15860 echo "$as_me: failed program was:" >&5
15861 sed 's/^/| /' conftest.
$ac_ext >&5
15863 ( exit $ac_status )
15864 ac_cv_c_gcc_strength_bug
="yes"
15866 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15871 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15872 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15873 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15875 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15879 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15880 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15881 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15882 echo $ECHO_N "(cached) $ECHO_C" >&6
15884 ac_wine_try_cflags_saved
=$CFLAGS
15885 CFLAGS
="$CFLAGS -fshort-wchar"
15886 cat >conftest.
$ac_ext <<_ACEOF
15889 cat confdefs.h
>>conftest.
$ac_ext
15890 cat >>conftest.
$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15901 rm -f conftest.
$ac_objext conftest
$ac_exeext
15902 if { (ac_try
="$ac_link"
15903 case "(($ac_try" in
15904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15905 *) ac_try_echo=$ac_try;;
15907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15908 (eval "$ac_link") 2>conftest.er1
15910 grep -v '^ *+' conftest.er1 >conftest.err
15912 cat conftest.err >&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } && {
15915 test -z "$ac_c_werror_flag" ||
15916 test ! -s conftest.err
15917 } && test -s conftest$ac_exeext &&
15918 $as_test_x conftest$ac_exeext; then
15919 ac_cv_cflags__fshort_wchar=yes
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15924 ac_cv_cflags__fshort_wchar=no
15927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15928 conftest$ac_exeext conftest.$ac_ext
15929 CFLAGS=$ac_wine_try_cflags_saved
15931 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15932 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15933 if test $ac_cv_cflags__fshort_wchar = yes; then
15935 cat >>confdefs.h <<\_ACEOF
15936 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15941 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15942 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15943 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15946 ac_wine_try_cflags_saved=$CFLAGS
15947 CFLAGS="$CFLAGS -fno-strict-aliasing"
15948 cat >conftest.$ac_ext <<_ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15963 rm -f conftest.$ac_objext conftest$ac_exeext
15964 if { (ac_try="$ac_link"
15965 case "(($ac_try" in
15966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15967 *) ac_try_echo
=$ac_try;;
15969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15970 (eval "$ac_link") 2>conftest.er1
15972 grep -v '^ *+' conftest.er1
>conftest.err
15974 cat conftest.err
>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); } && {
15977 test -z "$ac_c_werror_flag" ||
15978 test ! -s conftest.err
15979 } && test -s conftest
$ac_exeext &&
15980 $as_test_x conftest
$ac_exeext; then
15981 ac_cv_cflags__fno_strict_aliasing
=yes
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.
$ac_ext >&5
15986 ac_cv_cflags__fno_strict_aliasing
=no
15989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15990 conftest
$ac_exeext conftest.
$ac_ext
15991 CFLAGS
=$ac_wine_try_cflags_saved
15993 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15994 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15995 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15996 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15999 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16000 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16001 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 ac_wine_try_cflags_saved
=$CFLAGS
16005 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
16006 cat >conftest.
$ac_ext <<_ACEOF
16009 cat confdefs.h
>>conftest.
$ac_ext
16010 cat >>conftest.
$ac_ext <<_ACEOF
16011 /* end confdefs.h. */
16021 rm -f conftest.
$ac_objext conftest
$ac_exeext
16022 if { (ac_try
="$ac_link"
16023 case "(($ac_try" in
16024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16025 *) ac_try_echo=$ac_try;;
16027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16028 (eval "$ac_link") 2>conftest.er1
16030 grep -v '^ *+' conftest.er1 >conftest.err
16032 cat conftest.err >&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } && {
16035 test -z "$ac_c_werror_flag" ||
16036 test ! -s conftest.err
16037 } && test -s conftest$ac_exeext &&
16038 $as_test_x conftest$ac_exeext; then
16039 ac_cv_cflags__Wdeclaration_after_statement=yes
16041 echo "$as_me: failed program was:" >&5
16042 sed 's/^/| /' conftest.$ac_ext >&5
16044 ac_cv_cflags__Wdeclaration_after_statement=no
16047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16048 conftest$ac_exeext conftest.$ac_ext
16049 CFLAGS=$ac_wine_try_cflags_saved
16051 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16052 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16053 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16054 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16057 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16058 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16059 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16062 ac_wine_try_cflags_saved=$CFLAGS
16063 CFLAGS="$CFLAGS -Wwrite-strings"
16064 cat >conftest.$ac_ext <<_ACEOF
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16079 rm -f conftest.$ac_objext conftest$ac_exeext
16080 if { (ac_try="$ac_link"
16081 case "(($ac_try" in
16082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16083 *) ac_try_echo
=$ac_try;;
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_link") 2>conftest.er1
16088 grep -v '^ *+' conftest.er1
>conftest.err
16090 cat conftest.err
>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } && {
16093 test -z "$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16095 } && test -s conftest
$ac_exeext &&
16096 $as_test_x conftest
$ac_exeext; then
16097 ac_cv_cflags__Wwrite_strings
=yes
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.
$ac_ext >&5
16102 ac_cv_cflags__Wwrite_strings
=no
16105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16106 conftest
$ac_exeext conftest.
$ac_ext
16107 CFLAGS
=$ac_wine_try_cflags_saved
16109 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16110 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16111 if test $ac_cv_cflags__Wwrite_strings = yes; then
16112 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16115 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16116 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16117 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16120 ac_wine_try_cflags_saved
=$CFLAGS
16121 CFLAGS
="$CFLAGS -Wtype-limits"
16122 cat >conftest.
$ac_ext <<_ACEOF
16125 cat confdefs.h
>>conftest.
$ac_ext
16126 cat >>conftest.
$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16137 rm -f conftest.
$ac_objext conftest
$ac_exeext
16138 if { (ac_try
="$ac_link"
16139 case "(($ac_try" in
16140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16141 *) ac_try_echo=$ac_try;;
16143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16144 (eval "$ac_link") 2>conftest.er1
16146 grep -v '^ *+' conftest.er1 >conftest.err
16148 cat conftest.err >&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && {
16151 test -z "$ac_c_werror_flag" ||
16152 test ! -s conftest.err
16153 } && test -s conftest$ac_exeext &&
16154 $as_test_x conftest$ac_exeext; then
16155 ac_cv_cflags__Wtype_limits=yes
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16160 ac_cv_cflags__Wtype_limits=no
16163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16164 conftest$ac_exeext conftest.$ac_ext
16165 CFLAGS=$ac_wine_try_cflags_saved
16167 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16168 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16169 if test $ac_cv_cflags__Wtype_limits = yes; then
16170 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16174 saved_CFLAGS="$CFLAGS"
16175 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16176 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16177 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16178 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16179 echo $ECHO_N "(cached) $ECHO_C" >&6
16181 cat >conftest.$ac_ext <<_ACEOF
16184 cat confdefs.h >>conftest.$ac_ext
16185 cat >>conftest.$ac_ext <<_ACEOF
16186 /* end confdefs.h. */
16187 #include <string.h>
16196 rm -f conftest.$ac_objext
16197 if { (ac_try="$ac_compile"
16198 case "(($ac_try" in
16199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16200 *) ac_try_echo
=$ac_try;;
16202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16203 (eval "$ac_compile") 2>conftest.er1
16205 grep -v '^ *+' conftest.er1
>conftest.err
16207 cat conftest.err
>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); } && {
16210 test -z "$ac_c_werror_flag" ||
16211 test ! -s conftest.err
16212 } && test -s conftest.
$ac_objext; then
16213 ac_cv_c_string_h_warnings
=no
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.
$ac_ext >&5
16218 ac_cv_c_string_h_warnings
=yes
16221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16223 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16224 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16225 CFLAGS
="$saved_CFLAGS"
16226 if test "$ac_cv_c_string_h_warnings" = "no"
16228 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16233 saved_CFLAGS
="$CFLAGS"
16234 CFLAGS
="$CFLAGS -Werror"
16235 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16236 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16237 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 cat >conftest.
$ac_ext <<_ACEOF
16243 cat confdefs.h
>>conftest.
$ac_ext
16244 cat >>conftest.
$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16250 int iswlower(unsigned short);
16255 rm -f conftest.
$ac_objext
16256 if { (ac_try
="$ac_compile"
16257 case "(($ac_try" in
16258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16259 *) ac_try_echo=$ac_try;;
16261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16262 (eval "$ac_compile") 2>conftest.er1
16264 grep -v '^ *+' conftest.er1 >conftest.err
16266 cat conftest.err >&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } && {
16269 test -z "$ac_c_werror_flag" ||
16270 test ! -s conftest.err
16271 } && test -s conftest.$ac_objext; then
16272 ac_cv_c_builtin_wchar_ctype=no
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16277 ac_cv_c_builtin_wchar_ctype=yes
16280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16282 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16283 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16284 CFLAGS="$saved_CFLAGS"
16285 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16287 BUILTINFLAG="-fno-builtin"
16292 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16293 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16294 if test "${ac_cv_asm_func_def+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16297 cat >conftest.$ac_ext <<_ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16307 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16312 rm -f conftest.$ac_objext conftest$ac_exeext
16313 if { (ac_try="$ac_link"
16314 case "(($ac_try" in
16315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16316 *) ac_try_echo
=$ac_try;;
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_link") 2>conftest.er1
16321 grep -v '^ *+' conftest.er1
>conftest.err
16323 cat conftest.err
>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest
$ac_exeext &&
16329 $as_test_x conftest
$ac_exeext; then
16330 ac_cv_asm_func_def
=".def"
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.
$ac_ext >&5
16335 cat >conftest.
$ac_ext <<_ACEOF
16338 cat confdefs.h
>>conftest.
$ac_ext
16339 cat >>conftest.
$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16345 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16350 rm -f conftest.
$ac_objext conftest
$ac_exeext
16351 if { (ac_try
="$ac_link"
16352 case "(($ac_try" in
16353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16354 *) ac_try_echo=$ac_try;;
16356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16357 (eval "$ac_link") 2>conftest.er1
16359 grep -v '^ *+' conftest.er1 >conftest.err
16361 cat conftest.err >&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } && {
16364 test -z "$ac_c_werror_flag" ||
16365 test ! -s conftest.err
16366 } && test -s conftest$ac_exeext &&
16367 $as_test_x conftest$ac_exeext; then
16368 ac_cv_asm_func_def=".type @function"
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.$ac_ext >&5
16373 cat >conftest.$ac_ext <<_ACEOF
16376 cat confdefs.h >>conftest.$ac_ext
16377 cat >>conftest.$ac_ext <<_ACEOF
16378 /* end confdefs.h. */
16383 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16388 rm -f conftest.$ac_objext conftest$ac_exeext
16389 if { (ac_try="$ac_link"
16390 case "(($ac_try" in
16391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16392 *) ac_try_echo
=$ac_try;;
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_link") 2>conftest.er1
16397 grep -v '^ *+' conftest.er1
>conftest.err
16399 cat conftest.err
>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } && {
16402 test -z "$ac_c_werror_flag" ||
16403 test ! -s conftest.err
16404 } && test -s conftest
$ac_exeext &&
16405 $as_test_x conftest
$ac_exeext; then
16406 ac_cv_asm_func_def
=".type 2"
16408 echo "$as_me: failed program was:" >&5
16409 sed 's/^/| /' conftest.
$ac_ext >&5
16411 ac_cv_asm_func_def
="unknown"
16414 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16415 conftest
$ac_exeext conftest.
$ac_ext
16418 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16419 conftest
$ac_exeext conftest.
$ac_ext
16422 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16423 conftest
$ac_exeext conftest.
$ac_ext
16425 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16426 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16430 case "$ac_cv_asm_func_def" in
16432 cat >>confdefs.h
<<\_ACEOF
16433 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16437 cat >>confdefs.h
<<\_ACEOF
16438 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16442 cat >>confdefs.h
<<\_ACEOF
16443 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16447 cat >>confdefs.h
<<\_ACEOF
16448 #define __ASM_FUNC(name) ""
16454 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16455 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16456 if test "${ac_cv_c_extern_prefix+set}" = set; then
16457 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 cat >conftest.
$ac_ext <<_ACEOF
16462 cat confdefs.h
>>conftest.
$ac_ext
16463 cat >>conftest.
$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16465 extern int ac_test;
16469 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16474 rm -f conftest.
$ac_objext conftest
$ac_exeext
16475 if { (ac_try
="$ac_link"
16476 case "(($ac_try" in
16477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_link") 2>conftest.er1
16483 grep -v '^ *+' conftest.er1 >conftest.err
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } && {
16488 test -z "$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16490 } && test -s conftest$ac_exeext &&
16491 $as_test_x conftest$ac_exeext; then
16492 ac_cv_c_extern_prefix="yes"
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.$ac_ext >&5
16497 ac_cv_c_extern_prefix="no"
16500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16501 conftest$ac_exeext conftest.$ac_ext
16503 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16504 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16508 if test "$ac_cv_c_extern_prefix" = "yes"
16510 cat >>confdefs.h <<\_ACEOF
16511 #define __ASM_NAME(name) "_" name
16515 cat >>confdefs.h <<\_ACEOF
16516 #define __ASM_NAME(name) name
16526 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16530 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16532 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16536 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16544 SOCKETLIBS="-lws2_32"
16549 MAIN_BINARY="wine-pthread"
16553 linux* | k*bsd*-gnu)
16554 MAIN_BINARY="wine-glibc"
16556 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16559 MAIN_BINARY="wine-freebsd"
16561 EXTRA_BINARIES="wine-pthread"
16709 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16715 cat >conftest.$ac_ext <<_ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16723 #define $ac_func innocuous_$ac_func
16725 /* System header to define __stub macros and hopefully few prototypes,
16726 which can conflict with char $ac_func (); below.
16727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16728 <limits.h> exists even on freestanding compilers. */
16731 # include <limits.h>
16733 # include <assert.h>
16738 /* Override any GCC internal prototype to avoid an error.
16739 Use char because int might match the return type of a GCC
16740 builtin and then its argument prototype would still apply. */
16745 /* The GNU C library defines this for functions which it implements
16746 to always fail with ENOSYS. Some functions are actually named
16747 something starting with __ and the normal name is an alias. */
16748 #if defined __stub_$ac_func || defined __stub___$ac_func
16755 return $ac_func ();
16760 rm -f conftest.$ac_objext conftest$ac_exeext
16761 if { (ac_try="$ac_link"
16762 case "(($ac_try" in
16763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16764 *) ac_try_echo
=$ac_try;;
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_link") 2>conftest.er1
16769 grep -v '^ *+' conftest.er1
>conftest.err
16771 cat conftest.err
>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_c_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest
$ac_exeext &&
16777 $as_test_x conftest
$ac_exeext; then
16778 eval "$as_ac_var=yes"
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.
$ac_ext >&5
16783 eval "$as_ac_var=no"
16786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16787 conftest
$ac_exeext conftest.
$ac_ext
16789 ac_res
=`eval echo '${'$as_ac_var'}'`
16790 { echo "$as_me:$LINENO: result: $ac_res" >&5
16791 echo "${ECHO_T}$ac_res" >&6; }
16792 if test `eval echo '${'$as_ac_var'}'` = yes; then
16793 cat >>confdefs.h
<<_ACEOF
16794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16801 if test "$ac_cv_func_dlopen" = no
16803 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16804 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16805 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 ac_check_lib_save_LIBS
=$LIBS
16810 cat >conftest.
$ac_ext <<_ACEOF
16813 cat confdefs.h
>>conftest.
$ac_ext
16814 cat >>conftest.
$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16817 /* Override any GCC internal prototype to avoid an error.
16818 Use char because int might match the return type of a GCC
16819 builtin and then its argument prototype would still apply. */
16832 rm -f conftest.
$ac_objext conftest
$ac_exeext
16833 if { (ac_try
="$ac_link"
16834 case "(($ac_try" in
16835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16836 *) ac_try_echo=$ac_try;;
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839 (eval "$ac_link") 2>conftest.er1
16841 grep -v '^ *+' conftest.er1 >conftest.err
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } && {
16846 test -z "$ac_c_werror_flag" ||
16847 test ! -s conftest.err
16848 } && test -s conftest$ac_exeext &&
16849 $as_test_x conftest$ac_exeext; then
16850 ac_cv_lib_dl_dlopen=yes
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 ac_cv_lib_dl_dlopen=no
16858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16859 conftest$ac_exeext conftest.$ac_ext
16860 LIBS=$ac_check_lib_save_LIBS
16862 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16863 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16864 if test $ac_cv_lib_dl_dlopen = yes; then
16865 cat >>confdefs.h <<\_ACEOF
16866 #define HAVE_DLOPEN 1
16873 ac_wine_check_funcs_save_LIBS="$LIBS"
16874 LIBS="$LIBS $LIBDL"
16876 for ac_func in dladdr
16878 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16879 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16881 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 cat >conftest.$ac_ext <<_ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16892 #define $ac_func innocuous_$ac_func
16894 /* System header to define __stub macros and hopefully few prototypes,
16895 which can conflict with char $ac_func (); below.
16896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16897 <limits.h> exists even on freestanding compilers. */
16900 # include <limits.h>
16902 # include <assert.h>
16907 /* Override any GCC internal prototype to avoid an error.
16908 Use char because int might match the return type of a GCC
16909 builtin and then its argument prototype would still apply. */
16914 /* The GNU C library defines this for functions which it implements
16915 to always fail with ENOSYS. Some functions are actually named
16916 something starting with __ and the normal name is an alias. */
16917 #if defined __stub_$ac_func || defined __stub___$ac_func
16924 return $ac_func ();
16929 rm -f conftest.$ac_objext conftest$ac_exeext
16930 if { (ac_try="$ac_link"
16931 case "(($ac_try" in
16932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16933 *) ac_try_echo
=$ac_try;;
16935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16936 (eval "$ac_link") 2>conftest.er1
16938 grep -v '^ *+' conftest.er1
>conftest.err
16940 cat conftest.err
>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } && {
16943 test -z "$ac_c_werror_flag" ||
16944 test ! -s conftest.err
16945 } && test -s conftest
$ac_exeext &&
16946 $as_test_x conftest
$ac_exeext; then
16947 eval "$as_ac_var=yes"
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.
$ac_ext >&5
16952 eval "$as_ac_var=no"
16955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16956 conftest
$ac_exeext conftest.
$ac_ext
16958 ac_res
=`eval echo '${'$as_ac_var'}'`
16959 { echo "$as_me:$LINENO: result: $ac_res" >&5
16960 echo "${ECHO_T}$ac_res" >&6; }
16961 if test `eval echo '${'$as_ac_var'}'` = yes; then
16962 cat >>confdefs.h
<<_ACEOF
16963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16969 LIBS
="$ac_wine_check_funcs_save_LIBS"
16971 if test "$ac_cv_func_poll" = no
16973 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16974 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16975 if test "${ac_cv_lib_poll_poll+set}" = set; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 ac_check_lib_save_LIBS
=$LIBS
16979 LIBS
="-lpoll $LIBS"
16980 cat >conftest.
$ac_ext <<_ACEOF
16983 cat confdefs.h
>>conftest.
$ac_ext
16984 cat >>conftest.
$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16987 /* Override any GCC internal prototype to avoid an error.
16988 Use char because int might match the return type of a GCC
16989 builtin and then its argument prototype would still apply. */
17002 rm -f conftest.
$ac_objext conftest
$ac_exeext
17003 if { (ac_try
="$ac_link"
17004 case "(($ac_try" in
17005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17006 *) ac_try_echo=$ac_try;;
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_link") 2>conftest.er1
17011 grep -v '^ *+' conftest.er1 >conftest.err
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } && {
17016 test -z "$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17018 } && test -s conftest$ac_exeext &&
17019 $as_test_x conftest$ac_exeext; then
17020 ac_cv_lib_poll_poll=yes
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 ac_cv_lib_poll_poll=no
17028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17029 conftest$ac_exeext conftest.$ac_ext
17030 LIBS=$ac_check_lib_save_LIBS
17032 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17033 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17034 if test $ac_cv_lib_poll_poll = yes; then
17035 cat >>confdefs.h <<\_ACEOF
17036 #define HAVE_POLL 1
17044 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17045 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17046 if test "${ac_cv_search_gethostbyname+set}" = set; then
17047 echo $ECHO_N "(cached) $ECHO_C" >&6
17049 ac_func_search_save_LIBS=$LIBS
17050 cat >conftest.$ac_ext <<_ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17063 char gethostbyname ();
17067 return gethostbyname ();
17072 for ac_lib in '' nsl; do
17073 if test -z "$ac_lib"; then
17074 ac_res="none required"
17077 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17079 rm -f conftest.$ac_objext conftest$ac_exeext
17080 if { (ac_try="$ac_link"
17081 case "(($ac_try" in
17082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17083 *) ac_try_echo
=$ac_try;;
17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17086 (eval "$ac_link") 2>conftest.er1
17088 grep -v '^ *+' conftest.er1
>conftest.err
17090 cat conftest.err
>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } && {
17093 test -z "$ac_c_werror_flag" ||
17094 test ! -s conftest.err
17095 } && test -s conftest
$ac_exeext &&
17096 $as_test_x conftest
$ac_exeext; then
17097 ac_cv_search_gethostbyname
=$ac_res
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.
$ac_ext >&5
17105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17107 if test "${ac_cv_search_gethostbyname+set}" = set; then
17111 if test "${ac_cv_search_gethostbyname+set}" = set; then
17114 ac_cv_search_gethostbyname
=no
17116 rm conftest.
$ac_ext
17117 LIBS
=$ac_func_search_save_LIBS
17119 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17120 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17121 ac_res
=$ac_cv_search_gethostbyname
17122 if test "$ac_res" != no
; then
17123 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17128 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17129 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17130 if test "${ac_cv_search_connect+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 ac_func_search_save_LIBS
=$LIBS
17134 cat >conftest.
$ac_ext <<_ACEOF
17137 cat confdefs.h
>>conftest.
$ac_ext
17138 cat >>conftest.
$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17141 /* Override any GCC internal prototype to avoid an error.
17142 Use char because int might match the return type of a GCC
17143 builtin and then its argument prototype would still apply. */
17156 for ac_lib
in '' socket
; do
17157 if test -z "$ac_lib"; then
17158 ac_res
="none required"
17161 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17163 rm -f conftest.
$ac_objext conftest
$ac_exeext
17164 if { (ac_try
="$ac_link"
17165 case "(($ac_try" in
17166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_link") 2>conftest.er1
17172 grep -v '^ *+' conftest.er1 >conftest.err
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_c_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest$ac_exeext &&
17180 $as_test_x conftest$ac_exeext; then
17181 ac_cv_search_connect=$ac_res
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17191 if test "${ac_cv_search_connect+set}" = set; then
17195 if test "${ac_cv_search_connect+set}" = set; then
17198 ac_cv_search_connect=no
17200 rm conftest.$ac_ext
17201 LIBS=$ac_func_search_save_LIBS
17203 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17204 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17205 ac_res=$ac_cv_search_connect
17206 if test "$ac_res" != no; then
17207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17212 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17213 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17214 if test "${ac_cv_search_inet_aton+set}" = set; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17217 ac_func_search_save_LIBS=$LIBS
17218 cat >conftest.$ac_ext <<_ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17225 /* Override any GCC internal prototype to avoid an error.
17226 Use char because int might match the return type of a GCC
17227 builtin and then its argument prototype would still apply. */
17235 return inet_aton ();
17240 for ac_lib in '' resolv; do
17241 if test -z "$ac_lib"; then
17242 ac_res="none required"
17245 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17247 rm -f conftest.$ac_objext conftest$ac_exeext
17248 if { (ac_try="$ac_link"
17249 case "(($ac_try" in
17250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17251 *) ac_try_echo
=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_link") 2>conftest.er1
17256 grep -v '^ *+' conftest.er1
>conftest.err
17258 cat conftest.err
>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest
$ac_exeext &&
17264 $as_test_x conftest
$ac_exeext; then
17265 ac_cv_search_inet_aton
=$ac_res
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.
$ac_ext >&5
17273 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17275 if test "${ac_cv_search_inet_aton+set}" = set; then
17279 if test "${ac_cv_search_inet_aton+set}" = set; then
17282 ac_cv_search_inet_aton
=no
17284 rm conftest.
$ac_ext
17285 LIBS
=$ac_func_search_save_LIBS
17287 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17288 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17289 ac_res
=$ac_cv_search_inet_aton
17290 if test "$ac_res" != no
; then
17291 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17315 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17318 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 cat >conftest.
$ac_ext <<_ACEOF
17324 cat confdefs.h
>>conftest.
$ac_ext
17325 cat >>conftest.
$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17329 #define $ac_func innocuous_$ac_func
17331 /* System header to define __stub macros and hopefully few prototypes,
17332 which can conflict with char $ac_func (); below.
17333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17334 <limits.h> exists even on freestanding compilers. */
17337 # include <limits.h>
17339 # include <assert.h>
17344 /* Override any GCC internal prototype to avoid an error.
17345 Use char because int might match the return type of a GCC
17346 builtin and then its argument prototype would still apply. */
17351 /* The GNU C library defines this for functions which it implements
17352 to always fail with ENOSYS. Some functions are actually named
17353 something starting with __ and the normal name is an alias. */
17354 #if defined __stub_$ac_func || defined __stub___$ac_func
17361 return $ac_func ();
17366 rm -f conftest.
$ac_objext conftest
$ac_exeext
17367 if { (ac_try
="$ac_link"
17368 case "(($ac_try" in
17369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17370 *) ac_try_echo=$ac_try;;
17372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17373 (eval "$ac_link") 2>conftest.er1
17375 grep -v '^ *+' conftest.er1 >conftest.err
17377 cat conftest.err >&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } && {
17380 test -z "$ac_c_werror_flag" ||
17381 test ! -s conftest.err
17382 } && test -s conftest$ac_exeext &&
17383 $as_test_x conftest$ac_exeext; then
17384 eval "$as_ac_var=yes"
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17389 eval "$as_ac_var=no"
17392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17393 conftest$ac_exeext conftest.$ac_ext
17395 ac_res=`eval echo '${'$as_ac_var'}'`
17396 { echo "$as_me:$LINENO: result: $ac_res" >&5
17397 echo "${ECHO_T}$ac_res" >&6; }
17398 if test `eval echo '${'$as_ac_var'}'` = yes; then
17399 cat >>confdefs.h <<_ACEOF
17400 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17408 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17410 if test "${ac_cv_c_const+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 cat >conftest.$ac_ext <<_ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17423 /* FIXME: Include the comments suggested by Paul. */
17424 #ifndef __cplusplus
17425 /* Ultrix mips cc rejects this. */
17426 typedef int charset[2];
17428 /* SunOS 4.1.1 cc rejects this. */
17429 char const *const *pcpcc;
17431 /* NEC SVR4.0.2 mips cc rejects this. */
17432 struct point {int x, y;};
17433 static struct point const zero = {0,0};
17434 /* AIX XL C 1.02.0.0 rejects this.
17435 It does not let you subtract one const X* pointer from another in
17436 an arm of an if-expression whose if-part is not a constant
17438 const char *g = "string";
17439 pcpcc = &g + (g ? g-g : 0);
17440 /* HPUX 7.0 cc rejects these. */
17442 ppc = (char**) pcpcc;
17443 pcpcc = (char const *const *) ppc;
17444 { /* SCO 3.2v4 cc rejects this. */
17446 char const *s = 0 ? (char *) 0 : (char const *) 0;
17451 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17452 int x[] = {25, 17};
17453 const int *foo = &x[0];
17456 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17457 typedef const int *iptr;
17461 { /* AIX XL C 1.02.0.0 rejects this saying
17462 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17463 struct s { int j; const int *ap[3]; };
17464 struct s *b; b->j = 5;
17466 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17467 const int foo = 10;
17468 if (!foo) return 0;
17470 return !cs[0] && !zero.x;
17477 rm -f conftest.$ac_objext
17478 if { (ac_try="$ac_compile"
17479 case "(($ac_try" in
17480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17481 *) ac_try_echo
=$ac_try;;
17483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17484 (eval "$ac_compile") 2>conftest.er1
17486 grep -v '^ *+' conftest.er1
>conftest.err
17488 cat conftest.err
>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } && {
17491 test -z "$ac_c_werror_flag" ||
17492 test ! -s conftest.err
17493 } && test -s conftest.
$ac_objext; then
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17504 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17505 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17506 if test $ac_cv_c_const = no
; then
17508 cat >>confdefs.h
<<\_ACEOF
17514 { echo "$as_me:$LINENO: checking for inline" >&5
17515 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17516 if test "${ac_cv_c_inline+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17520 for ac_kw
in inline __inline__ __inline
; do
17521 cat >conftest.
$ac_ext <<_ACEOF
17524 cat confdefs.h
>>conftest.
$ac_ext
17525 cat >>conftest.
$ac_ext <<_ACEOF
17526 /* end confdefs.h. */
17527 #ifndef __cplusplus
17529 static $ac_kw foo_t static_foo () {return 0; }
17530 $ac_kw foo_t foo () {return 0; }
17534 rm -f conftest.
$ac_objext
17535 if { (ac_try
="$ac_compile"
17536 case "(($ac_try" in
17537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17538 *) ac_try_echo=$ac_try;;
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_compile") 2>conftest.er1
17543 grep -v '^ *+' conftest.er1 >conftest.err
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } && {
17548 test -z "$ac_c_werror_flag" ||
17549 test ! -s conftest.err
17550 } && test -s conftest.$ac_objext; then
17551 ac_cv_c_inline=$ac_kw
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 test "$ac_cv_c_inline" != no && break
17564 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17565 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17568 case $ac_cv_c_inline in
17571 case $ac_cv_c_inline in
17573 *) ac_val=$ac_cv_c_inline;;
17575 cat >>confdefs.h <<_ACEOF
17576 #ifndef __cplusplus
17577 #define inline $ac_val
17583 { echo "$as_me:$LINENO: checking for mode_t" >&5
17584 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17585 if test "${ac_cv_type_mode_t+set}" = set; then
17586 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 cat >conftest.$ac_ext <<_ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 $ac_includes_default
17595 typedef mode_t ac__type_new_;
17599 if ((ac__type_new_ *) 0)
17601 if (sizeof (ac__type_new_))
17607 rm -f conftest.$ac_objext
17608 if { (ac_try="$ac_compile"
17609 case "(($ac_try" in
17610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17611 *) ac_try_echo
=$ac_try;;
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_compile") 2>conftest.er1
17616 grep -v '^ *+' conftest.er1
>conftest.err
17618 cat conftest.err
>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 } && test -s conftest.
$ac_objext; then
17624 ac_cv_type_mode_t
=yes
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.
$ac_ext >&5
17629 ac_cv_type_mode_t
=no
17632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17634 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17635 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17636 if test $ac_cv_type_mode_t = yes; then
17638 cat >>confdefs.h
<<_ACEOF
17639 #define HAVE_MODE_T 1
17644 { echo "$as_me:$LINENO: checking for off_t" >&5
17645 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17646 if test "${ac_cv_type_off_t+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 $ac_includes_default
17656 typedef off_t ac__type_new_;
17660 if ((ac__type_new_ *) 0)
17662 if (sizeof (ac__type_new_))
17668 rm -f conftest.
$ac_objext
17669 if { (ac_try
="$ac_compile"
17670 case "(($ac_try" in
17671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17672 *) ac_try_echo=$ac_try;;
17674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17675 (eval "$ac_compile") 2>conftest.er1
17677 grep -v '^ *+' conftest.er1 >conftest.err
17679 cat conftest.err >&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } && {
17682 test -z "$ac_c_werror_flag" ||
17683 test ! -s conftest.err
17684 } && test -s conftest.$ac_objext; then
17685 ac_cv_type_off_t=yes
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 ac_cv_type_off_t=no
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17695 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17696 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17697 if test $ac_cv_type_off_t = yes; then
17699 cat >>confdefs.h <<_ACEOF
17700 #define HAVE_OFF_T 1
17705 { echo "$as_me:$LINENO: checking for pid_t" >&5
17706 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17707 if test "${ac_cv_type_pid_t+set}" = set; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 cat >conftest.$ac_ext <<_ACEOF
17713 cat confdefs.h >>conftest.$ac_ext
17714 cat >>conftest.$ac_ext <<_ACEOF
17715 /* end confdefs.h. */
17716 $ac_includes_default
17717 typedef pid_t ac__type_new_;
17721 if ((ac__type_new_ *) 0)
17723 if (sizeof (ac__type_new_))
17729 rm -f conftest.$ac_objext
17730 if { (ac_try="$ac_compile"
17731 case "(($ac_try" in
17732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17733 *) ac_try_echo
=$ac_try;;
17735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17736 (eval "$ac_compile") 2>conftest.er1
17738 grep -v '^ *+' conftest.er1
>conftest.err
17740 cat conftest.err
>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } && {
17743 test -z "$ac_c_werror_flag" ||
17744 test ! -s conftest.err
17745 } && test -s conftest.
$ac_objext; then
17746 ac_cv_type_pid_t
=yes
17748 echo "$as_me: failed program was:" >&5
17749 sed 's/^/| /' conftest.
$ac_ext >&5
17751 ac_cv_type_pid_t
=no
17754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17756 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17757 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17758 if test $ac_cv_type_pid_t = yes; then
17760 cat >>confdefs.h
<<_ACEOF
17761 #define HAVE_PID_T 1
17766 { echo "$as_me:$LINENO: checking for size_t" >&5
17767 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17768 if test "${ac_cv_type_size_t+set}" = set; then
17769 echo $ECHO_N "(cached) $ECHO_C" >&6
17771 cat >conftest.
$ac_ext <<_ACEOF
17774 cat confdefs.h
>>conftest.
$ac_ext
17775 cat >>conftest.
$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17777 $ac_includes_default
17778 typedef size_t ac__type_new_;
17782 if ((ac__type_new_ *) 0)
17784 if (sizeof (ac__type_new_))
17790 rm -f conftest.
$ac_objext
17791 if { (ac_try
="$ac_compile"
17792 case "(($ac_try" in
17793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;;
17796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17797 (eval "$ac_compile") 2>conftest.er1
17799 grep -v '^ *+' conftest.er1 >conftest.err
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } && {
17804 test -z "$ac_c_werror_flag" ||
17805 test ! -s conftest.err
17806 } && test -s conftest.$ac_objext; then
17807 ac_cv_type_size_t=yes
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17812 ac_cv_type_size_t=no
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17818 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17819 if test $ac_cv_type_size_t = yes; then
17821 cat >>confdefs.h <<_ACEOF
17822 #define HAVE_SIZE_T 1
17827 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17828 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17829 if test "${ac_cv_type_ssize_t+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17832 cat >conftest.$ac_ext <<_ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838 $ac_includes_default
17839 typedef ssize_t ac__type_new_;
17843 if ((ac__type_new_ *) 0)
17845 if (sizeof (ac__type_new_))
17851 rm -f conftest.$ac_objext
17852 if { (ac_try="$ac_compile"
17853 case "(($ac_try" in
17854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17855 *) ac_try_echo
=$ac_try;;
17857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17858 (eval "$ac_compile") 2>conftest.er1
17860 grep -v '^ *+' conftest.er1
>conftest.err
17862 cat conftest.err
>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } && {
17865 test -z "$ac_c_werror_flag" ||
17866 test ! -s conftest.err
17867 } && test -s conftest.
$ac_objext; then
17868 ac_cv_type_ssize_t
=yes
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.
$ac_ext >&5
17873 ac_cv_type_ssize_t
=no
17876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17878 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17879 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17880 if test $ac_cv_type_ssize_t = yes; then
17882 cat >>confdefs.h
<<_ACEOF
17883 #define HAVE_SSIZE_T 1
17888 { echo "$as_me:$LINENO: checking for long long" >&5
17889 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17890 if test "${ac_cv_type_long_long+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 cat >conftest.
$ac_ext <<_ACEOF
17896 cat confdefs.h
>>conftest.
$ac_ext
17897 cat >>conftest.
$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 $ac_includes_default
17900 typedef long long ac__type_new_;
17904 if ((ac__type_new_ *) 0)
17906 if (sizeof (ac__type_new_))
17912 rm -f conftest.
$ac_objext
17913 if { (ac_try
="$ac_compile"
17914 case "(($ac_try" in
17915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17916 *) ac_try_echo=$ac_try;;
17918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17919 (eval "$ac_compile") 2>conftest.er1
17921 grep -v '^ *+' conftest.er1 >conftest.err
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } && {
17926 test -z "$ac_c_werror_flag" ||
17927 test ! -s conftest.err
17928 } && test -s conftest.$ac_objext; then
17929 ac_cv_type_long_long=yes
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.$ac_ext >&5
17934 ac_cv_type_long_long=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17940 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17941 if test $ac_cv_type_long_long = yes; then
17943 cat >>confdefs.h <<_ACEOF
17944 #define HAVE_LONG_LONG 1
17949 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17950 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17951 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17952 echo $ECHO_N "(cached) $ECHO_C" >&6
17954 cat >conftest.$ac_ext <<_ACEOF
17957 cat confdefs.h >>conftest.$ac_ext
17958 cat >>conftest.$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 $ac_includes_default
17961 typedef fsblkcnt_t ac__type_new_;
17965 if ((ac__type_new_ *) 0)
17967 if (sizeof (ac__type_new_))
17973 rm -f conftest.$ac_objext
17974 if { (ac_try="$ac_compile"
17975 case "(($ac_try" in
17976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17977 *) ac_try_echo
=$ac_try;;
17979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17980 (eval "$ac_compile") 2>conftest.er1
17982 grep -v '^ *+' conftest.er1
>conftest.err
17984 cat conftest.err
>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } && {
17987 test -z "$ac_c_werror_flag" ||
17988 test ! -s conftest.err
17989 } && test -s conftest.
$ac_objext; then
17990 ac_cv_type_fsblkcnt_t
=yes
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.
$ac_ext >&5
17995 ac_cv_type_fsblkcnt_t
=no
17998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18000 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18001 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18002 if test $ac_cv_type_fsblkcnt_t = yes; then
18004 cat >>confdefs.h
<<_ACEOF
18005 #define HAVE_FSBLKCNT_T 1
18010 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18011 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18012 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 cat >conftest.
$ac_ext <<_ACEOF
18018 cat confdefs.h
>>conftest.
$ac_ext
18019 cat >>conftest.
$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18021 $ac_includes_default
18022 typedef fsfilcnt_t ac__type_new_;
18026 if ((ac__type_new_ *) 0)
18028 if (sizeof (ac__type_new_))
18034 rm -f conftest.
$ac_objext
18035 if { (ac_try
="$ac_compile"
18036 case "(($ac_try" in
18037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18038 *) ac_try_echo=$ac_try;;
18040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18041 (eval "$ac_compile") 2>conftest.er1
18043 grep -v '^ *+' conftest.er1 >conftest.err
18045 cat conftest.err >&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } && {
18048 test -z "$ac_c_werror_flag" ||
18049 test ! -s conftest.err
18050 } && test -s conftest.$ac_objext; then
18051 ac_cv_type_fsfilcnt_t=yes
18053 echo "$as_me: failed program was:" >&5
18054 sed 's/^/| /' conftest.$ac_ext >&5
18056 ac_cv_type_fsfilcnt_t=no
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18062 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18063 if test $ac_cv_type_fsfilcnt_t = yes; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_FSFILCNT_T 1
18072 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18073 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18074 if test "${ac_cv_type_sigset_t+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 cat >conftest.$ac_ext <<_ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 #include <signal.h>
18085 typedef sigset_t ac__type_new_;
18089 if ((ac__type_new_ *) 0)
18091 if (sizeof (ac__type_new_))
18097 rm -f conftest.$ac_objext
18098 if { (ac_try="$ac_compile"
18099 case "(($ac_try" in
18100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18101 *) ac_try_echo
=$ac_try;;
18103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18104 (eval "$ac_compile") 2>conftest.er1
18106 grep -v '^ *+' conftest.er1
>conftest.err
18108 cat conftest.err
>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } && {
18111 test -z "$ac_c_werror_flag" ||
18112 test ! -s conftest.err
18113 } && test -s conftest.
$ac_objext; then
18114 ac_cv_type_sigset_t
=yes
18116 echo "$as_me: failed program was:" >&5
18117 sed 's/^/| /' conftest.
$ac_ext >&5
18119 ac_cv_type_sigset_t
=no
18122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18124 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18125 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18126 if test $ac_cv_type_sigset_t = yes; then
18128 cat >>confdefs.h
<<_ACEOF
18129 #define HAVE_SIGSET_T 1
18135 { echo "$as_me:$LINENO: checking for request_sense" >&5
18136 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18137 if test "${ac_cv_type_request_sense+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18140 cat >conftest.
$ac_ext <<_ACEOF
18143 cat confdefs.h
>>conftest.
$ac_ext
18144 cat >>conftest.
$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 #include <linux/cdrom.h>
18148 typedef request_sense ac__type_new_;
18152 if ((ac__type_new_ *) 0)
18154 if (sizeof (ac__type_new_))
18160 rm -f conftest.
$ac_objext
18161 if { (ac_try
="$ac_compile"
18162 case "(($ac_try" in
18163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18164 *) ac_try_echo=$ac_try;;
18166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18167 (eval "$ac_compile") 2>conftest.er1
18169 grep -v '^ *+' conftest.er1 >conftest.err
18171 cat conftest.err >&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); } && {
18174 test -z "$ac_c_werror_flag" ||
18175 test ! -s conftest.err
18176 } && test -s conftest.$ac_objext; then
18177 ac_cv_type_request_sense=yes
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.$ac_ext >&5
18182 ac_cv_type_request_sense=no
18185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18187 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18188 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18189 if test $ac_cv_type_request_sense = yes; then
18191 cat >>confdefs.h <<_ACEOF
18192 #define HAVE_REQUEST_SENSE 1
18199 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18200 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18201 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18202 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 cat >conftest.$ac_ext <<_ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18210 #ifdef HAVE_LINUX_INPUT_H
18211 #include <linux/input.h>
18217 static struct ff_effect ac_aggr;
18218 if (ac_aggr.direction)
18224 rm -f conftest.$ac_objext
18225 if { (ac_try="$ac_compile"
18226 case "(($ac_try" in
18227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18228 *) ac_try_echo
=$ac_try;;
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_compile") 2>conftest.er1
18233 grep -v '^ *+' conftest.er1
>conftest.err
18235 cat conftest.err
>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } && {
18238 test -z "$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18240 } && test -s conftest.
$ac_objext; then
18241 ac_cv_member_struct_ff_effect_direction
=yes
18243 echo "$as_me: failed program was:" >&5
18244 sed 's/^/| /' conftest.
$ac_ext >&5
18246 cat >conftest.
$ac_ext <<_ACEOF
18249 cat confdefs.h
>>conftest.
$ac_ext
18250 cat >>conftest.
$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252 #ifdef HAVE_LINUX_INPUT_H
18253 #include <linux/input.h>
18259 static struct ff_effect ac_aggr;
18260 if (sizeof ac_aggr.direction)
18266 rm -f conftest.
$ac_objext
18267 if { (ac_try
="$ac_compile"
18268 case "(($ac_try" in
18269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18270 *) ac_try_echo=$ac_try;;
18272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18273 (eval "$ac_compile") 2>conftest.er1
18275 grep -v '^ *+' conftest.er1 >conftest.err
18277 cat conftest.err >&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } && {
18280 test -z "$ac_c_werror_flag" ||
18281 test ! -s conftest.err
18282 } && test -s conftest.$ac_objext; then
18283 ac_cv_member_struct_ff_effect_direction=yes
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18288 ac_cv_member_struct_ff_effect_direction=no
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18297 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18298 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18300 cat >>confdefs.h <<_ACEOF
18301 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18308 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18309 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18310 if test "${wine_cv_have_sigaddset+set}" = set; then
18311 echo $ECHO_N "(cached) $ECHO_C" >&6
18313 cat >conftest.$ac_ext <<_ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <signal.h>
18323 sigset_t set; sigaddset(&set,SIGTERM);
18328 rm -f conftest.$ac_objext conftest$ac_exeext
18329 if { (ac_try="$ac_link"
18330 case "(($ac_try" in
18331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18332 *) ac_try_echo
=$ac_try;;
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_link") 2>conftest.er1
18337 grep -v '^ *+' conftest.er1
>conftest.err
18339 cat conftest.err
>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } && {
18342 test -z "$ac_c_werror_flag" ||
18343 test ! -s conftest.err
18344 } && test -s conftest
$ac_exeext &&
18345 $as_test_x conftest
$ac_exeext; then
18346 wine_cv_have_sigaddset
=yes
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.
$ac_ext >&5
18351 wine_cv_have_sigaddset
=no
18354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18355 conftest
$ac_exeext conftest.
$ac_ext
18357 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18358 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18359 if test "$wine_cv_have_sigaddset" = "yes"
18362 cat >>confdefs.h
<<\_ACEOF
18363 #define HAVE_SIGADDSET 1
18369 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18370 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18371 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18372 echo $ECHO_N "(cached) $ECHO_C" >&6
18374 cat >conftest.
$ac_ext <<_ACEOF
18377 cat confdefs.h
>>conftest.
$ac_ext
18378 cat >>conftest.
$ac_ext <<_ACEOF
18379 /* end confdefs.h. */
18387 struct hostent *result;
18394 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18395 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18401 rm -f conftest.
$ac_objext conftest
$ac_exeext
18402 if { (ac_try
="$ac_link"
18403 case "(($ac_try" in
18404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_link") 2>conftest.er1
18410 grep -v '^ *+' conftest.er1 >conftest.err
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest$ac_exeext &&
18418 $as_test_x conftest$ac_exeext; then
18419 wine_cv_linux_gethostbyname_r_6=yes
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 wine_cv_linux_gethostbyname_r_6=no
18428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18429 conftest$ac_exeext conftest.$ac_ext
18432 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18433 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18434 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18437 cat >>confdefs.h <<\_ACEOF
18438 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18443 if test "$ac_cv_header_linux_joystick_h" = "yes"
18445 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18446 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18447 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 cat >conftest.$ac_ext <<_ACEOF
18453 cat confdefs.h >>conftest.$ac_ext
18454 cat >>conftest.$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18457 #include <sys/ioctl.h>
18458 #include <sys/types.h>
18459 #include <linux/joystick.h>
18461 struct js_event blub;
18462 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18463 #error "no 2.2 header"
18474 rm -f conftest.$ac_objext
18475 if { (ac_try="$ac_compile"
18476 case "(($ac_try" in
18477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18478 *) ac_try_echo
=$ac_try;;
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_compile") 2>conftest.er1
18483 grep -v '^ *+' conftest.er1
>conftest.err
18485 cat conftest.err
>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest.
$ac_objext; then
18491 wine_cv_linux_joystick_22_api
=yes
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.
$ac_ext >&5
18496 wine_cv_linux_joystick_22_api
=no
18499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18502 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18503 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18504 if test "$wine_cv_linux_joystick_22_api" = "yes"
18507 cat >>confdefs.h
<<\_ACEOF
18508 #define HAVE_LINUX_22_JOYSTICK_API 1
18515 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18516 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18517 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 cat >conftest.
$ac_ext <<_ACEOF
18523 cat confdefs.h
>>conftest.
$ac_ext
18524 cat >>conftest.
$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 #include <sys/types.h>
18527 #ifdef HAVE_SYS_PARAM_H
18528 # include <sys/param.h>
18530 #ifdef HAVE_SYS_MOUNT_H
18531 # include <sys/mount.h>
18533 #ifdef HAVE_SYS_VFS_H
18534 # include <sys/vfs.h>
18536 #ifdef HAVE_SYS_STATFS_H
18537 # include <sys/statfs.h>
18543 static struct statfs ac_aggr;
18544 if (ac_aggr.f_bfree)
18550 rm -f conftest.
$ac_objext
18551 if { (ac_try
="$ac_compile"
18552 case "(($ac_try" in
18553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18554 *) ac_try_echo=$ac_try;;
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_compile") 2>conftest.er1
18559 grep -v '^ *+' conftest.er1 >conftest.err
18561 cat conftest.err >&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } && {
18564 test -z "$ac_c_werror_flag" ||
18565 test ! -s conftest.err
18566 } && test -s conftest.$ac_objext; then
18567 ac_cv_member_struct_statfs_f_bfree=yes
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18572 cat >conftest.$ac_ext <<_ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 #include <sys/types.h>
18579 #ifdef HAVE_SYS_PARAM_H
18580 # include <sys/param.h>
18582 #ifdef HAVE_SYS_MOUNT_H
18583 # include <sys/mount.h>
18585 #ifdef HAVE_SYS_VFS_H
18586 # include <sys/vfs.h>
18588 #ifdef HAVE_SYS_STATFS_H
18589 # include <sys/statfs.h>
18595 static struct statfs ac_aggr;
18596 if (sizeof ac_aggr.f_bfree)
18602 rm -f conftest.$ac_objext
18603 if { (ac_try="$ac_compile"
18604 case "(($ac_try" in
18605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18606 *) ac_try_echo
=$ac_try;;
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_compile") 2>conftest.er1
18611 grep -v '^ *+' conftest.er1
>conftest.err
18613 cat conftest.err
>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } && {
18616 test -z "$ac_c_werror_flag" ||
18617 test ! -s conftest.err
18618 } && test -s conftest.
$ac_objext; then
18619 ac_cv_member_struct_statfs_f_bfree
=yes
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.
$ac_ext >&5
18624 ac_cv_member_struct_statfs_f_bfree
=no
18627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18632 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18633 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18634 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18636 cat >>confdefs.h
<<_ACEOF
18637 #define HAVE_STRUCT_STATFS_F_BFREE 1
18642 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18643 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18644 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 cat >conftest.
$ac_ext <<_ACEOF
18650 cat confdefs.h
>>conftest.
$ac_ext
18651 cat >>conftest.
$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 #include <sys/types.h>
18654 #ifdef HAVE_SYS_PARAM_H
18655 # include <sys/param.h>
18657 #ifdef HAVE_SYS_MOUNT_H
18658 # include <sys/mount.h>
18660 #ifdef HAVE_SYS_VFS_H
18661 # include <sys/vfs.h>
18663 #ifdef HAVE_SYS_STATFS_H
18664 # include <sys/statfs.h>
18670 static struct statfs ac_aggr;
18671 if (ac_aggr.f_bavail)
18677 rm -f conftest.
$ac_objext
18678 if { (ac_try
="$ac_compile"
18679 case "(($ac_try" in
18680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18681 *) ac_try_echo=$ac_try;;
18683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684 (eval "$ac_compile") 2>conftest.er1
18686 grep -v '^ *+' conftest.er1 >conftest.err
18688 cat conftest.err >&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); } && {
18691 test -z "$ac_c_werror_flag" ||
18692 test ! -s conftest.err
18693 } && test -s conftest.$ac_objext; then
18694 ac_cv_member_struct_statfs_f_bavail=yes
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.$ac_ext >&5
18699 cat >conftest.$ac_ext <<_ACEOF
18702 cat confdefs.h >>conftest.$ac_ext
18703 cat >>conftest.$ac_ext <<_ACEOF
18704 /* end confdefs.h. */
18705 #include <sys/types.h>
18706 #ifdef HAVE_SYS_PARAM_H
18707 # include <sys/param.h>
18709 #ifdef HAVE_SYS_MOUNT_H
18710 # include <sys/mount.h>
18712 #ifdef HAVE_SYS_VFS_H
18713 # include <sys/vfs.h>
18715 #ifdef HAVE_SYS_STATFS_H
18716 # include <sys/statfs.h>
18722 static struct statfs ac_aggr;
18723 if (sizeof ac_aggr.f_bavail)
18729 rm -f conftest.$ac_objext
18730 if { (ac_try="$ac_compile"
18731 case "(($ac_try" in
18732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18733 *) ac_try_echo
=$ac_try;;
18735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18736 (eval "$ac_compile") 2>conftest.er1
18738 grep -v '^ *+' conftest.er1
>conftest.err
18740 cat conftest.err
>&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); } && {
18743 test -z "$ac_c_werror_flag" ||
18744 test ! -s conftest.err
18745 } && test -s conftest.
$ac_objext; then
18746 ac_cv_member_struct_statfs_f_bavail
=yes
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.
$ac_ext >&5
18751 ac_cv_member_struct_statfs_f_bavail
=no
18754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18759 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18760 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18761 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18763 cat >>confdefs.h
<<_ACEOF
18764 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18769 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18770 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18771 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 cat >conftest.
$ac_ext <<_ACEOF
18777 cat confdefs.h
>>conftest.
$ac_ext
18778 cat >>conftest.
$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 #include <sys/types.h>
18781 #ifdef HAVE_SYS_PARAM_H
18782 # include <sys/param.h>
18784 #ifdef HAVE_SYS_MOUNT_H
18785 # include <sys/mount.h>
18787 #ifdef HAVE_SYS_VFS_H
18788 # include <sys/vfs.h>
18790 #ifdef HAVE_SYS_STATFS_H
18791 # include <sys/statfs.h>
18797 static struct statfs ac_aggr;
18798 if (ac_aggr.f_frsize)
18804 rm -f conftest.
$ac_objext
18805 if { (ac_try
="$ac_compile"
18806 case "(($ac_try" in
18807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18808 *) ac_try_echo=$ac_try;;
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_compile") 2>conftest.er1
18813 grep -v '^ *+' conftest.er1 >conftest.err
18815 cat conftest.err >&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } && {
18818 test -z "$ac_c_werror_flag" ||
18819 test ! -s conftest.err
18820 } && test -s conftest.$ac_objext; then
18821 ac_cv_member_struct_statfs_f_frsize=yes
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18826 cat >conftest.$ac_ext <<_ACEOF
18829 cat confdefs.h >>conftest.$ac_ext
18830 cat >>conftest.$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18832 #include <sys/types.h>
18833 #ifdef HAVE_SYS_PARAM_H
18834 # include <sys/param.h>
18836 #ifdef HAVE_SYS_MOUNT_H
18837 # include <sys/mount.h>
18839 #ifdef HAVE_SYS_VFS_H
18840 # include <sys/vfs.h>
18842 #ifdef HAVE_SYS_STATFS_H
18843 # include <sys/statfs.h>
18849 static struct statfs ac_aggr;
18850 if (sizeof ac_aggr.f_frsize)
18856 rm -f conftest.$ac_objext
18857 if { (ac_try="$ac_compile"
18858 case "(($ac_try" in
18859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18860 *) ac_try_echo
=$ac_try;;
18862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18863 (eval "$ac_compile") 2>conftest.er1
18865 grep -v '^ *+' conftest.er1
>conftest.err
18867 cat conftest.err
>&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } && {
18870 test -z "$ac_c_werror_flag" ||
18871 test ! -s conftest.err
18872 } && test -s conftest.
$ac_objext; then
18873 ac_cv_member_struct_statfs_f_frsize
=yes
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.
$ac_ext >&5
18878 ac_cv_member_struct_statfs_f_frsize
=no
18881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18886 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18887 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18888 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18890 cat >>confdefs.h
<<_ACEOF
18891 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18896 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18897 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18898 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 cat >conftest.
$ac_ext <<_ACEOF
18904 cat confdefs.h
>>conftest.
$ac_ext
18905 cat >>conftest.
$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 #include <sys/types.h>
18908 #ifdef HAVE_SYS_PARAM_H
18909 # include <sys/param.h>
18911 #ifdef HAVE_SYS_MOUNT_H
18912 # include <sys/mount.h>
18914 #ifdef HAVE_SYS_VFS_H
18915 # include <sys/vfs.h>
18917 #ifdef HAVE_SYS_STATFS_H
18918 # include <sys/statfs.h>
18924 static struct statfs ac_aggr;
18925 if (ac_aggr.f_ffree)
18931 rm -f conftest.
$ac_objext
18932 if { (ac_try
="$ac_compile"
18933 case "(($ac_try" in
18934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_compile") 2>conftest.er1
18940 grep -v '^ *+' conftest.er1 >conftest.err
18942 cat conftest.err >&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } && {
18945 test -z "$ac_c_werror_flag" ||
18946 test ! -s conftest.err
18947 } && test -s conftest.$ac_objext; then
18948 ac_cv_member_struct_statfs_f_ffree=yes
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18953 cat >conftest.$ac_ext <<_ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 #include <sys/types.h>
18960 #ifdef HAVE_SYS_PARAM_H
18961 # include <sys/param.h>
18963 #ifdef HAVE_SYS_MOUNT_H
18964 # include <sys/mount.h>
18966 #ifdef HAVE_SYS_VFS_H
18967 # include <sys/vfs.h>
18969 #ifdef HAVE_SYS_STATFS_H
18970 # include <sys/statfs.h>
18976 static struct statfs ac_aggr;
18977 if (sizeof ac_aggr.f_ffree)
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18987 *) ac_try_echo
=$ac_try;;
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_compile") 2>conftest.er1
18992 grep -v '^ *+' conftest.er1
>conftest.err
18994 cat conftest.err
>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } && {
18997 test -z "$ac_c_werror_flag" ||
18998 test ! -s conftest.err
18999 } && test -s conftest.
$ac_objext; then
19000 ac_cv_member_struct_statfs_f_ffree
=yes
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.
$ac_ext >&5
19005 ac_cv_member_struct_statfs_f_ffree
=no
19008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19013 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19014 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19015 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19017 cat >>confdefs.h
<<_ACEOF
19018 #define HAVE_STRUCT_STATFS_F_FFREE 1
19023 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19024 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19025 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 cat >conftest.
$ac_ext <<_ACEOF
19031 cat confdefs.h
>>conftest.
$ac_ext
19032 cat >>conftest.
$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 #include <sys/types.h>
19035 #ifdef HAVE_SYS_PARAM_H
19036 # include <sys/param.h>
19038 #ifdef HAVE_SYS_MOUNT_H
19039 # include <sys/mount.h>
19041 #ifdef HAVE_SYS_VFS_H
19042 # include <sys/vfs.h>
19044 #ifdef HAVE_SYS_STATFS_H
19045 # include <sys/statfs.h>
19051 static struct statfs ac_aggr;
19052 if (ac_aggr.f_favail)
19058 rm -f conftest.
$ac_objext
19059 if { (ac_try
="$ac_compile"
19060 case "(($ac_try" in
19061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_compile") 2>conftest.er1
19067 grep -v '^ *+' conftest.er1 >conftest.err
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err
19074 } && test -s conftest.$ac_objext; then
19075 ac_cv_member_struct_statfs_f_favail=yes
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19080 cat >conftest.$ac_ext <<_ACEOF
19083 cat confdefs.h >>conftest.$ac_ext
19084 cat >>conftest.$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086 #include <sys/types.h>
19087 #ifdef HAVE_SYS_PARAM_H
19088 # include <sys/param.h>
19090 #ifdef HAVE_SYS_MOUNT_H
19091 # include <sys/mount.h>
19093 #ifdef HAVE_SYS_VFS_H
19094 # include <sys/vfs.h>
19096 #ifdef HAVE_SYS_STATFS_H
19097 # include <sys/statfs.h>
19103 static struct statfs ac_aggr;
19104 if (sizeof ac_aggr.f_favail)
19110 rm -f conftest.$ac_objext
19111 if { (ac_try="$ac_compile"
19112 case "(($ac_try" in
19113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19114 *) ac_try_echo
=$ac_try;;
19116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_compile") 2>conftest.er1
19119 grep -v '^ *+' conftest.er1
>conftest.err
19121 cat conftest.err
>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); } && {
19124 test -z "$ac_c_werror_flag" ||
19125 test ! -s conftest.err
19126 } && test -s conftest.
$ac_objext; then
19127 ac_cv_member_struct_statfs_f_favail
=yes
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.
$ac_ext >&5
19132 ac_cv_member_struct_statfs_f_favail
=no
19135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19140 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19141 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19142 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19144 cat >>confdefs.h
<<_ACEOF
19145 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19150 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19151 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19152 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 cat >conftest.
$ac_ext <<_ACEOF
19158 cat confdefs.h
>>conftest.
$ac_ext
19159 cat >>conftest.
$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 #include <sys/types.h>
19162 #ifdef HAVE_SYS_PARAM_H
19163 # include <sys/param.h>
19165 #ifdef HAVE_SYS_MOUNT_H
19166 # include <sys/mount.h>
19168 #ifdef HAVE_SYS_VFS_H
19169 # include <sys/vfs.h>
19171 #ifdef HAVE_SYS_STATFS_H
19172 # include <sys/statfs.h>
19178 static struct statfs ac_aggr;
19179 if (ac_aggr.f_namelen)
19185 rm -f conftest.
$ac_objext
19186 if { (ac_try
="$ac_compile"
19187 case "(($ac_try" in
19188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19189 *) ac_try_echo=$ac_try;;
19191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19192 (eval "$ac_compile") 2>conftest.er1
19194 grep -v '^ *+' conftest.er1 >conftest.err
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && {
19199 test -z "$ac_c_werror_flag" ||
19200 test ! -s conftest.err
19201 } && test -s conftest.$ac_objext; then
19202 ac_cv_member_struct_statfs_f_namelen=yes
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19207 cat >conftest.$ac_ext <<_ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 #include <sys/types.h>
19214 #ifdef HAVE_SYS_PARAM_H
19215 # include <sys/param.h>
19217 #ifdef HAVE_SYS_MOUNT_H
19218 # include <sys/mount.h>
19220 #ifdef HAVE_SYS_VFS_H
19221 # include <sys/vfs.h>
19223 #ifdef HAVE_SYS_STATFS_H
19224 # include <sys/statfs.h>
19230 static struct statfs ac_aggr;
19231 if (sizeof ac_aggr.f_namelen)
19237 rm -f conftest.$ac_objext
19238 if { (ac_try="$ac_compile"
19239 case "(($ac_try" in
19240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19241 *) ac_try_echo
=$ac_try;;
19243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19244 (eval "$ac_compile") 2>conftest.er1
19246 grep -v '^ *+' conftest.er1
>conftest.err
19248 cat conftest.err
>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } && {
19251 test -z "$ac_c_werror_flag" ||
19252 test ! -s conftest.err
19253 } && test -s conftest.
$ac_objext; then
19254 ac_cv_member_struct_statfs_f_namelen
=yes
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.
$ac_ext >&5
19259 ac_cv_member_struct_statfs_f_namelen
=no
19262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19267 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19268 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19269 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19271 cat >>confdefs.h
<<_ACEOF
19272 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19279 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19280 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19281 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19284 cat >conftest.
$ac_ext <<_ACEOF
19287 cat confdefs.h
>>conftest.
$ac_ext
19288 cat >>conftest.
$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 #ifdef HAVE_SYS_STATVFS_H
19291 #include <sys/statvfs.h>
19297 static struct statvfs ac_aggr;
19298 if (ac_aggr.f_blocks)
19304 rm -f conftest.
$ac_objext
19305 if { (ac_try
="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19313 grep -v '^ *+' conftest.er1 >conftest.err
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } && {
19318 test -z "$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19320 } && test -s conftest.$ac_objext; then
19321 ac_cv_member_struct_statvfs_f_blocks=yes
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 cat >conftest.$ac_ext <<_ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 #ifdef HAVE_SYS_STATVFS_H
19333 #include <sys/statvfs.h>
19339 static struct statvfs ac_aggr;
19340 if (sizeof ac_aggr.f_blocks)
19346 rm -f conftest.$ac_objext
19347 if { (ac_try="$ac_compile"
19348 case "(($ac_try" in
19349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19350 *) ac_try_echo
=$ac_try;;
19352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19353 (eval "$ac_compile") 2>conftest.er1
19355 grep -v '^ *+' conftest.er1
>conftest.err
19357 cat conftest.err
>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); } && {
19360 test -z "$ac_c_werror_flag" ||
19361 test ! -s conftest.err
19362 } && test -s conftest.
$ac_objext; then
19363 ac_cv_member_struct_statvfs_f_blocks
=yes
19365 echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.
$ac_ext >&5
19368 ac_cv_member_struct_statvfs_f_blocks
=no
19371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19376 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19377 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19378 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19380 cat >>confdefs.h
<<_ACEOF
19381 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19388 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19389 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19390 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19391 echo $ECHO_N "(cached) $ECHO_C" >&6
19393 cat >conftest.
$ac_ext <<_ACEOF
19396 cat confdefs.h
>>conftest.
$ac_ext
19397 cat >>conftest.
$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19399 #include <sys/types.h>
19400 #ifdef HAVE_SYS_SOCKET_H
19401 # include <sys/socket.h>
19403 #ifdef HAVE_SYS_UN_H
19404 # include <sys/un.h>
19410 static struct msghdr ac_aggr;
19411 if (ac_aggr.msg_accrights)
19417 rm -f conftest.
$ac_objext
19418 if { (ac_try
="$ac_compile"
19419 case "(($ac_try" in
19420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19421 *) ac_try_echo=$ac_try;;
19423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19424 (eval "$ac_compile") 2>conftest.er1
19426 grep -v '^ *+' conftest.er1 >conftest.err
19428 cat conftest.err >&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } && {
19431 test -z "$ac_c_werror_flag" ||
19432 test ! -s conftest.err
19433 } && test -s conftest.$ac_objext; then
19434 ac_cv_member_struct_msghdr_msg_accrights=yes
19436 echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.$ac_ext >&5
19439 cat >conftest.$ac_ext <<_ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 #include <sys/types.h>
19446 #ifdef HAVE_SYS_SOCKET_H
19447 # include <sys/socket.h>
19449 #ifdef HAVE_SYS_UN_H
19450 # include <sys/un.h>
19456 static struct msghdr ac_aggr;
19457 if (sizeof ac_aggr.msg_accrights)
19463 rm -f conftest.$ac_objext
19464 if { (ac_try="$ac_compile"
19465 case "(($ac_try" in
19466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19467 *) ac_try_echo
=$ac_try;;
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_compile") 2>conftest.er1
19472 grep -v '^ *+' conftest.er1
>conftest.err
19474 cat conftest.err
>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest.
$ac_objext; then
19480 ac_cv_member_struct_msghdr_msg_accrights
=yes
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.
$ac_ext >&5
19485 ac_cv_member_struct_msghdr_msg_accrights
=no
19488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19493 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19494 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19495 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19497 cat >>confdefs.h
<<_ACEOF
19498 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19503 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19504 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19505 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 #include <sys/types.h>
19515 #ifdef HAVE_SYS_SOCKET_H
19516 # include <sys/socket.h>
19518 #ifdef HAVE_SYS_UN_H
19519 # include <sys/un.h>
19525 static struct sockaddr ac_aggr;
19526 if (ac_aggr.sa_len)
19532 rm -f conftest.
$ac_objext
19533 if { (ac_try
="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19541 grep -v '^ *+' conftest.er1 >conftest.err
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.$ac_objext; then
19549 ac_cv_member_struct_sockaddr_sa_len=yes
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19554 cat >conftest.$ac_ext <<_ACEOF
19557 cat confdefs.h >>conftest.$ac_ext
19558 cat >>conftest.$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19560 #include <sys/types.h>
19561 #ifdef HAVE_SYS_SOCKET_H
19562 # include <sys/socket.h>
19564 #ifdef HAVE_SYS_UN_H
19565 # include <sys/un.h>
19571 static struct sockaddr ac_aggr;
19572 if (sizeof ac_aggr.sa_len)
19578 rm -f conftest.$ac_objext
19579 if { (ac_try="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19582 *) ac_try_echo
=$ac_try;;
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19587 grep -v '^ *+' conftest.er1
>conftest.err
19589 cat conftest.err
>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.
$ac_objext; then
19595 ac_cv_member_struct_sockaddr_sa_len
=yes
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.
$ac_ext >&5
19600 ac_cv_member_struct_sockaddr_sa_len
=no
19603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19608 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19609 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19610 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19612 cat >>confdefs.h
<<_ACEOF
19613 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19618 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19619 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19620 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #include <sys/types.h>
19630 #ifdef HAVE_SYS_SOCKET_H
19631 # include <sys/socket.h>
19633 #ifdef HAVE_SYS_UN_H
19634 # include <sys/un.h>
19640 static struct sockaddr_un ac_aggr;
19641 if (ac_aggr.sun_len)
19647 rm -f conftest.
$ac_objext
19648 if { (ac_try
="$ac_compile"
19649 case "(($ac_try" in
19650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19651 *) ac_try_echo=$ac_try;;
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_compile") 2>conftest.er1
19656 grep -v '^ *+' conftest.er1 >conftest.err
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } && {
19661 test -z "$ac_c_werror_flag" ||
19662 test ! -s conftest.err
19663 } && test -s conftest.$ac_objext; then
19664 ac_cv_member_struct_sockaddr_un_sun_len=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 cat >conftest.$ac_ext <<_ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 #include <sys/types.h>
19676 #ifdef HAVE_SYS_SOCKET_H
19677 # include <sys/socket.h>
19679 #ifdef HAVE_SYS_UN_H
19680 # include <sys/un.h>
19686 static struct sockaddr_un ac_aggr;
19687 if (sizeof ac_aggr.sun_len)
19693 rm -f conftest.$ac_objext
19694 if { (ac_try="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19697 *) ac_try_echo
=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19702 grep -v '^ *+' conftest.er1
>conftest.err
19704 cat conftest.err
>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.
$ac_objext; then
19710 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.
$ac_ext >&5
19715 ac_cv_member_struct_sockaddr_un_sun_len
=no
19718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19724 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19725 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19727 cat >>confdefs.h
<<_ACEOF
19728 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19735 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19736 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19737 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 cat >conftest.
$ac_ext <<_ACEOF
19743 cat confdefs.h
>>conftest.
$ac_ext
19744 cat >>conftest.
$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 #include <sys/types.h>
19747 #ifdef HAVE_SCSI_SG_H
19748 #include <scsi/sg.h>
19754 static scsireq_t ac_aggr;
19761 rm -f conftest.
$ac_objext
19762 if { (ac_try
="$ac_compile"
19763 case "(($ac_try" in
19764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_compile") 2>conftest.er1
19770 grep -v '^ *+' conftest.er1 >conftest.err
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest.$ac_objext; then
19778 ac_cv_member_scsireq_t_cmd=yes
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 cat >conftest.$ac_ext <<_ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19789 #include <sys/types.h>
19790 #ifdef HAVE_SCSI_SG_H
19791 #include <scsi/sg.h>
19797 static scsireq_t ac_aggr;
19798 if (sizeof ac_aggr.cmd)
19804 rm -f conftest.$ac_objext
19805 if { (ac_try="$ac_compile"
19806 case "(($ac_try" in
19807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19808 *) ac_try_echo
=$ac_try;;
19810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19811 (eval "$ac_compile") 2>conftest.er1
19813 grep -v '^ *+' conftest.er1
>conftest.err
19815 cat conftest.err
>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && {
19818 test -z "$ac_c_werror_flag" ||
19819 test ! -s conftest.err
19820 } && test -s conftest.
$ac_objext; then
19821 ac_cv_member_scsireq_t_cmd
=yes
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19826 ac_cv_member_scsireq_t_cmd
=no
19829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19834 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19835 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19836 if test $ac_cv_member_scsireq_t_cmd = yes; then
19838 cat >>confdefs.h
<<_ACEOF
19839 #define HAVE_SCSIREQ_T_CMD 1
19844 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19845 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19846 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19847 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 cat >conftest.
$ac_ext <<_ACEOF
19852 cat confdefs.h
>>conftest.
$ac_ext
19853 cat >>conftest.
$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 #include <sys/types.h>
19856 #ifdef HAVE_SCSI_SG_H
19857 #include <scsi/sg.h>
19863 static sg_io_hdr_t ac_aggr;
19864 if (ac_aggr.interface_id)
19870 rm -f conftest.
$ac_objext
19871 if { (ac_try
="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19879 grep -v '^ *+' conftest.er1 >conftest.err
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19887 ac_cv_member_sg_io_hdr_t_interface_id=yes
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19892 cat >conftest.$ac_ext <<_ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 #include <sys/types.h>
19899 #ifdef HAVE_SCSI_SG_H
19900 #include <scsi/sg.h>
19906 static sg_io_hdr_t ac_aggr;
19907 if (sizeof ac_aggr.interface_id)
19913 rm -f conftest.$ac_objext
19914 if { (ac_try="$ac_compile"
19915 case "(($ac_try" in
19916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19917 *) ac_try_echo
=$ac_try;;
19919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19920 (eval "$ac_compile") 2>conftest.er1
19922 grep -v '^ *+' conftest.er1
>conftest.err
19924 cat conftest.err
>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } && {
19927 test -z "$ac_c_werror_flag" ||
19928 test ! -s conftest.err
19929 } && test -s conftest.
$ac_objext; then
19930 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.
$ac_ext >&5
19935 ac_cv_member_sg_io_hdr_t_interface_id
=no
19938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19943 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19944 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19945 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19947 cat >>confdefs.h
<<_ACEOF
19948 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19955 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19956 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19957 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19960 cat >conftest.
$ac_ext <<_ACEOF
19963 cat confdefs.h
>>conftest.
$ac_ext
19964 cat >>conftest.
$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 #include <signal.h>
19971 static siginfo_t ac_aggr;
19978 rm -f conftest.
$ac_objext
19979 if { (ac_try
="$ac_compile"
19980 case "(($ac_try" in
19981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19982 *) ac_try_echo=$ac_try;;
19984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19985 (eval "$ac_compile") 2>conftest.er1
19987 grep -v '^ *+' conftest.er1 >conftest.err
19989 cat conftest.err >&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } && {
19992 test -z "$ac_c_werror_flag" ||
19993 test ! -s conftest.err
19994 } && test -s conftest.$ac_objext; then
19995 ac_cv_member_siginfo_t_si_fd=yes
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
20000 cat >conftest.$ac_ext <<_ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 #include <signal.h>
20011 static siginfo_t ac_aggr;
20012 if (sizeof ac_aggr.si_fd)
20018 rm -f conftest.$ac_objext
20019 if { (ac_try="$ac_compile"
20020 case "(($ac_try" in
20021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20022 *) ac_try_echo
=$ac_try;;
20024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20025 (eval "$ac_compile") 2>conftest.er1
20027 grep -v '^ *+' conftest.er1
>conftest.err
20029 cat conftest.err
>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } && {
20032 test -z "$ac_c_werror_flag" ||
20033 test ! -s conftest.err
20034 } && test -s conftest.
$ac_objext; then
20035 ac_cv_member_siginfo_t_si_fd
=yes
20037 echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.
$ac_ext >&5
20040 ac_cv_member_siginfo_t_si_fd
=no
20043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20048 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20049 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20050 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20052 cat >>confdefs.h
<<_ACEOF
20053 #define HAVE_SIGINFO_T_SI_FD 1
20060 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20061 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20062 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20065 cat >conftest.
$ac_ext <<_ACEOF
20068 cat confdefs.h
>>conftest.
$ac_ext
20069 cat >>conftest.
$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #include <sys/types.h>
20072 #ifdef HAVE_SYS_MTIO_H
20073 #include <sys/mtio.h>
20079 static struct mtget ac_aggr;
20080 if (ac_aggr.mt_blksiz)
20086 rm -f conftest.
$ac_objext
20087 if { (ac_try
="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20095 grep -v '^ *+' conftest.er1 >conftest.err
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 ac_cv_member_struct_mtget_mt_blksiz=yes
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 cat >conftest.$ac_ext <<_ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 #include <sys/types.h>
20115 #ifdef HAVE_SYS_MTIO_H
20116 #include <sys/mtio.h>
20122 static struct mtget ac_aggr;
20123 if (sizeof ac_aggr.mt_blksiz)
20129 rm -f conftest.$ac_objext
20130 if { (ac_try="$ac_compile"
20131 case "(($ac_try" in
20132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20133 *) ac_try_echo
=$ac_try;;
20135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 (eval "$ac_compile") 2>conftest.er1
20138 grep -v '^ *+' conftest.er1
>conftest.err
20140 cat conftest.err
>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } && {
20143 test -z "$ac_c_werror_flag" ||
20144 test ! -s conftest.err
20145 } && test -s conftest.
$ac_objext; then
20146 ac_cv_member_struct_mtget_mt_blksiz
=yes
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.
$ac_ext >&5
20151 ac_cv_member_struct_mtget_mt_blksiz
=no
20154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20159 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20160 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20161 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20163 cat >>confdefs.h
<<_ACEOF
20164 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20169 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20170 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20171 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20172 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 cat >conftest.
$ac_ext <<_ACEOF
20177 cat confdefs.h
>>conftest.
$ac_ext
20178 cat >>conftest.
$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 #include <sys/types.h>
20181 #ifdef HAVE_SYS_MTIO_H
20182 #include <sys/mtio.h>
20188 static struct mtget ac_aggr;
20189 if (ac_aggr.mt_gstat)
20195 rm -f conftest.
$ac_objext
20196 if { (ac_try
="$ac_compile"
20197 case "(($ac_try" in
20198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_compile") 2>conftest.er1
20204 grep -v '^ *+' conftest.er1 >conftest.err
20206 cat conftest.err >&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } && {
20209 test -z "$ac_c_werror_flag" ||
20210 test ! -s conftest.err
20211 } && test -s conftest.$ac_objext; then
20212 ac_cv_member_struct_mtget_mt_gstat=yes
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 cat >conftest.$ac_ext <<_ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 #include <sys/types.h>
20224 #ifdef HAVE_SYS_MTIO_H
20225 #include <sys/mtio.h>
20231 static struct mtget ac_aggr;
20232 if (sizeof ac_aggr.mt_gstat)
20238 rm -f conftest.$ac_objext
20239 if { (ac_try="$ac_compile"
20240 case "(($ac_try" in
20241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20242 *) ac_try_echo
=$ac_try;;
20244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20245 (eval "$ac_compile") 2>conftest.er1
20247 grep -v '^ *+' conftest.er1
>conftest.err
20249 cat conftest.err
>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } && {
20252 test -z "$ac_c_werror_flag" ||
20253 test ! -s conftest.err
20254 } && test -s conftest.
$ac_objext; then
20255 ac_cv_member_struct_mtget_mt_gstat
=yes
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 ac_cv_member_struct_mtget_mt_gstat
=no
20263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20268 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20269 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20270 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20272 cat >>confdefs.h
<<_ACEOF
20273 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20278 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20279 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20280 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20281 echo $ECHO_N "(cached) $ECHO_C" >&6
20283 cat >conftest.
$ac_ext <<_ACEOF
20286 cat confdefs.h
>>conftest.
$ac_ext
20287 cat >>conftest.
$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 #include <sys/types.h>
20290 #ifdef HAVE_SYS_MTIO_H
20291 #include <sys/mtio.h>
20297 static struct mtget ac_aggr;
20298 if (ac_aggr.mt_blkno)
20304 rm -f conftest.
$ac_objext
20305 if { (ac_try
="$ac_compile"
20306 case "(($ac_try" in
20307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20311 (eval "$ac_compile") 2>conftest.er1
20313 grep -v '^ *+' conftest.er1 >conftest.err
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } && {
20318 test -z "$ac_c_werror_flag" ||
20319 test ! -s conftest.err
20320 } && test -s conftest.$ac_objext; then
20321 ac_cv_member_struct_mtget_mt_blkno=yes
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20326 cat >conftest.$ac_ext <<_ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332 #include <sys/types.h>
20333 #ifdef HAVE_SYS_MTIO_H
20334 #include <sys/mtio.h>
20340 static struct mtget ac_aggr;
20341 if (sizeof ac_aggr.mt_blkno)
20347 rm -f conftest.$ac_objext
20348 if { (ac_try="$ac_compile"
20349 case "(($ac_try" in
20350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20351 *) ac_try_echo
=$ac_try;;
20353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20354 (eval "$ac_compile") 2>conftest.er1
20356 grep -v '^ *+' conftest.er1
>conftest.err
20358 cat conftest.err
>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } && {
20361 test -z "$ac_c_werror_flag" ||
20362 test ! -s conftest.err
20363 } && test -s conftest.
$ac_objext; then
20364 ac_cv_member_struct_mtget_mt_blkno
=yes
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.
$ac_ext >&5
20369 ac_cv_member_struct_mtget_mt_blkno
=no
20372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20377 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20378 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20379 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20381 cat >>confdefs.h
<<_ACEOF
20382 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20389 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20390 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20391 if test "${ac_cv_member_struct_option_name+set}" = set; then
20392 echo $ECHO_N "(cached) $ECHO_C" >&6
20394 cat >conftest.
$ac_ext <<_ACEOF
20397 cat confdefs.h
>>conftest.
$ac_ext
20398 cat >>conftest.
$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 #ifdef HAVE_GETOPT_H
20401 #include <getopt.h>
20407 static struct option ac_aggr;
20414 rm -f conftest.
$ac_objext
20415 if { (ac_try
="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20421 (eval "$ac_compile") 2>conftest.er1
20423 grep -v '^ *+' conftest.er1 >conftest.err
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } && {
20428 test -z "$ac_c_werror_flag" ||
20429 test ! -s conftest.err
20430 } && test -s conftest.$ac_objext; then
20431 ac_cv_member_struct_option_name=yes
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20436 cat >conftest.$ac_ext <<_ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 #ifdef HAVE_GETOPT_H
20443 #include <getopt.h>
20449 static struct option ac_aggr;
20450 if (sizeof ac_aggr.name)
20456 rm -f conftest.$ac_objext
20457 if { (ac_try="$ac_compile"
20458 case "(($ac_try" in
20459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20460 *) ac_try_echo
=$ac_try;;
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_compile") 2>conftest.er1
20465 grep -v '^ *+' conftest.er1
>conftest.err
20467 cat conftest.err
>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } && {
20470 test -z "$ac_c_werror_flag" ||
20471 test ! -s conftest.err
20472 } && test -s conftest.
$ac_objext; then
20473 ac_cv_member_struct_option_name
=yes
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.
$ac_ext >&5
20478 ac_cv_member_struct_option_name
=no
20481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20486 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20487 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20488 if test $ac_cv_member_struct_option_name = yes; then
20490 cat >>confdefs.h
<<_ACEOF
20491 #define HAVE_STRUCT_OPTION_NAME 1
20498 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20499 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20500 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 cat >conftest.
$ac_ext <<_ACEOF
20506 cat confdefs.h
>>conftest.
$ac_ext
20507 cat >>conftest.
$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 $ac_includes_default
20513 static struct stat ac_aggr;
20514 if (ac_aggr.st_blocks)
20520 rm -f conftest.
$ac_objext
20521 if { (ac_try
="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1 >conftest.err
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } && {
20534 test -z "$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 } && test -s conftest.$ac_objext; then
20537 ac_cv_member_struct_stat_st_blocks=yes
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 cat >conftest.$ac_ext <<_ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 $ac_includes_default
20552 static struct stat ac_aggr;
20553 if (sizeof ac_aggr.st_blocks)
20559 rm -f conftest.$ac_objext
20560 if { (ac_try="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20563 *) ac_try_echo
=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1
>conftest.err
20570 cat conftest.err
>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.
$ac_objext; then
20576 ac_cv_member_struct_stat_st_blocks
=yes
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.
$ac_ext >&5
20581 ac_cv_member_struct_stat_st_blocks
=no
20584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20589 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20590 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20591 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20593 cat >>confdefs.h
<<_ACEOF
20594 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20601 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20602 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20603 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20606 cat >conftest.
$ac_ext <<_ACEOF
20609 cat confdefs.h
>>conftest.
$ac_ext
20610 cat >>conftest.
$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 #ifdef HAVE_SYS_TYPES_H
20613 #include <sys/types.h>
20615 #ifdef HAVE_NETINET_IN_H
20616 #include <netinet/in.h>
20622 static struct sockaddr_in6 ac_aggr;
20623 if (ac_aggr.sin6_scope_id)
20629 rm -f conftest.
$ac_objext
20630 if { (ac_try
="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_compile") 2>conftest.er1
20638 grep -v '^ *+' conftest.er1 >conftest.err
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && {
20643 test -z "$ac_c_werror_flag" ||
20644 test ! -s conftest.err
20645 } && test -s conftest.$ac_objext; then
20646 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 cat >conftest.$ac_ext <<_ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 #ifdef HAVE_SYS_TYPES_H
20658 #include <sys/types.h>
20660 #ifdef HAVE_NETINET_IN_H
20661 #include <netinet/in.h>
20667 static struct sockaddr_in6 ac_aggr;
20668 if (sizeof ac_aggr.sin6_scope_id)
20674 rm -f conftest.$ac_objext
20675 if { (ac_try="$ac_compile"
20676 case "(($ac_try" in
20677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20678 *) ac_try_echo
=$ac_try;;
20680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20681 (eval "$ac_compile") 2>conftest.er1
20683 grep -v '^ *+' conftest.er1
>conftest.err
20685 cat conftest.err
>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } && {
20688 test -z "$ac_c_werror_flag" ||
20689 test ! -s conftest.err
20690 } && test -s conftest.
$ac_objext; then
20691 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.
$ac_ext >&5
20696 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20704 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20705 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20706 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20708 cat >>confdefs.h
<<_ACEOF
20709 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20716 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20717 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20718 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 cat >conftest.
$ac_ext <<_ACEOF
20724 cat confdefs.h
>>conftest.
$ac_ext
20725 cat >>conftest.
$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 #ifdef HAVE_SYS_TYPES_H
20728 #include <sys/types.h>
20730 #ifdef HAVE_NETINET_IN_H
20731 # include <netinet/in.h>
20733 #ifdef HAVE_ARPA_NAMESER_H
20734 # include <arpa/nameser.h>
20740 static ns_msg ac_aggr;
20741 if (ac_aggr._msg_ptr)
20747 rm -f conftest.
$ac_objext
20748 if { (ac_try
="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20756 grep -v '^ *+' conftest.er1 >conftest.err
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_cv_member_ns_msg__msg_ptr=yes
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 cat >conftest.$ac_ext <<_ACEOF
20772 cat confdefs.h >>conftest.$ac_ext
20773 cat >>conftest.$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #ifdef HAVE_SYS_TYPES_H
20776 #include <sys/types.h>
20778 #ifdef HAVE_NETINET_IN_H
20779 # include <netinet/in.h>
20781 #ifdef HAVE_ARPA_NAMESER_H
20782 # include <arpa/nameser.h>
20788 static ns_msg ac_aggr;
20789 if (sizeof ac_aggr._msg_ptr)
20795 rm -f conftest.$ac_objext
20796 if { (ac_try="$ac_compile"
20797 case "(($ac_try" in
20798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20799 *) ac_try_echo
=$ac_try;;
20801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20802 (eval "$ac_compile") 2>conftest.er1
20804 grep -v '^ *+' conftest.er1
>conftest.err
20806 cat conftest.err
>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } && {
20809 test -z "$ac_c_werror_flag" ||
20810 test ! -s conftest.err
20811 } && test -s conftest.
$ac_objext; then
20812 ac_cv_member_ns_msg__msg_ptr
=yes
20814 echo "$as_me: failed program was:" >&5
20815 sed 's/^/| /' conftest.
$ac_ext >&5
20817 ac_cv_member_ns_msg__msg_ptr
=no
20820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20825 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20826 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20827 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20829 cat >>confdefs.h
<<_ACEOF
20830 #define HAVE_NS_MSG__MSG_PTR 1
20837 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20838 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20839 if test "${ac_cv_have_timezone+set}" = set; then
20840 echo $ECHO_N "(cached) $ECHO_C" >&6
20842 cat >conftest.
$ac_ext <<_ACEOF
20845 cat confdefs.h
>>conftest.
$ac_ext
20846 cat >>conftest.
$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20857 rm -f conftest.
$ac_objext conftest
$ac_exeext
20858 if { (ac_try
="$ac_link"
20859 case "(($ac_try" in
20860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_link") 2>conftest.er1
20866 grep -v '^ *+' conftest.er1 >conftest.err
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest$ac_exeext &&
20874 $as_test_x conftest$ac_exeext; then
20875 ac_cv_have_timezone="yes"
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20880 ac_cv_have_timezone="no"
20883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20884 conftest$ac_exeext conftest.$ac_ext
20886 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20887 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20888 if test "$ac_cv_have_timezone" = "yes"
20891 cat >>confdefs.h <<\_ACEOF
20892 #define HAVE_TIMEZONE 1
20896 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20897 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20898 if test "${ac_cv_have_daylight+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 cat >conftest.$ac_ext <<_ACEOF
20904 cat confdefs.h >>conftest.$ac_ext
20905 cat >>conftest.$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20916 rm -f conftest.$ac_objext conftest$ac_exeext
20917 if { (ac_try="$ac_link"
20918 case "(($ac_try" in
20919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20920 *) ac_try_echo
=$ac_try;;
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_link") 2>conftest.er1
20925 grep -v '^ *+' conftest.er1
>conftest.err
20927 cat conftest.err
>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest
$ac_exeext &&
20933 $as_test_x conftest
$ac_exeext; then
20934 ac_cv_have_daylight
="yes"
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.
$ac_ext >&5
20939 ac_cv_have_daylight
="no"
20942 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20943 conftest
$ac_exeext conftest.
$ac_ext
20945 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20946 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20947 if test "$ac_cv_have_daylight" = "yes"
20950 cat >>confdefs.h
<<\_ACEOF
20951 #define HAVE_DAYLIGHT 1
20958 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20959 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20960 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20963 cat >conftest.
$ac_ext <<_ACEOF
20966 cat confdefs.h
>>conftest.
$ac_ext
20967 cat >>conftest.
$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20974 $EGREP "yes" >/dev
/null
2>&1; then
20975 ac_cv_cpp_def___i386__
=yes
20977 ac_cv_cpp_def___i386__
=no
20982 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20983 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20984 if test $ac_cv_cpp_def___i386__ = yes; then
20985 CFLAGS
="$CFLAGS -D__i386__"
20986 LINTFLAGS
="$LINTFLAGS -D__i386__"
20989 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20990 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20991 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 cat >conftest.
$ac_ext <<_ACEOF
20997 cat confdefs.h
>>conftest.
$ac_ext
20998 cat >>conftest.
$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21005 $EGREP "yes" >/dev
/null
2>&1; then
21006 ac_cv_cpp_def___x86_64__
=yes
21008 ac_cv_cpp_def___x86_64__
=no
21013 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21014 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21015 if test $ac_cv_cpp_def___x86_64__ = yes; then
21016 CFLAGS
="$CFLAGS -D__x86_64__"
21017 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21020 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21021 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21022 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 cat >conftest.
$ac_ext <<_ACEOF
21028 cat confdefs.h
>>conftest.
$ac_ext
21029 cat >>conftest.
$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21036 $EGREP "yes" >/dev
/null
2>&1; then
21037 ac_cv_cpp_def___ALPHA__
=yes
21039 ac_cv_cpp_def___ALPHA__
=no
21044 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21045 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21046 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21047 CFLAGS
="$CFLAGS -D__ALPHA__"
21048 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21051 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21052 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21053 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21054 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 cat >conftest.
$ac_ext <<_ACEOF
21059 cat confdefs.h
>>conftest.
$ac_ext
21060 cat >>conftest.
$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21067 $EGREP "yes" >/dev
/null
2>&1; then
21068 ac_cv_cpp_def___sparc__
=yes
21070 ac_cv_cpp_def___sparc__
=no
21075 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21076 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21077 if test $ac_cv_cpp_def___sparc__ = yes; then
21078 CFLAGS
="$CFLAGS -D__sparc__"
21079 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21082 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21083 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21084 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21085 echo $ECHO_N "(cached) $ECHO_C" >&6
21087 cat >conftest.
$ac_ext <<_ACEOF
21090 cat confdefs.h
>>conftest.
$ac_ext
21091 cat >>conftest.
$ac_ext <<_ACEOF
21092 /* end confdefs.h. */
21093 #ifndef __powerpc__
21097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21098 $EGREP "yes" >/dev
/null
2>&1; then
21099 ac_cv_cpp_def___powerpc__
=yes
21101 ac_cv_cpp_def___powerpc__
=no
21106 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21107 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21108 if test $ac_cv_cpp_def___powerpc__ = yes; then
21109 CFLAGS
="$CFLAGS -D__powerpc__"
21110 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21115 case $host_vendor in
21116 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21117 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21118 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21119 echo $ECHO_N "(cached) $ECHO_C" >&6
21121 cat >conftest.
$ac_ext <<_ACEOF
21124 cat confdefs.h
>>conftest.
$ac_ext
21125 cat >>conftest.
$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21132 $EGREP "yes" >/dev
/null
2>&1; then
21133 ac_cv_cpp_def___sun__
=yes
21135 ac_cv_cpp_def___sun__
=no
21140 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21141 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21142 if test $ac_cv_cpp_def___sun__ = yes; then
21143 CFLAGS
="$CFLAGS -D__sun__"
21144 LINTFLAGS
="$LINTFLAGS -D__sun__"
21150 DEPENDENCIES
="### Dependencies:
21155 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21157 \$(OBJS): \$(IDL_GEN_HEADERS)
21158 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21159 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21160 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21166 ac_config_commands
="$ac_config_commands include/stamp-h"
21169 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21171 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21173 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21175 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21177 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21179 ac_config_commands
="$ac_config_commands include/wine"
21182 MAKE_RULES
=Make.rules
21185 MAKE_DLL_RULES
=dlls
/Makedll.rules
21188 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21191 MAKE_TEST_RULES
=dlls
/Maketest.rules
21194 MAKE_PROG_RULES
=programs
/Makeprog.rules
21197 ac_config_files
="$ac_config_files Make.rules"
21199 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21201 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21203 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21205 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21207 ac_config_files
="$ac_config_files Makefile"
21209 ac_config_files
="$ac_config_files dlls/Makefile"
21211 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21213 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21215 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21217 ac_config_files
="$ac_config_files dlls/adsiid/Makefile"
21219 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21221 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21223 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21225 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21227 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21229 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21231 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21233 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21235 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21237 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21239 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21241 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21243 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21245 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21247 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21249 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21251 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21253 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21255 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21257 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21259 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21261 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21263 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21265 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21267 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21269 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21271 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21273 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21275 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
21277 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
21279 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
21281 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
21283 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
21285 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
21287 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
21289 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
21291 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
21293 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
21295 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
21297 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
21299 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
21301 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
21303 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
21305 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
21307 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
21309 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
21311 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
21313 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
21315 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
21317 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
21319 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
21321 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
21323 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
21325 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
21327 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
21329 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
21331 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
21333 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
21335 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
21337 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
21339 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
21341 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
21343 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
21345 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
21347 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
21349 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
21351 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
21353 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
21355 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
21357 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
21359 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
21361 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
21363 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
21365 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
21367 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
21369 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
21371 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
21373 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
21375 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
21377 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
21379 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
21381 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
21383 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
21385 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
21387 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
21389 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
21391 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
21393 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
21395 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
21397 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
21399 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
21401 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
21403 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
21405 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
21407 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
21409 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
21411 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
21413 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
21415 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
21417 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
21419 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
21421 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
21423 ac_config_files
="$ac_config_files dlls/hal/Makefile"
21425 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
21427 ac_config_files
="$ac_config_files dlls/hid/Makefile"
21429 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
21431 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
21433 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
21435 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
21437 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
21439 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21441 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
21443 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
21445 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
21447 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
21449 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
21451 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
21453 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
21455 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
21457 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
21459 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
21461 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
21463 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
21465 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
21467 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
21469 ac_config_files
="$ac_config_files dlls/itss/Makefile"
21471 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
21473 ac_config_files
="$ac_config_files dlls/jscript/Makefile"
21475 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
21477 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
21479 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
21481 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
21483 ac_config_files
="$ac_config_files dlls/localui/Makefile"
21485 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
21487 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
21489 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
21491 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
21493 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
21495 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
21497 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
21499 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
21501 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
21503 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
21505 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
21507 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
21509 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21511 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
21513 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
21515 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
21517 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
21519 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
21521 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
21523 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
21525 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
21527 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
21529 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
21531 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
21533 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
21535 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
21537 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
21539 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
21541 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
21543 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
21545 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
21547 ac_config_files
="$ac_config_files dlls/msi/Makefile"
21549 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
21551 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
21553 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
21555 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
21557 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
21559 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
21561 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
21563 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
21565 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
21567 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
21569 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
21571 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
21573 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
21575 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
21577 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
21579 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
21581 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
21583 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
21585 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
21587 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
21589 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
21591 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
21593 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
21595 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
21597 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
21599 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
21601 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
21603 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
21605 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21607 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
21609 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
21611 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
21613 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
21615 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
21617 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
21619 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
21621 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
21623 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
21625 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
21627 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
21629 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
21631 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
21633 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
21635 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
21637 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
21639 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
21641 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
21643 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
21645 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
21647 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
21649 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21651 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
21653 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21655 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21657 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21659 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21661 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
21663 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
21665 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21667 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
21669 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21671 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21673 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21675 ac_config_files
="$ac_config_files dlls/query/Makefile"
21677 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21679 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21681 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21683 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21685 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21687 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21689 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21691 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21693 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21695 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
21697 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21699 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21701 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21703 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
21705 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21707 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21709 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21711 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21713 ac_config_files
="$ac_config_files dlls/security/Makefile"
21715 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21717 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21719 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21721 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21723 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21725 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21727 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21729 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21731 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21733 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21735 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21737 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21739 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21741 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21743 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21745 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
21747 ac_config_files
="$ac_config_files dlls/slc/Makefile"
21749 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21751 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21753 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
21755 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21757 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21759 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21761 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21763 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21765 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21767 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21769 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21771 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21773 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21775 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21777 ac_config_files
="$ac_config_files dlls/url/Makefile"
21779 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21781 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21783 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21785 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21787 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21789 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21791 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21793 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21795 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21797 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21799 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21801 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21803 ac_config_files
="$ac_config_files dlls/version/Makefile"
21805 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21807 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21809 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21811 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21813 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21815 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21817 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21819 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21821 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21823 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21825 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21827 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21829 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21831 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21833 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21835 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21837 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21839 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21841 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21843 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21845 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21847 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21849 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21851 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21853 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21855 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21857 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21859 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21861 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21863 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21865 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21867 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21869 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21871 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21873 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21875 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21877 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
21879 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21881 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21883 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21885 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21887 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21889 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21891 ac_config_files
="$ac_config_files documentation/Makefile"
21893 ac_config_files
="$ac_config_files fonts/Makefile"
21895 ac_config_files
="$ac_config_files include/Makefile"
21897 ac_config_files
="$ac_config_files libs/Makefile"
21899 ac_config_files
="$ac_config_files libs/port/Makefile"
21901 ac_config_files
="$ac_config_files libs/wine/Makefile"
21903 ac_config_files
="$ac_config_files libs/wpp/Makefile"
21905 ac_config_files
="$ac_config_files loader/Makefile"
21907 ac_config_files
="$ac_config_files programs/Makefile"
21909 ac_config_files
="$ac_config_files programs/clock/Makefile"
21911 ac_config_files
="$ac_config_files programs/cmd/Makefile"
21913 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
21915 ac_config_files
="$ac_config_files programs/control/Makefile"
21917 ac_config_files
="$ac_config_files programs/eject/Makefile"
21919 ac_config_files
="$ac_config_files programs/expand/Makefile"
21921 ac_config_files
="$ac_config_files programs/explorer/Makefile"
21923 ac_config_files
="$ac_config_files programs/hh/Makefile"
21925 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
21927 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
21929 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
21931 ac_config_files
="$ac_config_files programs/net/Makefile"
21933 ac_config_files
="$ac_config_files programs/notepad/Makefile"
21935 ac_config_files
="$ac_config_files programs/oleview/Makefile"
21937 ac_config_files
="$ac_config_files programs/progman/Makefile"
21939 ac_config_files
="$ac_config_files programs/reg/Makefile"
21941 ac_config_files
="$ac_config_files programs/regedit/Makefile"
21943 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
21945 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
21947 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
21949 ac_config_files
="$ac_config_files programs/secedit/Makefile"
21951 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
21953 ac_config_files
="$ac_config_files programs/start/Makefile"
21955 ac_config_files
="$ac_config_files programs/svchost/Makefile"
21957 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
21959 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
21961 ac_config_files
="$ac_config_files programs/view/Makefile"
21963 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
21965 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
21967 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
21969 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
21971 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
21973 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
21975 ac_config_files
="$ac_config_files programs/winefile/Makefile"
21977 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
21979 ac_config_files
="$ac_config_files programs/winemine/Makefile"
21981 ac_config_files
="$ac_config_files programs/winepath/Makefile"
21983 ac_config_files
="$ac_config_files programs/winetest/Makefile"
21985 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
21987 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
21989 ac_config_files
="$ac_config_files programs/winver/Makefile"
21991 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
21993 ac_config_files
="$ac_config_files programs/write/Makefile"
21995 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
21997 ac_config_files
="$ac_config_files server/Makefile"
21999 ac_config_files
="$ac_config_files tools/Makefile"
22001 ac_config_files
="$ac_config_files tools/widl/Makefile"
22003 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
22005 ac_config_files
="$ac_config_files tools/winedump/Makefile"
22007 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
22009 ac_config_files
="$ac_config_files tools/wmc/Makefile"
22011 ac_config_files
="$ac_config_files tools/wrc/Makefile"
22014 cat >confcache
<<\_ACEOF
22015 # This file is a shell script that caches the results of configure
22016 # tests run on this system so they can be shared between configure
22017 # scripts and configure runs, see configure's option --config-cache.
22018 # It is not useful on other systems. If it contains results you don't
22019 # want to keep, you may remove or edit it.
22021 # config.status only pays attention to the cache file if you give it
22022 # the --recheck option to rerun configure.
22024 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22025 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22026 # following values.
22030 # The following way of writing the cache mishandles newlines in values,
22031 # but we know of no workaround that is simple, portable, and efficient.
22032 # So, we kill variables containing newlines.
22033 # Ultrix sh set writes to stderr and can't be redirected directly,
22034 # and sets the high bit in the cache file unless we assign to the vars.
22036 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22037 eval ac_val
=\$
$ac_var
22041 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22042 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22045 _ | IFS | as_nl
) ;; #(
22046 *) $as_unset $ac_var ;;
22052 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22053 *${as_nl}ac_space
=\
*)
22054 # `set' does not quote correctly, so add quotes (double-quote
22055 # substitution turns \\\\ into \\, and sed turns \\ into \).
22058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22061 # `set' quotes correctly as required by POSIX, so do not add quotes.
22062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22071 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22073 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22075 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22076 if test -w "$cache_file"; then
22077 test "x$cache_file" != "x/dev/null" &&
22078 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22079 echo "$as_me: updating cache $cache_file" >&6;}
22080 cat confcache
>$cache_file
22082 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22083 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22088 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22089 # Let make expand exec_prefix.
22090 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22092 DEFS
=-DHAVE_CONFIG_H
22096 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22097 # 1. Remove the extension, and $U if already installed.
22098 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22099 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22100 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22101 # will be set to the directory where LIBOBJS objects are built.
22102 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22103 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22105 LIBOBJS
=$ac_libobjs
22107 LTLIBOBJS
=$ac_ltlibobjs
22111 : ${CONFIG_STATUS=./config.status}
22112 ac_clean_files_save
=$ac_clean_files
22113 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22114 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22115 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22116 cat >$CONFIG_STATUS <<_ACEOF
22118 # Generated by $as_me.
22119 # Run this file to recreate the current configuration.
22120 # Compiler output produced by configure, useful for debugging
22121 # configure, is in config.log if it exists.
22124 ac_cs_recheck=false
22126 SHELL=\${CONFIG_SHELL-$SHELL}
22129 cat >>$CONFIG_STATUS <<\_ACEOF
22130 ## --------------------- ##
22131 ## M4sh Initialization. ##
22132 ## --------------------- ##
22134 # Be more Bourne compatible
22135 DUALCASE
=1; export DUALCASE
# for MKS sh
22136 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22139 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22140 # is contrary to our usage. Disable this feature.
22141 alias -g '${1+"$@"}'='"$@"'
22142 setopt NO_GLOB_SUBST
22144 case `(set -o) 2>/dev/null` in
22145 *posix
*) set -o posix
;;
22154 # Avoid depending upon Character Ranges.
22155 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22156 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22157 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22158 as_cr_digits
='0123456789'
22159 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22161 # The user is always right.
22162 if test "${PATH_SEPARATOR+set}" != set; then
22163 echo "#! /bin/sh" >conf$$.sh
22164 echo "exit 0" >>conf$$.sh
22166 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22174 # Support unset when possible.
22175 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22183 # We need space, tab and new line, in precisely that order. Quoting is
22184 # there to prevent editors from complaining about space-tab.
22185 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22186 # splitting by setting IFS to empty value.)
22191 # Find who we are. Look in the path if we contain no directory separator.
22193 *[\\/]* ) as_myself
=$0 ;;
22194 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22195 for as_dir
in $PATH
22198 test -z "$as_dir" && as_dir
=.
22199 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22205 # We did not find ourselves, most probably we were run as `sh COMMAND'
22206 # in which case we are not to be found in the path.
22207 if test "x$as_myself" = x
; then
22210 if test ! -f "$as_myself"; then
22211 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22212 { (exit 1); exit 1; }
22215 # Work around bugs in pre-3.0 UWIN ksh.
22216 for as_var
in ENV MAIL MAILPATH
22217 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22227 LC_TELEPHONE LC_TIME
22229 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22230 eval $as_var=C
; export $as_var
22232 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22236 # Required to use basename.
22237 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22238 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22244 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22245 as_basename
=basename
22251 # Name of the executable.
22252 as_me
=`$as_basename -- "$0" ||
22253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22254 X"$0" : 'X\(//\)$' \| \
22255 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22257 sed '/^.*\/\([^/][^/]*\)\/*$/{
22276 as_lineno_1
=$LINENO
22277 as_lineno_2
=$LINENO
22278 test "x$as_lineno_1" != "x$as_lineno_2" &&
22279 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22281 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22282 # uniformly replaced by the line number. The first 'sed' inserts a
22283 # line-number line after each line using $LINENO; the second 'sed'
22284 # does the real work. The second script uses 'N' to pair each
22285 # line-number line with the line containing $LINENO, and appends
22286 # trailing '-' during substitution so that $LINENO is not a special
22287 # case at line end.
22288 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22289 # scripts with optimization help from Paolo Bonzini. Blame Lee
22290 # E. McMahon (1931-1989) for sed's syntax. :-)
22302 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22305 ' >$as_me.lineno
&&
22306 chmod +x
"$as_me.lineno" ||
22307 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22308 { (exit 1); exit 1; }; }
22310 # Don't try to exec as it changes $[0], causing all sort of problems
22311 # (the dirname of $[0] is not the place where we might find the
22312 # original and so on. Autoconf is especially sensitive to this).
22313 .
"./$as_me.lineno"
22314 # Exit status is that of the last command.
22319 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22325 ECHO_C
= ECHO_N
= ECHO_T
=
22326 case `echo -n x` in
22328 case `echo 'x\c'` in
22329 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22336 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22337 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22343 rm -f conf$$ conf$$.exe conf$$.
file
22344 if test -d conf$$.dir
; then
22345 rm -f conf$$.dir
/conf$$.
file
22351 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22353 # ... but there are two gotchas:
22354 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22355 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22356 # In both cases, we have to default to `cp -p'.
22357 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22359 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22364 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22365 rmdir conf$$.dir
2>/dev
/null
22367 if mkdir
-p .
2>/dev
/null
; then
22370 test -d .
/-p && rmdir .
/-p
22374 if test -x / >/dev
/null
2>&1; then
22375 as_test_x
='test -x'
22377 if ls -dL / >/dev
/null
2>&1; then
22384 if test -d "$1"; then
22390 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22391 ???[sx]*):;;*)false;;esac;fi
22395 as_executable_p
=$as_test_x
22397 # Sed expression to map a string onto a valid CPP name.
22398 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22400 # Sed expression to map a string onto a valid variable name.
22401 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22406 # Save the log message, to keep $[0] and so on meaningful, and to
22407 # report actual input values of CONFIG_FILES etc. instead of their
22408 # values after options handling.
22410 This file was extended by Wine $as_me 0.9.57, which was
22411 generated by GNU Autoconf 2.61. Invocation command line was
22413 CONFIG_FILES = $CONFIG_FILES
22414 CONFIG_HEADERS = $CONFIG_HEADERS
22415 CONFIG_LINKS = $CONFIG_LINKS
22416 CONFIG_COMMANDS = $CONFIG_COMMANDS
22419 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22424 cat >>$CONFIG_STATUS <<_ACEOF
22425 # Files that config.status was made for.
22426 config_files="$ac_config_files"
22427 config_headers="$ac_config_headers"
22428 config_commands="$ac_config_commands"
22432 cat >>$CONFIG_STATUS <<\_ACEOF
22434 \`$as_me' instantiates files from templates according to the
22435 current configuration.
22437 Usage: $0 [OPTIONS] [FILE]...
22439 -h, --help print this help, then exit
22440 -V, --version print version number and configuration settings, then exit
22441 -q, --quiet do not print progress messages
22442 -d, --debug don't remove temporary files
22443 --recheck update $as_me by reconfiguring in the same conditions
22444 --file=FILE[:TEMPLATE]
22445 instantiate the configuration file FILE
22446 --header=FILE[:TEMPLATE]
22447 instantiate the configuration header FILE
22449 Configuration files:
22452 Configuration headers:
22455 Configuration commands:
22458 Report bugs to <bug-autoconf@gnu.org>."
22461 cat >>$CONFIG_STATUS <<_ACEOF
22463 Wine config.status 0.9.57
22464 configured by $0, generated by GNU Autoconf 2.61,
22465 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22467 Copyright (C) 2006 Free Software Foundation, Inc.
22468 This config.status script is free software; the Free Software Foundation
22469 gives unlimited permission to copy, distribute and modify it."
22476 cat >>$CONFIG_STATUS <<\_ACEOF
22477 # If no file are specified by the user, then we need to provide default
22478 # value. By we need to know if files were specified by the user.
22484 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22485 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22496 # Handling of the options.
22497 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22499 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22500 echo "$ac_cs_version"; exit ;;
22501 --debug |
--debu |
--deb |
--de |
--d |
-d )
22503 --file |
--fil |
--fi |
--f )
22505 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22506 ac_need_defaults
=false
;;
22507 --header |
--heade |
--head |
--hea )
22509 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22510 ac_need_defaults
=false
;;
22512 # Conflict between --help and --header
22513 { echo "$as_me: error: ambiguous option: $1
22514 Try \`$0 --help' for more information." >&2
22515 { (exit 1); exit 1; }; };;
22516 --help |
--hel |
-h )
22517 echo "$ac_cs_usage"; exit ;;
22518 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22519 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22522 # This is an error.
22523 -*) { echo "$as_me: error: unrecognized option: $1
22524 Try \`$0 --help' for more information." >&2
22525 { (exit 1); exit 1; }; } ;;
22527 *) ac_config_targets
="$ac_config_targets $1"
22528 ac_need_defaults
=false
;;
22534 ac_configure_extra_args
=
22536 if $ac_cs_silent; then
22538 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22542 cat >>$CONFIG_STATUS <<_ACEOF
22543 if \$ac_cs_recheck; then
22544 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22545 CONFIG_SHELL=$SHELL
22546 export CONFIG_SHELL
22547 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22551 cat >>$CONFIG_STATUS <<\_ACEOF
22555 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22556 ## Running $as_me. ##
22562 cat >>$CONFIG_STATUS <<_ACEOF
22565 cat >>$CONFIG_STATUS <<\_ACEOF
22567 # Handling of arguments.
22568 for ac_config_target
in $ac_config_targets
22570 case $ac_config_target in
22571 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22572 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22573 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22574 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22575 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22576 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22577 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22578 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22579 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22580 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22581 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22582 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22583 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22584 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22585 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22586 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22587 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22588 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22589 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22590 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22591 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22592 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22593 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22594 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22595 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22596 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22597 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22598 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22599 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22600 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22601 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22602 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22603 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22604 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22605 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22606 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22607 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22608 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22609 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22610 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22611 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22612 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22613 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22614 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22615 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22616 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22617 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22618 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22619 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22620 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22621 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22622 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22623 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22624 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22625 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22626 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22627 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22628 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22629 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22630 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22631 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22632 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22633 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22634 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22635 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22636 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22637 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22638 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22639 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22640 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22641 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22642 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22643 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22644 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22645 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22646 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22647 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22648 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22649 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22650 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22651 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22652 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22653 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22654 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22655 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22656 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22657 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22658 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22659 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22660 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22661 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22662 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22663 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22664 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22665 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22666 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22667 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22668 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22669 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22670 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22671 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22672 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22673 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22674 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22675 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22676 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22677 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22678 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22679 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22680 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22681 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22682 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22683 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22684 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22685 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22686 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22687 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22688 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22689 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22690 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22691 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22692 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22693 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22694 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22695 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22696 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22697 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22698 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22699 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22700 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22701 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22702 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22703 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22704 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22705 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22706 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22707 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22708 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22709 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
22710 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22711 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22712 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22713 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22714 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
22715 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22716 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22717 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
22718 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22719 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22720 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22721 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22722 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22723 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22724 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22725 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22726 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22727 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22728 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22729 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22730 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22731 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22732 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22733 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22734 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22735 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22736 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22737 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22738 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22739 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22740 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22741 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22742 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22743 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22744 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22745 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22746 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22747 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22748 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22749 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22750 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22751 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22752 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22753 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22754 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22755 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22756 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22757 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22758 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22759 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22760 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22761 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22762 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22763 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22764 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22765 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22766 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22767 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22768 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22769 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22770 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22771 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22772 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22773 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22774 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22775 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22776 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22777 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22778 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22779 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22780 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22781 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22782 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22783 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22784 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22785 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22786 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22787 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22788 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22789 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22790 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22791 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22792 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22793 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22794 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22795 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22796 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22797 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22798 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22799 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22800 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22801 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22802 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22803 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22804 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22805 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22806 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
22807 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22808 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22809 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22810 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22811 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
22812 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22813 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22814 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22815 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22816 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22817 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22818 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22819 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22820 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22821 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22822 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22823 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22824 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22825 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22826 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22827 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22828 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22829 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22830 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22831 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22832 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22833 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22834 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22835 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22836 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22837 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22838 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22839 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22840 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22841 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22842 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22843 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22844 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22845 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22846 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22847 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22848 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22849 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22850 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22851 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22852 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22853 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22854 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
22855 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22856 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22857 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
22858 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22859 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22860 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22861 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22862 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22863 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22864 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22865 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22866 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22867 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22868 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22869 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22870 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22871 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22872 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22873 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22874 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22875 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22876 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22877 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22878 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22879 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22880 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22881 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22882 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22883 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22884 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22885 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22886 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22887 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22888 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22889 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22890 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22891 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22892 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22893 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22894 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22895 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22896 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22897 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22898 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22899 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22900 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22901 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22902 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22903 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22904 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22905 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22906 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22907 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22908 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22909 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22910 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22911 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22912 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22913 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22914 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22915 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22916 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22917 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22918 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22919 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
22920 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22921 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22922 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22923 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22924 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22925 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22926 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22927 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22928 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22929 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22930 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22931 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22932 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22933 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22934 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22935 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22936 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22937 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22938 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22939 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22940 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22941 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22942 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22943 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22944 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22945 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22946 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22947 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22948 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22949 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22950 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
22951 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22952 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22953 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22954 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22955 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
22956 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22957 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22958 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22959 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22960 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22961 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22962 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22963 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22964 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22965 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22966 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22967 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22968 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22969 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22970 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22971 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22972 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22973 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22974 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22975 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22976 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22977 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22978 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22979 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22980 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22981 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22982 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22983 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22984 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22985 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22986 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22988 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22989 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22990 { (exit 1); exit 1; }; };;
22995 # If the user did not use the arguments to specify the items to instantiate,
22996 # then the envvar interface is used. Set only those that are not.
22997 # We use the long form for the default assignment because of an extremely
22998 # bizarre bug on SunOS 4.1.3.
22999 if $ac_need_defaults; then
23000 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23001 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23002 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23005 # Have a temporary directory for convenience. Make it in the build tree
23006 # simply because there is no reason against having it here, and in addition,
23007 # creating and moving files from /tmp can sometimes cause problems.
23008 # Hook for its removal unless debugging.
23009 # Note that there is a small window in which the directory will not be cleaned:
23010 # after its creation but before its name has been assigned to `$tmp'.
23014 trap 'exit_status=$?
23015 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23017 trap '{ (exit 1); exit 1; }' 1 2 13 15
23019 # Create a (secure) tmp directory for tmp files.
23022 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23023 test -n "$tmp" && test -d "$tmp"
23026 tmp
=.
/conf$$
-$RANDOM
23027 (umask 077 && mkdir
"$tmp")
23030 echo "$me: cannot create a temporary directory in ." >&2
23031 { (exit 1); exit 1; }
23035 # Set up the sed scripts for CONFIG_FILES section.
23038 # No need to generate the scripts if there are no CONFIG_FILES.
23039 # This happens for instance when ./config.status config.h
23040 if test -n "$CONFIG_FILES"; then
23044 # Create sed commands to just substitute file output variables.
23046 # Remaining file output variables are in a fragment that also has non-file
23052 for ac_last_try
in false false false false false
:; do
23053 cat >conf$
$subs.
sed <<_ACEOF
23054 SHELL!$SHELL$ac_delim
23055 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23056 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23057 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23058 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23059 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23060 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23061 exec_prefix!$exec_prefix$ac_delim
23062 prefix!$prefix$ac_delim
23063 program_transform_name!$program_transform_name$ac_delim
23064 bindir!$bindir$ac_delim
23065 sbindir!$sbindir$ac_delim
23066 libexecdir!$libexecdir$ac_delim
23067 datarootdir!$datarootdir$ac_delim
23068 datadir!$datadir$ac_delim
23069 sysconfdir!$sysconfdir$ac_delim
23070 sharedstatedir!$sharedstatedir$ac_delim
23071 localstatedir!$localstatedir$ac_delim
23072 includedir!$includedir$ac_delim
23073 oldincludedir!$oldincludedir$ac_delim
23074 docdir!$docdir$ac_delim
23075 infodir!$infodir$ac_delim
23076 htmldir!$htmldir$ac_delim
23077 dvidir!$dvidir$ac_delim
23078 pdfdir!$pdfdir$ac_delim
23079 psdir!$psdir$ac_delim
23080 libdir!$libdir$ac_delim
23081 localedir!$localedir$ac_delim
23082 mandir!$mandir$ac_delim
23083 DEFS!$DEFS$ac_delim
23084 ECHO_C!$ECHO_C$ac_delim
23085 ECHO_N!$ECHO_N$ac_delim
23086 ECHO_T!$ECHO_T$ac_delim
23087 LIBS!$LIBS$ac_delim
23088 build_alias!$build_alias$ac_delim
23089 host_alias!$host_alias$ac_delim
23090 target_alias!$target_alias$ac_delim
23091 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23092 build!$build$ac_delim
23093 build_cpu!$build_cpu$ac_delim
23094 build_vendor!$build_vendor$ac_delim
23095 build_os!$build_os$ac_delim
23096 host!$host$ac_delim
23097 host_cpu!$host_cpu$ac_delim
23098 host_vendor!$host_vendor$ac_delim
23099 host_os!$host_os$ac_delim
23100 WIN16_FILES!$WIN16_FILES$ac_delim
23101 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23102 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23103 WINETEST!$WINETEST$ac_delim
23104 SET_MAKE!$SET_MAKE$ac_delim
23106 CFLAGS!$CFLAGS$ac_delim
23107 LDFLAGS!$LDFLAGS$ac_delim
23108 CPPFLAGS!$CPPFLAGS$ac_delim
23109 ac_ct_CC!$ac_ct_CC$ac_delim
23110 EXEEXT!$EXEEXT$ac_delim
23111 OBJEXT!$OBJEXT$ac_delim
23113 CXXFLAGS!$CXXFLAGS$ac_delim
23114 ac_ct_CXX!$ac_ct_CXX$ac_delim
23115 CPPBIN!$CPPBIN$ac_delim
23116 TOOLSDIR!$TOOLSDIR$ac_delim
23117 XMKMF!$XMKMF$ac_delim
23119 X_CFLAGS!$X_CFLAGS$ac_delim
23120 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23121 X_LIBS!$X_LIBS$ac_delim
23122 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23123 FLEX!$FLEX$ac_delim
23124 BISON!$BISON$ac_delim
23126 ac_ct_AS!$ac_ct_AS$ac_delim
23129 ARFLAGS!$ARFLAGS$ac_delim
23130 RANLIB!$RANLIB$ac_delim
23131 STRIP!$STRIP$ac_delim
23132 WINDRES!$WINDRES$ac_delim
23133 LN_S!$LN_S$ac_delim
23135 GREP!$GREP$ac_delim
23138 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23140 elif $ac_last_try; then
23141 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23142 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23143 { (exit 1); exit 1; }; }
23145 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23149 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23150 if test -n "$ac_eof"; then
23151 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23152 ac_eof
=`expr $ac_eof + 1`
23155 cat >>$CONFIG_STATUS <<_ACEOF
23156 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23157 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23158 /^[ ]*@MAKE_RULES@[ ]*$/{
23162 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23166 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23167 r $MAKE_IMPLIB_RULES
23170 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23174 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23180 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23181 s/^/s,@/; s/!/@,|#_!!_#|/
23184 s/'"$ac_delim"'$/,g/; t
23186 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23187 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23188 rm -f conf$
$subs.
sed
23189 cat >>$CONFIG_STATUS <<_ACEOF
23195 for ac_last_try
in false false false false false
:; do
23196 cat >conf$
$subs.
sed <<_ACEOF
23197 EGREP!$EGREP$ac_delim
23198 LDCONFIG!$LDCONFIG$ac_delim
23199 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23200 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23201 INSTALL_DATA!$INSTALL_DATA$ac_delim
23202 LINT!$LINT$ac_delim
23203 LINTFLAGS!$LINTFLAGS$ac_delim
23204 FONTFORGE!$FONTFORGE$ac_delim
23205 PKG_CONFIG!$PKG_CONFIG$ac_delim
23206 PRELINK!$PRELINK$ac_delim
23207 LIBPTHREAD!$LIBPTHREAD$ac_delim
23208 XLIB!$XLIB$ac_delim
23209 XFILES!$XFILES$ac_delim
23210 OPENGLFILES!$OPENGLFILES$ac_delim
23211 GLU32FILES!$GLU32FILES$ac_delim
23212 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23213 QUARTZFILES!$QUARTZFILES$ac_delim
23214 DLLEXT!$DLLEXT$ac_delim
23215 DLLFLAGS!$DLLFLAGS$ac_delim
23216 LDSHARED!$LDSHARED$ac_delim
23217 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23218 LIBEXT!$LIBEXT$ac_delim
23219 IMPLIBEXT!$IMPLIBEXT$ac_delim
23220 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23221 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23223 DLLTOOL!$DLLTOOL$ac_delim
23224 DLLWRAP!$DLLWRAP$ac_delim
23225 MINGWAR!$MINGWAR$ac_delim
23226 SECURITYLIB!$SECURITYLIB$ac_delim
23227 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23228 IOKITLIB!$IOKITLIB$ac_delim
23229 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23230 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23231 COREAUDIO!$COREAUDIO$ac_delim
23232 CARBONLIB!$CARBONLIB$ac_delim
23233 CROSSTEST!$CROSSTEST$ac_delim
23234 CROSSCC!$CROSSCC$ac_delim
23235 CROSSWINDRES!$CROSSWINDRES$ac_delim
23236 NASLIBS!$NASLIBS$ac_delim
23237 XML2LIBS!$XML2LIBS$ac_delim
23238 XML2INCL!$XML2INCL$ac_delim
23239 XSLTLIBS!$XSLTLIBS$ac_delim
23240 XSLTINCL!$XSLTINCL$ac_delim
23241 HALINCL!$HALINCL$ac_delim
23242 sane_devel!$sane_devel$ac_delim
23243 SANEINCL!$SANEINCL$ac_delim
23244 gphoto2_devel!$gphoto2_devel$ac_delim
23245 gphoto2port_devel!$gphoto2port_devel$ac_delim
23246 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23247 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23248 RESOLVLIBS!$RESOLVLIBS$ac_delim
23249 LCMSLIBS!$LCMSLIBS$ac_delim
23250 LDAPLIBS!$LDAPLIBS$ac_delim
23251 ft_devel!$ft_devel$ac_delim
23252 FREETYPELIBS!$FREETYPELIBS$ac_delim
23253 FREETYPEINCL!$FREETYPEINCL$ac_delim
23254 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23255 ESDCONFIG!$ESDCONFIG$ac_delim
23256 ESDLIBS!$ESDLIBS$ac_delim
23257 ESDINCL!$ESDINCL$ac_delim
23258 ALSALIBS!$ALSALIBS$ac_delim
23259 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23260 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23261 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23262 BUILTINFLAG!$BUILTINFLAG$ac_delim
23263 LDPATH!$LDPATH$ac_delim
23264 CRTLIBS!$CRTLIBS$ac_delim
23265 SOCKETLIBS!$SOCKETLIBS$ac_delim
23266 MAIN_BINARY!$MAIN_BINARY$ac_delim
23267 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23268 LIBDL!$LIBDL$ac_delim
23269 LIBPOLL!$LIBPOLL$ac_delim
23270 DEPENDENCIES!$DEPENDENCIES$ac_delim
23271 LIBOBJS!$LIBOBJS$ac_delim
23272 LTLIBOBJS!$LTLIBOBJS$ac_delim
23275 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23277 elif $ac_last_try; then
23278 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23279 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23280 { (exit 1); exit 1; }; }
23282 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23286 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23287 if test -n "$ac_eof"; then
23288 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23289 ac_eof
=`expr $ac_eof + 1`
23292 cat >>$CONFIG_STATUS <<_ACEOF
23293 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23297 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23298 s/^/s,@/; s/!/@,|#_!!_#|/
23301 s/'"$ac_delim"'$/,g/; t
23303 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23304 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23305 rm -f conf$
$subs.
sed
23306 cat >>$CONFIG_STATUS <<_ACEOF
23313 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23314 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23315 # trailing colons and then remove the whole line if VPATH becomes empty
23316 # (actually we leave an empty line to preserve line numbers).
23317 if test "x$srcdir" = x.
; then
23318 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23319 s/:*\$(srcdir):*/:/
23320 s/:*\${srcdir}:*/:/
23322 s/^\([^=]*=[ ]*\):*/\1/
23328 cat >>$CONFIG_STATUS <<\_ACEOF
23329 fi # test -n "$CONFIG_FILES"
23332 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23335 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23337 case $ac_mode$ac_tag in
23339 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23340 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23341 { (exit 1); exit 1; }; };;
23342 :[FH
]-) ac_tag
=-:-;;
23343 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23360 -) ac_f
="$tmp/stdin";;
23361 *) # Look for the file first in the build tree, then in the source tree
23362 # (if the path is not absolute). The absolute path cannot be DOS-style,
23363 # because $ac_f cannot contain `:'.
23367 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23369 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23370 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23371 { (exit 1); exit 1; }; };;
23373 ac_file_inputs
="$ac_file_inputs $ac_f"
23376 # Let's still pretend it is `configure' which instantiates (i.e., don't
23377 # use $as_me), people would be surprised to read:
23378 # /* config.h. Generated by config.status. */
23379 configure_input
="Generated from "`IFS=:
23380 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23381 if test x
"$ac_file" != x-
; then
23382 configure_input
="$ac_file. $configure_input"
23383 { echo "$as_me:$LINENO: creating $ac_file" >&5
23384 echo "$as_me: creating $ac_file" >&6;}
23388 *:-:* |
*:-) cat >"$tmp/stdin";;
23393 ac_dir
=`$as_dirname -- "$ac_file" ||
23394 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23395 X"$ac_file" : 'X\(//\)[^/]' \| \
23396 X"$ac_file" : 'X\(//\)$' \| \
23397 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23403 /^X\(\/\/\)[^/].*/{
23418 -*) as_dir
=.
/$as_dir;;
23420 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23424 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23425 *) as_qdir
=$as_dir;;
23427 as_dirs
="'$as_qdir' $as_dirs"
23428 as_dir
=`$as_dirname -- "$as_dir" ||
23429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23430 X"$as_dir" : 'X\(//\)[^/]' \| \
23431 X"$as_dir" : 'X\(//\)$' \| \
23432 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23438 /^X\(\/\/\)[^/].*/{
23451 test -d "$as_dir" && break
23453 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23454 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23455 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23456 { (exit 1); exit 1; }; }; }
23460 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23462 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23463 # A ".." for each directory in $ac_dir_suffix.
23464 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23465 case $ac_top_builddir_sub in
23466 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23467 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23470 ac_abs_top_builddir
=$ac_pwd
23471 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23472 # for backward compatibility:
23473 ac_top_builddir
=$ac_top_build_prefix
23476 .
) # We are building in place.
23478 ac_top_srcdir
=$ac_top_builddir_sub
23479 ac_abs_top_srcdir
=$ac_pwd ;;
23480 [\\/]* | ?
:[\\/]* ) # Absolute name.
23481 ac_srcdir
=$srcdir$ac_dir_suffix;
23482 ac_top_srcdir
=$srcdir
23483 ac_abs_top_srcdir
=$srcdir ;;
23484 *) # Relative name.
23485 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23486 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23487 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23489 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23499 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23500 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23504 cat >>$CONFIG_STATUS <<\_ACEOF
23505 # If the template does not know about datarootdir, expand it.
23506 # FIXME: This hack should be removed a few years after 2.60.
23507 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23509 case `sed -n '/datarootdir/ {
23518 ' $ac_file_inputs` in
23519 *datarootdir
*) ac_datarootdir_seen
=yes;;
23520 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23521 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23522 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23524 cat >>$CONFIG_STATUS <<_ACEOF
23525 ac_datarootdir_hack='
23526 s&@datadir@&$datadir&g
23527 s&@docdir@&$docdir&g
23528 s&@infodir@&$infodir&g
23529 s&@localedir@&$localedir&g
23530 s&@mandir@&$mandir&g
23531 s&\\\${datarootdir}&$datarootdir&g' ;;
23535 # Neutralize VPATH when `$srcdir' = `.'.
23536 # Shell code in configure.ac might set extrasub.
23537 # FIXME: do we really want to maintain this feature?
23538 cat >>$CONFIG_STATUS <<_ACEOF
23542 cat >>$CONFIG_STATUS <<\_ACEOF
23544 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23545 s
&@configure_input@
&$configure_input&;t t
23546 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23547 s
&@srcdir@
&$ac_srcdir&;t t
23548 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23549 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23550 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23551 s
&@builddir@
&$ac_builddir&;t t
23552 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23553 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23554 s
&@INSTALL@
&$ac_INSTALL&;t t
23555 $ac_datarootdir_hack
23556 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23558 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23559 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23561 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23562 which seems to be undefined. Please make sure it is defined." >&5
23563 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23564 which seems to be undefined. Please make sure it is defined." >&2;}
23568 -) cat "$tmp/out"; rm -f "$tmp/out";;
23569 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23578 # Transform confdefs.h into a sed script `conftest.defines', that
23579 # substitutes the proper values into config.h.in to produce config.h.
23580 rm -f conftest.defines conftest.
tail
23581 # First, append a space to every undef/define line, to ease matching.
23582 echo 's/$/ /' >conftest.defines
23583 # Then, protect against being on the right side of a sed subst, or in
23584 # an unquoted here document, in config.status. If some macros were
23585 # called several times there might be several #defines for the same
23586 # symbol, which is useless. But do not sort them, since the last
23587 # AC_DEFINE must be honored.
23588 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23589 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23590 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23591 # PARAMS is the parameter list in the macro definition--in most cases, it's
23592 # just an empty string.
23593 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23594 ac_dB
='\\)[ (].*,\\1define\\2'
23602 s/^[ ]*#[ ]*define[ ][ ]*//
23607 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23608 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23609 ' >>conftest.defines
23611 # Remove the space that was appended to ease matching.
23612 # Then replace #undef with comments. This is necessary, for
23613 # example, in the case of _POSIX_SOURCE, which is predefined and required
23614 # on some systems where configure will not decide to define it.
23615 # (The regexp can be short, since the line contains either #define or #undef.)
23617 s,^[ #]*u.*,/* & */,' >>conftest.defines
23619 # Break up conftest.defines:
23620 ac_max_sed_lines
=50
23622 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23623 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23624 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23626 ac_in
='$ac_file_inputs'
23627 ac_out
='"$tmp/out1"'
23628 ac_nxt
='"$tmp/out2"'
23632 # Write a here document:
23633 cat >>$CONFIG_STATUS <<_ACEOF
23634 # First, check the format of the line:
23635 cat >"\$tmp/defines.sed" <<\\CEOF
23636 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23637 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23641 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23643 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23644 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23645 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23646 grep . conftest.
tail >/dev
/null ||
break
23647 rm -f conftest.defines
23648 mv conftest.
tail conftest.defines
23650 rm -f conftest.defines conftest.
tail
23652 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23653 cat >>$CONFIG_STATUS <<\_ACEOF
23654 if test x
"$ac_file" != x-
; then
23655 echo "/* $configure_input */" >"$tmp/config.h"
23656 cat "$ac_result" >>"$tmp/config.h"
23657 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23658 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23659 echo "$as_me: $ac_file is unchanged" >&6;}
23662 mv "$tmp/config.h" $ac_file
23665 echo "/* $configure_input */"
23671 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23672 echo "$as_me: executing $ac_file commands" >&6;}
23677 case $ac_file$ac_mode in
23678 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23679 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23680 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
23681 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23682 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
23683 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23684 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
23685 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23686 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
23687 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23688 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
23689 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
23690 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23696 { (exit 0); exit 0; }
23698 chmod +x
$CONFIG_STATUS
23699 ac_clean_files
=$ac_clean_files_save
23702 # configure is writing to config.log, and then calls config.status.
23703 # config.status does its own redirection, appending to config.log.
23704 # Unfortunately, on DOS this fails, as config.log is still kept open
23705 # by configure, so config.status won't be able to write to it; its
23706 # output is simply discarded. So we exec the FD to /dev/null,
23707 # effectively closing config.log, so it can be properly (re)opened and
23708 # appended to by config.status. When coming back to configure, we
23709 # need to make the FD available again.
23710 if test "$no_create" != yes; then
23712 ac_config_status_args
=
23713 test "$silent" = yes &&
23714 ac_config_status_args
="$ac_config_status_args --quiet"
23716 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23718 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23719 # would make configure fail if this is the last instruction.
23720 $ac_cs_success ||
{ (exit 1); exit 1; }
23724 if test "$no_create" = "yes"
23731 if test "x$wine_notices != "x
; then
23733 for msg
in $wine_notices; do
23734 if test -n "$msg"; then
23735 { echo "$as_me:$LINENO: $msg" >&5
23736 echo "$as_me: $msg" >&6;}
23740 for msg
in $wine_warnings; do
23741 if test -n "$msg"; then
23743 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23744 echo "$as_me: WARNING: $msg" >&2;}
23750 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.