2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.2.
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
='1.1.2'
578 PACKAGE_STRING
='Wine 1.1.2'
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
783 ac_subst_files
='MAKE_RULES
788 ac_precious_vars
='build_alias
803 # Initialize some variables set by options.
805 ac_init_version
=false
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
815 program_transform_name
=s
,x
,x
,
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir
='${exec_prefix}/bin'
830 sbindir
='${exec_prefix}/sbin'
831 libexecdir
='${exec_prefix}/libexec'
832 datarootdir
='${prefix}/share'
833 datadir
='${datarootdir}'
834 sysconfdir
='${prefix}/etc'
835 sharedstatedir
='${prefix}/com'
836 localstatedir
='${prefix}/var'
837 includedir
='${prefix}/include'
838 oldincludedir
='/usr/include'
839 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir
='${datarootdir}/info'
845 libdir
='${exec_prefix}/lib'
846 localedir
='${datarootdir}/locale'
847 mandir
='${datarootdir}/man'
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\
$ac_option
861 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
873 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
876 -build |
--build |
--buil |
--bui |
--bu)
877 ac_prev
=build_alias
;;
878 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
879 build_alias
=$ac_optarg ;;
881 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
882 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
883 ac_prev
=cache_file
;;
884 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
885 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
886 cache_file
=$ac_optarg ;;
889 cache_file
=config.cache
;;
891 -datadir |
--datadir |
--datadi |
--datad)
893 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
894 datadir
=$ac_optarg ;;
896 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
897 |
--dataroo |
--dataro |
--datar)
898 ac_prev
=datarootdir
;;
899 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
900 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
901 datarootdir
=$ac_optarg ;;
903 -disable-* |
--disable-*)
904 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
907 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
908 { (exit 1); exit 1; }; }
909 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
910 eval enable_
$ac_feature=no
;;
912 -docdir |
--docdir |
--docdi |
--doc |
--do)
914 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
917 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
919 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
922 -enable-* |
--enable-*)
923 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
926 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
927 { (exit 1); exit 1; }; }
928 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
929 eval enable_
$ac_feature=\
$ac_optarg ;;
931 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
932 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
933 |
--exec |
--exe |
--ex)
934 ac_prev
=exec_prefix
;;
935 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
936 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
937 |
--exec=* |
--exe=* |
--ex=*)
938 exec_prefix
=$ac_optarg ;;
940 -gas |
--gas |
--ga |
--g)
941 # Obsolete; use --with-gas.
944 -help |
--help |
--hel |
--he |
-h)
946 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
947 ac_init_help
=recursive
;;
948 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
949 ac_init_help
=short
;;
951 -host |
--host |
--hos |
--ho)
952 ac_prev
=host_alias
;;
953 -host=* |
--host=* |
--hos=* |
--ho=*)
954 host_alias
=$ac_optarg ;;
956 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
958 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
960 htmldir
=$ac_optarg ;;
962 -includedir |
--includedir |
--includedi |
--included |
--include \
963 |
--includ |
--inclu |
--incl |
--inc)
964 ac_prev
=includedir
;;
965 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
966 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
967 includedir
=$ac_optarg ;;
969 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
971 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
972 infodir
=$ac_optarg ;;
974 -libdir |
--libdir |
--libdi |
--libd)
976 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
979 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
980 |
--libexe |
--libex |
--libe)
981 ac_prev
=libexecdir
;;
982 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
983 |
--libexe=* |
--libex=* |
--libe=*)
984 libexecdir
=$ac_optarg ;;
986 -localedir |
--localedir |
--localedi |
--localed |
--locale)
988 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
989 localedir
=$ac_optarg ;;
991 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
992 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
993 ac_prev
=localstatedir
;;
994 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
995 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
996 localstatedir
=$ac_optarg ;;
998 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1000 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 mandir
=$ac_optarg ;;
1003 -nfp |
--nfp |
--nf)
1004 # Obsolete; use --without-fp.
1007 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1008 |
--no-cr |
--no-c |
-n)
1011 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1012 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1015 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1016 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1017 |
--oldin |
--oldi |
--old |
--ol |
--o)
1018 ac_prev
=oldincludedir
;;
1019 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1020 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1021 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1022 oldincludedir
=$ac_optarg ;;
1024 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1026 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1027 prefix
=$ac_optarg ;;
1029 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1030 |
--program-pre |
--program-pr |
--program-p)
1031 ac_prev
=program_prefix
;;
1032 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1033 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1034 program_prefix
=$ac_optarg ;;
1036 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1037 |
--program-suf |
--program-su |
--program-s)
1038 ac_prev
=program_suffix
;;
1039 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1040 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1041 program_suffix
=$ac_optarg ;;
1043 -program-transform-name |
--program-transform-name \
1044 |
--program-transform-nam |
--program-transform-na \
1045 |
--program-transform-n |
--program-transform- \
1046 |
--program-transform |
--program-transfor \
1047 |
--program-transfo |
--program-transf \
1048 |
--program-trans |
--program-tran \
1049 |
--progr-tra |
--program-tr |
--program-t)
1050 ac_prev
=program_transform_name
;;
1051 -program-transform-name=* |
--program-transform-name=* \
1052 |
--program-transform-nam=* |
--program-transform-na=* \
1053 |
--program-transform-n=* |
--program-transform-=* \
1054 |
--program-transform=* |
--program-transfor=* \
1055 |
--program-transfo=* |
--program-transf=* \
1056 |
--program-trans=* |
--program-tran=* \
1057 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1058 program_transform_name
=$ac_optarg ;;
1060 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1062 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1063 pdfdir
=$ac_optarg ;;
1065 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1067 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1071 |
-silent |
--silent |
--silen |
--sile |
--sil)
1074 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1076 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1078 sbindir
=$ac_optarg ;;
1080 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1081 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1082 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1084 ac_prev
=sharedstatedir
;;
1085 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1086 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1087 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1089 sharedstatedir
=$ac_optarg ;;
1091 -site |
--site |
--sit)
1093 -site=* |
--site=* |
--sit=*)
1096 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1098 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1099 srcdir
=$ac_optarg ;;
1101 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1102 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1103 ac_prev
=sysconfdir
;;
1104 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1105 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1106 sysconfdir
=$ac_optarg ;;
1108 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1109 ac_prev
=target_alias
;;
1110 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1111 target_alias
=$ac_optarg ;;
1113 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1116 -version |
--version |
--versio |
--versi |
--vers |
-V)
1117 ac_init_version
=: ;;
1120 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_
$ac_package=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1132 { echo "$as_me: error: invalid package name: $ac_package" >&2
1133 { (exit 1); exit 1; }; }
1134 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1135 eval with_
$ac_package=no
;;
1138 # Obsolete; use --with-x.
1141 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1142 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1143 ac_prev
=x_includes
;;
1144 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1145 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1146 x_includes
=$ac_optarg ;;
1148 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1149 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1150 ac_prev
=x_libraries
;;
1151 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1152 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1153 x_libraries
=$ac_optarg ;;
1155 -*) { echo "$as_me: error: unrecognized option: $ac_option
1156 Try \`$0 --help' for more information." >&2
1157 { (exit 1); exit 1; }; }
1161 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1164 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1165 { (exit 1); exit 1; }; }
1166 eval $ac_envvar=\
$ac_optarg
1167 export $ac_envvar ;;
1170 # FIXME: should be removed in autoconf 3.0.
1171 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1173 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1180 if test -n "$ac_prev"; then
1181 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1182 { echo "$as_me: error: missing argument to $ac_option" >&2
1183 { (exit 1); exit 1; }; }
1186 # Be sure to have absolute directory names.
1187 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val
=\$
$ac_var
1194 [\\/$
]* | ?
:[\\/]* ) continue;;
1195 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1197 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1198 { (exit 1); exit 1; }; }
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1206 target
=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x
; then
1210 if test "x$build_alias" = x
; then
1211 cross_compiling
=maybe
1212 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1213 If a cross compiler is detected then cross compile mode will be used." >&2
1214 elif test "x$build_alias" != "x$host_alias"; then
1220 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1222 test "$silent" = yes && exec 6>/dev
/null
1225 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1226 ac_ls_di
=`ls -di .` &&
1227 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1228 { echo "$as_me: error: Working directory cannot be determined" >&2
1229 { (exit 1); exit 1; }; }
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 { echo "$as_me: error: pwd does not report name of working directory" >&2
1232 { (exit 1); exit 1; }; }
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted
=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir
=`$as_dirname -- "$0" ||
1240 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$0" : 'X\(//\)[^/]' \| \
1242 X"$0" : 'X\(//\)$' \| \
1243 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted
=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1271 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1272 { (exit 1); exit 1; }; }
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1277 { (exit 1); exit 1; }; }
1279 # When building in place, set srcdir=.
1280 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 # Remove unnecessary trailing slashes from srcdir.
1284 # Double slashes in file names in object file debugging info
1285 # mess up M-x gdb in Emacs.
1287 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 for ac_var
in $ac_precious_vars; do
1290 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1291 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1292 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1293 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1297 # Report the --help message.
1299 if test "$ac_init_help" = "long"; then
1300 # Omit some internal or obsolete options to make the list less imposing.
1301 # This message is too long to be a string in the A/UX 3.1 sh.
1303 \`configure' configures Wine 1.1.2 to adapt to many kinds of systems.
1305 Usage: $0 [OPTION]... [VAR=VALUE]...
1307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308 VAR=VALUE. See below for descriptions of some of the useful variables.
1310 Defaults for the options are specified in brackets.
1313 -h, --help display this help and exit
1314 --help=short display options specific to this package
1315 --help=recursive display the short help of all the included packages
1316 -V, --version display version information and exit
1317 -q, --quiet, --silent do not print \`checking...' messages
1318 --cache-file=FILE cache test results in FILE [disabled]
1319 -C, --config-cache alias for \`--cache-file=config.cache'
1320 -n, --no-create do not create output files
1321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 Installation directories:
1324 --prefix=PREFIX install architecture-independent files in PREFIX
1325 [$ac_default_prefix]
1326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 By default, \`make install' will install all the files in
1330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332 for instance \`--prefix=\$HOME'.
1334 For better control, use the options below.
1336 Fine tuning of the installation directories:
1337 --bindir=DIR user executables [EPREFIX/bin]
1338 --sbindir=DIR system admin executables [EPREFIX/sbin]
1339 --libexecdir=DIR program executables [EPREFIX/libexec]
1340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1361 --x-includes=DIR X include files are
in DIR
1362 --x-libraries=DIR X library files are
in DIR
1365 --build=BUILD configure
for building on BUILD
[guessed
]
1366 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1370 if test -n "$ac_init_help"; then
1371 case $ac_init_help in
1372 short | recursive
) echo "Configuration of Wine 1.1.2:";;
1377 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1378 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1379 --disable-win16 do not include Win16 support
1380 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1382 --enable-maintainer-mode
1383 enable maintainer-specific build rules
1384 --disable-tests do not build the testsuites
1387 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1388 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1389 --without-alsa do not use the Alsa sound support
1390 --without-audioio do not use the AudioIO sound support
1391 --without-capi do not use CAPI (ISDN support)
1392 --without-cms do not use CMS (color management support)
1393 --without-coreaudio do not use the CoreAudio sound support
1394 --without-cups do not use CUPS
1395 --without-curses do not use (n)curses
1396 --without-esd do not use the EsounD sound support
1397 --without-fontconfig do not use fontconfig
1398 --without-freetype do not use the FreeType library
1399 --without-gphoto do not use gphoto (Digital Camera support)
1400 --without-glu do not use the GLU library
1401 --without-hal do not use HAL (dynamic device support)
1402 --without-jack do not use the Jack sound support
1403 --without-jpeg do not use JPEG
1404 --without-ldap do not use LDAP
1405 --without-nas do not use the NAS sound support
1406 --without-opengl do not use OpenGL
1407 --without-openssl do not use OpenSSL
1408 --without-oss do not use the OSS sound support
1409 --without-png do not use PNG
1410 --without-sane do not use SANE (scanner support)
1411 --without-xcomposite do not use the Xcomposite extension
1412 --without-xcursor do not use the Xcursor extension
1413 --without-xinerama do not use Xinerama (multi-monitor support)
1414 --without-xinput do not use the Xinput extension
1415 --without-xml do not use XML
1416 --without-xrandr do not use Xrandr (resolution changes)
1417 --without-xrender do not use the Xrender extension
1418 --without-xshape do not use the Xshape extension
1419 --without-xshm do not use XShm (shared memory extension)
1420 --without-xslt do not use XSLT
1421 --without-xxf86vm do not use XFree video mode extension
1422 --with-wine-tools=DIR use Wine tools from directory DIR
1423 --with-x use the X Window System
1425 Some influential environment variables:
1426 CC C compiler command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1429 nonstandard directory <lib dir>
1430 LIBS libraries to pass to the linker, e.g. -l<library>
1431 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1432 you have headers in a nonstandard directory <include dir>
1433 CXX C++ compiler command
1434 CXXFLAGS C++ compiler flags
1435 XMKMF Path to xmkmf, Makefile generator for X Window System
1438 Use these variables to override the choices made by `configure' or to
help
1439 it to
find libraries and programs with nonstandard names
/locations.
1441 Report bugs to
<wine-devel@winehq.org
>.
1446 if test "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1449 test -d "$ac_dir" ||
continue
1453 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1455 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1456 # A ".." for each directory in $ac_dir_suffix.
1457 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1458 case $ac_top_builddir_sub in
1459 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1460 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1463 ac_abs_top_builddir
=$ac_pwd
1464 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1465 # for backward compatibility:
1466 ac_top_builddir
=$ac_top_build_prefix
1469 .
) # We are building in place.
1471 ac_top_srcdir
=$ac_top_builddir_sub
1472 ac_abs_top_srcdir
=$ac_pwd ;;
1473 [\\/]* | ?
:[\\/]* ) # Absolute name.
1474 ac_srcdir
=$srcdir$ac_dir_suffix;
1475 ac_top_srcdir
=$srcdir
1476 ac_abs_top_srcdir
=$srcdir ;;
1478 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1479 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1480 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1482 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1484 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1485 # Check for guested configure.
1486 if test -f "$ac_srcdir/configure.gnu"; then
1488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1489 elif test -f "$ac_srcdir/configure"; then
1491 $SHELL "$ac_srcdir/configure" --help=recursive
1493 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1495 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1499 test -n "$ac_init_help" && exit $ac_status
1500 if $ac_init_version; then
1502 Wine configure
1.1.2
1503 generated by GNU Autoconf
2.61
1505 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1506 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1507 This configure
script is free software
; the Free Software Foundation
1508 gives unlimited permission to copy
, distribute and modify it.
1512 cat >config.log
<<_ACEOF
1513 This file contains any messages produced by compilers while
1514 running configure, to aid debugging if configure makes a mistake.
1516 It was created by Wine $as_me 1.1.2, which was
1517 generated by GNU Autoconf 2.61. Invocation command line was
1529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1536 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1538 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1539 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1541 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1542 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1543 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1544 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir
=.
1553 echo "PATH: $as_dir"
1569 # Keep a trace of the command line.
1570 # Strip out --no-create and --no-recursion so they do not pile up.
1571 # Strip out --silent because we don't want to record it for future runs.
1572 # Also quote any args containing shell meta-characters.
1573 # Make two passes to allow for proper duplicate-argument suppression.
1577 ac_must_keep_next
=false
1583 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1584 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1585 |
-silent |
--silent |
--silen |
--sile |
--sil)
1588 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1591 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1593 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1594 if test $ac_must_keep_next = true
; then
1595 ac_must_keep_next
=false
# Got value, back to normal.
1598 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1599 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1600 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1601 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1602 case "$ac_configure_args0 " in
1603 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1606 -* ) ac_must_keep_next
=true
;;
1609 ac_configure_args
="$ac_configure_args '$ac_arg'"
1614 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1615 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1617 # When interrupted or exit'd, cleanup temporary files, and complete
1618 # config.log. We remove comments because anyway the quotes in there
1619 # would cause problems or look ugly.
1620 # WARNING: Use '\'' to represent an apostrophe within the trap.
1621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1622 trap 'exit_status=$?
1623 # Save into config.log some information that might help in debugging.
1628 ## ---------------- ##
1629 ## Cache variables. ##
1630 ## ---------------- ##
1633 # The following way of writing the cache mishandles newlines in values,
1635 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1636 eval ac_val=\$$ac_var
1640 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1641 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1644 _ | IFS | as_nl) ;; #(
1645 *) $as_unset $ac_var ;;
1650 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1651 *${as_nl}ac_space=\ *)
1653 "s/'\''/'\''\\\\'\'''\''/g;
1654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1665 ## ----------------- ##
1666 ## Output variables. ##
1667 ## ----------------- ##
1670 for ac_var in $ac_subst_vars
1672 eval ac_val=\$$ac_var
1674 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676 echo "$ac_var='\''$ac_val'\''"
1680 if test -n "$ac_subst_files"; then
1682 ## ------------------- ##
1683 ## File substitutions. ##
1684 ## ------------------- ##
1687 for ac_var
in $ac_subst_files
1689 eval ac_val
=\$
$ac_var
1691 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1693 echo "$ac_var='\''$ac_val'\''"
1698 if test -s confdefs.h; then
1708 test "$ac_signal" != 0 &&
1709 echo "$as_me: caught signal $ac_signal"
1710 echo "$as_me: exit $exit_status"
1712 rm -f core *.core core.conftest.* &&
1713 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1716 for ac_signal
in 1 2 13 15; do
1717 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1721 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1722 rm -f -r conftest
* confdefs.h
1724 # Predefined preprocessor variables.
1726 cat >>confdefs.h
<<_ACEOF
1727 #define PACKAGE_NAME "$PACKAGE_NAME"
1731 cat >>confdefs.h
<<_ACEOF
1732 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1736 cat >>confdefs.h
<<_ACEOF
1737 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1741 cat >>confdefs.h
<<_ACEOF
1742 #define PACKAGE_STRING "$PACKAGE_STRING"
1746 cat >>confdefs.h
<<_ACEOF
1747 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1751 # Let the site file select an alternate cache file if it wants to.
1752 # Prefer explicitly selected file to automatically selected ones.
1753 if test -n "$CONFIG_SITE"; then
1754 set x
"$CONFIG_SITE"
1755 elif test "x$prefix" != xNONE
; then
1756 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1758 set x
"$ac_default_prefix/share/config.site" \
1759 "$ac_default_prefix/etc/config.site"
1764 if test -r "$ac_site_file"; then
1765 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1766 echo "$as_me: loading site script $ac_site_file" >&6;}
1767 sed 's/^/| /' "$ac_site_file" >&5
1772 if test -r "$cache_file"; then
1773 # Some versions of bash will fail to source /dev/null (special
1774 # files actually), so we avoid doing that.
1775 if test -f "$cache_file"; then
1776 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1777 echo "$as_me: loading cache $cache_file" >&6;}
1779 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1780 *) .
"./$cache_file";;
1784 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1785 echo "$as_me: creating cache $cache_file" >&6;}
1789 # Check that the precious variables saved in the cache have kept the same
1791 ac_cache_corrupted
=false
1792 for ac_var
in $ac_precious_vars; do
1793 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1794 eval ac_new_set
=\
$ac_env_${ac_var}_set
1795 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1796 eval ac_new_val
=\
$ac_env_${ac_var}_value
1797 case $ac_old_set,$ac_new_set in
1799 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1800 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1801 ac_cache_corrupted
=: ;;
1803 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1804 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1805 ac_cache_corrupted
=: ;;
1808 if test "x$ac_old_val" != "x$ac_new_val"; then
1809 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1810 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1811 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1812 echo "$as_me: former value: $ac_old_val" >&2;}
1813 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1814 echo "$as_me: current value: $ac_new_val" >&2;}
1815 ac_cache_corrupted
=:
1818 # Pass precious variables to config.status.
1819 if test "$ac_new_set" = set; then
1821 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 *) ac_arg
=$ac_var=$ac_new_val ;;
1824 case " $ac_configure_args " in
1825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1826 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1830 if $ac_cache_corrupted; then
1831 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1832 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1833 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1834 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1835 { (exit 1); exit 1; }; }
1863 ac_cpp
='$CPP $CPPFLAGS'
1864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1870 ac_config_headers
="$ac_config_headers include/config.h"
1873 for ac_dir
in tools
"$srcdir"/tools
; do
1874 if test -f "$ac_dir/install-sh"; then
1876 ac_install_sh
="$ac_aux_dir/install-sh -c"
1878 elif test -f "$ac_dir/install.sh"; then
1880 ac_install_sh
="$ac_aux_dir/install.sh -c"
1882 elif test -f "$ac_dir/shtool"; then
1884 ac_install_sh
="$ac_aux_dir/shtool install -c"
1888 if test -z "$ac_aux_dir"; then
1889 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1890 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1891 { (exit 1); exit 1; }; }
1894 # These three variables are undocumented and unsupported,
1895 # and are intended to be withdrawn in a future Autoconf release.
1896 # They can cause serious problems if a builder's source tree is in a directory
1897 # whose full name contains unusual characters.
1898 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1899 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1900 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1905 # Check whether --enable-win16 was given.
1906 if test "${enable_win16+set}" = set; then
1907 enableval
=$enable_win16;
1910 # Check whether --enable-win64 was given.
1911 if test "${enable_win64+set}" = set; then
1912 enableval
=$enable_win64;
1915 # Check whether --enable-maintainer-mode was given.
1916 if test "${enable_maintainer_mode+set}" = set; then
1917 enableval
=$enable_maintainer_mode;
1925 # Check whether --with-alsa was given.
1926 if test "${with_alsa+set}" = set; then
1927 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1931 # Check whether --with-audioio was given.
1932 if test "${with_audioio+set}" = set; then
1933 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1937 # Check whether --with-capi was given.
1938 if test "${with_capi+set}" = set; then
1939 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1943 # Check whether --with-cms was given.
1944 if test "${with_cms+set}" = set; then
1945 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1949 # Check whether --with-coreaudio was given.
1950 if test "${with_coreaudio+set}" = set; then
1951 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1955 # Check whether --with-cups was given.
1956 if test "${with_cups+set}" = set; then
1961 # Check whether --with-curses was given.
1962 if test "${with_curses+set}" = set; then
1963 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1967 # Check whether --with-esd was given.
1968 if test "${with_esd+set}" = set; then
1973 # Check whether --with-fontconfig was given.
1974 if test "${with_fontconfig+set}" = set; then
1975 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1979 # Check whether --with-freetype was given.
1980 if test "${with_freetype+set}" = set; then
1981 withval
=$with_freetype;
1985 # Check whether --with-gphoto was given.
1986 if test "${with_gphoto+set}" = set; then
1987 withval
=$with_gphoto;
1991 # Check whether --with-glu was given.
1992 if test "${with_glu+set}" = set; then
1993 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
1997 # Check whether --with-hal was given.
1998 if test "${with_hal+set}" = set; then
2003 # Check whether --with-jack was given.
2004 if test "${with_jack+set}" = set; then
2005 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2009 # Check whether --with-jpeg was given.
2010 if test "${with_jpeg+set}" = set; then
2011 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2015 # Check whether --with-ldap was given.
2016 if test "${with_ldap+set}" = set; then
2017 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2021 # Check whether --with-nas was given.
2022 if test "${with_nas+set}" = set; then
2023 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2027 # Check whether --with-opengl was given.
2028 if test "${with_opengl+set}" = set; then
2029 withval
=$with_opengl;
2033 # Check whether --with-openssl was given.
2034 if test "${with_openssl+set}" = set; then
2035 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2039 # Check whether --with-oss was given.
2040 if test "${with_oss+set}" = set; then
2041 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
2045 # Check whether --with-png was given.
2046 if test "${with_png+set}" = set; then
2047 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2051 # Check whether --with-sane was given.
2052 if test "${with_sane+set}" = set; then
2057 # Check whether --with-xcomposite was given.
2058 if test "${with_xcomposite+set}" = set; then
2059 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2063 # Check whether --with-xcursor was given.
2064 if test "${with_xcursor+set}" = set; then
2065 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2069 # Check whether --with-xinerama was given.
2070 if test "${with_xinerama+set}" = set; then
2071 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2075 # Check whether --with-xinput was given.
2076 if test "${with_xinput+set}" = set; then
2077 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2081 # Check whether --with-xml was given.
2082 if test "${with_xml+set}" = set; then
2087 # Check whether --with-xrandr was given.
2088 if test "${with_xrandr+set}" = set; then
2089 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2093 # Check whether --with-xrender was given.
2094 if test "${with_xrender+set}" = set; then
2095 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2099 # Check whether --with-xshape was given.
2100 if test "${with_xshape+set}" = set; then
2101 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2105 # Check whether --with-xshm was given.
2106 if test "${with_xshm+set}" = set; then
2107 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2111 # Check whether --with-xslt was given.
2112 if test "${with_xslt+set}" = set; then
2117 # Check whether --with-xxf86vm was given.
2118 if test "${with_xxf86vm+set}" = set; then
2119 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2124 # Check whether --with-wine-tools was given.
2125 if test "${with_wine_tools+set}" = set; then
2126 withval
=$with_wine_tools;
2129 # Check whether --enable-tests was given.
2130 if test "${enable_tests+set}" = set; then
2131 enableval
=$enable_tests;
2135 # Make sure we can run config.sub.
2136 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2137 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2138 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2139 { (exit 1); exit 1; }; }
2141 { echo "$as_me:$LINENO: checking build system type" >&5
2142 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2143 if test "${ac_cv_build+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 ac_build_alias
=$build_alias
2147 test "x$ac_build_alias" = x
&&
2148 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2149 test "x$ac_build_alias" = x
&&
2150 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2151 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2152 { (exit 1); exit 1; }; }
2153 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2154 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2155 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2156 { (exit 1); exit 1; }; }
2159 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2160 echo "${ECHO_T}$ac_cv_build" >&6; }
2161 case $ac_cv_build in
2163 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2164 echo "$as_me: error: invalid value of canonical build" >&2;}
2165 { (exit 1); exit 1; }; };;
2168 ac_save_IFS
=$IFS; IFS
='-'
2174 # Remember, the first character of IFS is used to create $*,
2175 # except with old shells:
2178 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2181 { echo "$as_me:$LINENO: checking host system type" >&5
2182 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2183 if test "${ac_cv_host+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test "x$host_alias" = x
; then
2187 ac_cv_host
=$ac_cv_build
2189 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2190 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2191 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2192 { (exit 1); exit 1; }; }
2196 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2197 echo "${ECHO_T}$ac_cv_host" >&6; }
2200 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2201 echo "$as_me: error: invalid value of canonical host" >&2;}
2202 { (exit 1); exit 1; }; };;
2205 ac_save_IFS
=$IFS; IFS
='-'
2211 # Remember, the first character of IFS is used to create $*,
2212 # except with old shells:
2215 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2220 if test "x$enable_win64" != "xyes"
2222 test -n "$CC" || CC
="gcc -m32"
2223 test -n "$CXX"|| CXX
="g++ -m32"
2224 test -n "$LD" || LD
="ld -m elf_i386"
2225 test -n "$AS" || AS
="as --32"
2233 if test "x$enable_win16" != "xno"
2240 WIN16_FILES
="\$(WIN16_FILES)"
2242 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2244 if test "x$enable_win16" != "xyes"
2250 if test "x$enable_tests" == "xno"
2257 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2265 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2266 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2267 You need to run 'make distclean' in the source tree first." >&5
2268 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2269 You need to run 'make distclean' in the source tree first." >&2;}
2270 { (exit 1); exit 1; }; }
2275 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2276 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2277 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2278 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 cat >conftest.
make <<\_ACEOF
2284 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2286 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2287 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2289 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2291 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2295 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2296 { echo "$as_me:$LINENO: result: yes" >&5
2297 echo "${ECHO_T}yes" >&6; }
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2302 SET_MAKE
="MAKE=${MAKE-make}"
2306 ac_cpp
='$CPP $CPPFLAGS'
2307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2312 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_CC+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 if test -n "$CC"; then
2319 ac_cv_prog_CC
="$CC" # Let the user override the test.
2321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir
=.
2326 for ac_exec_ext
in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 if test -n "$CC"; then
2340 { echo "$as_me:$LINENO: result: $CC" >&5
2341 echo "${ECHO_T}$CC" >&6; }
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2349 if test -z "$ac_cv_prog_CC"; then
2351 # Extract the first word of "gcc", so it can be a program name with args.
2352 set dummy gcc
; ac_word
=$2
2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 if test -n "$ac_ct_CC"; then
2359 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir
=.
2366 for ac_exec_ext
in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_ac_ct_CC
="gcc"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then
2380 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2381 echo "${ECHO_T}$ac_ct_CC" >&6; }
2383 { echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6; }
2387 if test "x$ac_ct_CC" = x
; then
2390 case $cross_compiling:$ac_tool_warned in
2392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2393 whose name does not start with the host triplet. If you think this
2394 configuration is useful to you, please write to autoconf@gnu.org." >&5
2395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2396 whose name does not start with the host triplet. If you think this
2397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2398 ac_tool_warned
=yes ;;
2406 if test -z "$CC"; then
2407 if test -n "$ac_tool_prefix"; then
2408 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2409 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC
="$CC" # Let the user override the test.
2418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir
=.
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test -n "$CC"; then
2437 { echo "$as_me:$LINENO: result: $CC" >&5
2438 echo "${ECHO_T}$CC" >&6; }
2440 { echo "$as_me:$LINENO: result: no" >&5
2441 echo "${ECHO_T}no" >&6; }
2447 if test -z "$CC"; then
2448 # Extract the first word of "cc", so it can be a program name with args.
2449 set dummy cc
; ac_word
=$2
2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC
="$CC" # Let the user override the test.
2459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir
=.
2464 for ac_exec_ext
in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2467 ac_prog_rejected
=yes
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 if test $ac_prog_rejected = yes; then
2479 # We found a bogon in the path, so make sure we never use it.
2480 set dummy
$ac_cv_prog_CC
2482 if test $# != 0; then
2483 # We chose a different compiler from the bogus one.
2484 # However, it has the same basename, so the bogon will be chosen
2485 # first if we set CC to just the basename; use the full file name.
2487 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2493 if test -n "$CC"; then
2494 { echo "$as_me:$LINENO: result: $CC" >&5
2495 echo "${ECHO_T}$CC" >&6; }
2497 { echo "$as_me:$LINENO: result: no" >&5
2498 echo "${ECHO_T}no" >&6; }
2503 if test -z "$CC"; then
2504 if test -n "$ac_tool_prefix"; then
2505 for ac_prog
in cl.exe
2507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2508 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2511 if test "${ac_cv_prog_CC+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 if test -n "$CC"; then
2515 ac_cv_prog_CC
="$CC" # Let the user override the test.
2517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir
=.
2522 for ac_exec_ext
in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 if test -n "$CC"; then
2536 { echo "$as_me:$LINENO: result: $CC" >&5
2537 echo "${ECHO_T}$CC" >&6; }
2539 { echo "$as_me:$LINENO: result: no" >&5
2540 echo "${ECHO_T}no" >&6; }
2544 test -n "$CC" && break
2547 if test -z "$CC"; then
2549 for ac_prog
in cl.exe
2551 # Extract the first word of "$ac_prog", so it can be a program name with args.
2552 set dummy
$ac_prog; ac_word
=$2
2553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 if test -n "$ac_ct_CC"; then
2559 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir
=.
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_ac_ct_CC
="$ac_prog"
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2579 if test -n "$ac_ct_CC"; then
2580 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2581 echo "${ECHO_T}$ac_ct_CC" >&6; }
2583 { echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6; }
2588 test -n "$ac_ct_CC" && break
2591 if test "x$ac_ct_CC" = x
; then
2594 case $cross_compiling:$ac_tool_warned in
2596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2597 whose name does not start with the host triplet. If you think this
2598 configuration is useful to you, please write to autoconf@gnu.org." >&5
2599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2600 whose name does not start with the host triplet. If you think this
2601 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2602 ac_tool_warned
=yes ;;
2611 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2612 See \`config.log' for more details." >&5
2613 echo "$as_me: error: no acceptable C compiler found in \$PATH
2614 See \`config.log' for more details." >&2;}
2615 { (exit 1); exit 1; }; }
2617 # Provide some information about the compiler.
2618 echo "$as_me:$LINENO: checking for C compiler version" >&5
2619 ac_compiler
=`set X $ac_compile; echo $2`
2620 { (ac_try
="$ac_compiler --version >&5"
2622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2626 (eval "$ac_compiler --version >&5") 2>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }
2630 { (ac_try="$ac_compiler -v >&5"
2632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2633 *) ac_try_echo
=$ac_try;;
2635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2636 (eval "$ac_compiler -v >&5") 2>&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2640 { (ac_try
="$ac_compiler -V >&5"
2642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2646 (eval "$ac_compiler -V >&5") 2>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }
2651 cat >conftest.$ac_ext <<_ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2666 ac_clean_files_save=$ac_clean_files
2667 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2668 # Try to create an executable without -o first, disregard a.out.
2669 # It will help us diagnose broken compilers, and finding out an intuition
2671 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2672 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2673 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2675 # List of possible output files, starting from the most likely.
2676 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2677 # only as a last resort. b.out is created by i960 compilers.
2678 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2680 # The IRIX 6 linker writes into existing files which may not be
2681 # executable, retaining their permissions. Remove them first so a
2682 # subsequent execution test works.
2684 for ac_file in $ac_files
2687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2688 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2693 if { (ac_try="$ac_link_default"
2695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2696 *) ac_try_echo=$ac_try;;
2698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2699 (eval "$ac_link_default") 2>&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; then
2703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2706 # so that the user can short-circuit this test for compilers unknown to
2708 for ac_file
in $ac_files ''
2710 test -f "$ac_file" ||
continue
2712 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2715 # We found the default executable, but exeext='' is most
2719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2721 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2723 # We set ac_cv_exeext here because the later test for it is not
2724 # safe: cross compilers may not add the suffix if given an `-o'
2725 # argument, so we may need to know it at that point already.
2726 # Even if this section looks crufty: it has the advantage of
2733 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2739 { echo "$as_me:$LINENO: result: $ac_file" >&5
2740 echo "${ECHO_T}$ac_file" >&6; }
2741 if test -z "$ac_file"; then
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.
$ac_ext >&5
2745 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2746 See \`config.log' for more details." >&5
2747 echo "$as_me: error: C compiler cannot create executables
2748 See \`config.log' for more details." >&2;}
2749 { (exit 77); exit 77; }; }
2752 ac_exeext
=$ac_cv_exeext
2754 # Check that the compiler produces executables we can run. If not, either
2755 # the compiler is broken, or we cross compile.
2756 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2757 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2758 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2759 # If not cross compiling, check that we can run a simple program.
2760 if test "$cross_compiling" != yes; then
2761 if { ac_try
='./$ac_file'
2762 { (case "(($ac_try" in
2763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_try") 2>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then
2773 if test "$cross_compiling" = maybe; then
2776 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2777 If you meant to cross compile, use \`--host'.
2778 See \`config.log' for more details.
" >&5
2779 echo "$as_me: error
: cannot run C compiled programs.
2780 If you meant to cross compile
, use \
`--host'.
2781 See \`config.log
' for more details." >&2;}
2782 { (exit 1); exit 1; }; }
2786 { echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6; }
2789 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2790 ac_clean_files=$ac_clean_files_save
2791 # Check that the compiler produces executables we can run. If not, either
2792 # the compiler is broken, or we cross compile.
2793 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2794 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2795 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2796 echo "${ECHO_T}$cross_compiling" >&6; }
2798 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2799 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2800 if { (ac_try="$ac_link"
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2806 (eval "$ac_link") 2>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }; then
2810 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2811 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2812 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2814 for ac_file
in conftest.exe conftest conftest.
*; do
2815 test -f "$ac_file" ||
continue
2817 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2818 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2824 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2827 See \`config.log' for more details." >&2;}
2828 { (exit 1); exit 1; }; }
2831 rm -f conftest
$ac_cv_exeext
2832 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2833 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2835 rm -f conftest.
$ac_ext
2836 EXEEXT
=$ac_cv_exeext
2838 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2839 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2840 if test "${ac_cv_objext+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 cat >conftest.
$ac_ext <<_ACEOF
2846 cat confdefs.h
>>conftest.
$ac_ext
2847 cat >>conftest.
$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2858 rm -f conftest.o conftest.obj
2859 if { (ac_try
="$ac_compile"
2861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2865 (eval "$ac_compile") 2>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; then
2869 for ac_file in conftest.o conftest.obj conftest.*; do
2870 test -f "$ac_file" || continue;
2872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2873 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2878 echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2882 See \`config.log
' for more details." >&5
2883 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2884 See \`config.log' for more details.
" >&2;}
2885 { (exit 1); exit 1; }; }
2888 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2890 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2891 echo "${ECHO_T}$ac_cv_objext" >&6; }
2892 OBJEXT=$ac_cv_objext
2894 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2895 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2896 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2897 echo $ECHO_N "(cached
) $ECHO_C" >&6
2899 cat >conftest.$ac_ext <<_ACEOF
2902 cat confdefs.h >>conftest.$ac_ext
2903 cat >>conftest.$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2917 rm -f conftest.$ac_objext
2918 if { (ac_try="$ac_compile"
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2924 (eval "$ac_compile") 2>conftest.er1
2926 grep -v '^ *+' conftest.er1 >conftest.err
2928 cat conftest.err >&5
2929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2930 (exit $ac_status); } && {
2931 test -z "$ac_c_werror_flag" ||
2932 test ! -s conftest.err
2933 } && test -s conftest.$ac_objext; then
2936 echo "$as_me: failed program was
:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2946 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2947 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2948 GCC=`test $ac_compiler_gnu = yes && echo yes`
2949 ac_test_CFLAGS=${CFLAGS+set}
2950 ac_save_CFLAGS=$CFLAGS
2951 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2952 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2953 if test "${ac_cv_prog_cc_g+set}" = set; then
2954 echo $ECHO_N "(cached
) $ECHO_C" >&6
2956 ac_save_c_werror_flag=$ac_c_werror_flag
2957 ac_c_werror_flag=yes
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 rm -f conftest.$ac_objext
2976 if { (ac_try="$ac_compile"
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2994 echo "$as_me: failed program was
:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2998 cat >conftest.$ac_ext <<_ACEOF
3001 cat confdefs.h >>conftest.$ac_ext
3002 cat >>conftest.$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3013 rm -f conftest.$ac_objext
3014 if { (ac_try="$ac_compile"
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3020 (eval "$ac_compile") 2>conftest.er1
3022 grep -v '^ *+' conftest.er1 >conftest.err
3024 cat conftest.err >&5
3025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3026 (exit $ac_status); } && {
3027 test -z "$ac_c_werror_flag" ||
3028 test ! -s conftest.err
3029 } && test -s conftest.$ac_objext; then
3032 echo "$as_me: failed program was
:" >&5
3033 sed 's/^/| /' conftest.$ac_ext >&5
3035 ac_c_werror_flag=$ac_save_c_werror_flag
3037 cat >conftest.$ac_ext <<_ACEOF
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3052 rm -f conftest.$ac_objext
3053 if { (ac_try="$ac_compile"
3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3059 (eval "$ac_compile") 2>conftest.er1
3061 grep -v '^ *+' conftest.er1 >conftest.err
3063 cat conftest.err >&5
3064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3065 (exit $ac_status); } && {
3066 test -z "$ac_c_werror_flag" ||
3067 test ! -s conftest.err
3068 } && test -s conftest.$ac_objext; then
3071 echo "$as_me: failed program was
:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 ac_c_werror_flag=$ac_save_c_werror_flag
3086 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3088 if test "$ac_test_CFLAGS" = set; then
3089 CFLAGS=$ac_save_CFLAGS
3090 elif test $ac_cv_prog_cc_g = yes; then
3091 if test "$GCC" = yes; then
3097 if test "$GCC" = yes; then
3103 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3104 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3105 if test "${ac_cv_prog_cc_c89+set}" = set; then
3106 echo $ECHO_N "(cached
) $ECHO_C" >&6
3108 ac_cv_prog_cc_c89=no
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3118 #include <sys/types.h>
3119 #include <sys/stat.h>
3120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3121 struct buf { int x; };
3122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3123 static char *e (p, i)
3129 static char *f (char * (*g) (char **, int), char **p, ...)
3134 s = g (p, va_arg (v,int));
3139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3140 function prototypes and stuff, but not '\xHH' hex character constants.
3141 These don't provoke an error unfortunately, instead are silently treated
3142 as 'x'. The following induces an error, until -std is added to get
3143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3144 array size at least. It's necessary to write '\x00'==0 to get something
3145 that's true only with -std. */
3146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3149 inside strings and character constants. */
3151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3153 int test (int i, double x);
3154 struct s1 {int (*f) (int a);};
3155 struct s2 {int (*f) (double a);};
3156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3170 CC="$ac_save_CC $ac_arg"
3171 rm -f conftest.$ac_objext
3172 if { (ac_try="$ac_compile"
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3178 (eval "$ac_compile") 2>conftest.er1
3180 grep -v '^ *+' conftest.er1 >conftest.err
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3184 (exit $ac_status); } && {
3185 test -z "$ac_c_werror_flag" ||
3186 test ! -s conftest.err
3187 } && test -s conftest.$ac_objext; then
3188 ac_cv_prog_cc_c89=$ac_arg
3190 echo "$as_me: failed program was
:" >&5
3191 sed 's/^/| /' conftest.$ac_ext >&5
3196 rm -f core conftest.err conftest.$ac_objext
3197 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3199 rm -f conftest.$ac_ext
3204 case "x
$ac_cv_prog_cc_c89" in
3206 { echo "$as_me:$LINENO: result
: none needed
" >&5
3207 echo "${ECHO_T}none needed
" >&6; } ;;
3209 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3210 echo "${ECHO_T}unsupported
" >&6; } ;;
3212 CC="$CC $ac_cv_prog_cc_c89"
3213 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3214 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3219 ac_cpp='$CPP $CPPFLAGS'
3220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3225 ac_cpp='$CXXCPP $CPPFLAGS'
3226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3229 if test -z "$CXX"; then
3230 if test -n "$CCC"; then
3233 if test -n "$ac_tool_prefix"; then
3234 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3238 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3239 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3240 if test "${ac_cv_prog_CXX+set}" = set; then
3241 echo $ECHO_N "(cached
) $ECHO_C" >&6
3243 if test -n "$CXX"; then
3244 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 test -z "$as_dir" && as_dir=.
3251 for ac_exec_ext in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3254 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3264 if test -n "$CXX"; then
3265 { echo "$as_me:$LINENO: result
: $CXX" >&5
3266 echo "${ECHO_T}$CXX" >&6; }
3268 { echo "$as_me:$LINENO: result
: no
" >&5
3269 echo "${ECHO_T}no
" >&6; }
3273 test -n "$CXX" && break
3276 if test -z "$CXX"; then
3278 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3280 # Extract the first word of "$ac_prog", so it can be a program name with args.
3281 set dummy $ac_prog; ac_word=$2
3282 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3283 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3284 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3285 echo $ECHO_N "(cached
) $ECHO_C" >&6
3287 if test -n "$ac_ct_CXX"; then
3288 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir=.
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3297 ac_cv_prog_ac_ct_CXX="$ac_prog"
3298 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3308 if test -n "$ac_ct_CXX"; then
3309 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3310 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3312 { echo "$as_me:$LINENO: result
: no
" >&5
3313 echo "${ECHO_T}no
" >&6; }
3317 test -n "$ac_ct_CXX" && break
3320 if test "x
$ac_ct_CXX" = x; then
3323 case $cross_compiling:$ac_tool_warned in
3325 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3326 whose name does not start with the
host triplet. If you think this
3327 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3328 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3329 whose name does not start with the
host triplet. If you think this
3330 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3331 ac_tool_warned=yes ;;
3339 # Provide some information about the compiler.
3340 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3341 ac_compiler=`set X $ac_compile; echo $2`
3342 { (ac_try="$ac_compiler --version >&5"
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3348 (eval "$ac_compiler --version >&5") 2>&5
3350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3351 (exit $ac_status); }
3352 { (ac_try="$ac_compiler -v >&5"
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3358 (eval "$ac_compiler -v >&5") 2>&5
3360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3361 (exit $ac_status); }
3362 { (ac_try="$ac_compiler -V >&5"
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3368 (eval "$ac_compiler -V >&5") 2>&5
3370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3371 (exit $ac_status); }
3373 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3374 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3375 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3376 echo $ECHO_N "(cached
) $ECHO_C" >&6
3378 cat >conftest.$ac_ext <<_ACEOF
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3396 rm -f conftest.$ac_objext
3397 if { (ac_try="$ac_compile"
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_compile") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1 >conftest.err
3407 cat conftest.err >&5
3408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3409 (exit $ac_status); } && {
3410 test -z "$ac_cxx_werror_flag" ||
3411 test ! -s conftest.err
3412 } && test -s conftest.$ac_objext; then
3415 echo "$as_me: failed program was
:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3422 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3425 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3426 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3427 GXX=`test $ac_compiler_gnu = yes && echo yes`
3428 ac_test_CXXFLAGS=${CXXFLAGS+set}
3429 ac_save_CXXFLAGS=$CXXFLAGS
3430 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3431 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3432 if test "${ac_cv_prog_cxx_g+set}" = set; then
3433 echo $ECHO_N "(cached
) $ECHO_C" >&6
3435 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3436 ac_cxx_werror_flag=yes
3439 cat >conftest.$ac_ext <<_ACEOF
3442 cat confdefs.h >>conftest.$ac_ext
3443 cat >>conftest.$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3454 rm -f conftest.$ac_objext
3455 if { (ac_try="$ac_compile"
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compile") 2>conftest.er1
3463 grep -v '^ *+' conftest.er1 >conftest.err
3465 cat conftest.err >&5
3466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3467 (exit $ac_status); } && {
3468 test -z "$ac_cxx_werror_flag" ||
3469 test ! -s conftest.err
3470 } && test -s conftest.$ac_objext; then
3471 ac_cv_prog_cxx_g=yes
3473 echo "$as_me: failed program was
:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3492 rm -f conftest.$ac_objext
3493 if { (ac_try="$ac_compile"
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3499 (eval "$ac_compile") 2>conftest.er1
3501 grep -v '^ *+' conftest.er1 >conftest.err
3503 cat conftest.err >&5
3504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3505 (exit $ac_status); } && {
3506 test -z "$ac_cxx_werror_flag" ||
3507 test ! -s conftest.err
3508 } && test -s conftest.$ac_objext; then
3511 echo "$as_me: failed program was
:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3514 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3516 cat >conftest.$ac_ext <<_ACEOF
3519 cat confdefs.h >>conftest.$ac_ext
3520 cat >>conftest.$ac_ext <<_ACEOF
3521 /* end confdefs.h. */
3531 rm -f conftest.$ac_objext
3532 if { (ac_try="$ac_compile"
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_compile") 2>conftest.er1
3540 grep -v '^ *+' conftest.er1 >conftest.err
3542 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3544 (exit $ac_status); } && {
3545 test -z "$ac_cxx_werror_flag" ||
3546 test ! -s conftest.err
3547 } && test -s conftest.$ac_objext; then
3548 ac_cv_prog_cxx_g=yes
3550 echo "$as_me: failed program was
:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3565 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3566 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3567 if test "$ac_test_CXXFLAGS" = set; then
3568 CXXFLAGS=$ac_save_CXXFLAGS
3569 elif test $ac_cv_prog_cxx_g = yes; then
3570 if test "$GXX" = yes; then
3576 if test "$GXX" = yes; then
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3588 if test -n "$ac_tool_prefix"; then
3589 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3590 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3591 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3592 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3593 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3594 echo $ECHO_N "(cached
) $ECHO_C" >&6
3596 if test -n "$CPPBIN"; then
3597 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3607 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3616 CPPBIN=$ac_cv_prog_CPPBIN
3617 if test -n "$CPPBIN"; then
3618 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3619 echo "${ECHO_T}$CPPBIN" >&6; }
3621 { echo "$as_me:$LINENO: result
: no
" >&5
3622 echo "${ECHO_T}no
" >&6; }
3627 if test -z "$ac_cv_prog_CPPBIN"; then
3628 ac_ct_CPPBIN=$CPPBIN
3629 # Extract the first word of "cpp
", so it can be a program name with args.
3630 set dummy cpp; ac_word=$2
3631 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3632 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3633 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3634 echo $ECHO_N "(cached
) $ECHO_C" >&6
3636 if test -n "$ac_ct_CPPBIN"; then
3637 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir=.
3644 for ac_exec_ext in '' $ac_executable_extensions; do
3645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3646 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3647 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3656 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3657 if test -n "$ac_ct_CPPBIN"; then
3658 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3659 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3661 { echo "$as_me:$LINENO: result
: no
" >&5
3662 echo "${ECHO_T}no
" >&6; }
3665 if test "x
$ac_ct_CPPBIN" = x; then
3668 case $cross_compiling:$ac_tool_warned in
3670 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3671 whose name does not start with the
host triplet. If you think this
3672 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3673 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3674 whose name does not start with the
host triplet. If you think this
3675 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3676 ac_tool_warned=yes ;;
3678 CPPBIN=$ac_ct_CPPBIN
3681 CPPBIN="$ac_cv_prog_CPPBIN"
3685 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3686 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3687 if test "${wine_cv_toolsdir+set}" = set; then
3688 echo $ECHO_N "(cached
) $ECHO_C" >&6
3690 if test -z "$with_wine_tools"; then
3691 if test "$cross_compiling" = "yes"; then
3692 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3693 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3694 { (exit 1); exit 1; }; }
3696 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3698 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3699 case $with_wine_tools in
3700 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3701 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3704 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3705 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3706 { (exit 1); exit 1; }; }
3709 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3710 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3711 TOOLSDIR=$wine_cv_toolsdir
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3721 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3722 # On Suns, sometimes $CPP names a directory.
3723 if test -n "$CPP" && test -d "$CPP"; then
3726 if test -z "$CPP"; then
3727 if test "${ac_cv_prog_CPP+set}" = set; then
3728 echo $ECHO_N "(cached
) $ECHO_C" >&6
3730 # Double quotes because CPP needs to be expanded
3731 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3734 for ac_c_preproc_warn_flag in '' yes
3736 # Use a header file that comes with gcc, so configuring glibc
3737 # with a fresh cross-compiler works.
3738 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3739 # <limits.h> exists even on freestanding compilers.
3740 # On the NeXT, cc -E runs the code through the compiler's parser,
3741 # not just through cpp. "Syntax error
" is here to catch this case.
3742 cat >conftest.$ac_ext <<_ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3749 # include <limits.h>
3751 # include <assert.h>
3755 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3758 *) ac_try_echo=$ac_try;;
3760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3761 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3763 grep -v '^ *+' conftest.er1 >conftest.err
3765 cat conftest.err >&5
3766 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3767 (exit $ac_status); } >/dev/null && {
3768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3769 test ! -s conftest.err
3773 echo "$as_me: failed program was
:" >&5
3774 sed 's/^/| /' conftest.$ac_ext >&5
3776 # Broken: fails on valid input.
3780 rm -f conftest.err conftest.$ac_ext
3782 # OK, works on sane cases. Now check whether nonexistent headers
3783 # can be detected and how.
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <ac_nonexistent.h>
3792 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3800 grep -v '^ *+' conftest.er1 >conftest.err
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3808 # Broken: success on invalid input.
3811 echo "$as_me: failed program was
:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 # Passes both tests.
3819 rm -f conftest.err conftest.$ac_ext
3822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3823 rm -f conftest.err conftest.$ac_ext
3824 if $ac_preproc_ok; then
3836 { echo "$as_me:$LINENO: result
: $CPP" >&5
3837 echo "${ECHO_T}$CPP" >&6; }
3839 for ac_c_preproc_warn_flag in '' yes
3841 # Use a header file that comes with gcc, so configuring glibc
3842 # with a fresh cross-compiler works.
3843 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3844 # <limits.h> exists even on freestanding compilers.
3845 # On the NeXT, cc -E runs the code through the compiler's parser,
3846 # not just through cpp. "Syntax error
" is here to catch this case.
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3854 # include <limits.h>
3856 # include <assert.h>
3860 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3866 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3868 grep -v '^ *+' conftest.er1 >conftest.err
3870 cat conftest.err >&5
3871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3872 (exit $ac_status); } >/dev/null && {
3873 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3874 test ! -s conftest.err
3878 echo "$as_me: failed program was
:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3881 # Broken: fails on valid input.
3885 rm -f conftest.err conftest.$ac_ext
3887 # OK, works on sane cases. Now check whether nonexistent headers
3888 # can be detected and how.
3889 cat >conftest.$ac_ext <<_ACEOF
3892 cat confdefs.h >>conftest.$ac_ext
3893 cat >>conftest.$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3895 #include <ac_nonexistent.h>
3897 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3902 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3903 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3905 grep -v '^ *+' conftest.er1 >conftest.err
3907 cat conftest.err >&5
3908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3909 (exit $ac_status); } >/dev/null && {
3910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3911 test ! -s conftest.err
3913 # Broken: success on invalid input.
3916 echo "$as_me: failed program was
:" >&5
3917 sed 's/^/| /' conftest.$ac_ext >&5
3919 # Passes both tests.
3924 rm -f conftest.err conftest.$ac_ext
3927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3928 rm -f conftest.err conftest.$ac_ext
3929 if $ac_preproc_ok; then
3932 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3933 See \
`config.log' for more details." >&5
3934 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3935 See \`config.log
' for more details." >&2;}
3936 { (exit 1); exit 1; }; }
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3942 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 { echo "$as_me:$LINENO: checking for X" >&5
3947 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3950 # Check whether --with-x was given.
3951 if test "${with_x+set}" = set; then
3955 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3956 if test "x$with_x" = xno; then
3957 # The user explicitly disabled X.
3960 case $x_includes,$x_libraries in #(
3961 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3962 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3963 { (exit 1); exit 1; }; };; #(
3964 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 # One or both of the vars are not set, and there is no cached value.
3968 ac_x_includes=no ac_x_libraries=no
3969 rm -f -r conftest.dir
3970 if mkdir conftest.dir; then
3972 cat >Imakefile <<'_ACEOF'
3974 @echo incroot='${INCROOT}'
3976 @echo usrlibdir='${USRLIBDIR}'
3978 @echo libdir='${LIBDIR}'
3980 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3981 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3982 for ac_var in incroot usrlibdir libdir; do
3983 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3985 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3986 for ac_extension in a so sl; do
3987 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3988 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3989 ac_im_usrlibdir=$ac_im_libdir; break
3992 # Screen out bogus values from the imake configuration. They are
3993 # bogus both because they are the default anyway, and because
3994 # using them would break gcc on systems where it needs fixed includes.
3995 case $ac_im_incroot in
3996 /usr/include) ac_x_includes= ;;
3997 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3999 case $ac_im_usrlibdir in
4001 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4005 rm -f -r conftest.dir
4008 # Standard set of common directories for X headers.
4009 # Check X11 before X11Rn because it is often a symlink to the current release.
4021 /usr
/local
/X11
/include
4022 /usr
/local
/X11R
6/include
4023 /usr
/local
/X11R
5/include
4024 /usr
/local
/X11R
4/include
4026 /usr
/local
/include
/X11
4027 /usr
/local
/include
/X11R6
4028 /usr
/local
/include
/X11R5
4029 /usr
/local
/include
/X11R4
4033 /usr
/XFree86
/include
/X11
4037 /usr
/unsupported
/include
4039 /usr
/local
/x11r
5/include
4040 /usr
/lpp
/Xamples
/include
4042 /usr
/openwin
/include
4043 /usr
/openwin
/share
/include
'
4045 if test "$ac_x_includes" = no; then
4046 # Guess where to find include files, by looking for Xlib.h.
4047 # First, try using that file with no special directory specified.
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4054 #include <X11/Xlib.h>
4056 if { (ac_try="$ac_cpp conftest.$ac_ext"
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4064 grep -v '^
*+' conftest.er1 >conftest.err
4066 cat conftest.err >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } >/dev/null && {
4069 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4070 test ! -s conftest.err
4072 # We can compile using X headers with no special include directory.
4075 echo "$as_me: failed program was:" >&5
4076 sed 's
/^
/|
/' conftest.$ac_ext >&5
4078 for ac_dir in $ac_x_header_dirs; do
4079 if test -r "$ac_dir/X11/Xlib.h"; then
4080 ac_x_includes=$ac_dir
4086 rm -f conftest.err conftest.$ac_ext
4087 fi # $ac_x_includes = no
4089 if test "$ac_x_libraries" = no; then
4090 # Check for the libraries.
4091 # See if we find them without any special options.
4092 # Don't add to
$LIBS permanently.
4095 cat >conftest.
$ac_ext <<_ACEOF
4098 cat confdefs.h
>>conftest.
$ac_ext
4099 cat >>conftest.
$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4101 #include <X11/Xlib.h>
4110 rm -f conftest.
$ac_objext conftest
$ac_exeext
4111 if { (ac_try
="$ac_link"
4113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4117 (eval "$ac_link") 2>conftest.er1
4119 grep -v '^ *+' conftest.er1 >conftest.err
4121 cat conftest.err >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); } && {
4124 test -z "$ac_c_werror_flag" ||
4125 test ! -s conftest.err
4126 } && test -s conftest$ac_exeext &&
4127 $as_test_x conftest$ac_exeext; then
4129 # We can link X programs with no special library path.
4132 echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4136 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4138 # Don't even attempt the hair of trying to link an X program!
4139 for ac_extension in a so sl; do
4140 if test -r "$ac_dir/libX11.$ac_extension"; then
4141 ac_x_libraries=$ac_dir
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 fi # $ac_x_libraries = no
4152 case $ac_x_includes,$ac_x_libraries in #(
4154 # Didn't find X, or a directory has "'" in its name.
4155 ac_cv_have_x="have_x=no";; #(
4157 # Record where we found X for the cache.
4158 ac_cv_have_x="have_x=yes\
4159 ac_x_includes='$ac_x_includes'\
4160 ac_x_libraries='$ac_x_libraries'"
4166 eval "$ac_cv_have_x"
4169 if test "$have_x" != yes; then
4170 { echo "$as_me:$LINENO: result: $have_x" >&5
4171 echo "${ECHO_T}$have_x" >&6; }
4174 # If each of the values was on the command line, it overrides each guess.
4175 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4176 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4177 # Update the cache value to reflect the command line values.
4178 ac_cv_have_x="have_x=yes\
4179 ac_x_includes='$x_includes'\
4180 ac_x_libraries='$x_libraries'"
4181 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4182 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4185 if test "$no_x" = yes; then
4186 # Not all programs may use this symbol, but it does not hurt to define it.
4188 cat >>confdefs.h <<\_ACEOF
4189 #define X_DISPLAY_MISSING 1
4192 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4194 if test -n "$x_includes"; then
4195 X_CFLAGS="$X_CFLAGS -I$x_includes"
4198 # It would also be nice to do this for all -L options, not just this one.
4199 if test -n "$x_libraries"; then
4200 X_LIBS="$X_LIBS -L$x_libraries"
4201 # For Solaris; some versions of Sun CC require a space after -R and
4202 # others require no space. Words are not sufficient . . . .
4203 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4204 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4205 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4206 ac_xsave_c_werror_flag=$ac_c_werror_flag
4207 ac_c_werror_flag=yes
4208 cat >conftest.$ac_ext <<_ACEOF
4211 cat confdefs.h >>conftest.$ac_ext
4212 cat >>conftest.$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4223 rm -f conftest.$ac_objext conftest$ac_exeext
4224 if { (ac_try="$ac_link"
4226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4227 *) ac_try_echo
=$ac_try;;
4229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4230 (eval "$ac_link") 2>conftest.er1
4232 grep -v '^ *+' conftest.er1
>conftest.err
4234 cat conftest.err
>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } && {
4237 test -z "$ac_c_werror_flag" ||
4238 test ! -s conftest.err
4239 } && test -s conftest
$ac_exeext &&
4240 $as_test_x conftest
$ac_exeext; then
4241 { echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6; }
4243 X_LIBS
="$X_LIBS -R$x_libraries"
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.
$ac_ext >&5
4248 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4249 cat >conftest.
$ac_ext <<_ACEOF
4252 cat confdefs.h
>>conftest.
$ac_ext
4253 cat >>conftest.
$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4264 rm -f conftest.
$ac_objext conftest
$ac_exeext
4265 if { (ac_try
="$ac_link"
4267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271 (eval "$ac_link") 2>conftest.er1
4273 grep -v '^ *+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } && {
4278 test -z "$ac_c_werror_flag" ||
4279 test ! -s conftest.err
4280 } && test -s conftest$ac_exeext &&
4281 $as_test_x conftest$ac_exeext; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 X_LIBS="$X_LIBS -R $x_libraries"
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.$ac_ext >&5
4289 { echo "$as_me:$LINENO: result: neither works" >&5
4290 echo "${ECHO_T}neither works" >&6; }
4293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4294 conftest$ac_exeext conftest.$ac_ext
4297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4298 conftest$ac_exeext conftest.$ac_ext
4299 ac_c_werror_flag=$ac_xsave_c_werror_flag
4303 # Check for system-dependent libraries X programs must link with.
4304 # Do this before checking for the system-independent R6 libraries
4305 # (-lICE), since we may need -lsocket or whatever for X linking.
4307 if test "$ISC" = yes; then
4308 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4310 # Martyn Johnson says this is needed for Ultrix, if the X
4311 # libraries were built with DECnet support. And Karl Berry says
4312 # the Alpha needs dnet_stub (dnet does not exist).
4313 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4314 cat >conftest.$ac_ext <<_ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4321 /* Override any GCC internal prototype to avoid an error.
4322 Use char because int might match the return type of a GCC
4323 builtin and then its argument prototype would still apply. */
4327 char XOpenDisplay ();
4331 return XOpenDisplay ();
4336 rm -f conftest.$ac_objext conftest$ac_exeext
4337 if { (ac_try="$ac_link"
4339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4340 *) ac_try_echo
=$ac_try;;
4342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4343 (eval "$ac_link") 2>conftest.er1
4345 grep -v '^ *+' conftest.er1
>conftest.err
4347 cat conftest.err
>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } && {
4350 test -z "$ac_c_werror_flag" ||
4351 test ! -s conftest.err
4352 } && test -s conftest
$ac_exeext &&
4353 $as_test_x conftest
$ac_exeext; then
4356 echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.
$ac_ext >&5
4359 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4360 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4361 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4362 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 ac_check_lib_save_LIBS
=$LIBS
4366 cat >conftest.
$ac_ext <<_ACEOF
4369 cat confdefs.h
>>conftest.
$ac_ext
4370 cat >>conftest.
$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4373 /* Override any GCC internal prototype to avoid an error.
4374 Use char because int might match the return type of a GCC
4375 builtin and then its argument prototype would still apply. */
4383 return dnet_ntoa ();
4388 rm -f conftest.
$ac_objext conftest
$ac_exeext
4389 if { (ac_try
="$ac_link"
4391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4395 (eval "$ac_link") 2>conftest.er1
4397 grep -v '^ *+' conftest.er1 >conftest.err
4399 cat conftest.err >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } && {
4402 test -z "$ac_c_werror_flag" ||
4403 test ! -s conftest.err
4404 } && test -s conftest$ac_exeext &&
4405 $as_test_x conftest$ac_exeext; then
4406 ac_cv_lib_dnet_dnet_ntoa=yes
4408 echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.$ac_ext >&5
4411 ac_cv_lib_dnet_dnet_ntoa=no
4414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4415 conftest$ac_exeext conftest.$ac_ext
4416 LIBS=$ac_check_lib_save_LIBS
4418 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4419 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4420 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4421 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4424 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4425 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4426 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4427 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 ac_check_lib_save_LIBS=$LIBS
4431 LIBS="-ldnet_stub $LIBS"
4432 cat >conftest.$ac_ext <<_ACEOF
4435 cat confdefs.h >>conftest.$ac_ext
4436 cat >>conftest.$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4439 /* Override any GCC internal prototype to avoid an error.
4440 Use char because int might match the return type of a GCC
4441 builtin and then its argument prototype would still apply. */
4449 return dnet_ntoa ();
4454 rm -f conftest.$ac_objext conftest$ac_exeext
4455 if { (ac_try="$ac_link"
4457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4458 *) ac_try_echo
=$ac_try;;
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_link") 2>conftest.er1
4463 grep -v '^ *+' conftest.er1
>conftest.err
4465 cat conftest.err
>&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } && {
4468 test -z "$ac_c_werror_flag" ||
4469 test ! -s conftest.err
4470 } && test -s conftest
$ac_exeext &&
4471 $as_test_x conftest
$ac_exeext; then
4472 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.
$ac_ext >&5
4477 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4481 conftest
$ac_exeext conftest.
$ac_ext
4482 LIBS
=$ac_check_lib_save_LIBS
4484 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4485 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4486 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4487 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4494 conftest
$ac_exeext conftest.
$ac_ext
4495 LIBS
="$ac_xsave_LIBS"
4497 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4498 # to get the SysV transport functions.
4499 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4501 # The nsl library prevents programs from opening the X display
4502 # on Irix 5.2, according to T.E. Dickey.
4503 # The functions gethostbyname, getservbyname, and inet_addr are
4504 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4505 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4506 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4507 if test "${ac_cv_func_gethostbyname+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 cat >conftest.
$ac_ext <<_ACEOF
4513 cat confdefs.h
>>conftest.
$ac_ext
4514 cat >>conftest.
$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4518 #define gethostbyname innocuous_gethostbyname
4520 /* System header to define __stub macros and hopefully few prototypes,
4521 which can conflict with char gethostbyname (); below.
4522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4523 <limits.h> exists even on freestanding compilers. */
4526 # include <limits.h>
4528 # include <assert.h>
4531 #undef gethostbyname
4533 /* Override any GCC internal prototype to avoid an error.
4534 Use char because int might match the return type of a GCC
4535 builtin and then its argument prototype would still apply. */
4539 char gethostbyname ();
4540 /* The GNU C library defines this for functions which it implements
4541 to always fail with ENOSYS. Some functions are actually named
4542 something starting with __ and the normal name is an alias. */
4543 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4550 return gethostbyname ();
4555 rm -f conftest.
$ac_objext conftest
$ac_exeext
4556 if { (ac_try
="$ac_link"
4558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 (eval "$ac_link") 2>conftest.er1
4564 grep -v '^ *+' conftest.er1 >conftest.err
4566 cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } && {
4569 test -z "$ac_c_werror_flag" ||
4570 test ! -s conftest.err
4571 } && test -s conftest$ac_exeext &&
4572 $as_test_x conftest$ac_exeext; then
4573 ac_cv_func_gethostbyname=yes
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4578 ac_cv_func_gethostbyname=no
4581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4582 conftest$ac_exeext conftest.$ac_ext
4584 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4585 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4587 if test $ac_cv_func_gethostbyname = no; then
4588 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4589 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4590 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 ac_check_lib_save_LIBS=$LIBS
4595 cat >conftest.$ac_ext <<_ACEOF
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4602 /* Override any GCC internal prototype to avoid an error.
4603 Use char because int might match the return type of a GCC
4604 builtin and then its argument prototype would still apply. */
4608 char gethostbyname ();
4612 return gethostbyname ();
4617 rm -f conftest.$ac_objext conftest$ac_exeext
4618 if { (ac_try="$ac_link"
4620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4621 *) ac_try_echo
=$ac_try;;
4623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4624 (eval "$ac_link") 2>conftest.er1
4626 grep -v '^ *+' conftest.er1
>conftest.err
4628 cat conftest.err
>&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } && {
4631 test -z "$ac_c_werror_flag" ||
4632 test ! -s conftest.err
4633 } && test -s conftest
$ac_exeext &&
4634 $as_test_x conftest
$ac_exeext; then
4635 ac_cv_lib_nsl_gethostbyname
=yes
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.
$ac_ext >&5
4640 ac_cv_lib_nsl_gethostbyname
=no
4643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4644 conftest
$ac_exeext conftest.
$ac_ext
4645 LIBS
=$ac_check_lib_save_LIBS
4647 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4648 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4649 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4653 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4654 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4655 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4656 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 ac_check_lib_save_LIBS
=$LIBS
4661 cat >conftest.
$ac_ext <<_ACEOF
4664 cat confdefs.h
>>conftest.
$ac_ext
4665 cat >>conftest.
$ac_ext <<_ACEOF
4666 /* end confdefs.h. */
4668 /* Override any GCC internal prototype to avoid an error.
4669 Use char because int might match the return type of a GCC
4670 builtin and then its argument prototype would still apply. */
4674 char gethostbyname ();
4678 return gethostbyname ();
4683 rm -f conftest.
$ac_objext conftest
$ac_exeext
4684 if { (ac_try
="$ac_link"
4686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4687 *) ac_try_echo=$ac_try;;
4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4690 (eval "$ac_link") 2>conftest.er1
4692 grep -v '^ *+' conftest.er1 >conftest.err
4694 cat conftest.err >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } && {
4697 test -z "$ac_c_werror_flag" ||
4698 test ! -s conftest.err
4699 } && test -s conftest$ac_exeext &&
4700 $as_test_x conftest$ac_exeext; then
4701 ac_cv_lib_bsd_gethostbyname=yes
4703 echo "$as_me: failed program was:" >&5
4704 sed 's/^/| /' conftest.$ac_ext >&5
4706 ac_cv_lib_bsd_gethostbyname=no
4709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4710 conftest$ac_exeext conftest.$ac_ext
4711 LIBS=$ac_check_lib_save_LIBS
4713 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4714 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4715 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4716 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4722 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4723 # socket/setsockopt and other routines are undefined under SCO ODT
4724 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4725 # on later versions), says Simon Leinen: it contains gethostby*
4726 # variants that don't use the name server (or something). -lsocket
4727 # must be given before -lnsl if both are needed. We assume that
4728 # if connect needs -lnsl, so does gethostbyname.
4729 { echo "$as_me:$LINENO: checking for connect" >&5
4730 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4731 if test "${ac_cv_func_connect+set}" = set; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4734 cat >conftest.$ac_ext <<_ACEOF
4737 cat confdefs.h >>conftest.$ac_ext
4738 cat >>conftest.$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4740 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4742 #define connect innocuous_connect
4744 /* System header to define __stub macros and hopefully few prototypes,
4745 which can conflict with char connect (); below.
4746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4747 <limits.h> exists even on freestanding compilers. */
4750 # include <limits.h>
4752 # include <assert.h>
4757 /* Override any GCC internal prototype to avoid an error.
4758 Use char because int might match the return type of a GCC
4759 builtin and then its argument prototype would still apply. */
4764 /* The GNU C library defines this for functions which it implements
4765 to always fail with ENOSYS. Some functions are actually named
4766 something starting with __ and the normal name is an alias. */
4767 #if defined __stub_connect || defined __stub___connect
4779 rm -f conftest.$ac_objext conftest$ac_exeext
4780 if { (ac_try="$ac_link"
4782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4783 *) ac_try_echo
=$ac_try;;
4785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4786 (eval "$ac_link") 2>conftest.er1
4788 grep -v '^ *+' conftest.er1
>conftest.err
4790 cat conftest.err
>&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } && {
4793 test -z "$ac_c_werror_flag" ||
4794 test ! -s conftest.err
4795 } && test -s conftest
$ac_exeext &&
4796 $as_test_x conftest
$ac_exeext; then
4797 ac_cv_func_connect
=yes
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.
$ac_ext >&5
4802 ac_cv_func_connect
=no
4805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4806 conftest
$ac_exeext conftest.
$ac_ext
4808 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4809 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4811 if test $ac_cv_func_connect = no
; then
4812 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4813 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4814 if test "${ac_cv_lib_socket_connect+set}" = set; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 ac_check_lib_save_LIBS
=$LIBS
4818 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4819 cat >conftest.
$ac_ext <<_ACEOF
4822 cat confdefs.h
>>conftest.
$ac_ext
4823 cat >>conftest.
$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4826 /* Override any GCC internal prototype to avoid an error.
4827 Use char because int might match the return type of a GCC
4828 builtin and then its argument prototype would still apply. */
4841 rm -f conftest.
$ac_objext conftest
$ac_exeext
4842 if { (ac_try
="$ac_link"
4844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848 (eval "$ac_link") 2>conftest.er1
4850 grep -v '^ *+' conftest.er1 >conftest.err
4852 cat conftest.err >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest$ac_exeext &&
4858 $as_test_x conftest$ac_exeext; then
4859 ac_cv_lib_socket_connect=yes
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4864 ac_cv_lib_socket_connect=no
4867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4868 conftest$ac_exeext conftest.$ac_ext
4869 LIBS=$ac_check_lib_save_LIBS
4871 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4872 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4873 if test $ac_cv_lib_socket_connect = yes; then
4874 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4879 # Guillermo Gomez says -lposix is necessary on A/UX.
4880 { echo "$as_me:$LINENO: checking for remove" >&5
4881 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4882 if test "${ac_cv_func_remove+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 cat >conftest.$ac_ext <<_ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4891 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4893 #define remove innocuous_remove
4895 /* System header to define __stub macros and hopefully few prototypes,
4896 which can conflict with char remove (); below.
4897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4898 <limits.h> exists even on freestanding compilers. */
4901 # include <limits.h>
4903 # include <assert.h>
4908 /* Override any GCC internal prototype to avoid an error.
4909 Use char because int might match the return type of a GCC
4910 builtin and then its argument prototype would still apply. */
4915 /* The GNU C library defines this for functions which it implements
4916 to always fail with ENOSYS. Some functions are actually named
4917 something starting with __ and the normal name is an alias. */
4918 #if defined __stub_remove || defined __stub___remove
4930 rm -f conftest.$ac_objext conftest$ac_exeext
4931 if { (ac_try="$ac_link"
4933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4934 *) ac_try_echo
=$ac_try;;
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_link") 2>conftest.er1
4939 grep -v '^ *+' conftest.er1
>conftest.err
4941 cat conftest.err
>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && {
4944 test -z "$ac_c_werror_flag" ||
4945 test ! -s conftest.err
4946 } && test -s conftest
$ac_exeext &&
4947 $as_test_x conftest
$ac_exeext; then
4948 ac_cv_func_remove
=yes
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.
$ac_ext >&5
4953 ac_cv_func_remove
=no
4956 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4957 conftest
$ac_exeext conftest.
$ac_ext
4959 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4960 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4962 if test $ac_cv_func_remove = no
; then
4963 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4964 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4965 if test "${ac_cv_lib_posix_remove+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 ac_check_lib_save_LIBS
=$LIBS
4969 LIBS
="-lposix $LIBS"
4970 cat >conftest.
$ac_ext <<_ACEOF
4973 cat confdefs.h
>>conftest.
$ac_ext
4974 cat >>conftest.
$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4977 /* Override any GCC internal prototype to avoid an error.
4978 Use char because int might match the return type of a GCC
4979 builtin and then its argument prototype would still apply. */
4992 rm -f conftest.
$ac_objext conftest
$ac_exeext
4993 if { (ac_try
="$ac_link"
4995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4996 *) ac_try_echo=$ac_try;;
4998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4999 (eval "$ac_link") 2>conftest.er1
5001 grep -v '^ *+' conftest.er1 >conftest.err
5003 cat conftest.err >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } && {
5006 test -z "$ac_c_werror_flag" ||
5007 test ! -s conftest.err
5008 } && test -s conftest$ac_exeext &&
5009 $as_test_x conftest$ac_exeext; then
5010 ac_cv_lib_posix_remove=yes
5012 echo "$as_me: failed program was:" >&5
5013 sed 's/^/| /' conftest.$ac_ext >&5
5015 ac_cv_lib_posix_remove=no
5018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5019 conftest$ac_exeext conftest.$ac_ext
5020 LIBS=$ac_check_lib_save_LIBS
5022 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5023 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5024 if test $ac_cv_lib_posix_remove = yes; then
5025 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5030 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5031 { echo "$as_me:$LINENO: checking for shmat" >&5
5032 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5033 if test "${ac_cv_func_shmat+set}" = set; then
5034 echo $ECHO_N "(cached) $ECHO_C" >&6
5036 cat >conftest.$ac_ext <<_ACEOF
5039 cat confdefs.h >>conftest.$ac_ext
5040 cat >>conftest.$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5044 #define shmat innocuous_shmat
5046 /* System header to define __stub macros and hopefully few prototypes,
5047 which can conflict with char shmat (); below.
5048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5049 <limits.h> exists even on freestanding compilers. */
5052 # include <limits.h>
5054 # include <assert.h>
5059 /* Override any GCC internal prototype to avoid an error.
5060 Use char because int might match the return type of a GCC
5061 builtin and then its argument prototype would still apply. */
5066 /* The GNU C library defines this for functions which it implements
5067 to always fail with ENOSYS. Some functions are actually named
5068 something starting with __ and the normal name is an alias. */
5069 #if defined __stub_shmat || defined __stub___shmat
5081 rm -f conftest.$ac_objext conftest$ac_exeext
5082 if { (ac_try="$ac_link"
5084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5085 *) ac_try_echo
=$ac_try;;
5087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_link") 2>conftest.er1
5090 grep -v '^ *+' conftest.er1
>conftest.err
5092 cat conftest.err
>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } && {
5095 test -z "$ac_c_werror_flag" ||
5096 test ! -s conftest.err
5097 } && test -s conftest
$ac_exeext &&
5098 $as_test_x conftest
$ac_exeext; then
5099 ac_cv_func_shmat
=yes
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.
$ac_ext >&5
5107 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5108 conftest
$ac_exeext conftest.
$ac_ext
5110 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5111 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5113 if test $ac_cv_func_shmat = no
; then
5114 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5115 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5116 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 ac_check_lib_save_LIBS
=$LIBS
5121 cat >conftest.
$ac_ext <<_ACEOF
5124 cat confdefs.h
>>conftest.
$ac_ext
5125 cat >>conftest.
$ac_ext <<_ACEOF
5126 /* end confdefs.h. */
5128 /* Override any GCC internal prototype to avoid an error.
5129 Use char because int might match the return type of a GCC
5130 builtin and then its argument prototype would still apply. */
5143 rm -f conftest.
$ac_objext conftest
$ac_exeext
5144 if { (ac_try
="$ac_link"
5146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5147 *) ac_try_echo=$ac_try;;
5149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5150 (eval "$ac_link") 2>conftest.er1
5152 grep -v '^ *+' conftest.er1 >conftest.err
5154 cat conftest.err >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } && {
5157 test -z "$ac_c_werror_flag" ||
5158 test ! -s conftest.err
5159 } && test -s conftest$ac_exeext &&
5160 $as_test_x conftest$ac_exeext; then
5161 ac_cv_lib_ipc_shmat=yes
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 ac_cv_lib_ipc_shmat=no
5169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5170 conftest$ac_exeext conftest.$ac_ext
5171 LIBS=$ac_check_lib_save_LIBS
5173 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5174 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5175 if test $ac_cv_lib_ipc_shmat = yes; then
5176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5182 # Check for libraries that X11R6 Xt/Xaw programs need.
5183 ac_save_LDFLAGS=$LDFLAGS
5184 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5185 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5186 # check for ICE first), but we must link in the order -lSM -lICE or
5187 # we get undefined symbols. So assume we have SM if we have ICE.
5188 # These have to be linked with before -lX11, unlike the other
5189 # libraries we check for below, so use a different variable.
5190 # John Interrante, Karl Berry
5191 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5192 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5193 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 ac_check_lib_save_LIBS=$LIBS
5197 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5198 cat >conftest.$ac_ext <<_ACEOF
5201 cat confdefs.h >>conftest.$ac_ext
5202 cat >>conftest.$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5205 /* Override any GCC internal prototype to avoid an error.
5206 Use char because int might match the return type of a GCC
5207 builtin and then its argument prototype would still apply. */
5211 char IceConnectionNumber ();
5215 return IceConnectionNumber ();
5220 rm -f conftest.$ac_objext conftest$ac_exeext
5221 if { (ac_try="$ac_link"
5223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5224 *) ac_try_echo
=$ac_try;;
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_link") 2>conftest.er1
5229 grep -v '^ *+' conftest.er1
>conftest.err
5231 cat conftest.err
>&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } && {
5234 test -z "$ac_c_werror_flag" ||
5235 test ! -s conftest.err
5236 } && test -s conftest
$ac_exeext &&
5237 $as_test_x conftest
$ac_exeext; then
5238 ac_cv_lib_ICE_IceConnectionNumber
=yes
5240 echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.
$ac_ext >&5
5243 ac_cv_lib_ICE_IceConnectionNumber
=no
5246 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5247 conftest
$ac_exeext conftest.
$ac_ext
5248 LIBS
=$ac_check_lib_save_LIBS
5250 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5251 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5252 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5253 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5256 LDFLAGS
=$ac_save_LDFLAGS
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy
$ac_prog; ac_word
=$2
5265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5267 if test "${ac_cv_prog_FLEX+set}" = set; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 if test -n "$FLEX"; then
5271 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280 ac_cv_prog_FLEX
="$ac_prog"
5281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 FLEX
=$ac_cv_prog_FLEX
5291 if test -n "$FLEX"; then
5292 { echo "$as_me:$LINENO: result: $FLEX" >&5
5293 echo "${ECHO_T}$FLEX" >&6; }
5295 { echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6; }
5300 test -n "$FLEX" && break
5302 test -n "$FLEX" || FLEX
="none"
5304 if test "$FLEX" = "none"
5306 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5307 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5308 { (exit 1); exit 1; }; }
5311 for ac_prog
in bison
5313 # Extract the first word of "$ac_prog", so it can be a program name with args.
5314 set dummy
$ac_prog; ac_word
=$2
5315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5317 if test "${ac_cv_prog_BISON+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 if test -n "$BISON"; then
5321 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir
=.
5328 for ac_exec_ext
in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_prog_BISON
="$ac_prog"
5331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 BISON
=$ac_cv_prog_BISON
5341 if test -n "$BISON"; then
5342 { echo "$as_me:$LINENO: result: $BISON" >&5
5343 echo "${ECHO_T}$BISON" >&6; }
5345 { echo "$as_me:$LINENO: result: no" >&5
5346 echo "${ECHO_T}no" >&6; }
5350 test -n "$BISON" && break
5352 test -n "$BISON" || BISON
="none"
5354 if test "$BISON" = "none"
5356 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5357 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5358 { (exit 1); exit 1; }; }
5361 if test -n "$ac_tool_prefix"; then
5362 for ac_prog
in gas as
5364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5365 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5368 if test "${ac_cv_prog_AS+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 if test -n "$AS"; then
5372 ac_cv_prog_AS
="$AS" # Let the user override the test.
5374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5378 test -z "$as_dir" && as_dir
=.
5379 for ac_exec_ext
in '' $ac_executable_extensions; do
5380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5381 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 if test -n "$AS"; then
5393 { echo "$as_me:$LINENO: result: $AS" >&5
5394 echo "${ECHO_T}$AS" >&6; }
5396 { echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6; }
5401 test -n "$AS" && break
5404 if test -z "$AS"; then
5406 for ac_prog
in gas as
5408 # Extract the first word of "$ac_prog", so it can be a program name with args.
5409 set dummy
$ac_prog; ac_word
=$2
5410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5412 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 if test -n "$ac_ct_AS"; then
5416 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5422 test -z "$as_dir" && as_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5425 ac_cv_prog_ac_ct_AS
="$ac_prog"
5426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5436 if test -n "$ac_ct_AS"; then
5437 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5438 echo "${ECHO_T}$ac_ct_AS" >&6; }
5440 { echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6; }
5445 test -n "$ac_ct_AS" && break
5448 if test "x$ac_ct_AS" = x
; then
5451 case $cross_compiling:$ac_tool_warned in
5453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5454 whose name does not start with the host triplet. If you think this
5455 configuration is useful to you, please write to autoconf@gnu.org." >&5
5456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5457 whose name does not start with the host triplet. If you think this
5458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5459 ac_tool_warned
=yes ;;
5465 if test -n "$ac_tool_prefix"; then
5466 for ac_prog
in ld gld
5468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5469 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5472 if test "${ac_cv_prog_LD+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 if test -n "$LD"; then
5476 ac_cv_prog_LD
="$LD" # Let the user override the test.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485 ac_cv_prog_LD
="$ac_tool_prefix$ac_prog"
5486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 if test -n "$LD"; then
5497 { echo "$as_me:$LINENO: result: $LD" >&5
5498 echo "${ECHO_T}$LD" >&6; }
5500 { echo "$as_me:$LINENO: result: no" >&5
5501 echo "${ECHO_T}no" >&6; }
5505 test -n "$LD" && break
5508 if test -z "$LD"; then
5510 for ac_prog
in ld gld
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy
$ac_prog; ac_word
=$2
5514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5516 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 if test -n "$ac_ct_LD"; then
5520 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5529 ac_cv_prog_ac_ct_LD
="$ac_prog"
5530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5540 if test -n "$ac_ct_LD"; then
5541 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5542 echo "${ECHO_T}$ac_ct_LD" >&6; }
5544 { echo "$as_me:$LINENO: result: no" >&5
5545 echo "${ECHO_T}no" >&6; }
5549 test -n "$ac_ct_LD" && break
5552 if test "x$ac_ct_LD" = x
; then
5555 case $cross_compiling:$ac_tool_warned in
5557 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5558 whose name does not start with the host triplet. If you think this
5559 configuration is useful to you, please write to autoconf@gnu.org." >&5
5560 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5561 whose name does not start with the host triplet. If you think this
5562 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5563 ac_tool_warned
=yes ;;
5569 if test -n "$ac_tool_prefix"; then
5570 for ac_prog
in nm gnm
5572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5573 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5576 if test "${ac_cv_prog_NM+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 if test -n "$NM"; then
5580 ac_cv_prog_NM
="$NM" # Let the user override the test.
5582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5586 test -z "$as_dir" && as_dir
=.
5587 for ac_exec_ext
in '' $ac_executable_extensions; do
5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589 ac_cv_prog_NM
="$ac_tool_prefix$ac_prog"
5590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 if test -n "$NM"; then
5601 { echo "$as_me:$LINENO: result: $NM" >&5
5602 echo "${ECHO_T}$NM" >&6; }
5604 { echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6; }
5609 test -n "$NM" && break
5612 if test -z "$NM"; then
5614 for ac_prog
in nm gnm
5616 # Extract the first word of "$ac_prog", so it can be a program name with args.
5617 set dummy
$ac_prog; ac_word
=$2
5618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5620 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5621 echo $ECHO_N "(cached) $ECHO_C" >&6
5623 if test -n "$ac_ct_NM"; then
5624 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5630 test -z "$as_dir" && as_dir
=.
5631 for ac_exec_ext
in '' $ac_executable_extensions; do
5632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5633 ac_cv_prog_ac_ct_NM
="$ac_prog"
5634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5644 if test -n "$ac_ct_NM"; then
5645 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5646 echo "${ECHO_T}$ac_ct_NM" >&6; }
5648 { echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6; }
5653 test -n "$ac_ct_NM" && break
5656 if test "x$ac_ct_NM" = x
; then
5659 case $cross_compiling:$ac_tool_warned in
5661 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5662 whose name does not start with the host triplet. If you think this
5663 configuration is useful to you, please write to autoconf@gnu.org." >&5
5664 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5667 ac_tool_warned
=yes ;;
5673 if test -n "$ac_tool_prefix"; then
5674 for ac_prog
in ar gar
5676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5677 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5680 if test "${ac_cv_prog_AR+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$AR"; then
5684 ac_cv_prog_AR
="$AR" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 if test -n "$AR"; then
5705 { echo "$as_me:$LINENO: result: $AR" >&5
5706 echo "${ECHO_T}$AR" >&6; }
5708 { echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6; }
5713 test -n "$AR" && break
5716 if test -z "$AR"; then
5718 for ac_prog
in ar gar
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy
$ac_prog; ac_word
=$2
5722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5724 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 if test -n "$ac_ct_AR"; then
5728 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir
=.
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737 ac_cv_prog_ac_ct_AR
="$ac_prog"
5738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5748 if test -n "$ac_ct_AR"; then
5749 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5750 echo "${ECHO_T}$ac_ct_AR" >&6; }
5752 { echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6; }
5757 test -n "$ac_ct_AR" && break
5760 if test "x$ac_ct_AR" = x
; then
5763 case $cross_compiling:$ac_tool_warned in
5765 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5766 whose name does not start with the host triplet. If you think this
5767 configuration is useful to you, please write to autoconf@gnu.org." >&5
5768 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5769 whose name does not start with the host triplet. If you think this
5770 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5771 ac_tool_warned
=yes ;;
5779 if test -n "$ac_tool_prefix"; then
5780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5781 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5784 if test "${ac_cv_prog_RANLIB+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 if test -n "$RANLIB"; then
5788 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5794 test -z "$as_dir" && as_dir
=.
5795 for ac_exec_ext
in '' $ac_executable_extensions; do
5796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5797 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 RANLIB
=$ac_cv_prog_RANLIB
5808 if test -n "$RANLIB"; then
5809 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5810 echo "${ECHO_T}$RANLIB" >&6; }
5812 { echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6; }
5818 if test -z "$ac_cv_prog_RANLIB"; then
5819 ac_ct_RANLIB
=$RANLIB
5820 # Extract the first word of "ranlib", so it can be a program name with args.
5821 set dummy ranlib
; ac_word
=$2
5822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5824 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 if test -n "$ac_ct_RANLIB"; then
5828 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5834 test -z "$as_dir" && as_dir
=.
5835 for ac_exec_ext
in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5848 if test -n "$ac_ct_RANLIB"; then
5849 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5850 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5852 { echo "$as_me:$LINENO: result: no" >&5
5853 echo "${ECHO_T}no" >&6; }
5856 if test "x$ac_ct_RANLIB" = x
; then
5859 case $cross_compiling:$ac_tool_warned in
5861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5862 whose name does not start with the host triplet. If you think this
5863 configuration is useful to you, please write to autoconf@gnu.org." >&5
5864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5865 whose name does not start with the host triplet. If you think this
5866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5867 ac_tool_warned
=yes ;;
5869 RANLIB
=$ac_ct_RANLIB
5872 RANLIB
="$ac_cv_prog_RANLIB"
5875 if test -n "$ac_tool_prefix"; then
5876 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5877 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5880 if test "${ac_cv_prog_STRIP+set}" = set; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 if test -n "$STRIP"; then
5884 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5890 test -z "$as_dir" && as_dir
=.
5891 for ac_exec_ext
in '' $ac_executable_extensions; do
5892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5893 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 STRIP
=$ac_cv_prog_STRIP
5904 if test -n "$STRIP"; then
5905 { echo "$as_me:$LINENO: result: $STRIP" >&5
5906 echo "${ECHO_T}$STRIP" >&6; }
5908 { echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6; }
5914 if test -z "$ac_cv_prog_STRIP"; then
5916 # Extract the first word of "strip", so it can be a program name with args.
5917 set dummy strip
; ac_word
=$2
5918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 if test -n "$ac_ct_STRIP"; then
5924 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5930 test -z "$as_dir" && as_dir
=.
5931 for ac_exec_ext
in '' $ac_executable_extensions; do
5932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933 ac_cv_prog_ac_ct_STRIP
="strip"
5934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5944 if test -n "$ac_ct_STRIP"; then
5945 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5946 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5948 { echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6; }
5952 if test "x$ac_ct_STRIP" = x
; then
5955 case $cross_compiling:$ac_tool_warned in
5957 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5958 whose name does not start with the host triplet. If you think this
5959 configuration is useful to you, please write to autoconf@gnu.org." >&5
5960 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5961 whose name does not start with the host triplet. If you think this
5962 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5963 ac_tool_warned
=yes ;;
5968 STRIP
="$ac_cv_prog_STRIP"
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5973 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5976 if test "${ac_cv_prog_WINDRES+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 if test -n "$WINDRES"; then
5980 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir
=.
5987 for ac_exec_ext
in '' $ac_executable_extensions; do
5988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 WINDRES
=$ac_cv_prog_WINDRES
6000 if test -n "$WINDRES"; then
6001 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6002 echo "${ECHO_T}$WINDRES" >&6; }
6004 { echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6; }
6010 if test -z "$ac_cv_prog_WINDRES"; then
6011 ac_ct_WINDRES
=$WINDRES
6012 # Extract the first word of "windres", so it can be a program name with args.
6013 set dummy windres
; ac_word
=$2
6014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6016 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 if test -n "$ac_ct_WINDRES"; then
6020 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir
=.
6027 for ac_exec_ext
in '' $ac_executable_extensions; do
6028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 ac_cv_prog_ac_ct_WINDRES
="windres"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6040 if test -n "$ac_ct_WINDRES"; then
6041 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6042 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6044 { echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6; }
6048 if test "x$ac_ct_WINDRES" = x
; then
6051 case $cross_compiling:$ac_tool_warned in
6053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6054 whose name does not start with the host triplet. If you think this
6055 configuration is useful to you, please write to autoconf@gnu.org." >&5
6056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6057 whose name does not start with the host triplet. If you think this
6058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6059 ac_tool_warned
=yes ;;
6061 WINDRES
=$ac_ct_WINDRES
6064 WINDRES
="$ac_cv_prog_WINDRES"
6067 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6068 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6070 if test "$LN_S" = "ln -s"; then
6071 { echo "$as_me:$LINENO: result: yes" >&5
6072 echo "${ECHO_T}yes" >&6; }
6074 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6075 echo "${ECHO_T}no, using $LN_S" >&6; }
6078 { echo "$as_me:$LINENO: checking whether ln works" >&5
6079 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6080 rm -f conf$$ conf$$.
file
6082 if ln conf$$.
file conf$$
2>/dev
/null
; then
6085 { echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6; }
6090 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6091 echo "${ECHO_T}no, using $LN" >&6; }
6093 rm -f conf$$ conf$$.
file
6094 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6095 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6096 if test "${ac_cv_path_GREP+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 # Extract the first word of "grep ggrep" to use in msg output
6100 if test -z "$GREP"; then
6101 set dummy
grep ggrep
; ac_prog_name
=$2
6102 if test "${ac_cv_path_GREP+set}" = set; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 ac_path_GREP_found
=false
6106 # Loop through the user's path and test for each of PROGNAME-LIST
6107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6108 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6111 test -z "$as_dir" && as_dir
=.
6112 for ac_prog
in grep ggrep
; do
6113 for ac_exec_ext
in '' $ac_executable_extensions; do
6114 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6115 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6116 # Check for GNU ac_path_GREP and select it if it is found.
6117 # Check for GNU $ac_path_GREP
6118 case `"$ac_path_GREP" --version 2>&1` in
6120 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6123 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6126 cat "conftest.in" "conftest.in" >"conftest.tmp"
6127 mv "conftest.tmp" "conftest.in"
6128 cp "conftest.in" "conftest.nl"
6129 echo 'GREP' >> "conftest.nl"
6130 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6131 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6132 ac_count
=`expr $ac_count + 1`
6133 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6134 # Best one so far, save it but keep looking for a better one
6135 ac_cv_path_GREP
="$ac_path_GREP"
6136 ac_path_GREP_max
=$ac_count
6138 # 10*(2^10) chars as input seems more than enough
6139 test $ac_count -gt 10 && break
6141 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6145 $ac_path_GREP_found && break 3
6155 GREP
="$ac_cv_path_GREP"
6156 if test -z "$GREP"; then
6157 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6158 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6159 { (exit 1); exit 1; }; }
6163 ac_cv_path_GREP
=$GREP
6168 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6169 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6170 GREP
="$ac_cv_path_GREP"
6173 { echo "$as_me:$LINENO: checking for egrep" >&5
6174 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6175 if test "${ac_cv_path_EGREP+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6179 then ac_cv_path_EGREP
="$GREP -E"
6181 # Extract the first word of "egrep" to use in msg output
6182 if test -z "$EGREP"; then
6183 set dummy
egrep; ac_prog_name
=$2
6184 if test "${ac_cv_path_EGREP+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 ac_path_EGREP_found
=false
6188 # Loop through the user's path and test for each of PROGNAME-LIST
6189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6190 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6193 test -z "$as_dir" && as_dir
=.
6194 for ac_prog
in egrep; do
6195 for ac_exec_ext
in '' $ac_executable_extensions; do
6196 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6197 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6198 # Check for GNU ac_path_EGREP and select it if it is found.
6199 # Check for GNU $ac_path_EGREP
6200 case `"$ac_path_EGREP" --version 2>&1` in
6202 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6205 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6208 cat "conftest.in" "conftest.in" >"conftest.tmp"
6209 mv "conftest.tmp" "conftest.in"
6210 cp "conftest.in" "conftest.nl"
6211 echo 'EGREP' >> "conftest.nl"
6212 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6213 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6214 ac_count
=`expr $ac_count + 1`
6215 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6216 # Best one so far, save it but keep looking for a better one
6217 ac_cv_path_EGREP
="$ac_path_EGREP"
6218 ac_path_EGREP_max
=$ac_count
6220 # 10*(2^10) chars as input seems more than enough
6221 test $ac_count -gt 10 && break
6223 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6227 $ac_path_EGREP_found && break 3
6237 EGREP
="$ac_cv_path_EGREP"
6238 if test -z "$EGREP"; then
6239 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6240 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6241 { (exit 1); exit 1; }; }
6245 ac_cv_path_EGREP
=$EGREP
6251 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6252 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6253 EGREP
="$ac_cv_path_EGREP"
6256 # Extract the first word of "ldconfig", so it can be a program name with args.
6257 set dummy ldconfig
; ac_word
=$2
6258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6260 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6261 echo $ECHO_N "(cached) $ECHO_C" >&6
6265 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6269 for as_dir
in /sbin
/usr
/sbin
$PATH
6272 test -z "$as_dir" && as_dir
=.
6273 for ac_exec_ext
in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6287 LDCONFIG
=$ac_cv_path_LDCONFIG
6288 if test -n "$LDCONFIG"; then
6289 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6290 echo "${ECHO_T}$LDCONFIG" >&6; }
6292 { echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6; }
6297 # Find a good install program. We prefer a C program (faster),
6298 # so one script is as good as another. But avoid the broken or
6299 # incompatible versions:
6300 # SysV /etc/install, /usr/sbin/install
6301 # SunOS /usr/etc/install
6302 # IRIX /sbin/install
6304 # AmigaOS /C/install, which installs bootblocks on floppy discs
6305 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6308 # OS/2's system install, which has a completely different semantic
6309 # ./install, which can be erroneously created by make from ./install.sh.
6310 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6311 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6312 if test -z "$INSTALL"; then
6313 if test "${ac_cv_path_install+set}" = set; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6320 test -z "$as_dir" && as_dir
=.
6321 # Account for people who put trailing slashes in PATH elements.
6323 .
/ | .
// |
/cC
/* | \
6324 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6325 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6328 # OSF1 and SCO ODT 3.0 have their own names for install.
6329 # Don't use installbsd from OSF since it installs stuff as root
6331 for ac_prog
in ginstall scoinst
install; do
6332 for ac_exec_ext
in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6334 if test $ac_prog = install &&
6335 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6336 # AIX install. It has an incompatible calling convention.
6338 elif test $ac_prog = install &&
6339 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6340 # program-specific install script used by HP pwplus--don't use.
6343 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6356 if test "${ac_cv_path_install+set}" = set; then
6357 INSTALL
=$ac_cv_path_install
6359 # As a last resort, use the slow shell script. Don't cache a
6360 # value for INSTALL within a source directory, because that will
6361 # break other packages using the cache if that directory is
6362 # removed, or if the value is a relative name.
6363 INSTALL
=$ac_install_sh
6366 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6367 echo "${ECHO_T}$INSTALL" >&6; }
6369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6370 # It thinks the first close brace ends the variable substitution.
6371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6375 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6378 [\\/$
]* | ?
:[\\/]* ) ;;
6379 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6382 for ac_prog
in lclint lint
6384 # Extract the first word of "$ac_prog", so it can be a program name with args.
6385 set dummy
$ac_prog; ac_word
=$2
6386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6388 if test "${ac_cv_prog_LINT+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 if test -n "$LINT"; then
6392 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir
=.
6399 for ac_exec_ext
in '' $ac_executable_extensions; do
6400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401 ac_cv_prog_LINT
="$ac_prog"
6402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 LINT
=$ac_cv_prog_LINT
6412 if test -n "$LINT"; then
6413 { echo "$as_me:$LINENO: result: $LINT" >&5
6414 echo "${ECHO_T}$LINT" >&6; }
6416 { echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6; }
6421 test -n "$LINT" && break
6424 if test "$LINT" = "lint"
6426 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6431 for ac_prog
in fontforge
6433 # Extract the first word of "$ac_prog", so it can be a program name with args.
6434 set dummy
$ac_prog; ac_word
=$2
6435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6437 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6438 echo $ECHO_N "(cached) $ECHO_C" >&6
6440 if test -n "$FONTFORGE"; then
6441 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir
=.
6448 for ac_exec_ext
in '' $ac_executable_extensions; do
6449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6450 ac_cv_prog_FONTFORGE
="$ac_prog"
6451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6460 FONTFORGE
=$ac_cv_prog_FONTFORGE
6461 if test -n "$FONTFORGE"; then
6462 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6463 echo "${ECHO_T}$FONTFORGE" >&6; }
6465 { echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6; }
6470 test -n "$FONTFORGE" && break
6472 test -n "$FONTFORGE" || FONTFORGE
="false"
6474 for ac_prog
in pkg-config
6476 # Extract the first word of "$ac_prog", so it can be a program name with args.
6477 set dummy
$ac_prog; ac_word
=$2
6478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6480 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 if test -n "$PKG_CONFIG"; then
6484 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir
=.
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6503 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6504 if test -n "$PKG_CONFIG"; then
6505 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6506 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6508 { echo "$as_me:$LINENO: result: no" >&5
6509 echo "${ECHO_T}no" >&6; }
6513 test -n "$PKG_CONFIG" && break
6515 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6519 # Extract the first word of "$ac_prog", so it can be a program name with args.
6520 set dummy
$ac_prog; ac_word
=$2
6521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6523 if test "${ac_cv_prog_RSVG+set}" = set; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6526 if test -n "$RSVG"; then
6527 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir
=.
6534 for ac_exec_ext
in '' $ac_executable_extensions; do
6535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6536 ac_cv_prog_RSVG
="$ac_prog"
6537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 RSVG
=$ac_cv_prog_RSVG
6547 if test -n "$RSVG"; then
6548 { echo "$as_me:$LINENO: result: $RSVG" >&5
6549 echo "${ECHO_T}$RSVG" >&6; }
6551 { echo "$as_me:$LINENO: result: no" >&5
6552 echo "${ECHO_T}no" >&6; }
6556 test -n "$RSVG" && break
6558 test -n "$RSVG" || RSVG
="false"
6560 for ac_prog
in icotool
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy
$ac_prog; ac_word
=$2
6564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6566 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 if test -n "$ICOTOOL"; then
6570 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6576 test -z "$as_dir" && as_dir
=.
6577 for ac_exec_ext
in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ICOTOOL
="$ac_prog"
6580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 ICOTOOL
=$ac_cv_prog_ICOTOOL
6590 if test -n "$ICOTOOL"; then
6591 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6592 echo "${ECHO_T}$ICOTOOL" >&6; }
6594 { echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6; }
6599 test -n "$ICOTOOL" && break
6601 test -n "$ICOTOOL" || ICOTOOL
="false"
6604 if test "${enable_maintainer_mode+set}" = set
6606 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6607 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6608 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6613 # Extract the first word of "prelink", so it can be a program name with args.
6614 set dummy prelink
; ac_word
=$2
6615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6617 if test "${ac_cv_path_PRELINK+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6626 for as_dir
in /sbin
/usr
/sbin
$PATH
6629 test -z "$as_dir" && as_dir
=.
6630 for ac_exec_ext
in '' $ac_executable_extensions; do
6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6632 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6644 PRELINK
=$ac_cv_path_PRELINK
6645 if test -n "$PRELINK"; then
6646 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6647 echo "${ECHO_T}$PRELINK" >&6; }
6649 { echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6; }
6659 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6660 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6661 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 ac_check_lib_save_LIBS
=$LIBS
6666 cat >conftest.
$ac_ext <<_ACEOF
6669 cat confdefs.h
>>conftest.
$ac_ext
6670 cat >>conftest.
$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6673 /* Override any GCC internal prototype to avoid an error.
6674 Use char because int might match the return type of a GCC
6675 builtin and then its argument prototype would still apply. */
6679 char i386_set_ldt ();
6683 return i386_set_ldt ();
6688 rm -f conftest.
$ac_objext conftest
$ac_exeext
6689 if { (ac_try
="$ac_link"
6691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6692 *) ac_try_echo=$ac_try;;
6694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6695 (eval "$ac_link") 2>conftest.er1
6697 grep -v '^ *+' conftest.er1 >conftest.err
6699 cat conftest.err >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); } && {
6702 test -z "$ac_c_werror_flag" ||
6703 test ! -s conftest.err
6704 } && test -s conftest$ac_exeext &&
6705 $as_test_x conftest$ac_exeext; then
6706 ac_cv_lib_i386_i386_set_ldt=yes
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6711 ac_cv_lib_i386_i386_set_ldt=no
6714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6715 conftest$ac_exeext conftest.$ac_ext
6716 LIBS=$ac_check_lib_save_LIBS
6718 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6719 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6720 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6721 cat >>confdefs.h <<_ACEOF
6722 #define HAVE_LIBI386 1
6730 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6731 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6732 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6733 echo $ECHO_N "(cached) $ECHO_C" >&6
6735 ac_check_lib_save_LIBS=$LIBS
6736 LIBS="-lossaudio $LIBS"
6737 cat >conftest.$ac_ext <<_ACEOF
6740 cat confdefs.h >>conftest.$ac_ext
6741 cat >>conftest.$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6744 /* Override any GCC internal prototype to avoid an error.
6745 Use char because int might match the return type of a GCC
6746 builtin and then its argument prototype would still apply. */
6754 return _oss_ioctl ();
6759 rm -f conftest.$ac_objext conftest$ac_exeext
6760 if { (ac_try="$ac_link"
6762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6763 *) ac_try_echo
=$ac_try;;
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_link") 2>conftest.er1
6768 grep -v '^ *+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest
$ac_exeext &&
6776 $as_test_x conftest
$ac_exeext; then
6777 ac_cv_lib_ossaudio__oss_ioctl
=yes
6779 echo "$as_me: failed program was:" >&5
6780 sed 's/^/| /' conftest.
$ac_ext >&5
6782 ac_cv_lib_ossaudio__oss_ioctl
=no
6785 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6786 conftest
$ac_exeext conftest.
$ac_ext
6787 LIBS
=$ac_check_lib_save_LIBS
6789 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6790 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6791 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6792 cat >>confdefs.h
<<_ACEOF
6793 #define HAVE_LIBOSSAUDIO 1
6796 LIBS
="-lossaudio $LIBS"
6800 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6801 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6802 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6805 ac_check_lib_save_LIBS
=$LIBS
6806 LIBS
="-lpthread $LIBS"
6807 cat >conftest.
$ac_ext <<_ACEOF
6810 cat confdefs.h
>>conftest.
$ac_ext
6811 cat >>conftest.
$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6814 /* Override any GCC internal prototype to avoid an error.
6815 Use char because int might match the return type of a GCC
6816 builtin and then its argument prototype would still apply. */
6820 char pthread_create ();
6824 return pthread_create ();
6829 rm -f conftest.
$ac_objext conftest
$ac_exeext
6830 if { (ac_try
="$ac_link"
6832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6833 *) ac_try_echo=$ac_try;;
6835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6836 (eval "$ac_link") 2>conftest.er1
6838 grep -v '^ *+' conftest.er1 >conftest.err
6840 cat conftest.err >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } && {
6843 test -z "$ac_c_werror_flag" ||
6844 test ! -s conftest.err
6845 } && test -s conftest$ac_exeext &&
6846 $as_test_x conftest$ac_exeext; then
6847 ac_cv_lib_pthread_pthread_create=yes
6849 echo "$as_me: failed program was:" >&5
6850 sed 's/^/| /' conftest.$ac_ext >&5
6852 ac_cv_lib_pthread_pthread_create=no
6855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6856 conftest$ac_exeext conftest.$ac_ext
6857 LIBS=$ac_check_lib_save_LIBS
6859 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6860 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6861 if test $ac_cv_lib_pthread_pthread_create = yes; then
6862 LIBPTHREAD="-lpthread"
6881 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6882 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6883 if test "${ac_cv_header_stdc+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 cat >conftest.$ac_ext <<_ACEOF
6889 cat confdefs.h >>conftest.$ac_ext
6890 cat >>conftest.$ac_ext <<_ACEOF
6891 /* end confdefs.h. */
6905 rm -f conftest.$ac_objext
6906 if { (ac_try="$ac_compile"
6908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6909 *) ac_try_echo
=$ac_try;;
6911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6912 (eval "$ac_compile") 2>conftest.er1
6914 grep -v '^ *+' conftest.er1
>conftest.err
6916 cat conftest.err
>&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); } && {
6919 test -z "$ac_c_werror_flag" ||
6920 test ! -s conftest.err
6921 } && test -s conftest.
$ac_objext; then
6922 ac_cv_header_stdc
=yes
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.
$ac_ext >&5
6927 ac_cv_header_stdc
=no
6930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6932 if test $ac_cv_header_stdc = yes; then
6933 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6944 $EGREP "memchr" >/dev
/null
2>&1; then
6947 ac_cv_header_stdc
=no
6953 if test $ac_cv_header_stdc = yes; then
6954 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6955 cat >conftest.
$ac_ext <<_ACEOF
6958 cat confdefs.h
>>conftest.
$ac_ext
6959 cat >>conftest.
$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6965 $EGREP "free" >/dev
/null
2>&1; then
6968 ac_cv_header_stdc
=no
6974 if test $ac_cv_header_stdc = yes; then
6975 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6976 if test "$cross_compiling" = yes; then
6979 cat >conftest.
$ac_ext <<_ACEOF
6982 cat confdefs.h
>>conftest.
$ac_ext
6983 cat >>conftest.
$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6987 #if ((' ' & 0x0FF) == 0x020)
6988 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6989 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6991 # define ISLOWER(c) \
6992 (('a' <= (c) && (c) <= 'i') \
6993 || ('j' <= (c) && (c) <= 'r') \
6994 || ('s' <= (c) && (c) <= 'z'))
6995 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6998 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7003 for (i = 0; i < 256; i++)
7004 if (XOR (islower (i), ISLOWER (i))
7005 || toupper (i) != TOUPPER (i))
7010 rm -f conftest
$ac_exeext
7011 if { (ac_try
="$ac_link"
7013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7014 *) ac_try_echo=$ac_try;;
7016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7017 (eval "$ac_link") 2>&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7021 { (case "(($ac_try" in
7022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7023 *) ac_try_echo
=$ac_try;;
7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7026 (eval "$ac_try") 2>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7032 echo "$as_me: program exited with status $ac_status" >&5
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.
$ac_ext >&5
7037 ac_cv_header_stdc
=no
7039 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7045 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7046 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7047 if test $ac_cv_header_stdc = yes; then
7049 cat >>confdefs.h
<<\_ACEOF
7050 #define STDC_HEADERS 1
7055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7065 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7066 inttypes.h stdint.h unistd.h
7068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7069 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7071 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 cat >conftest.
$ac_ext <<_ACEOF
7077 cat confdefs.h
>>conftest.
$ac_ext
7078 cat >>conftest.
$ac_ext <<_ACEOF
7079 /* end confdefs.h. */
7080 $ac_includes_default
7082 #include <$ac_header>
7084 rm -f conftest.
$ac_objext
7085 if { (ac_try
="$ac_compile"
7087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7088 *) ac_try_echo=$ac_try;;
7090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7091 (eval "$ac_compile") 2>conftest.er1
7093 grep -v '^ *+' conftest.er1 >conftest.err
7095 cat conftest.err >&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); } && {
7098 test -z "$ac_c_werror_flag" ||
7099 test ! -s conftest.err
7100 } && test -s conftest.$ac_objext; then
7101 eval "$as_ac_Header=yes"
7103 echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.$ac_ext >&5
7106 eval "$as_ac_Header=no"
7109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7111 ac_res=`eval echo '${'$as_ac_Header'}'`
7112 { echo "$as_me:$LINENO: result: $ac_res" >&5
7113 echo "${ECHO_T}$ac_res" >&6; }
7114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7115 cat >>confdefs.h <<_ACEOF
7116 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7236 AudioUnit/AudioUnit.h \
7238 CoreAudio/CoreAudio.h \
7239 DiskArbitration/DiskArbitration.h \
7252 fontconfig/fontconfig.h \
7278 machine/soundcard.h \
7283 netinet/in_systm.h \
7345 valgrind/memcheck.h \
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 ac_res=`eval echo '${'$as_ac_Header'}'`
7357 { echo "$as_me:$LINENO: result: $ac_res" >&5
7358 echo "${ECHO_T}$ac_res" >&6; }
7360 # Is the header compilable?
7361 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7363 cat >conftest.$ac_ext <<_ACEOF
7366 cat confdefs.h >>conftest.$ac_ext
7367 cat >>conftest.$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7369 $ac_includes_default
7370 #include <$ac_header>
7372 rm -f conftest.$ac_objext
7373 if { (ac_try="$ac_compile"
7375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7376 *) ac_try_echo
=$ac_try;;
7378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7379 (eval "$ac_compile") 2>conftest.er1
7381 grep -v '^ *+' conftest.er1
>conftest.err
7383 cat conftest.err
>&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } && {
7386 test -z "$ac_c_werror_flag" ||
7387 test ! -s conftest.err
7388 } && test -s conftest.
$ac_objext; then
7389 ac_header_compiler
=yes
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.
$ac_ext >&5
7394 ac_header_compiler
=no
7397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7398 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7399 echo "${ECHO_T}$ac_header_compiler" >&6; }
7401 # Is the header present?
7402 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7403 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7404 cat >conftest.
$ac_ext <<_ACEOF
7407 cat confdefs.h
>>conftest.
$ac_ext
7408 cat >>conftest.
$ac_ext <<_ACEOF
7409 /* end confdefs.h. */
7410 #include <$ac_header>
7412 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7415 *) ac_try_echo=$ac_try;;
7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7420 grep -v '^ *+' conftest.er1 >conftest.err
7422 cat conftest.err >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } >/dev/null && {
7425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7426 test ! -s conftest.err
7428 ac_header_preproc=yes
7430 echo "$as_me: failed program was:" >&5
7431 sed 's/^/| /' conftest.$ac_ext >&5
7433 ac_header_preproc=no
7436 rm -f conftest.err conftest.$ac_ext
7437 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7438 echo "${ECHO_T}$ac_header_preproc" >&6; }
7440 # So? What about this header?
7441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7447 ac_header_preproc=yes
7450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7463 ## ------------------------------------ ##
7464 ## Report this to wine-devel@winehq.org ##
7465 ## ------------------------------------ ##
7467 ) | sed "s/^/$as_me: WARNING: /" >&2
7470 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 eval "$as_ac_Header=\$ac_header_preproc"
7477 ac_res=`eval echo '${'$as_ac_Header'}'`
7478 { echo "$as_me:$LINENO: result: $ac_res" >&5
7479 echo "${ECHO_T}$ac_res" >&6; }
7482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7483 cat >>confdefs.h <<_ACEOF
7484 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7491 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7492 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7493 if test "${ac_cv_header_stat_broken+set}" = set; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7496 cat >conftest.$ac_ext <<_ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 #include <sys/types.h>
7503 #include <sys/stat.h>
7505 #if defined S_ISBLK && defined S_IFDIR
7506 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7509 #if defined S_ISBLK && defined S_IFCHR
7510 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7513 #if defined S_ISLNK && defined S_IFREG
7514 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7517 #if defined S_ISSOCK && defined S_IFREG
7518 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7522 rm -f conftest.$ac_objext
7523 if { (ac_try="$ac_compile"
7525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7526 *) ac_try_echo
=$ac_try;;
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_compile") 2>conftest.er1
7531 grep -v '^ *+' conftest.er1
>conftest.err
7533 cat conftest.err
>&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && {
7536 test -z "$ac_c_werror_flag" ||
7537 test ! -s conftest.err
7538 } && test -s conftest.
$ac_objext; then
7539 ac_cv_header_stat_broken
=no
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.
$ac_ext >&5
7544 ac_cv_header_stat_broken
=yes
7547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7549 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7550 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7551 if test $ac_cv_header_stat_broken = yes; then
7553 cat >>confdefs.h
<<\_ACEOF
7554 #define STAT_MACROS_BROKEN 1
7565 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7567 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7570 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 cat >conftest.
$ac_ext <<_ACEOF
7576 cat confdefs.h
>>conftest.
$ac_ext
7577 cat >>conftest.
$ac_ext <<_ACEOF
7578 /* end confdefs.h. */
7579 #include <sys/types.h>
7580 #ifdef HAVE_SYS_PARAM_H
7581 # include <sys/param.h>
7584 #include <$ac_header>
7586 rm -f conftest.
$ac_objext
7587 if { (ac_try
="$ac_compile"
7589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7590 *) ac_try_echo=$ac_try;;
7592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7593 (eval "$ac_compile") 2>conftest.er1
7595 grep -v '^ *+' conftest.er1 >conftest.err
7597 cat conftest.err >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); } && {
7600 test -z "$ac_c_werror_flag" ||
7601 test ! -s conftest.err
7602 } && test -s conftest.$ac_objext; then
7603 eval "$as_ac_Header=yes"
7605 echo "$as_me: failed program was:" >&5
7606 sed 's/^/| /' conftest.$ac_ext >&5
7608 eval "$as_ac_Header=no"
7611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7613 ac_res=`eval echo '${'$as_ac_Header'}'`
7614 { echo "$as_me:$LINENO: result: $ac_res" >&5
7615 echo "${ECHO_T}$ac_res" >&6; }
7616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7617 cat >>confdefs.h <<_ACEOF
7618 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7645 netinet/if_ether.h \
7653 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7659 cat >conftest.$ac_ext <<_ACEOF
7662 cat confdefs.h >>conftest.$ac_ext
7663 cat >>conftest.$ac_ext <<_ACEOF
7664 /* end confdefs.h. */
7665 #include <sys/types.h>
7666 #ifdef HAVE_SYS_SOCKET_H
7667 # include <sys/socket.h>
7669 #ifdef HAVE_SYS_SOCKETVAR_H
7670 # include <sys/socketvar.h>
7672 #ifdef HAVE_NETINET_IN_H
7673 # include <netinet/in.h>
7675 #ifdef HAVE_NETINET_IP_H
7676 # include <netinet/ip.h>
7679 #include <$ac_header>
7681 rm -f conftest.$ac_objext
7682 if { (ac_try="$ac_compile"
7684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7685 *) ac_try_echo
=$ac_try;;
7687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7688 (eval "$ac_compile") 2>conftest.er1
7690 grep -v '^ *+' conftest.er1
>conftest.err
7692 cat conftest.err
>&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } && {
7695 test -z "$ac_c_werror_flag" ||
7696 test ! -s conftest.err
7697 } && test -s conftest.
$ac_objext; then
7698 eval "$as_ac_Header=yes"
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.
$ac_ext >&5
7703 eval "$as_ac_Header=no"
7706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7708 ac_res
=`eval echo '${'$as_ac_Header'}'`
7709 { echo "$as_me:$LINENO: result: $ac_res" >&5
7710 echo "${ECHO_T}$ac_res" >&6; }
7711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7712 cat >>confdefs.h
<<_ACEOF
7713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 for ac_header
in netinet
/tcp_var.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_timer.h
7727 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7730 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7731 echo $ECHO_N "(cached) $ECHO_C" >&6
7733 cat >conftest.
$ac_ext <<_ACEOF
7736 cat confdefs.h
>>conftest.
$ac_ext
7737 cat >>conftest.
$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7739 #include <sys/types.h>
7743 #ifdef HAVE_SYS_SOCKET_H
7744 # include <sys/socket.h>
7746 #ifdef HAVE_SYS_SOCKETVAR_H
7747 # include <sys/socketvar.h>
7749 #ifdef HAVE_NETINET_IN_H
7750 # include <netinet/in.h>
7752 #ifdef HAVE_NETINET_IP_H
7753 # include <netinet/ip.h>
7755 #ifdef HAVE_NETINET_IP_VAR_H
7756 # include <netinet/ip_var.h>
7758 #ifdef HAVE_NETINET_IP_ICMP_H
7759 # include <netinet/ip_icmp.h>
7761 #ifdef HAVE_NETINET_UDP_H
7762 # include <netinet/udp.h>
7764 #ifdef HAVE_NETINET_TCP_H
7765 # include <netinet/tcp.h>
7768 #include <$ac_header>
7770 rm -f conftest.
$ac_objext
7771 if { (ac_try
="$ac_compile"
7773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7774 *) ac_try_echo=$ac_try;;
7776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7777 (eval "$ac_compile") 2>conftest.er1
7779 grep -v '^ *+' conftest.er1 >conftest.err
7781 cat conftest.err >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); } && {
7784 test -z "$ac_c_werror_flag" ||
7785 test ! -s conftest.err
7786 } && test -s conftest.$ac_objext; then
7787 eval "$as_ac_Header=yes"
7789 echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.$ac_ext >&5
7792 eval "$as_ac_Header=no"
7795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7797 ac_res=`eval echo '${'$as_ac_Header'}'`
7798 { echo "$as_me:$LINENO: result: $ac_res" >&5
7799 echo "${ECHO_T}$ac_res" >&6; }
7800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7801 cat >>confdefs.h <<_ACEOF
7802 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7811 for ac_header in linux/ipx.h
7813 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 cat >conftest.$ac_ext <<_ACEOF
7822 cat confdefs.h >>conftest.$ac_ext
7823 cat >>conftest.$ac_ext <<_ACEOF
7824 /* end confdefs.h. */
7825 #include <sys/types.h>
7826 #ifdef HAVE_ASM_TYPES_H
7827 # include <asm/types.h>
7829 #ifdef HAVE_SYS_SOCKET_H
7830 # include <sys/socket.h>
7833 #include <$ac_header>
7835 rm -f conftest.$ac_objext
7836 if { (ac_try="$ac_compile"
7838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7839 *) ac_try_echo
=$ac_try;;
7841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7842 (eval "$ac_compile") 2>conftest.er1
7844 grep -v '^ *+' conftest.er1
>conftest.err
7846 cat conftest.err
>&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); } && {
7849 test -z "$ac_c_werror_flag" ||
7850 test ! -s conftest.err
7851 } && test -s conftest.
$ac_objext; then
7852 eval "$as_ac_Header=yes"
7854 echo "$as_me: failed program was:" >&5
7855 sed 's/^/| /' conftest.
$ac_ext >&5
7857 eval "$as_ac_Header=no"
7860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7862 ac_res
=`eval echo '${'$as_ac_Header'}'`
7863 { echo "$as_me:$LINENO: result: $ac_res" >&5
7864 echo "${ECHO_T}$ac_res" >&6; }
7865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7866 cat >>confdefs.h
<<_ACEOF
7867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7876 for ac_header
in resolv.h
7878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7879 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7881 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7882 echo $ECHO_N "(cached) $ECHO_C" >&6
7884 cat >conftest.
$ac_ext <<_ACEOF
7887 cat confdefs.h
>>conftest.
$ac_ext
7888 cat >>conftest.
$ac_ext <<_ACEOF
7889 /* end confdefs.h. */
7890 #include <sys/types.h>
7891 #ifdef HAVE_SYS_SOCKET_H
7892 # include <sys/socket.h>
7894 #ifdef HAVE_NETINET_IN_H
7895 # include <netinet/in.h>
7897 #ifdef HAVE_ARPA_NAMESER_H
7898 # include <arpa/nameser.h>
7901 #include <$ac_header>
7903 rm -f conftest.
$ac_objext
7904 if { (ac_try
="$ac_compile"
7906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7907 *) ac_try_echo=$ac_try;;
7909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7910 (eval "$ac_compile") 2>conftest.er1
7912 grep -v '^ *+' conftest.er1 >conftest.err
7914 cat conftest.err >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); } && {
7917 test -z "$ac_c_werror_flag" ||
7918 test ! -s conftest.err
7919 } && test -s conftest.$ac_objext; then
7920 eval "$as_ac_Header=yes"
7922 echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.$ac_ext >&5
7925 eval "$as_ac_Header=no"
7928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7930 ac_res=`eval echo '${'$as_ac_Header'}'`
7931 { echo "$as_me:$LINENO: result: $ac_res" >&5
7932 echo "${ECHO_T}$ac_res" >&6; }
7933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7934 cat >>confdefs.h <<_ACEOF
7935 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7944 for ac_header in ucontext.h
7946 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7947 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7952 cat >conftest.$ac_ext <<_ACEOF
7955 cat confdefs.h >>conftest.$ac_ext
7956 cat >>conftest.$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7960 #include <$ac_header>
7962 rm -f conftest.$ac_objext
7963 if { (ac_try="$ac_compile"
7965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7966 *) ac_try_echo
=$ac_try;;
7968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7969 (eval "$ac_compile") 2>conftest.er1
7971 grep -v '^ *+' conftest.er1
>conftest.err
7973 cat conftest.err
>&5
7974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975 (exit $ac_status); } && {
7976 test -z "$ac_c_werror_flag" ||
7977 test ! -s conftest.err
7978 } && test -s conftest.
$ac_objext; then
7979 eval "$as_ac_Header=yes"
7981 echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.
$ac_ext >&5
7984 eval "$as_ac_Header=no"
7987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7989 ac_res
=`eval echo '${'$as_ac_Header'}'`
7990 { echo "$as_me:$LINENO: result: $ac_res" >&5
7991 echo "${ECHO_T}$ac_res" >&6; }
7992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7993 cat >>confdefs.h
<<_ACEOF
7994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8003 for ac_header
in sys
/thr.h
8005 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8008 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8011 cat >conftest.
$ac_ext <<_ACEOF
8014 cat confdefs.h
>>conftest.
$ac_ext
8015 cat >>conftest.
$ac_ext <<_ACEOF
8016 /* end confdefs.h. */
8017 #include <sys/types.h>
8018 #ifdef HAVE_UCONTEXT_H
8019 #include <ucontext.h>
8022 #include <$ac_header>
8024 rm -f conftest.
$ac_objext
8025 if { (ac_try
="$ac_compile"
8027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8028 *) ac_try_echo=$ac_try;;
8030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8031 (eval "$ac_compile") 2>conftest.er1
8033 grep -v '^ *+' conftest.er1 >conftest.err
8035 cat conftest.err >&5
8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037 (exit $ac_status); } && {
8038 test -z "$ac_c_werror_flag" ||
8039 test ! -s conftest.err
8040 } && test -s conftest.$ac_objext; then
8041 eval "$as_ac_Header=yes"
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8046 eval "$as_ac_Header=no"
8049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8051 ac_res=`eval echo '${'$as_ac_Header'}'`
8052 { echo "$as_me:$LINENO: result: $ac_res" >&5
8053 echo "${ECHO_T}$ac_res" >&6; }
8054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8055 cat >>confdefs.h <<_ACEOF
8056 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8065 for ac_header in pthread_np.h
8067 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 cat >conftest.$ac_ext <<_ACEOF
8076 cat confdefs.h >>conftest.$ac_ext
8077 cat >>conftest.$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8079 #ifdef HAVE_PTHREAD_H
8080 #include <pthread.h>
8083 #include <$ac_header>
8085 rm -f conftest.$ac_objext
8086 if { (ac_try="$ac_compile"
8088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8089 *) ac_try_echo
=$ac_try;;
8091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8092 (eval "$ac_compile") 2>conftest.er1
8094 grep -v '^ *+' conftest.er1
>conftest.err
8096 cat conftest.err
>&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); } && {
8099 test -z "$ac_c_werror_flag" ||
8100 test ! -s conftest.err
8101 } && test -s conftest.
$ac_objext; then
8102 eval "$as_ac_Header=yes"
8104 echo "$as_me: failed program was:" >&5
8105 sed 's/^/| /' conftest.
$ac_ext >&5
8107 eval "$as_ac_Header=no"
8110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8112 ac_res
=`eval echo '${'$as_ac_Header'}'`
8113 { echo "$as_me:$LINENO: result: $ac_res" >&5
8114 echo "${ECHO_T}$ac_res" >&6; }
8115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8116 cat >>confdefs.h
<<_ACEOF
8117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8126 for ac_header
in linux
/videodev.h
8128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8129 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8131 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 cat >conftest.
$ac_ext <<_ACEOF
8137 cat confdefs.h
>>conftest.
$ac_ext
8138 cat >>conftest.
$ac_ext <<_ACEOF
8139 /* end confdefs.h. */
8140 #ifdef HAVE_SYS_TIME_H
8141 #include <sys/time.h>
8143 #include <sys/types.h>
8144 #ifdef HAVE_ASM_TYPES_H
8145 #include <asm/types.h>
8148 #include <$ac_header>
8150 rm -f conftest.
$ac_objext
8151 if { (ac_try
="$ac_compile"
8153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8154 *) ac_try_echo=$ac_try;;
8156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8157 (eval "$ac_compile") 2>conftest.er1
8159 grep -v '^ *+' conftest.er1 >conftest.err
8161 cat conftest.err >&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); } && {
8164 test -z "$ac_c_werror_flag" ||
8165 test ! -s conftest.err
8166 } && test -s conftest.$ac_objext; then
8167 eval "$as_ac_Header=yes"
8169 echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.$ac_ext >&5
8172 eval "$as_ac_Header=no"
8175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8177 ac_res=`eval echo '${'$as_ac_Header'}'`
8178 { echo "$as_me:$LINENO: result: $ac_res" >&5
8179 echo "${ECHO_T}$ac_res" >&6; }
8180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8181 cat >>confdefs.h <<_ACEOF
8182 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8191 for ac_header in linux/capi.h
8193 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8197 echo $ECHO_N "(cached) $ECHO_C" >&6
8199 cat >conftest.$ac_ext <<_ACEOF
8202 cat confdefs.h >>conftest.$ac_ext
8203 cat >>conftest.$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8207 #include <$ac_header>
8209 rm -f conftest.$ac_objext
8210 if { (ac_try="$ac_compile"
8212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8213 *) ac_try_echo
=$ac_try;;
8215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8216 (eval "$ac_compile") 2>conftest.er1
8218 grep -v '^ *+' conftest.er1
>conftest.err
8220 cat conftest.err
>&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); } && {
8223 test -z "$ac_c_werror_flag" ||
8224 test ! -s conftest.err
8225 } && test -s conftest.
$ac_objext; then
8226 eval "$as_ac_Header=yes"
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.
$ac_ext >&5
8231 eval "$as_ac_Header=no"
8234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8236 ac_res
=`eval echo '${'$as_ac_Header'}'`
8237 { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 echo "${ECHO_T}$ac_res" >&6; }
8239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8240 cat >>confdefs.h
<<_ACEOF
8241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8252 DLLFLAGS
="-D_REENTRANT"
8266 # Extract the first word of "ldd", so it can be a program name with args.
8267 set dummy ldd
; ac_word
=$2
8268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8270 if test "${ac_cv_path_LDD+set}" = set; then
8271 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8279 as_dummy
="/sbin:/usr/sbin:$PATH"
8280 for as_dir
in $as_dummy
8283 test -z "$as_dir" && as_dir
=.
8284 for ac_exec_ext
in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8294 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8299 if test -n "$LDD"; then
8300 { echo "$as_me:$LINENO: result: $LDD" >&5
8301 echo "${ECHO_T}$LDD" >&6; }
8303 { echo "$as_me:$LINENO: result: no" >&5
8304 echo "${ECHO_T}no" >&6; }
8311 if test -n "$ac_tool_prefix"; then
8312 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8313 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8316 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8319 if test -n "$DLLTOOL"; then
8320 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8326 test -z "$as_dir" && as_dir
=.
8327 for ac_exec_ext
in '' $ac_executable_extensions; do
8328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8329 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8339 DLLTOOL
=$ac_cv_prog_DLLTOOL
8340 if test -n "$DLLTOOL"; then
8341 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8342 echo "${ECHO_T}$DLLTOOL" >&6; }
8344 { echo "$as_me:$LINENO: result: no" >&5
8345 echo "${ECHO_T}no" >&6; }
8350 if test -z "$ac_cv_prog_DLLTOOL"; then
8351 ac_ct_DLLTOOL
=$DLLTOOL
8352 # Extract the first word of "dlltool", so it can be a program name with args.
8353 set dummy dlltool
; ac_word
=$2
8354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8356 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8359 if test -n "$ac_ct_DLLTOOL"; then
8360 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8366 test -z "$as_dir" && as_dir
=.
8367 for ac_exec_ext
in '' $ac_executable_extensions; do
8368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8369 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8379 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8380 if test -n "$ac_ct_DLLTOOL"; then
8381 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8382 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8384 { echo "$as_me:$LINENO: result: no" >&5
8385 echo "${ECHO_T}no" >&6; }
8388 if test "x$ac_ct_DLLTOOL" = x
; then
8391 case $cross_compiling:$ac_tool_warned in
8393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8394 whose name does not start with the host triplet. If you think this
8395 configuration is useful to you, please write to autoconf@gnu.org." >&5
8396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8397 whose name does not start with the host triplet. If you think this
8398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8399 ac_tool_warned
=yes ;;
8401 DLLTOOL
=$ac_ct_DLLTOOL
8404 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8407 if test -n "$ac_tool_prefix"; then
8408 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8409 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8412 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 if test -n "$DLLWRAP"; then
8416 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir
=.
8423 for ac_exec_ext
in '' $ac_executable_extensions; do
8424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8435 DLLWRAP
=$ac_cv_prog_DLLWRAP
8436 if test -n "$DLLWRAP"; then
8437 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8438 echo "${ECHO_T}$DLLWRAP" >&6; }
8440 { echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6; }
8446 if test -z "$ac_cv_prog_DLLWRAP"; then
8447 ac_ct_DLLWRAP
=$DLLWRAP
8448 # Extract the first word of "dllwrap", so it can be a program name with args.
8449 set dummy dllwrap
; ac_word
=$2
8450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8452 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8455 if test -n "$ac_ct_DLLWRAP"; then
8456 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8462 test -z "$as_dir" && as_dir
=.
8463 for ac_exec_ext
in '' $ac_executable_extensions; do
8464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8465 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8475 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8476 if test -n "$ac_ct_DLLWRAP"; then
8477 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8478 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8480 { echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6; }
8484 if test "x$ac_ct_DLLWRAP" = x
; then
8487 case $cross_compiling:$ac_tool_warned in
8489 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8490 whose name does not start with the host triplet. If you think this
8491 configuration is useful to you, please write to autoconf@gnu.org." >&5
8492 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8493 whose name does not start with the host triplet. If you think this
8494 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8495 ac_tool_warned
=yes ;;
8497 DLLWRAP
=$ac_ct_DLLWRAP
8500 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8503 if test -n "$ac_tool_prefix"; then
8504 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8505 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8508 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8509 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 if test -n "$MINGWAR"; then
8512 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8518 test -z "$as_dir" && as_dir
=.
8519 for ac_exec_ext
in '' $ac_executable_extensions; do
8520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8521 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8531 MINGWAR
=$ac_cv_prog_MINGWAR
8532 if test -n "$MINGWAR"; then
8533 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8534 echo "${ECHO_T}$MINGWAR" >&6; }
8536 { echo "$as_me:$LINENO: result: no" >&5
8537 echo "${ECHO_T}no" >&6; }
8542 if test -z "$ac_cv_prog_MINGWAR"; then
8543 ac_ct_MINGWAR
=$MINGWAR
8544 # Extract the first word of "ar", so it can be a program name with args.
8545 set dummy
ar; ac_word
=$2
8546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8548 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 if test -n "$ac_ct_MINGWAR"; then
8552 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8558 test -z "$as_dir" && as_dir
=.
8559 for ac_exec_ext
in '' $ac_executable_extensions; do
8560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8561 ac_cv_prog_ac_ct_MINGWAR
="ar"
8562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8571 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8572 if test -n "$ac_ct_MINGWAR"; then
8573 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8574 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8576 { echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6; }
8580 if test "x$ac_ct_MINGWAR" = x
; then
8583 case $cross_compiling:$ac_tool_warned in
8585 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8586 whose name does not start with the host triplet. If you think this
8587 configuration is useful to you, please write to autoconf@gnu.org." >&5
8588 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8589 whose name does not start with the host triplet. If you think this
8590 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8591 ac_tool_warned
=yes ;;
8593 MINGWAR
=$ac_ct_MINGWAR
8596 MINGWAR
="$ac_cv_prog_MINGWAR"
8599 if test "$DLLWRAP" = "false"; then
8611 DLLFLAGS
="$DLLFLAGS -fPIC"
8612 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8613 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8614 LDSHARED
="\$(CC) -dynamiclib"
8616 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8617 SECURITYLIB
="-framework Security -framework CoreFoundation"
8619 COREFOUNDATIONLIB
="-framework CoreFoundation"
8621 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8623 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8625 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8627 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8630 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8632 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8637 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8639 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8641 CARBONLIB
="-framework Carbon"
8643 QUARTZFILES
='$(QUARTZFILES)'
8647 DLLFLAGS
="$DLLFLAGS -fPIC"
8649 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8650 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8651 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 ac_wine_try_cflags_saved
=$CFLAGS
8655 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8656 cat >conftest.
$ac_ext <<_ACEOF
8659 rm -f conftest.
$ac_objext conftest
$ac_exeext
8660 if { (ac_try
="$ac_link"
8662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_link") 2>conftest.er1
8668 grep -v '^ *+' conftest.er1 >conftest.err
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } && {
8673 test -z "$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 } && test -s conftest$ac_exeext &&
8676 $as_test_x conftest$ac_exeext; then
8677 ac_cv_c_dll_gnuelf="yes"
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.$ac_ext >&5
8682 ac_cv_c_dll_gnuelf="no"
8685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8690 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8691 if test "$ac_cv_c_dll_gnuelf" = "yes"
8693 LDSHARED="\$(CC) -shared"
8694 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8695 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8696 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8697 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8702 cat >conftest.$ac_ext <<_ACEOF
8705 cat confdefs.h >>conftest.$ac_ext
8706 cat >>conftest.$ac_ext <<_ACEOF
8707 /* end confdefs.h. */
8717 rm -f conftest.$ac_objext conftest$ac_exeext
8718 if { (ac_try="$ac_link"
8720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8721 *) ac_try_echo
=$ac_try;;
8723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8724 (eval "$ac_link") 2>conftest.er1
8726 grep -v '^ *+' conftest.er1
>conftest.err
8728 cat conftest.err
>&5
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 (exit $ac_status); } && {
8731 test -z "$ac_c_werror_flag" ||
8732 test ! -s conftest.err
8733 } && test -s conftest
$ac_exeext &&
8734 $as_test_x conftest
$ac_exeext; then
8735 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.
$ac_ext >&5
8740 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8743 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8744 conftest
$ac_exeext conftest.
$ac_ext
8745 CFLAGS
=$ac_wine_try_cflags_saved
8747 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8748 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8749 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8750 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8752 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8753 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8754 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 ac_wine_try_cflags_saved
=$CFLAGS
8758 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8759 cat >conftest.
$ac_ext <<_ACEOF
8762 cat confdefs.h
>>conftest.
$ac_ext
8763 cat >>conftest.
$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8774 rm -f conftest.
$ac_objext conftest
$ac_exeext
8775 if { (ac_try
="$ac_link"
8777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8778 *) ac_try_echo=$ac_try;;
8780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8781 (eval "$ac_link") 2>conftest.er1
8783 grep -v '^ *+' conftest.er1 >conftest.err
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } && {
8788 test -z "$ac_c_werror_flag" ||
8789 test ! -s conftest.err
8790 } && test -s conftest$ac_exeext &&
8791 $as_test_x conftest$ac_exeext; then
8792 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8794 echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.$ac_ext >&5
8797 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8805 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8806 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8807 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8813 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8814 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8815 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8820 cat >conftest.$ac_ext <<_ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8835 rm -f conftest.$ac_objext conftest$ac_exeext
8836 if { (ac_try="$ac_link"
8838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8839 *) ac_try_echo
=$ac_try;;
8841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8842 (eval "$ac_link") 2>conftest.er1
8844 grep -v '^ *+' conftest.er1
>conftest.err
8846 cat conftest.err
>&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } && {
8849 test -z "$ac_c_werror_flag" ||
8850 test ! -s conftest.err
8851 } && test -s conftest
$ac_exeext &&
8852 $as_test_x conftest
$ac_exeext; then
8853 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.
$ac_ext >&5
8858 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8862 conftest
$ac_exeext conftest.
$ac_ext
8863 CFLAGS
=$ac_wine_try_cflags_saved
8865 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8866 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8867 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8868 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8872 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8873 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8874 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8875 echo $ECHO_N "(cached) $ECHO_C" >&6
8877 ac_wine_try_cflags_saved
=$CFLAGS
8878 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8879 cat >conftest.
$ac_ext <<_ACEOF
8882 cat confdefs.h
>>conftest.
$ac_ext
8883 cat >>conftest.
$ac_ext <<_ACEOF
8884 /* end confdefs.h. */
8894 rm -f conftest.
$ac_objext conftest
$ac_exeext
8895 if { (ac_try
="$ac_link"
8897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8898 *) ac_try_echo=$ac_try;;
8900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8901 (eval "$ac_link") 2>conftest.er1
8903 grep -v '^ *+' conftest.er1 >conftest.err
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } && {
8908 test -z "$ac_c_werror_flag" ||
8909 test ! -s conftest.err
8910 } && test -s conftest$ac_exeext &&
8911 $as_test_x conftest$ac_exeext; then
8912 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8914 echo "$as_me: failed program was:" >&5
8915 sed 's/^/| /' conftest.$ac_ext >&5
8917 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8921 conftest$ac_exeext conftest.$ac_ext
8922 CFLAGS=$ac_wine_try_cflags_saved
8924 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8925 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8926 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8927 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8931 echo '{ global: *; };' >conftest.map
8932 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8933 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8934 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 ac_wine_try_cflags_saved=$CFLAGS
8938 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8939 cat >conftest.$ac_ext <<_ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8954 rm -f conftest.$ac_objext conftest$ac_exeext
8955 if { (ac_try="$ac_link"
8957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8958 *) ac_try_echo
=$ac_try;;
8960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8961 (eval "$ac_link") 2>conftest.er1
8963 grep -v '^ *+' conftest.er1
>conftest.err
8965 cat conftest.err
>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } && {
8968 test -z "$ac_c_werror_flag" ||
8969 test ! -s conftest.err
8970 } && test -s conftest
$ac_exeext &&
8971 $as_test_x conftest
$ac_exeext; then
8972 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.
$ac_ext >&5
8977 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8981 conftest
$ac_exeext conftest.
$ac_ext
8982 CFLAGS
=$ac_wine_try_cflags_saved
8984 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8985 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8986 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8987 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8992 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8993 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8994 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 ac_wine_try_cflags_saved
=$CFLAGS
8998 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8999 cat >conftest.
$ac_ext <<_ACEOF
9002 cat confdefs.h
>>conftest.
$ac_ext
9003 cat >>conftest.
$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9014 rm -f conftest.
$ac_objext conftest
$ac_exeext
9015 if { (ac_try
="$ac_link"
9017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9018 *) ac_try_echo=$ac_try;;
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021 (eval "$ac_link") 2>conftest.er1
9023 grep -v '^ *+' conftest.er1 >conftest.err
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && {
9028 test -z "$ac_c_werror_flag" ||
9029 test ! -s conftest.err
9030 } && test -s conftest$ac_exeext &&
9031 $as_test_x conftest$ac_exeext; then
9032 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9034 echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.$ac_ext >&5
9037 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9041 conftest$ac_exeext conftest.$ac_ext
9042 CFLAGS=$ac_wine_try_cflags_saved
9044 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9045 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9046 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9047 LDEXECFLAGS="-Wl,--export-dynamic"
9052 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
9053 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9054 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9055 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9056 echo $ECHO_N "(cached) $ECHO_C" >&6
9058 ac_wine_try_cflags_saved=$CFLAGS
9059 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9060 cat >conftest.$ac_ext <<_ACEOF
9063 cat confdefs.h >>conftest.$ac_ext
9064 cat >>conftest.$ac_ext <<_ACEOF
9065 /* end confdefs.h. */
9075 rm -f conftest.$ac_objext conftest$ac_exeext
9076 if { (ac_try="$ac_link"
9078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9079 *) ac_try_echo
=$ac_try;;
9081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9082 (eval "$ac_link") 2>conftest.er1
9084 grep -v '^ *+' conftest.er1
>conftest.err
9086 cat conftest.err
>&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); } && {
9089 test -z "$ac_c_werror_flag" ||
9090 test ! -s conftest.err
9091 } && test -s conftest
$ac_exeext &&
9092 $as_test_x conftest
$ac_exeext; then
9093 eval "$as_ac_var=yes"
9095 echo "$as_me: failed program was:" >&5
9096 sed 's/^/| /' conftest.
$ac_ext >&5
9098 eval "$as_ac_var=no"
9101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9102 conftest
$ac_exeext conftest.
$ac_ext
9103 CFLAGS
=$ac_wine_try_cflags_saved
9105 ac_res
=`eval echo '${'$as_ac_var'}'`
9106 { echo "$as_me:$LINENO: result: $ac_res" >&5
9107 echo "${ECHO_T}$ac_res" >&6; }
9108 if test `eval echo '${'$as_ac_var'}'` = yes; then
9109 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9110 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9112 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9113 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9114 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9115 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 ac_wine_try_cflags_saved
=$CFLAGS
9119 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9120 cat >conftest.
$ac_ext <<_ACEOF
9123 cat confdefs.h
>>conftest.
$ac_ext
9124 cat >>conftest.
$ac_ext <<_ACEOF
9125 /* end confdefs.h. */
9135 rm -f conftest.
$ac_objext conftest
$ac_exeext
9136 if { (ac_try
="$ac_link"
9138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9139 *) ac_try_echo=$ac_try;;
9141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 (eval "$ac_link") 2>conftest.er1
9144 grep -v '^ *+' conftest.er1 >conftest.err
9146 cat conftest.err >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } && {
9149 test -z "$ac_c_werror_flag" ||
9150 test ! -s conftest.err
9151 } && test -s conftest$ac_exeext &&
9152 $as_test_x conftest$ac_exeext; then
9153 eval "$as_ac_var=yes"
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.$ac_ext >&5
9158 eval "$as_ac_var=no"
9161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9162 conftest$ac_exeext conftest.$ac_ext
9163 CFLAGS=$ac_wine_try_cflags_saved
9165 ac_res=`eval echo '${'$as_ac_var'}'`
9166 { echo "$as_me:$LINENO: result: $ac_res" >&5
9167 echo "${ECHO_T}$ac_res" >&6; }
9168 if test `eval echo '${'$as_ac_var'}'` = yes; then
9169 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
9170 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9176 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9177 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9178 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 ac_wine_try_cflags_saved=$CFLAGS
9182 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9183 cat >conftest.$ac_ext <<_ACEOF
9186 cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9198 rm -f conftest.$ac_objext conftest$ac_exeext
9199 if { (ac_try="$ac_link"
9201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9202 *) ac_try_echo
=$ac_try;;
9204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9205 (eval "$ac_link") 2>conftest.er1
9207 grep -v '^ *+' conftest.er1
>conftest.err
9209 cat conftest.err
>&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); } && {
9212 test -z "$ac_c_werror_flag" ||
9213 test ! -s conftest.err
9214 } && test -s conftest
$ac_exeext &&
9215 $as_test_x conftest
$ac_exeext; then
9216 ac_cv_cflags__Wl___enable_new_dtags
=yes
9218 echo "$as_me: failed program was:" >&5
9219 sed 's/^/| /' conftest.
$ac_ext >&5
9221 ac_cv_cflags__Wl___enable_new_dtags
=no
9224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9225 conftest
$ac_exeext conftest.
$ac_ext
9226 CFLAGS
=$ac_wine_try_cflags_saved
9228 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9229 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9230 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9231 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9236 *i
[3456789]86* | x86_64
)
9237 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9238 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9239 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 ac_wine_try_cflags_saved
=$CFLAGS
9243 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9244 cat >conftest.
$ac_ext <<_ACEOF
9247 cat confdefs.h
>>conftest.
$ac_ext
9248 cat >>conftest.
$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9259 rm -f conftest.
$ac_objext conftest
$ac_exeext
9260 if { (ac_try
="$ac_link"
9262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9263 *) ac_try_echo=$ac_try;;
9265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9266 (eval "$ac_link") 2>conftest.er1
9268 grep -v '^ *+' conftest.er1 >conftest.err
9270 cat conftest.err >&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); } && {
9273 test -z "$ac_c_werror_flag" ||
9274 test ! -s conftest.err
9275 } && test -s conftest$ac_exeext &&
9276 $as_test_x conftest$ac_exeext; then
9277 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9279 echo "$as_me: failed program was:" >&5
9280 sed 's/^/| /' conftest.$ac_ext >&5
9282 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9286 conftest$ac_exeext conftest.$ac_ext
9287 CFLAGS=$ac_wine_try_cflags_saved
9289 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9290 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9291 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9292 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9299 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9300 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9301 if test "${ac_cv_c_dll_unixware+set}" = set; then
9302 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 ac_wine_try_cflags_saved=$CFLAGS
9305 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9306 cat >conftest.$ac_ext <<_ACEOF
9309 rm -f conftest.$ac_objext conftest$ac_exeext
9310 if { (ac_try="$ac_link"
9312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9313 *) ac_try_echo
=$ac_try;;
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_link") 2>conftest.er1
9318 grep -v '^ *+' conftest.er1
>conftest.err
9320 cat conftest.err
>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } && {
9323 test -z "$ac_c_werror_flag" ||
9324 test ! -s conftest.err
9325 } && test -s conftest
$ac_exeext &&
9326 $as_test_x conftest
$ac_exeext; then
9327 ac_cv_c_dll_unixware
="yes"
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.
$ac_ext >&5
9332 ac_cv_c_dll_unixware
="no"
9335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9336 conftest
$ac_exeext conftest.
$ac_ext
9337 CFLAGS
=$ac_wine_try_cflags_saved
9339 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9340 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9341 if test "$ac_cv_c_dll_unixware" = "yes"
9343 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9344 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9347 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9348 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9349 if test "${ac_cv_c_dll_hpux+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 ac_wine_try_cflags_saved
=$CFLAGS
9353 CFLAGS
="$CFLAGS -shared"
9354 cat >conftest.
$ac_ext <<_ACEOF
9357 rm -f conftest.
$ac_objext conftest
$ac_exeext
9358 if { (ac_try
="$ac_link"
9360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9361 *) ac_try_echo=$ac_try;;
9363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9364 (eval "$ac_link") 2>conftest.er1
9366 grep -v '^ *+' conftest.er1 >conftest.err
9368 cat conftest.err >&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } && {
9371 test -z "$ac_c_werror_flag" ||
9372 test ! -s conftest.err
9373 } && test -s conftest$ac_exeext &&
9374 $as_test_x conftest$ac_exeext; then
9375 ac_cv_c_dll_hpux="yes"
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9380 ac_cv_c_dll_hpux="no"
9383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9387 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9388 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9389 if test "$ac_cv_c_dll_hpux" = "yes"
9393 LDDLLFLAGS="-shared -fPIC"
9394 LDSHARED="\$(CC) -shared"
9401 if test "$cross_compiling" = "no"
9403 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9405 # Extract the first word of "$ac_prog", so it can be a program name with args.
9406 set dummy $ac_prog; ac_word=$2
9407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9409 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9412 if test -n "$CROSSCC"; then
9413 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9419 test -z "$as_dir" && as_dir=.
9420 for ac_exec_ext in '' $ac_executable_extensions; do
9421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9422 ac_cv_prog_CROSSCC="$ac_prog"
9423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9432 CROSSCC=$ac_cv_prog_CROSSCC
9433 if test -n "$CROSSCC"; then
9434 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9435 echo "${ECHO_T}$CROSSCC" >&6; }
9437 { echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6; }
9442 test -n "$CROSSCC" && break
9444 test -n "$CROSSCC" || CROSSCC="false"
9446 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9448 # Extract the first word of "$ac_prog", so it can be a program name with args.
9449 set dummy $ac_prog; ac_word=$2
9450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9452 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 if test -n "$DLLTOOL"; then
9456 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9462 test -z "$as_dir" && as_dir=.
9463 for ac_exec_ext in '' $ac_executable_extensions; do
9464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9465 ac_cv_prog_DLLTOOL="$ac_prog"
9466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9475 DLLTOOL=$ac_cv_prog_DLLTOOL
9476 if test -n "$DLLTOOL"; then
9477 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9478 echo "${ECHO_T}$DLLTOOL" >&6; }
9480 { echo "$as_me:$LINENO: result: no" >&5
9481 echo "${ECHO_T}no" >&6; }
9485 test -n "$DLLTOOL" && break
9487 test -n "$DLLTOOL" || DLLTOOL="false"
9489 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9491 # Extract the first word of "$ac_prog", so it can be a program name with args.
9492 set dummy $ac_prog; ac_word=$2
9493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9495 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 if test -n "$CROSSWINDRES"; then
9499 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9505 test -z "$as_dir" && as_dir=.
9506 for ac_exec_ext in '' $ac_executable_extensions; do
9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9508 ac_cv_prog_CROSSWINDRES="$ac_prog"
9509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9518 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9519 if test -n "$CROSSWINDRES"; then
9520 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9521 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9523 { echo "$as_me:$LINENO: result: no" >&5
9524 echo "${ECHO_T}no" >&6; }
9528 test -n "$CROSSWINDRES" && break
9530 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9532 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9534 # Extract the first word of "$ac_prog", so it can be a program name with args.
9535 set dummy $ac_prog; ac_word=$2
9536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9538 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9539 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 if test -n "$MINGWAR"; then
9542 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548 test -z "$as_dir" && as_dir=.
9549 for ac_exec_ext in '' $ac_executable_extensions; do
9550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9551 ac_cv_prog_MINGWAR="$ac_prog"
9552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9561 MINGWAR=$ac_cv_prog_MINGWAR
9562 if test -n "$MINGWAR"; then
9563 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9564 echo "${ECHO_T}$MINGWAR" >&6; }
9566 { echo "$as_me:$LINENO: result: no" >&5
9567 echo "${ECHO_T}no" >&6; }
9571 test -n "$MINGWAR" && break
9573 test -n "$MINGWAR" || MINGWAR="false"
9575 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9580 if test "$LIBEXT" = "a"; then
9581 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9582 It is currently not possible to build Wine without shared library
9583 (.so) support to allow transparent switch between .so and .dll files.
9584 If you are using Linux, you will need a newer binutils.
9586 echo "$as_me: error: could not find a way to build shared libraries.
9587 It is currently not possible to build Wine without shared library
9588 (.so) support to allow transparent switch between .so and .dll files.
9589 If you are using Linux, you will need a newer binutils.
9591 { (exit 1); exit 1; }; }
9595 if test "$have_x" = "yes"
9598 ac_save_CPPFLAGS="$CPPFLAGS"
9599 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9601 { echo "$as_me:$LINENO: checking for -lX11" >&5
9602 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9603 if test "${ac_cv_lib_soname_X11+set}" = set; then
9604 echo $ECHO_N "(cached) $ECHO_C" >&6
9606 ac_check_soname_save_LIBS=$LIBS
9607 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9608 cat >conftest.$ac_ext <<_ACEOF
9611 cat confdefs.h >>conftest.$ac_ext
9612 cat >>conftest.$ac_ext <<_ACEOF
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9621 char XCreateWindow ();
9625 return XCreateWindow ();
9630 rm -f conftest.$ac_objext conftest$ac_exeext
9631 if { (ac_try="$ac_link"
9633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9634 *) ac_try_echo
=$ac_try;;
9636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9637 (eval "$ac_link") 2>conftest.er1
9639 grep -v '^ *+' conftest.er1
>conftest.err
9641 cat conftest.err
>&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); } && {
9644 test -z "$ac_c_werror_flag" ||
9645 test ! -s conftest.err
9646 } && test -s conftest
$ac_exeext &&
9647 $as_test_x conftest
$ac_exeext; then
9650 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'` ;;
9651 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9654 echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.
$ac_ext >&5
9660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9661 conftest
$ac_exeext conftest.
$ac_ext
9662 LIBS
=$ac_check_soname_save_LIBS
9664 if test "x$ac_cv_lib_soname_X11" = "x"; then
9665 { echo "$as_me:$LINENO: result: not found" >&5
9666 echo "${ECHO_T}not found" >&6; }
9669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9670 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9672 cat >>confdefs.h
<<_ACEOF
9673 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9679 { echo "$as_me:$LINENO: checking for -lXext" >&5
9680 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9681 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9682 echo $ECHO_N "(cached) $ECHO_C" >&6
9684 ac_check_soname_save_LIBS
=$LIBS
9685 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9686 cat >conftest.
$ac_ext <<_ACEOF
9689 cat confdefs.h
>>conftest.
$ac_ext
9690 cat >>conftest.
$ac_ext <<_ACEOF
9691 /* end confdefs.h. */
9693 /* Override any GCC internal prototype to avoid an error.
9694 Use char because int might match the return type of a GCC
9695 builtin and then its argument prototype would still apply. */
9699 char XextCreateExtension ();
9703 return XextCreateExtension ();
9708 rm -f conftest.
$ac_objext conftest
$ac_exeext
9709 if { (ac_try
="$ac_link"
9711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9712 *) ac_try_echo=$ac_try;;
9714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9715 (eval "$ac_link") 2>conftest.er1
9717 grep -v '^ *+' conftest.er1 >conftest.err
9719 cat conftest.err >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } && {
9722 test -z "$ac_c_werror_flag" ||
9723 test ! -s conftest.err
9724 } && test -s conftest$ac_exeext &&
9725 $as_test_x conftest$ac_exeext; then
9728 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'` ;;
9729 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9740 LIBS=$ac_check_soname_save_LIBS
9742 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9743 { echo "$as_me:$LINENO: result: not found" >&5
9744 echo "${ECHO_T}not found" >&6; }
9747 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9748 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9750 cat >>confdefs.h <<_ACEOF
9751 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9770 for ac_header in X11/Xlib.h \
9773 X11/Xcursor/Xcursor.h \
9774 X11/extensions/shape.h \
9775 X11/extensions/XInput.h \
9776 X11/extensions/XShm.h \
9777 X11/extensions/Xcomposite.h \
9778 X11/extensions/Xinerama.h \
9779 X11/extensions/Xrandr.h \
9780 X11/extensions/Xrender.h \
9781 X11/extensions/xf86vmode.h
9783 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9784 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9789 cat >conftest.$ac_ext <<_ACEOF
9792 cat confdefs.h >>conftest.$ac_ext
9793 cat >>conftest.$ac_ext <<_ACEOF
9794 /* end confdefs.h. */
9795 #ifdef HAVE_X11_XLIB_H
9796 # include <X11/Xlib.h>
9798 #ifdef HAVE_X11_XUTIL_H
9799 # include <X11/Xutil.h>
9802 #include <$ac_header>
9804 rm -f conftest.$ac_objext
9805 if { (ac_try="$ac_compile"
9807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9808 *) ac_try_echo
=$ac_try;;
9810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_compile") 2>conftest.er1
9813 grep -v '^ *+' conftest.er1
>conftest.err
9815 cat conftest.err
>&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); } && {
9818 test -z "$ac_c_werror_flag" ||
9819 test ! -s conftest.err
9820 } && test -s conftest.
$ac_objext; then
9821 eval "$as_ac_Header=yes"
9823 echo "$as_me: failed program was:" >&5
9824 sed 's/^/| /' conftest.
$ac_ext >&5
9826 eval "$as_ac_Header=no"
9829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9831 ac_res
=`eval echo '${'$as_ac_Header'}'`
9832 { echo "$as_me:$LINENO: result: $ac_res" >&5
9833 echo "${ECHO_T}$ac_res" >&6; }
9834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9835 cat >>confdefs.h
<<_ACEOF
9836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9844 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9846 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9847 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9848 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9849 echo $ECHO_N "(cached) $ECHO_C" >&6
9851 ac_check_lib_save_LIBS
=$LIBS
9852 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9853 cat >conftest.
$ac_ext <<_ACEOF
9856 cat confdefs.h
>>conftest.
$ac_ext
9857 cat >>conftest.
$ac_ext <<_ACEOF
9858 /* end confdefs.h. */
9860 /* Override any GCC internal prototype to avoid an error.
9861 Use char because int might match the return type of a GCC
9862 builtin and then its argument prototype would still apply. */
9866 char XkbQueryExtension ();
9870 return XkbQueryExtension ();
9875 rm -f conftest.
$ac_objext conftest
$ac_exeext
9876 if { (ac_try
="$ac_link"
9878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9879 *) ac_try_echo=$ac_try;;
9881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9882 (eval "$ac_link") 2>conftest.er1
9884 grep -v '^ *+' conftest.er1 >conftest.err
9886 cat conftest.err >&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); } && {
9889 test -z "$ac_c_werror_flag" ||
9890 test ! -s conftest.err
9891 } && test -s conftest$ac_exeext &&
9892 $as_test_x conftest$ac_exeext; then
9893 ac_cv_lib_X11_XkbQueryExtension=yes
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9898 ac_cv_lib_X11_XkbQueryExtension=no
9901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9902 conftest$ac_exeext conftest.$ac_ext
9903 LIBS=$ac_check_lib_save_LIBS
9905 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9906 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9907 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9909 cat >>confdefs.h <<\_ACEOF
9917 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9919 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9920 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9921 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9924 ac_check_soname_save_LIBS=$LIBS
9925 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9926 cat >conftest.$ac_ext <<_ACEOF
9929 cat confdefs.h >>conftest.$ac_ext
9930 cat >>conftest.$ac_ext <<_ACEOF
9931 /* end confdefs.h. */
9933 /* Override any GCC internal prototype to avoid an error.
9934 Use char because int might match the return type of a GCC
9935 builtin and then its argument prototype would still apply. */
9939 char XcursorImageLoadCursor ();
9943 return XcursorImageLoadCursor ();
9948 rm -f conftest.$ac_objext conftest$ac_exeext
9949 if { (ac_try="$ac_link"
9951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9952 *) ac_try_echo
=$ac_try;;
9954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9955 (eval "$ac_link") 2>conftest.er1
9957 grep -v '^ *+' conftest.er1
>conftest.err
9959 cat conftest.err
>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } && {
9962 test -z "$ac_c_werror_flag" ||
9963 test ! -s conftest.err
9964 } && test -s conftest
$ac_exeext &&
9965 $as_test_x conftest
$ac_exeext; then
9968 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'` ;;
9969 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.
$ac_ext >&5
9978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9979 conftest
$ac_exeext conftest.
$ac_ext
9980 LIBS
=$ac_check_soname_save_LIBS
9982 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9983 { echo "$as_me:$LINENO: result: not found" >&5
9984 echo "${ECHO_T}not found" >&6; }
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9988 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9990 cat >>confdefs.h
<<_ACEOF
9991 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9998 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9999 case "x$with_xcursor" in
10000 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
10002 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
10003 This is an error since --with-xcursor was requested." >&5
10004 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
10005 This is an error since --with-xcursor was requested." >&2;}
10006 { (exit 1); exit 1; }; } ;;
10011 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10013 { echo "$as_me:$LINENO: checking for -lXi" >&5
10014 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
10015 if test "${ac_cv_lib_soname_Xi+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 ac_check_soname_save_LIBS
=$LIBS
10019 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10020 cat >conftest.
$ac_ext <<_ACEOF
10023 cat confdefs.h
>>conftest.
$ac_ext
10024 cat >>conftest.
$ac_ext <<_ACEOF
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10033 char XOpenDevice ();
10037 return XOpenDevice ();
10042 rm -f conftest.
$ac_objext conftest
$ac_exeext
10043 if { (ac_try
="$ac_link"
10044 case "(($ac_try" in
10045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_link") 2>conftest.er1
10051 grep -v '^ *+' conftest.er1 >conftest.err
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && {
10056 test -z "$ac_c_werror_flag" ||
10057 test ! -s conftest.err
10058 } && test -s conftest$ac_exeext &&
10059 $as_test_x conftest$ac_exeext; then
10062 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'` ;;
10063 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10066 echo "$as_me: failed program was:" >&5
10067 sed 's/^/| /' conftest.$ac_ext >&5
10072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10073 conftest$ac_exeext conftest.$ac_ext
10074 LIBS=$ac_check_soname_save_LIBS
10076 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10077 { echo "$as_me:$LINENO: result: not found" >&5
10078 echo "${ECHO_T}not found" >&6; }
10081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10082 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10084 cat >>confdefs.h <<_ACEOF
10085 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10092 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10093 case "x$with_xinput" in
10094 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10096 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10097 This is an error since --with-xinput was requested." >&5
10098 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10099 This is an error since --with-xinput was requested." >&2;}
10100 { (exit 1); exit 1; }; } ;;
10105 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10107 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10108 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10109 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 ac_check_lib_save_LIBS=$LIBS
10113 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10114 cat >conftest.$ac_ext <<_ACEOF
10117 cat confdefs.h >>conftest.$ac_ext
10118 cat >>conftest.$ac_ext <<_ACEOF
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10127 char XShmQueryExtension ();
10131 return XShmQueryExtension ();
10136 rm -f conftest.$ac_objext conftest$ac_exeext
10137 if { (ac_try="$ac_link"
10138 case "(($ac_try" in
10139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10140 *) ac_try_echo
=$ac_try;;
10142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10143 (eval "$ac_link") 2>conftest.er1
10145 grep -v '^ *+' conftest.er1
>conftest.err
10147 cat conftest.err
>&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } && {
10150 test -z "$ac_c_werror_flag" ||
10151 test ! -s conftest.err
10152 } && test -s conftest
$ac_exeext &&
10153 $as_test_x conftest
$ac_exeext; then
10154 ac_cv_lib_Xext_XShmQueryExtension
=yes
10156 echo "$as_me: failed program was:" >&5
10157 sed 's/^/| /' conftest.
$ac_ext >&5
10159 ac_cv_lib_Xext_XShmQueryExtension
=no
10162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10163 conftest
$ac_exeext conftest.
$ac_ext
10164 LIBS
=$ac_check_lib_save_LIBS
10166 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10167 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10168 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10170 cat >>confdefs.h
<<\_ACEOF
10171 #define HAVE_LIBXXSHM 1
10177 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10178 case "x$with_xshm" in
10179 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10181 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10182 This is an error since --with-xshm was requested." >&5
10183 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10184 This is an error since --with-xshm was requested." >&2;}
10185 { (exit 1); exit 1; }; } ;;
10190 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10192 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10193 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10194 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10197 ac_check_lib_save_LIBS
=$LIBS
10198 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10199 cat >conftest.
$ac_ext <<_ACEOF
10202 cat confdefs.h
>>conftest.
$ac_ext
10203 cat >>conftest.
$ac_ext <<_ACEOF
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10212 char XShapeQueryExtension ();
10216 return XShapeQueryExtension ();
10221 rm -f conftest.
$ac_objext conftest
$ac_exeext
10222 if { (ac_try
="$ac_link"
10223 case "(($ac_try" in
10224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10225 *) ac_try_echo=$ac_try;;
10227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10228 (eval "$ac_link") 2>conftest.er1
10230 grep -v '^ *+' conftest.er1 >conftest.err
10232 cat conftest.err >&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } && {
10235 test -z "$ac_c_werror_flag" ||
10236 test ! -s conftest.err
10237 } && test -s conftest$ac_exeext &&
10238 $as_test_x conftest$ac_exeext; then
10239 ac_cv_lib_Xext_XShapeQueryExtension=yes
10241 echo "$as_me: failed program was:" >&5
10242 sed 's/^/| /' conftest.$ac_ext >&5
10244 ac_cv_lib_Xext_XShapeQueryExtension=no
10247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10248 conftest$ac_exeext conftest.$ac_ext
10249 LIBS=$ac_check_lib_save_LIBS
10251 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10252 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10253 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10255 cat >>confdefs.h <<\_ACEOF
10256 #define HAVE_LIBXSHAPE 1
10262 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10263 case "x$with_xshape" in
10264 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10266 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10267 This is an error since --with-xshape was requested." >&5
10268 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10269 This is an error since --with-xshape was requested." >&2;}
10270 { (exit 1); exit 1; }; } ;;
10275 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10277 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10278 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10279 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 ac_check_soname_save_LIBS=$LIBS
10283 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10284 cat >conftest.$ac_ext <<_ACEOF
10287 cat confdefs.h >>conftest.$ac_ext
10288 cat >>conftest.$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10297 char XF86VidModeQueryExtension ();
10301 return XF86VidModeQueryExtension ();
10306 rm -f conftest.$ac_objext conftest$ac_exeext
10307 if { (ac_try="$ac_link"
10308 case "(($ac_try" in
10309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10310 *) ac_try_echo
=$ac_try;;
10312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10313 (eval "$ac_link") 2>conftest.er1
10315 grep -v '^ *+' conftest.er1
>conftest.err
10317 cat conftest.err
>&5
10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319 (exit $ac_status); } && {
10320 test -z "$ac_c_werror_flag" ||
10321 test ! -s conftest.err
10322 } && test -s conftest
$ac_exeext &&
10323 $as_test_x conftest
$ac_exeext; then
10326 dylib
) ac_cv_lib_soname_Xxf86vm
=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10327 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.
$ac_ext >&5
10336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 LIBS
=$ac_check_soname_save_LIBS
10340 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10341 { echo "$as_me:$LINENO: result: not found" >&5
10342 echo "${ECHO_T}not found" >&6; }
10345 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10346 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10348 cat >>confdefs.h
<<_ACEOF
10349 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10356 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10357 case "x$with_xxf86vm" in
10358 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10360 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10361 This is an error since --with-xxf86vm was requested." >&5
10362 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10363 This is an error since --with-xxf86vm was requested." >&2;}
10364 { (exit 1); exit 1; }; } ;;
10369 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"
10371 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10372 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10373 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10374 echo $ECHO_N "(cached) $ECHO_C" >&6
10376 ac_check_soname_save_LIBS
=$LIBS
10377 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10378 cat >conftest.
$ac_ext <<_ACEOF
10381 cat confdefs.h
>>conftest.
$ac_ext
10382 cat >>conftest.
$ac_ext <<_ACEOF
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10391 char XRenderQueryExtension ();
10395 return XRenderQueryExtension ();
10400 rm -f conftest.
$ac_objext conftest
$ac_exeext
10401 if { (ac_try
="$ac_link"
10402 case "(($ac_try" in
10403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10404 *) ac_try_echo=$ac_try;;
10406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10407 (eval "$ac_link") 2>conftest.er1
10409 grep -v '^ *+' conftest.er1 >conftest.err
10411 cat conftest.err >&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); } && {
10414 test -z "$ac_c_werror_flag" ||
10415 test ! -s conftest.err
10416 } && test -s conftest$ac_exeext &&
10417 $as_test_x conftest$ac_exeext; then
10420 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'` ;;
10421 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10431 conftest$ac_exeext conftest.$ac_ext
10432 LIBS=$ac_check_soname_save_LIBS
10434 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10435 { echo "$as_me:$LINENO: result: not found" >&5
10436 echo "${ECHO_T}not found" >&6; }
10439 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10440 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10442 cat >>confdefs.h <<_ACEOF
10443 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10446 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10447 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10448 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10451 ac_check_lib_save_LIBS=$LIBS
10452 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10453 cat >conftest.$ac_ext <<_ACEOF
10456 cat confdefs.h >>conftest.$ac_ext
10457 cat >>conftest.$ac_ext <<_ACEOF
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10466 char XRenderSetPictureTransform ();
10470 return XRenderSetPictureTransform ();
10475 rm -f conftest.$ac_objext conftest$ac_exeext
10476 if { (ac_try="$ac_link"
10477 case "(($ac_try" in
10478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10479 *) ac_try_echo
=$ac_try;;
10481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10482 (eval "$ac_link") 2>conftest.er1
10484 grep -v '^ *+' conftest.er1
>conftest.err
10486 cat conftest.err
>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } && {
10489 test -z "$ac_c_werror_flag" ||
10490 test ! -s conftest.err
10491 } && test -s conftest
$ac_exeext &&
10492 $as_test_x conftest
$ac_exeext; then
10493 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.
$ac_ext >&5
10498 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10501 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10502 conftest
$ac_exeext conftest.
$ac_ext
10503 LIBS
=$ac_check_lib_save_LIBS
10505 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10506 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10507 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10509 cat >>confdefs.h
<<\_ACEOF
10510 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10519 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10520 case "x$with_xrender" in
10521 x
) wine_warnings
="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10523 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10524 This is an error since --with-xrender was requested." >&5
10525 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10526 This is an error since --with-xrender was requested." >&2;}
10527 { (exit 1); exit 1; }; } ;;
10532 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10534 cat >conftest.
$ac_ext <<_ACEOF
10537 cat confdefs.h
>>conftest.
$ac_ext
10538 cat >>conftest.
$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10540 #include <X11/Xlib.h>
10541 #include <X11/extensions/Xrandr.h>
10545 static typeof(XRRSetScreenConfigAndRate) * func;
10550 rm -f conftest.
$ac_objext
10551 if { (ac_try
="$ac_compile"
10552 case "(($ac_try" in
10553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10554 *) ac_try_echo=$ac_try;;
10556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10557 (eval "$ac_compile") 2>conftest.er1
10559 grep -v '^ *+' conftest.er1 >conftest.err
10561 cat conftest.err >&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } && {
10564 test -z "$ac_c_werror_flag" ||
10565 test ! -s conftest.err
10566 } && test -s conftest.$ac_objext; then
10567 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10568 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10569 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 ac_check_soname_save_LIBS=$LIBS
10573 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10574 cat >conftest.$ac_ext <<_ACEOF
10577 cat confdefs.h >>conftest.$ac_ext
10578 cat >>conftest.$ac_ext <<_ACEOF
10579 /* end confdefs.h. */
10581 /* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10587 char XRRQueryExtension ();
10591 return XRRQueryExtension ();
10596 rm -f conftest.$ac_objext conftest$ac_exeext
10597 if { (ac_try="$ac_link"
10598 case "(($ac_try" in
10599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10600 *) ac_try_echo
=$ac_try;;
10602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10603 (eval "$ac_link") 2>conftest.er1
10605 grep -v '^ *+' conftest.er1
>conftest.err
10607 cat conftest.err
>&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } && {
10610 test -z "$ac_c_werror_flag" ||
10611 test ! -s conftest.err
10612 } && test -s conftest
$ac_exeext &&
10613 $as_test_x conftest
$ac_exeext; then
10616 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'` ;;
10617 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10620 echo "$as_me: failed program was:" >&5
10621 sed 's/^/| /' conftest.
$ac_ext >&5
10626 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10627 conftest
$ac_exeext conftest.
$ac_ext
10628 LIBS
=$ac_check_soname_save_LIBS
10630 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10631 { echo "$as_me:$LINENO: result: not found" >&5
10632 echo "${ECHO_T}not found" >&6; }
10635 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10636 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10638 cat >>confdefs.h
<<_ACEOF
10639 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10646 echo "$as_me: failed program was:" >&5
10647 sed 's/^/| /' conftest.
$ac_ext >&5
10652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10654 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10655 case "x$with_xrandr" in
10656 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10658 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10659 This is an error since --with-xrandr was requested." >&5
10660 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10661 This is an error since --with-xrandr was requested." >&2;}
10662 { (exit 1); exit 1; }; } ;;
10667 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10669 cat >conftest.
$ac_ext <<_ACEOF
10672 cat confdefs.h
>>conftest.
$ac_ext
10673 cat >>conftest.
$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10675 #include <X11/Xlib.h>
10676 #include <X11/extensions/Xinerama.h>
10680 static typeof(XineramaQueryScreens) * func;
10685 rm -f conftest.
$ac_objext
10686 if { (ac_try
="$ac_compile"
10687 case "(($ac_try" in
10688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10689 *) ac_try_echo=$ac_try;;
10691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10692 (eval "$ac_compile") 2>conftest.er1
10694 grep -v '^ *+' conftest.er1 >conftest.err
10696 cat conftest.err >&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } && {
10699 test -z "$ac_c_werror_flag" ||
10700 test ! -s conftest.err
10701 } && test -s conftest.$ac_objext; then
10702 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10703 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10704 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 ac_check_soname_save_LIBS=$LIBS
10708 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10709 cat >conftest.$ac_ext <<_ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10722 char XineramaQueryScreens ();
10726 return XineramaQueryScreens ();
10731 rm -f conftest.$ac_objext conftest$ac_exeext
10732 if { (ac_try="$ac_link"
10733 case "(($ac_try" in
10734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10735 *) ac_try_echo
=$ac_try;;
10737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10738 (eval "$ac_link") 2>conftest.er1
10740 grep -v '^ *+' conftest.er1
>conftest.err
10742 cat conftest.err
>&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } && {
10745 test -z "$ac_c_werror_flag" ||
10746 test ! -s conftest.err
10747 } && test -s conftest
$ac_exeext &&
10748 $as_test_x conftest
$ac_exeext; then
10751 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'` ;;
10752 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10755 echo "$as_me: failed program was:" >&5
10756 sed 's/^/| /' conftest.
$ac_ext >&5
10761 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10762 conftest
$ac_exeext conftest.
$ac_ext
10763 LIBS
=$ac_check_soname_save_LIBS
10765 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10766 { echo "$as_me:$LINENO: result: not found" >&5
10767 echo "${ECHO_T}not found" >&6; }
10770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10771 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10773 cat >>confdefs.h
<<_ACEOF
10774 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.
$ac_ext >&5
10787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10789 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10790 case "x$with_xinerama" in
10791 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10793 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10794 This is an error since --with-xinerama was requested." >&5
10795 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10796 This is an error since --with-xinerama was requested." >&2;}
10797 { (exit 1); exit 1; }; } ;;
10802 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10804 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10805 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10806 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 ac_check_soname_save_LIBS
=$LIBS
10810 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10811 cat >conftest.
$ac_ext <<_ACEOF
10814 cat confdefs.h
>>conftest.
$ac_ext
10815 cat >>conftest.
$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10824 char XCompositeRedirectWindow ();
10828 return XCompositeRedirectWindow ();
10833 rm -f conftest.
$ac_objext conftest
$ac_exeext
10834 if { (ac_try
="$ac_link"
10835 case "(($ac_try" in
10836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10837 *) ac_try_echo=$ac_try;;
10839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10840 (eval "$ac_link") 2>conftest.er1
10842 grep -v '^ *+' conftest.er1 >conftest.err
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } && {
10847 test -z "$ac_c_werror_flag" ||
10848 test ! -s conftest.err
10849 } && test -s conftest$ac_exeext &&
10850 $as_test_x conftest$ac_exeext; then
10853 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'` ;;
10854 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_soname_save_LIBS
10867 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10868 { echo "$as_me:$LINENO: result: not found" >&5
10869 echo "${ECHO_T}not found" >&6; }
10872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10873 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10883 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10884 case "x$with_xcomposite" in
10885 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10887 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10888 This is an error since --with-xcomposite was requested." >&5
10889 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10890 This is an error since --with-xcomposite was requested." >&2;}
10891 { (exit 1); exit 1; }; } ;;
10896 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10897 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10898 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 cat >conftest.$ac_ext <<_ACEOF
10904 cat confdefs.h >>conftest.$ac_ext
10905 cat >>conftest.$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10907 #ifdef HAVE_X11_XLIB_H
10908 #include <X11/Xlib.h>
10914 static XICCallback ac_aggr;
10915 if (ac_aggr.callback)
10921 rm -f conftest.$ac_objext
10922 if { (ac_try="$ac_compile"
10923 case "(($ac_try" in
10924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10925 *) ac_try_echo
=$ac_try;;
10927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10928 (eval "$ac_compile") 2>conftest.er1
10930 grep -v '^ *+' conftest.er1
>conftest.err
10932 cat conftest.err
>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } && {
10935 test -z "$ac_c_werror_flag" ||
10936 test ! -s conftest.err
10937 } && test -s conftest.
$ac_objext; then
10938 ac_cv_member_XICCallback_callback
=yes
10940 echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.
$ac_ext >&5
10943 cat >conftest.
$ac_ext <<_ACEOF
10946 cat confdefs.h
>>conftest.
$ac_ext
10947 cat >>conftest.
$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10949 #ifdef HAVE_X11_XLIB_H
10950 #include <X11/Xlib.h>
10956 static XICCallback ac_aggr;
10957 if (sizeof ac_aggr.callback)
10963 rm -f conftest.
$ac_objext
10964 if { (ac_try
="$ac_compile"
10965 case "(($ac_try" in
10966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10967 *) ac_try_echo=$ac_try;;
10969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10970 (eval "$ac_compile") 2>conftest.er1
10972 grep -v '^ *+' conftest.er1 >conftest.err
10974 cat conftest.err >&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } && {
10977 test -z "$ac_c_werror_flag" ||
10978 test ! -s conftest.err
10979 } && test -s conftest.$ac_objext; then
10980 ac_cv_member_XICCallback_callback=yes
10982 echo "$as_me: failed program was:" >&5
10983 sed 's/^/| /' conftest.$ac_ext >&5
10985 ac_cv_member_XICCallback_callback=no
10988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10993 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10994 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10995 if test $ac_cv_member_XICCallback_callback = yes; then
10997 cat >>confdefs.h <<_ACEOF
10998 #define HAVE_XICCALLBACK_CALLBACK 1
11007 if test "x$with_opengl" != "xno"
11013 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
11015 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11016 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11021 cat >conftest.$ac_ext <<_ACEOF
11024 cat confdefs.h >>conftest.$ac_ext
11025 cat >>conftest.$ac_ext <<_ACEOF
11026 /* end confdefs.h. */
11027 #ifdef HAVE_GL_GLX_H
11028 # include <GL/glx.h>
11031 #include <$ac_header>
11033 rm -f conftest.$ac_objext
11034 if { (ac_try="$ac_compile"
11035 case "(($ac_try" in
11036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11037 *) ac_try_echo
=$ac_try;;
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_compile") 2>conftest.er1
11042 grep -v '^ *+' conftest.er1
>conftest.err
11044 cat conftest.err
>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } && {
11047 test -z "$ac_c_werror_flag" ||
11048 test ! -s conftest.err
11049 } && test -s conftest.
$ac_objext; then
11050 eval "$as_ac_Header=yes"
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.
$ac_ext >&5
11055 eval "$as_ac_Header=no"
11058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11060 ac_res
=`eval echo '${'$as_ac_Header'}'`
11061 { echo "$as_me:$LINENO: result: $ac_res" >&5
11062 echo "${ECHO_T}$ac_res" >&6; }
11063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11064 cat >>confdefs.h
<<_ACEOF
11065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11072 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11074 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11075 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11076 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 cat >conftest.
$ac_ext <<_ACEOF
11082 cat confdefs.h
>>conftest.
$ac_ext
11083 cat >>conftest.
$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11089 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11094 rm -f conftest.
$ac_objext
11095 if { (ac_try
="$ac_compile"
11096 case "(($ac_try" in
11097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11098 *) ac_try_echo=$ac_try;;
11100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11101 (eval "$ac_compile") 2>conftest.er1
11103 grep -v '^ *+' conftest.er1 >conftest.err
11105 cat conftest.err >&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } && {
11108 test -z "$ac_c_werror_flag" ||
11109 test ! -s conftest.err
11110 } && test -s conftest.$ac_objext; then
11111 wine_cv_opengl_header_version_OK="yes"
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11116 wine_cv_opengl_header_version_OK="no"
11119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11121 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11122 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11124 if test "$wine_cv_opengl_header_version_OK" = "yes"
11126 { echo "$as_me:$LINENO: checking for -lGL" >&5
11127 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11128 if test "${ac_cv_lib_soname_GL+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 ac_check_soname_save_LIBS=$LIBS
11132 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11133 cat >conftest.$ac_ext <<_ACEOF
11136 cat confdefs.h >>conftest.$ac_ext
11137 cat >>conftest.$ac_ext <<_ACEOF
11138 /* end confdefs.h. */
11140 /* Override any GCC internal prototype to avoid an error.
11141 Use char because int might match the return type of a GCC
11142 builtin and then its argument prototype would still apply. */
11146 char glXCreateContext ();
11150 return glXCreateContext ();
11155 rm -f conftest.$ac_objext conftest$ac_exeext
11156 if { (ac_try="$ac_link"
11157 case "(($ac_try" in
11158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11159 *) ac_try_echo
=$ac_try;;
11161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11162 (eval "$ac_link") 2>conftest.er1
11164 grep -v '^ *+' conftest.er1
>conftest.err
11166 cat conftest.err
>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } && {
11169 test -z "$ac_c_werror_flag" ||
11170 test ! -s conftest.err
11171 } && test -s conftest
$ac_exeext &&
11172 $as_test_x conftest
$ac_exeext; then
11175 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'` ;;
11176 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11179 echo "$as_me: failed program was:" >&5
11180 sed 's/^/| /' conftest.
$ac_ext >&5
11185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11186 conftest
$ac_exeext conftest.
$ac_ext
11187 LIBS
=$ac_check_soname_save_LIBS
11189 if test "x$ac_cv_lib_soname_GL" = "x"; then
11190 { echo "$as_me:$LINENO: result: not found" >&5
11191 echo "${ECHO_T}not found" >&6; }
11192 { echo "$as_me:$LINENO: checking for -lGL" >&5
11193 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11194 if test "${ac_cv_lib_soname_GL+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 ac_check_soname_save_LIBS
=$LIBS
11198 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"
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11212 char glXCreateContext ();
11216 return glXCreateContext ();
11221 rm -f conftest.
$ac_objext conftest
$ac_exeext
11222 if { (ac_try
="$ac_link"
11223 case "(($ac_try" in
11224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11225 *) ac_try_echo=$ac_try;;
11227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11228 (eval "$ac_link") 2>conftest.er1
11230 grep -v '^ *+' conftest.er1 >conftest.err
11232 cat conftest.err >&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); } && {
11235 test -z "$ac_c_werror_flag" ||
11236 test ! -s conftest.err
11237 } && test -s conftest$ac_exeext &&
11238 $as_test_x conftest$ac_exeext; then
11241 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'` ;;
11242 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_soname_save_LIBS
11255 if test "x$ac_cv_lib_soname_GL" = "x"; then
11256 { echo "$as_me:$LINENO: result: not found" >&5
11257 echo "${ECHO_T}not found" >&6; }
11258 if test -f /usr/X11R6/lib/libGL.a
11260 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11261 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11263 opengl_msg="No OpenGL library found on this system."
11266 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11267 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11269 cat >>confdefs.h <<_ACEOF
11270 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11273 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"
11274 OPENGLFILES='$(OPENGLFILES)'
11276 cat >>confdefs.h <<\_ACEOF
11277 #define HAVE_OPENGL 1
11283 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11284 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11286 cat >>confdefs.h <<_ACEOF
11287 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11291 OPENGLFILES='$(OPENGLFILES)'
11293 cat >>confdefs.h <<\_ACEOF
11294 #define HAVE_OPENGL 1
11299 if test "$ac_cv_header_GL_glu_h" = "yes"
11301 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11302 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11303 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 ac_check_soname_save_LIBS=$LIBS
11307 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11308 cat >conftest.$ac_ext <<_ACEOF
11311 cat confdefs.h >>conftest.$ac_ext
11312 cat >>conftest.$ac_ext <<_ACEOF
11313 /* end confdefs.h. */
11315 /* Override any GCC internal prototype to avoid an error.
11316 Use char because int might match the return type of a GCC
11317 builtin and then its argument prototype would still apply. */
11325 return gluLookAt ();
11330 rm -f conftest.$ac_objext conftest$ac_exeext
11331 if { (ac_try="$ac_link"
11332 case "(($ac_try" in
11333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11334 *) ac_try_echo
=$ac_try;;
11336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11337 (eval "$ac_link") 2>conftest.er1
11339 grep -v '^ *+' conftest.er1
>conftest.err
11341 cat conftest.err
>&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } && {
11344 test -z "$ac_c_werror_flag" ||
11345 test ! -s conftest.err
11346 } && test -s conftest
$ac_exeext &&
11347 $as_test_x conftest
$ac_exeext; then
11350 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11351 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.
$ac_ext >&5
11360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11361 conftest
$ac_exeext conftest.
$ac_ext
11362 LIBS
=$ac_check_soname_save_LIBS
11364 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11365 { echo "$as_me:$LINENO: result: not found" >&5
11366 echo "${ECHO_T}not found" >&6; }
11369 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11370 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11372 cat >>confdefs.h
<<_ACEOF
11373 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11376 GLU32FILES
='$(GLU32FILES)'
11380 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11381 case "x$with_glu" in
11382 x
) wine_notices
="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11384 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11385 This is an error since --with-glu was requested." >&5
11386 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11387 This is an error since --with-glu was requested." >&2;}
11388 { (exit 1); exit 1; }; } ;;
11393 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11396 opengl_msg
="OpenGL development headers not found."
11399 if test -n "$opengl_msg"; then
11400 case "x$with_opengl" in
11401 x
) wine_warnings
="$wine_warnings|$opengl_msg
11402 OpenGL and Direct3D won't be supported." ;;
11404 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11405 OpenGL and Direct3D won't be supported.
11406 This is an error since --with-opengl was requested." >&5
11407 echo "$as_me: error: $opengl_msg
11408 OpenGL and Direct3D won't be supported.
11409 This is an error since --with-opengl was requested." >&2;}
11410 { (exit 1); exit 1; }; } ;;
11418 for ac_header
in audio
/audiolib.h
11420 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11421 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11424 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 ac_res
=`eval echo '${'$as_ac_Header'}'`
11428 { echo "$as_me:$LINENO: result: $ac_res" >&5
11429 echo "${ECHO_T}$ac_res" >&6; }
11431 # Is the header compilable?
11432 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11434 cat >conftest.
$ac_ext <<_ACEOF
11437 cat confdefs.h
>>conftest.
$ac_ext
11438 cat >>conftest.
$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11440 $ac_includes_default
11441 #include <$ac_header>
11443 rm -f conftest.
$ac_objext
11444 if { (ac_try
="$ac_compile"
11445 case "(($ac_try" in
11446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_compile") 2>conftest.er1
11452 grep -v '^ *+' conftest.er1 >conftest.err
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } && {
11457 test -z "$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11459 } && test -s conftest.$ac_objext; then
11460 ac_header_compiler=yes
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_header_compiler=no
11468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11470 echo "${ECHO_T}$ac_header_compiler" >&6; }
11472 # Is the header present?
11473 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11475 cat >conftest.$ac_ext <<_ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <$ac_header>
11483 if { (ac_try="$ac_cpp conftest.$ac_ext"
11484 case "(($ac_try" in
11485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11486 *) ac_try_echo
=$ac_try;;
11488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11491 grep -v '^ *+' conftest.er1
>conftest.err
11493 cat conftest.err
>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } >/dev
/null
&& {
11496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11497 test ! -s conftest.err
11499 ac_header_preproc
=yes
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.
$ac_ext >&5
11504 ac_header_preproc
=no
11507 rm -f conftest.err conftest.
$ac_ext
11508 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11509 echo "${ECHO_T}$ac_header_preproc" >&6; }
11511 # So? What about this header?
11512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11514 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11518 ac_header_preproc
=yes
11521 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11523 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11524 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11525 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11527 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11528 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11531 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11534 ## ------------------------------------ ##
11535 ## Report this to wine-devel@winehq.org ##
11536 ## ------------------------------------ ##
11538 ) |
sed "s/^/$as_me: WARNING: /" >&2
11541 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11543 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 eval "$as_ac_Header=\$ac_header_preproc"
11548 ac_res
=`eval echo '${'$as_ac_Header'}'`
11549 { echo "$as_me:$LINENO: result: $ac_res" >&5
11550 echo "${ECHO_T}$ac_res" >&6; }
11553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11554 cat >>confdefs.h
<<_ACEOF
11555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11558 for ac_header
in audio
/soundlib.h
11560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11563 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 cat >conftest.
$ac_ext <<_ACEOF
11569 cat confdefs.h
>>conftest.
$ac_ext
11570 cat >>conftest.
$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11572 #include <audio/audiolib.h>
11574 #include <$ac_header>
11576 rm -f conftest.
$ac_objext
11577 if { (ac_try
="$ac_compile"
11578 case "(($ac_try" in
11579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_compile") 2>conftest.er1
11585 grep -v '^ *+' conftest.er1 >conftest.err
11587 cat conftest.err >&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } && {
11590 test -z "$ac_c_werror_flag" ||
11591 test ! -s conftest.err
11592 } && test -s conftest.$ac_objext; then
11593 eval "$as_ac_Header=yes"
11595 echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.$ac_ext >&5
11598 eval "$as_ac_Header=no"
11601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11603 ac_res=`eval echo '${'$as_ac_Header'}'`
11604 { echo "$as_me:$LINENO: result: $ac_res" >&5
11605 echo "${ECHO_T}$ac_res" >&6; }
11606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11607 cat >>confdefs.h <<_ACEOF
11608 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11615 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11616 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11617 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 ac_check_lib_save_LIBS=$LIBS
11621 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11622 cat >conftest.$ac_ext <<_ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11635 char AuCreateFlow ();
11639 return AuCreateFlow ();
11644 rm -f conftest.$ac_objext conftest$ac_exeext
11645 if { (ac_try="$ac_link"
11646 case "(($ac_try" in
11647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11648 *) ac_try_echo
=$ac_try;;
11650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11651 (eval "$ac_link") 2>conftest.er1
11653 grep -v '^ *+' conftest.er1
>conftest.err
11655 cat conftest.err
>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } && {
11658 test -z "$ac_c_werror_flag" ||
11659 test ! -s conftest.err
11660 } && test -s conftest
$ac_exeext &&
11661 $as_test_x conftest
$ac_exeext; then
11662 ac_cv_lib_audio_AuCreateFlow
=yes
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.
$ac_ext >&5
11667 ac_cv_lib_audio_AuCreateFlow
=no
11670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11671 conftest
$ac_exeext conftest.
$ac_ext
11672 LIBS
=$ac_check_lib_save_LIBS
11674 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11675 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11676 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11678 cat >>confdefs.h
<<\_ACEOF
11682 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11683 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11684 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 ac_check_lib_save_LIBS
=$LIBS
11688 LIBS
="-lXau $X_LIBS $LIBS"
11689 cat >conftest.
$ac_ext <<_ACEOF
11692 cat confdefs.h
>>conftest.
$ac_ext
11693 cat >>conftest.
$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11696 /* Override any GCC internal prototype to avoid an error.
11697 Use char because int might match the return type of a GCC
11698 builtin and then its argument prototype would still apply. */
11702 char XauGetBestAuthByAddr ();
11706 return XauGetBestAuthByAddr ();
11711 rm -f conftest.
$ac_objext conftest
$ac_exeext
11712 if { (ac_try
="$ac_link"
11713 case "(($ac_try" in
11714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11715 *) ac_try_echo=$ac_try;;
11717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11718 (eval "$ac_link") 2>conftest.er1
11720 grep -v '^ *+' conftest.er1 >conftest.err
11722 cat conftest.err >&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } && {
11725 test -z "$ac_c_werror_flag" ||
11726 test ! -s conftest.err
11727 } && test -s conftest$ac_exeext &&
11728 $as_test_x conftest$ac_exeext; then
11729 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11734 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_lib_save_LIBS
11741 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11742 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11743 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11744 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11746 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11757 CPPFLAGS="$ac_save_CPPFLAGS"
11764 if test "x$XLIB" = "x"; then
11767 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11768 without X support, which probably isn't what you want. You will need to install
11769 development packages of Xlib/Xfree86 at the very least.
11770 Use the --without-x option if you really want this." >&5
11771 echo "$as_me: error: X development files not found. Wine will be built
11772 without X support, which probably isn't what you want. You will need to install
11773 development packages of Xlib/Xfree86 at the very least.
11774 Use the --without-x option if you really want this." >&2;}
11775 { (exit 1); exit 1; }; } ;;
11789 if test "x$with_xml" != "xno"
11791 ac_save_CPPFLAGS="$CPPFLAGS"
11792 if test "$PKG_CONFIG" != "false"
11794 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11795 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11797 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11798 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11800 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11802 for ac_header in libxml/parser.h
11804 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 ac_res=`eval echo '${'$as_ac_Header'}'`
11812 { echo "$as_me:$LINENO: result: $ac_res" >&5
11813 echo "${ECHO_T}$ac_res" >&6; }
11815 # Is the header compilable?
11816 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11818 cat >conftest.$ac_ext <<_ACEOF
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11824 $ac_includes_default
11825 #include <$ac_header>
11827 rm -f conftest.$ac_objext
11828 if { (ac_try="$ac_compile"
11829 case "(($ac_try" in
11830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11831 *) ac_try_echo
=$ac_try;;
11833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11834 (eval "$ac_compile") 2>conftest.er1
11836 grep -v '^ *+' conftest.er1
>conftest.err
11838 cat conftest.err
>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); } && {
11841 test -z "$ac_c_werror_flag" ||
11842 test ! -s conftest.err
11843 } && test -s conftest.
$ac_objext; then
11844 ac_header_compiler
=yes
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.
$ac_ext >&5
11849 ac_header_compiler
=no
11852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11853 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11854 echo "${ECHO_T}$ac_header_compiler" >&6; }
11856 # Is the header present?
11857 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11859 cat >conftest.
$ac_ext <<_ACEOF
11862 cat confdefs.h
>>conftest.
$ac_ext
11863 cat >>conftest.
$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 #include <$ac_header>
11867 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11868 case "(($ac_try" in
11869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11875 grep -v '^ *+' conftest.er1 >conftest.err
11877 cat conftest.err >&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } >/dev/null && {
11880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11881 test ! -s conftest.err
11883 ac_header_preproc=yes
11885 echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.$ac_ext >&5
11888 ac_header_preproc=no
11891 rm -f conftest.err conftest.$ac_ext
11892 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11893 echo "${ECHO_T}$ac_header_preproc" >&6; }
11895 # So? What about this header?
11896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11902 ac_header_preproc=yes
11905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11918 ## ------------------------------------ ##
11919 ## Report this to wine-devel@winehq.org ##
11920 ## ------------------------------------ ##
11922 ) | sed "s/^/$as_me: WARNING: /" >&2
11925 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11928 echo $ECHO_N "(cached) $ECHO_C" >&6
11930 eval "$as_ac_Header=\$ac_header_preproc"
11932 ac_res=`eval echo '${'$as_ac_Header'}'`
11933 { echo "$as_me:$LINENO: result: $ac_res" >&5
11934 echo "${ECHO_T}$ac_res" >&6; }
11937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11938 cat >>confdefs.h <<_ACEOF
11939 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11941 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11942 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11943 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 ac_check_lib_save_LIBS=$LIBS
11947 LIBS="-lxml2 $ac_xml_libs $LIBS"
11948 cat >conftest.$ac_ext <<_ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11961 char xmlParseMemory ();
11965 return xmlParseMemory ();
11970 rm -f conftest.$ac_objext conftest$ac_exeext
11971 if { (ac_try="$ac_link"
11972 case "(($ac_try" in
11973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11974 *) ac_try_echo
=$ac_try;;
11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_link") 2>conftest.er1
11979 grep -v '^ *+' conftest.er1
>conftest.err
11981 cat conftest.err
>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } && {
11984 test -z "$ac_c_werror_flag" ||
11985 test ! -s conftest.err
11986 } && test -s conftest
$ac_exeext &&
11987 $as_test_x conftest
$ac_exeext; then
11988 ac_cv_lib_xml2_xmlParseMemory
=yes
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.
$ac_ext >&5
11993 ac_cv_lib_xml2_xmlParseMemory
=no
11996 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11997 conftest
$ac_exeext conftest.
$ac_ext
11998 LIBS
=$ac_check_lib_save_LIBS
12000 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12001 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12002 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
12004 cat >>confdefs.h
<<\_ACEOF
12005 #define HAVE_LIBXML2 1
12008 XML2LIBS
="$ac_xml_libs"
12009 XML2INCL
="$ac_xml_cflags"
12012 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
12013 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
12014 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 ac_check_lib_save_LIBS
=$LIBS
12018 LIBS
="-lxml2 $ac_xml_libs $LIBS"
12019 cat >conftest.
$ac_ext <<_ACEOF
12022 cat confdefs.h
>>conftest.
$ac_ext
12023 cat >>conftest.
$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12032 char xmlReadMemory ();
12036 return xmlReadMemory ();
12041 rm -f conftest.
$ac_objext conftest
$ac_exeext
12042 if { (ac_try
="$ac_link"
12043 case "(($ac_try" in
12044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12045 *) ac_try_echo=$ac_try;;
12047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12048 (eval "$ac_link") 2>conftest.er1
12050 grep -v '^ *+' conftest.er1 >conftest.err
12052 cat conftest.err >&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } && {
12055 test -z "$ac_c_werror_flag" ||
12056 test ! -s conftest.err
12057 } && test -s conftest$ac_exeext &&
12058 $as_test_x conftest$ac_exeext; then
12059 ac_cv_lib_xml2_xmlReadMemory=yes
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.$ac_ext >&5
12064 ac_cv_lib_xml2_xmlReadMemory=no
12067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_lib_save_LIBS
12071 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12072 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12073 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12075 cat >>confdefs.h <<\_ACEOF
12076 #define HAVE_XMLREADMEMORY 1
12081 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12082 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12083 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 ac_check_lib_save_LIBS=$LIBS
12087 LIBS="-lxml2 $ac_xml_libs $LIBS"
12088 cat >conftest.$ac_ext <<_ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12101 char xmlNewDocPI ();
12105 return xmlNewDocPI ();
12110 rm -f conftest.$ac_objext conftest$ac_exeext
12111 if { (ac_try="$ac_link"
12112 case "(($ac_try" in
12113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12114 *) ac_try_echo
=$ac_try;;
12116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12117 (eval "$ac_link") 2>conftest.er1
12119 grep -v '^ *+' conftest.er1
>conftest.err
12121 cat conftest.err
>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } && {
12124 test -z "$ac_c_werror_flag" ||
12125 test ! -s conftest.err
12126 } && test -s conftest
$ac_exeext &&
12127 $as_test_x conftest
$ac_exeext; then
12128 ac_cv_lib_xml2_xmlNewDocPI
=yes
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.
$ac_ext >&5
12133 ac_cv_lib_xml2_xmlNewDocPI
=no
12136 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12137 conftest
$ac_exeext conftest.
$ac_ext
12138 LIBS
=$ac_check_lib_save_LIBS
12140 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12141 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12142 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12144 cat >>confdefs.h
<<\_ACEOF
12145 #define HAVE_XMLNEWDOCPI 1
12155 CPPFLAGS
="$ac_save_CPPFLAGS"
12157 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12158 case "x$with_xml" in
12159 x
) wine_warnings
="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12161 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12162 This is an error since --with-xml was requested." >&5
12163 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12164 This is an error since --with-xml was requested." >&2;}
12165 { (exit 1); exit 1; }; } ;;
12170 if test "x$with_xslt" != "xno"
12172 if test "$PKG_CONFIG" != "false"
12174 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12175 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12177 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
12178 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
12180 ac_save_CPPFLAGS
="$CPPFLAGS"
12181 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
12184 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
12186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12187 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12189 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 cat >conftest.
$ac_ext <<_ACEOF
12195 cat confdefs.h
>>conftest.
$ac_ext
12196 cat >>conftest.
$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12198 #ifdef HAVE_LIBXSLT_PATTERN_H
12199 # include <libxslt/pattern.h>
12202 #include <$ac_header>
12204 rm -f conftest.
$ac_objext
12205 if { (ac_try
="$ac_compile"
12206 case "(($ac_try" in
12207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12208 *) ac_try_echo=$ac_try;;
12210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12211 (eval "$ac_compile") 2>conftest.er1
12213 grep -v '^ *+' conftest.er1 >conftest.err
12215 cat conftest.err >&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } && {
12218 test -z "$ac_c_werror_flag" ||
12219 test ! -s conftest.err
12220 } && test -s conftest.$ac_objext; then
12221 eval "$as_ac_Header=yes"
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.$ac_ext >&5
12226 eval "$as_ac_Header=no"
12229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12231 ac_res=`eval echo '${'$as_ac_Header'}'`
12232 { echo "$as_me:$LINENO: result: $ac_res" >&5
12233 echo "${ECHO_T}$ac_res" >&6; }
12234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12235 cat >>confdefs.h <<_ACEOF
12236 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12243 CPPFLAGS="$ac_save_CPPFLAGS"
12244 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12246 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12247 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12248 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 ac_check_lib_save_LIBS=$LIBS
12252 LIBS="-lxslt $ac_xslt_libs $LIBS"
12253 cat >conftest.$ac_ext <<_ACEOF
12256 cat confdefs.h >>conftest.$ac_ext
12257 cat >>conftest.$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12266 char xsltCompilePattern ();
12270 return xsltCompilePattern ();
12275 rm -f conftest.$ac_objext conftest$ac_exeext
12276 if { (ac_try="$ac_link"
12277 case "(($ac_try" in
12278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12279 *) ac_try_echo
=$ac_try;;
12281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12282 (eval "$ac_link") 2>conftest.er1
12284 grep -v '^ *+' conftest.er1
>conftest.err
12286 cat conftest.err
>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } && {
12289 test -z "$ac_c_werror_flag" ||
12290 test ! -s conftest.err
12291 } && test -s conftest
$ac_exeext &&
12292 $as_test_x conftest
$ac_exeext; then
12293 ac_cv_lib_xslt_xsltCompilePattern
=yes
12295 echo "$as_me: failed program was:" >&5
12296 sed 's/^/| /' conftest.
$ac_ext >&5
12298 ac_cv_lib_xslt_xsltCompilePattern
=no
12301 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12302 conftest
$ac_exeext conftest.
$ac_ext
12303 LIBS
=$ac_check_lib_save_LIBS
12305 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12306 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12307 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12309 cat >>confdefs.h
<<\_ACEOF
12310 #define HAVE_LIBXSLT 1
12313 XSLTLIBS
="$ac_xslt_libs"
12314 XSLTINCL
="$ac_xslt_cflags"
12315 ac_save_LIBS
="$LIBS"
12316 LIBS
="$LIBS $ac_xslt_libs"
12318 for ac_func
in xsltInit
12320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12323 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 cat >conftest.
$ac_ext <<_ACEOF
12329 cat confdefs.h
>>conftest.
$ac_ext
12330 cat >>conftest.
$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12334 #define $ac_func innocuous_$ac_func
12336 /* System header to define __stub macros and hopefully few prototypes,
12337 which can conflict with char $ac_func (); below.
12338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12339 <limits.h> exists even on freestanding compilers. */
12342 # include <limits.h>
12344 # include <assert.h>
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12356 /* The GNU C library defines this for functions which it implements
12357 to always fail with ENOSYS. Some functions are actually named
12358 something starting with __ and the normal name is an alias. */
12359 #if defined __stub_$ac_func || defined __stub___$ac_func
12366 return $ac_func ();
12371 rm -f conftest.
$ac_objext conftest
$ac_exeext
12372 if { (ac_try
="$ac_link"
12373 case "(($ac_try" in
12374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_link") 2>conftest.er1
12380 grep -v '^ *+' conftest.er1 >conftest.err
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } && {
12385 test -z "$ac_c_werror_flag" ||
12386 test ! -s conftest.err
12387 } && test -s conftest$ac_exeext &&
12388 $as_test_x conftest$ac_exeext; then
12389 eval "$as_ac_var=yes"
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.$ac_ext >&5
12394 eval "$as_ac_var=no"
12397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12398 conftest$ac_exeext conftest.$ac_ext
12400 ac_res=`eval echo '${'$as_ac_var'}'`
12401 { echo "$as_me:$LINENO: result: $ac_res" >&5
12402 echo "${ECHO_T}$ac_res" >&6; }
12403 if test `eval echo '${'$as_ac_var'}'` = yes; then
12404 cat >>confdefs.h <<_ACEOF
12405 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12411 LIBS="$ac_save_LIBS"
12416 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12417 case "x$with_xslt" in
12418 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12420 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12421 This is an error since --with-xslt was requested." >&5
12422 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12423 This is an error since --with-xslt was requested." >&2;}
12424 { (exit 1); exit 1; }; } ;;
12431 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12433 ac_save_CPPFLAGS="$CPPFLAGS"
12434 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
12435 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
12436 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12439 for ac_header in dbus/dbus.h hal/libhal.h
12441 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 ac_res=`eval echo '${'$as_ac_Header'}'`
12449 { echo "$as_me:$LINENO: result: $ac_res" >&5
12450 echo "${ECHO_T}$ac_res" >&6; }
12452 # Is the header compilable?
12453 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12455 cat >conftest.$ac_ext <<_ACEOF
12458 cat confdefs.h >>conftest.$ac_ext
12459 cat >>conftest.$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12461 $ac_includes_default
12462 #include <$ac_header>
12464 rm -f conftest.$ac_objext
12465 if { (ac_try="$ac_compile"
12466 case "(($ac_try" in
12467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12468 *) ac_try_echo
=$ac_try;;
12470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12471 (eval "$ac_compile") 2>conftest.er1
12473 grep -v '^ *+' conftest.er1
>conftest.err
12475 cat conftest.err
>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } && {
12478 test -z "$ac_c_werror_flag" ||
12479 test ! -s conftest.err
12480 } && test -s conftest.
$ac_objext; then
12481 ac_header_compiler
=yes
12483 echo "$as_me: failed program was:" >&5
12484 sed 's/^/| /' conftest.
$ac_ext >&5
12486 ac_header_compiler
=no
12489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12491 echo "${ECHO_T}$ac_header_compiler" >&6; }
12493 # Is the header present?
12494 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12496 cat >conftest.
$ac_ext <<_ACEOF
12499 cat confdefs.h
>>conftest.
$ac_ext
12500 cat >>conftest.
$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 #include <$ac_header>
12504 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12505 case "(($ac_try" in
12506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12512 grep -v '^ *+' conftest.er1 >conftest.err
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } >/dev/null && {
12517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12520 ac_header_preproc=yes
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.$ac_ext >&5
12525 ac_header_preproc=no
12528 rm -f conftest.err conftest.$ac_ext
12529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12530 echo "${ECHO_T}$ac_header_preproc" >&6; }
12532 # So? What about this header?
12533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12538 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12539 ac_header_preproc=yes
12542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12546 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12547 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12548 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12549 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12552 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12553 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12555 ## ------------------------------------ ##
12556 ## Report this to wine-devel@winehq.org ##
12557 ## ------------------------------------ ##
12559 ) | sed "s/^/$as_me: WARNING: /" >&2
12562 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 eval "$as_ac_Header=\$ac_header_preproc"
12569 ac_res=`eval echo '${'$as_ac_Header'}'`
12570 { echo "$as_me:$LINENO: result: $ac_res" >&5
12571 echo "${ECHO_T}$ac_res" >&6; }
12574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12583 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12585 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12586 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12587 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 ac_check_lib_save_LIBS=$LIBS
12591 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12592 cat >conftest.$ac_ext <<_ACEOF
12595 cat confdefs.h >>conftest.$ac_ext
12596 cat >>conftest.$ac_ext <<_ACEOF
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12605 char dbus_connection_close ();
12609 return dbus_connection_close ();
12614 rm -f conftest.$ac_objext conftest$ac_exeext
12615 if { (ac_try="$ac_link"
12616 case "(($ac_try" in
12617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12618 *) ac_try_echo
=$ac_try;;
12620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12621 (eval "$ac_link") 2>conftest.er1
12623 grep -v '^ *+' conftest.er1
>conftest.err
12625 cat conftest.err
>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } && {
12628 test -z "$ac_c_werror_flag" ||
12629 test ! -s conftest.err
12630 } && test -s conftest
$ac_exeext &&
12631 $as_test_x conftest
$ac_exeext; then
12632 ac_cv_lib_dbus_1_dbus_connection_close
=yes
12634 echo "$as_me: failed program was:" >&5
12635 sed 's/^/| /' conftest.
$ac_ext >&5
12637 ac_cv_lib_dbus_1_dbus_connection_close
=no
12640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12641 conftest
$ac_exeext conftest.
$ac_ext
12642 LIBS
=$ac_check_lib_save_LIBS
12644 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12645 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12646 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12647 { echo "$as_me:$LINENO: checking for -lhal" >&5
12648 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12649 if test "${ac_cv_lib_soname_hal+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 ac_check_soname_save_LIBS
=$LIBS
12653 LIBS
="-lhal $ac_hal_libs $LIBS"
12654 cat >conftest.
$ac_ext <<_ACEOF
12657 cat confdefs.h
>>conftest.
$ac_ext
12658 cat >>conftest.
$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12661 /* Override any GCC internal prototype to avoid an error.
12662 Use char because int might match the return type of a GCC
12663 builtin and then its argument prototype would still apply. */
12667 char libhal_ctx_new ();
12671 return libhal_ctx_new ();
12676 rm -f conftest.
$ac_objext conftest
$ac_exeext
12677 if { (ac_try
="$ac_link"
12678 case "(($ac_try" in
12679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12680 *) ac_try_echo=$ac_try;;
12682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12683 (eval "$ac_link") 2>conftest.er1
12685 grep -v '^ *+' conftest.er1 >conftest.err
12687 cat conftest.err >&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } && {
12690 test -z "$ac_c_werror_flag" ||
12691 test ! -s conftest.err
12692 } && test -s conftest$ac_exeext &&
12693 $as_test_x conftest$ac_exeext; then
12696 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'` ;;
12697 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.$ac_ext >&5
12706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12707 conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_soname_save_LIBS
12710 if test "x$ac_cv_lib_soname_hal" = "x"; then
12711 { echo "$as_me:$LINENO: result: not found" >&5
12712 echo "${ECHO_T}not found" >&6; }
12715 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12716 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12718 cat >>confdefs.h <<_ACEOF
12719 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12722 HALINCL="$ac_hal_cflags"
12728 CPPFLAGS="$ac_save_CPPFLAGS"
12730 if test "x$ac_cv_lib_soname_hal" = "x"; then
12731 case "x$with_hal" in
12732 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12734 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12735 This is an error since --with-hal was requested." >&5
12736 echo "$as_me: error: libhal development files not found, no dynamic device support.
12737 This is an error since --with-hal was requested." >&2;}
12738 { (exit 1); exit 1; }; } ;;
12744 if test "$ac_cv_header_ncurses_h" = "yes"
12746 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12747 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12748 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12751 ac_check_soname_save_LIBS=$LIBS
12752 LIBS="-lncurses $LIBS"
12753 cat >conftest.$ac_ext <<_ACEOF
12756 cat confdefs.h >>conftest.$ac_ext
12757 cat >>conftest.$ac_ext <<_ACEOF
12758 /* end confdefs.h. */
12760 /* Override any GCC internal prototype to avoid an error.
12761 Use char because int might match the return type of a GCC
12762 builtin and then its argument prototype would still apply. */
12775 rm -f conftest.$ac_objext conftest$ac_exeext
12776 if { (ac_try="$ac_link"
12777 case "(($ac_try" in
12778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12779 *) ac_try_echo
=$ac_try;;
12781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12782 (eval "$ac_link") 2>conftest.er1
12784 grep -v '^ *+' conftest.er1
>conftest.err
12786 cat conftest.err
>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } && {
12789 test -z "$ac_c_werror_flag" ||
12790 test ! -s conftest.err
12791 } && test -s conftest
$ac_exeext &&
12792 $as_test_x conftest
$ac_exeext; then
12795 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'` ;;
12796 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.
$ac_ext >&5
12805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12806 conftest
$ac_exeext conftest.
$ac_ext
12807 LIBS
=$ac_check_soname_save_LIBS
12809 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12810 { echo "$as_me:$LINENO: result: not found" >&5
12811 echo "${ECHO_T}not found" >&6; }
12814 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12815 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12817 cat >>confdefs.h
<<_ACEOF
12818 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12821 CURSESLIBS
="-lncurses"
12824 elif test "$ac_cv_header_curses_h" = "yes"
12826 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12827 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12828 if test "${ac_cv_lib_soname_curses+set}" = set; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 ac_check_soname_save_LIBS
=$LIBS
12832 LIBS
="-lcurses $LIBS"
12833 cat >conftest.
$ac_ext <<_ACEOF
12836 cat confdefs.h
>>conftest.
$ac_ext
12837 cat >>conftest.
$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12855 rm -f conftest.
$ac_objext conftest
$ac_exeext
12856 if { (ac_try
="$ac_link"
12857 case "(($ac_try" in
12858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_link") 2>conftest.er1
12864 grep -v '^ *+' conftest.er1 >conftest.err
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } && {
12869 test -z "$ac_c_werror_flag" ||
12870 test ! -s conftest.err
12871 } && test -s conftest$ac_exeext &&
12872 $as_test_x conftest$ac_exeext; then
12875 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'` ;;
12876 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.$ac_ext >&5
12885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_soname_save_LIBS
12889 if test "x$ac_cv_lib_soname_curses" = "x"; then
12890 { echo "$as_me:$LINENO: result: not found" >&5
12891 echo "${ECHO_T}not found" >&6; }
12894 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12895 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12897 cat >>confdefs.h <<_ACEOF
12898 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12901 CURSESLIBS="-lcurses"
12905 ac_save_LIBS="$LIBS"
12906 LIBS="$LIBS $CURSESLIBS"
12908 for ac_func in mousemask
12910 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12916 cat >conftest.$ac_ext <<_ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12924 #define $ac_func innocuous_$ac_func
12926 /* System header to define __stub macros and hopefully few prototypes,
12927 which can conflict with char $ac_func (); below.
12928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12929 <limits.h> exists even on freestanding compilers. */
12932 # include <limits.h>
12934 # include <assert.h>
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12946 /* The GNU C library defines this for functions which it implements
12947 to always fail with ENOSYS. Some functions are actually named
12948 something starting with __ and the normal name is an alias. */
12949 #if defined __stub_$ac_func || defined __stub___$ac_func
12956 return $ac_func ();
12961 rm -f conftest.$ac_objext conftest$ac_exeext
12962 if { (ac_try="$ac_link"
12963 case "(($ac_try" in
12964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12965 *) ac_try_echo
=$ac_try;;
12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12968 (eval "$ac_link") 2>conftest.er1
12970 grep -v '^ *+' conftest.er1
>conftest.err
12972 cat conftest.err
>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && {
12975 test -z "$ac_c_werror_flag" ||
12976 test ! -s conftest.err
12977 } && test -s conftest
$ac_exeext &&
12978 $as_test_x conftest
$ac_exeext; then
12979 eval "$as_ac_var=yes"
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.
$ac_ext >&5
12984 eval "$as_ac_var=no"
12987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12988 conftest
$ac_exeext conftest.
$ac_ext
12990 ac_res
=`eval echo '${'$as_ac_var'}'`
12991 { echo "$as_me:$LINENO: result: $ac_res" >&5
12992 echo "${ECHO_T}$ac_res" >&6; }
12993 if test `eval echo '${'$as_ac_var'}'` = yes; then
12994 cat >>confdefs.h
<<_ACEOF
12995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13001 LIBS
="$ac_save_LIBS"
13002 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
13003 case "x$with_curses" in
13004 x
) wine_notices
="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
13006 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
13007 This is an error since --with-curses was requested." >&5
13008 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
13009 This is an error since --with-curses was requested." >&2;}
13010 { (exit 1); exit 1; }; } ;;
13015 # Extract the first word of "sane-config", so it can be a program name with args.
13016 set dummy sane-config
; ac_word
=$2
13017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13019 if test "${ac_cv_prog_sane_devel+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 if test -n "$sane_devel"; then
13023 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
13025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13026 for as_dir
in $PATH
13029 test -z "$as_dir" && as_dir
=.
13030 for ac_exec_ext
in '' $ac_executable_extensions; do
13031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13032 ac_cv_prog_sane_devel
="sane-config"
13033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13040 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
13043 sane_devel
=$ac_cv_prog_sane_devel
13044 if test -n "$sane_devel"; then
13045 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13046 echo "${ECHO_T}$sane_devel" >&6; }
13048 { echo "$as_me:$LINENO: result: no" >&5
13049 echo "${ECHO_T}no" >&6; }
13053 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13055 ac_sane_incl
="`$sane_devel --cflags`"
13056 ac_sane_libs
="`$sane_devel --ldflags`"
13057 ac_save_CPPFLAGS
="$CPPFLAGS"
13058 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
13059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13060 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13061 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13062 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13065 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13066 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13068 # Is the header compilable?
13069 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13070 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13071 cat >conftest.
$ac_ext <<_ACEOF
13074 cat confdefs.h
>>conftest.
$ac_ext
13075 cat >>conftest.
$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077 $ac_includes_default
13078 #include <sane/sane.h>
13080 rm -f conftest.
$ac_objext
13081 if { (ac_try
="$ac_compile"
13082 case "(($ac_try" in
13083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13084 *) ac_try_echo=$ac_try;;
13086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13087 (eval "$ac_compile") 2>conftest.er1
13089 grep -v '^ *+' conftest.er1 >conftest.err
13091 cat conftest.err >&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); } && {
13094 test -z "$ac_c_werror_flag" ||
13095 test ! -s conftest.err
13096 } && test -s conftest.$ac_objext; then
13097 ac_header_compiler=yes
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.$ac_ext >&5
13102 ac_header_compiler=no
13105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13107 echo "${ECHO_T}$ac_header_compiler" >&6; }
13109 # Is the header present?
13110 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13111 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13112 cat >conftest.$ac_ext <<_ACEOF
13115 cat confdefs.h >>conftest.$ac_ext
13116 cat >>conftest.$ac_ext <<_ACEOF
13117 /* end confdefs.h. */
13118 #include <sane/sane.h>
13120 if { (ac_try="$ac_cpp conftest.$ac_ext"
13121 case "(($ac_try" in
13122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13123 *) ac_try_echo
=$ac_try;;
13125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13128 grep -v '^ *+' conftest.er1
>conftest.err
13130 cat conftest.err
>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } >/dev
/null
&& {
13133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13134 test ! -s conftest.err
13136 ac_header_preproc
=yes
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.
$ac_ext >&5
13141 ac_header_preproc
=no
13144 rm -f conftest.err conftest.
$ac_ext
13145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13146 echo "${ECHO_T}$ac_header_preproc" >&6; }
13148 # So? What about this header?
13149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13152 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13154 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13155 ac_header_preproc
=yes
13158 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13159 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13160 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13161 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13163 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13164 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13165 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13167 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13168 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13169 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13171 ## ------------------------------------ ##
13172 ## Report this to wine-devel@winehq.org ##
13173 ## ------------------------------------ ##
13175 ) |
sed "s/^/$as_me: WARNING: /" >&2
13178 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13179 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13180 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13183 ac_cv_header_sane_sane_h
=$ac_header_preproc
13185 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13186 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13189 if test $ac_cv_header_sane_sane_h = yes; then
13190 { echo "$as_me:$LINENO: checking for -lsane" >&5
13191 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13192 if test "${ac_cv_lib_soname_sane+set}" = set; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13195 ac_check_soname_save_LIBS
=$LIBS
13196 LIBS
="-lsane $ac_sane_libs $LIBS"
13197 cat >conftest.
$ac_ext <<_ACEOF
13200 cat confdefs.h
>>conftest.
$ac_ext
13201 cat >>conftest.
$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13214 return sane_init ();
13219 rm -f conftest.
$ac_objext conftest
$ac_exeext
13220 if { (ac_try
="$ac_link"
13221 case "(($ac_try" in
13222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13223 *) ac_try_echo=$ac_try;;
13225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13226 (eval "$ac_link") 2>conftest.er1
13228 grep -v '^ *+' conftest.er1 >conftest.err
13230 cat conftest.err >&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } && {
13233 test -z "$ac_c_werror_flag" ||
13234 test ! -s conftest.err
13235 } && test -s conftest$ac_exeext &&
13236 $as_test_x conftest$ac_exeext; then
13239 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'` ;;
13240 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.$ac_ext >&5
13249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13250 conftest$ac_exeext conftest.$ac_ext
13251 LIBS=$ac_check_soname_save_LIBS
13253 if test "x$ac_cv_lib_soname_sane" = "x"; then
13254 { echo "$as_me:$LINENO: result: not found" >&5
13255 echo "${ECHO_T}not found" >&6; }
13258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13259 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13261 cat >>confdefs.h <<_ACEOF
13262 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13265 SANEINCL="$ac_sane_incl"
13272 CPPFLAGS="$ac_save_CPPFLAGS"
13274 if test "x$ac_cv_lib_soname_sane" = "x"; then
13275 case "x$with_sane" in
13276 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13278 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13279 This is an error since --with-sane was requested." >&5
13280 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13281 This is an error since --with-sane was requested." >&2;}
13282 { (exit 1); exit 1; }; } ;;
13287 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13288 set dummy gphoto2-config; ac_word=$2
13289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13291 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 if test -n "$gphoto2_devel"; then
13295 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13298 for as_dir in $PATH
13301 test -z "$as_dir" && as_dir=.
13302 for ac_exec_ext in '' $ac_executable_extensions; do
13303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13304 ac_cv_prog_gphoto2_devel="gphoto2-config"
13305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13312 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13315 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13316 if test -n "$gphoto2_devel"; then
13317 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13318 echo "${ECHO_T}$gphoto2_devel" >&6; }
13320 { echo "$as_me:$LINENO: result: no" >&5
13321 echo "${ECHO_T}no" >&6; }
13325 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13326 set dummy gphoto2-port-config; ac_word=$2
13327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13329 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13330 echo $ECHO_N "(cached) $ECHO_C" >&6
13332 if test -n "$gphoto2port_devel"; then
13333 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13336 for as_dir in $PATH
13339 test -z "$as_dir" && as_dir=.
13340 for ac_exec_ext in '' $ac_executable_extensions; do
13341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13342 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13350 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13353 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13354 if test -n "$gphoto2port_devel"; then
13355 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13356 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13358 { echo "$as_me:$LINENO: result: no" >&5
13359 echo "${ECHO_T}no" >&6; }
13363 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13365 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13367 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13370 -L/usr/lib|-L/usr/lib64) ;;
13371 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13374 ac_save_CPPFLAGS="$CPPFLAGS"
13375 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13376 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13377 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13378 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13379 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13383 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13385 # Is the header compilable?
13386 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13387 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13388 cat >conftest.$ac_ext <<_ACEOF
13391 cat confdefs.h >>conftest.$ac_ext
13392 cat >>conftest.$ac_ext <<_ACEOF
13393 /* end confdefs.h. */
13394 $ac_includes_default
13395 #include <gphoto2-camera.h>
13397 rm -f conftest.$ac_objext
13398 if { (ac_try="$ac_compile"
13399 case "(($ac_try" in
13400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13401 *) ac_try_echo
=$ac_try;;
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_compile") 2>conftest.er1
13406 grep -v '^ *+' conftest.er1
>conftest.err
13408 cat conftest.err
>&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } && {
13411 test -z "$ac_c_werror_flag" ||
13412 test ! -s conftest.err
13413 } && test -s conftest.
$ac_objext; then
13414 ac_header_compiler
=yes
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.
$ac_ext >&5
13419 ac_header_compiler
=no
13422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13424 echo "${ECHO_T}$ac_header_compiler" >&6; }
13426 # Is the header present?
13427 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13428 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13429 cat >conftest.
$ac_ext <<_ACEOF
13432 cat confdefs.h
>>conftest.
$ac_ext
13433 cat >>conftest.
$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13435 #include <gphoto2-camera.h>
13437 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13438 case "(($ac_try" in
13439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13440 *) ac_try_echo=$ac_try;;
13442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13445 grep -v '^ *+' conftest.er1 >conftest.err
13447 cat conftest.err >&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } >/dev/null && {
13450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13451 test ! -s conftest.err
13453 ac_header_preproc=yes
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13458 ac_header_preproc=no
13461 rm -f conftest.err conftest.$ac_ext
13462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13463 echo "${ECHO_T}$ac_header_preproc" >&6; }
13465 # So? What about this header?
13466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13468 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13469 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13470 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13471 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13472 ac_header_preproc=yes
13475 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13476 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13477 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13478 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13480 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13481 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13482 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13484 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13485 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13486 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13488 ## ------------------------------------ ##
13489 ## Report this to wine-devel@winehq.org ##
13490 ## ------------------------------------ ##
13492 ) | sed "s/^/$as_me: WARNING: /" >&2
13495 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13496 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13497 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13502 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13503 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13506 if test $ac_cv_header_gphoto2_camera_h = yes; then
13507 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13508 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13509 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 ac_check_lib_save_LIBS=$LIBS
13513 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
13514 cat >conftest.$ac_ext <<_ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13521 /* Override any GCC internal prototype to avoid an error.
13522 Use char because int might match the return type of a GCC
13523 builtin and then its argument prototype would still apply. */
13527 char gp_camera_new ();
13531 return gp_camera_new ();
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (ac_try="$ac_link"
13538 case "(($ac_try" in
13539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13540 *) ac_try_echo
=$ac_try;;
13542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13543 (eval "$ac_link") 2>conftest.er1
13545 grep -v '^ *+' conftest.er1
>conftest.err
13547 cat conftest.err
>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } && {
13550 test -z "$ac_c_werror_flag" ||
13551 test ! -s conftest.err
13552 } && test -s conftest
$ac_exeext &&
13553 $as_test_x conftest
$ac_exeext; then
13554 ac_cv_lib_gphoto2_gp_camera_new
=yes
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.
$ac_ext >&5
13559 ac_cv_lib_gphoto2_gp_camera_new
=no
13562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13563 conftest
$ac_exeext conftest.
$ac_ext
13564 LIBS
=$ac_check_lib_save_LIBS
13566 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13567 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13568 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13570 cat >>confdefs.h
<<\_ACEOF
13571 #define HAVE_GPHOTO2 1
13574 GPHOTO2LIBS
="$ac_gphoto2_libs"
13576 GPHOTO2INCL
="$ac_gphoto2_incl"
13583 CPPFLAGS
="$ac_save_CPPFLAGS"
13585 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13586 case "x$with_gphoto" in
13587 x
) wine_notices
="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13589 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13590 This is an error since --with-gphoto was requested." >&5
13591 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13592 This is an error since --with-gphoto was requested." >&2;}
13593 { (exit 1); exit 1; }; } ;;
13601 if test "$ac_cv_header_resolv_h" = "yes"
13603 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13604 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13605 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 ac_check_lib_save_LIBS
=$LIBS
13609 LIBS
="-lresolv $LIBS"
13610 cat >conftest.
$ac_ext <<_ACEOF
13613 cat confdefs.h
>>conftest.
$ac_ext
13614 cat >>conftest.
$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13627 return res_query ();
13632 rm -f conftest.
$ac_objext conftest
$ac_exeext
13633 if { (ac_try
="$ac_link"
13634 case "(($ac_try" in
13635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_link") 2>conftest.er1
13641 grep -v '^ *+' conftest.er1 >conftest.err
13643 cat conftest.err >&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } && {
13646 test -z "$ac_c_werror_flag" ||
13647 test ! -s conftest.err
13648 } && test -s conftest$ac_exeext &&
13649 $as_test_x conftest$ac_exeext; then
13650 ac_cv_lib_resolv_res_query=yes
13652 echo "$as_me: failed program was:" >&5
13653 sed 's/^/| /' conftest.$ac_ext >&5
13655 ac_cv_lib_resolv_res_query=no
13658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13659 conftest$ac_exeext conftest.$ac_ext
13660 LIBS=$ac_check_lib_save_LIBS
13662 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13663 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13664 if test $ac_cv_lib_resolv_res_query = yes; then
13666 cat >>confdefs.h <<\_ACEOF
13667 #define HAVE_RESOLV 1
13670 RESOLVLIBS="-lresolv"
13677 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13679 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13680 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13681 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 ac_check_lib_save_LIBS=$LIBS
13685 LIBS="-llcms $LIBS"
13686 cat >conftest.$ac_ext <<_ACEOF
13689 cat confdefs.h >>conftest.$ac_ext
13690 cat >>conftest.$ac_ext <<_ACEOF
13691 /* end confdefs.h. */
13693 /* Override any GCC internal prototype to avoid an error.
13694 Use char because int might match the return type of a GCC
13695 builtin and then its argument prototype would still apply. */
13699 char cmsOpenProfileFromFile ();
13703 return cmsOpenProfileFromFile ();
13708 rm -f conftest.$ac_objext conftest$ac_exeext
13709 if { (ac_try="$ac_link"
13710 case "(($ac_try" in
13711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13712 *) ac_try_echo
=$ac_try;;
13714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13715 (eval "$ac_link") 2>conftest.er1
13717 grep -v '^ *+' conftest.er1
>conftest.err
13719 cat conftest.err
>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } && {
13722 test -z "$ac_c_werror_flag" ||
13723 test ! -s conftest.err
13724 } && test -s conftest
$ac_exeext &&
13725 $as_test_x conftest
$ac_exeext; then
13726 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
13728 echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.
$ac_ext >&5
13731 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
13734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13735 conftest
$ac_exeext conftest.
$ac_ext
13736 LIBS
=$ac_check_lib_save_LIBS
13738 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13739 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13740 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13742 cat >>confdefs.h
<<\_ACEOF
13743 #define HAVE_LCMS 1
13750 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13751 case "x$with_cms" in
13752 x
) wine_notices
="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13754 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13755 This is an error since --with-cms was requested." >&5
13756 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13757 This is an error since --with-cms was requested." >&2;}
13758 { (exit 1); exit 1; }; } ;;
13763 for ac_prog
in freetype-config freetype2-config
13765 # Extract the first word of "$ac_prog", so it can be a program name with args.
13766 set dummy
$ac_prog; ac_word
=$2
13767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13769 if test "${ac_cv_prog_ft_devel+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 if test -n "$ft_devel"; then
13773 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13776 for as_dir
in $PATH
13779 test -z "$as_dir" && as_dir
=.
13780 for ac_exec_ext
in '' $ac_executable_extensions; do
13781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13782 ac_cv_prog_ft_devel
="$ac_prog"
13783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13792 ft_devel
=$ac_cv_prog_ft_devel
13793 if test -n "$ft_devel"; then
13794 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13795 echo "${ECHO_T}$ft_devel" >&6; }
13797 { echo "$as_me:$LINENO: result: no" >&5
13798 echo "${ECHO_T}no" >&6; }
13802 test -n "$ft_devel" && break
13804 test -n "$ft_devel" || ft_devel
="false"
13806 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13808 ac_freetype_libs
=`$ft_devel --libs`
13809 ac_freetype_incl
=`$ft_devel --cflags`
13810 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13811 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13812 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 ac_check_soname_save_LIBS
=$LIBS
13816 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13817 cat >conftest.
$ac_ext <<_ACEOF
13820 cat confdefs.h
>>conftest.
$ac_ext
13821 cat >>conftest.
$ac_ext <<_ACEOF
13822 /* end confdefs.h. */
13824 /* Override any GCC internal prototype to avoid an error.
13825 Use char because int might match the return type of a GCC
13826 builtin and then its argument prototype would still apply. */
13830 char FT_Init_FreeType ();
13834 return FT_Init_FreeType ();
13839 rm -f conftest.
$ac_objext conftest
$ac_exeext
13840 if { (ac_try
="$ac_link"
13841 case "(($ac_try" in
13842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13843 *) ac_try_echo=$ac_try;;
13845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13846 (eval "$ac_link") 2>conftest.er1
13848 grep -v '^ *+' conftest.er1 >conftest.err
13850 cat conftest.err >&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } && {
13853 test -z "$ac_c_werror_flag" ||
13854 test ! -s conftest.err
13855 } && test -s conftest$ac_exeext &&
13856 $as_test_x conftest$ac_exeext; then
13859 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'` ;;
13860 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS=$ac_check_soname_save_LIBS
13873 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13874 { echo "$as_me:$LINENO: result: not found" >&5
13875 echo "${ECHO_T}not found" >&6; }
13878 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13879 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13881 cat >>confdefs.h <<_ACEOF
13882 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13888 if test "$ft_lib" = "yes"
13890 ac_save_CPPFLAGS="$CPPFLAGS"
13891 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13904 for ac_header in ft2build.h \
13905 freetype/freetype.h \
13906 freetype/ftglyph.h \
13907 freetype/fttypes.h \
13908 freetype/tttables.h \
13909 freetype/ftnames.h \
13910 freetype/ftsnames.h \
13911 freetype/ttnameid.h \
13912 freetype/ftoutln.h \
13913 freetype/ftwinfnt.h \
13914 freetype/ftmodapi.h \
13915 freetype/internal/sfnt.h
13917 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13923 cat >conftest.$ac_ext <<_ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 #ifdef HAVE_FT2BUILD_H
13930 # include <ft2build.h>
13933 #include <$ac_header>
13935 rm -f conftest.$ac_objext
13936 if { (ac_try="$ac_compile"
13937 case "(($ac_try" in
13938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13939 *) ac_try_echo
=$ac_try;;
13941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13942 (eval "$ac_compile") 2>conftest.er1
13944 grep -v '^ *+' conftest.er1
>conftest.err
13946 cat conftest.err
>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } && {
13949 test -z "$ac_c_werror_flag" ||
13950 test ! -s conftest.err
13951 } && test -s conftest.
$ac_objext; then
13952 eval "$as_ac_Header=yes"
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.
$ac_ext >&5
13957 eval "$as_ac_Header=no"
13960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13962 ac_res
=`eval echo '${'$as_ac_Header'}'`
13963 { echo "$as_me:$LINENO: result: $ac_res" >&5
13964 echo "${ECHO_T}$ac_res" >&6; }
13965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13966 cat >>confdefs.h
<<_ACEOF
13967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13974 cat >conftest.
$ac_ext <<_ACEOF
13977 cat confdefs.h
>>conftest.
$ac_ext
13978 cat >>conftest.
$ac_ext <<_ACEOF
13979 /* end confdefs.h. */
13980 #include <ft2build.h>
13981 #include <freetype/fttrigon.h>
13983 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13984 case "(($ac_try" in
13985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13986 *) ac_try_echo=$ac_try;;
13988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13991 grep -v '^ *+' conftest.er1 >conftest.err
13993 cat conftest.err >&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); } >/dev/null && {
13996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13997 test ! -s conftest.err
14000 cat >>confdefs.h <<\_ACEOF
14001 #define HAVE_FREETYPE_FTTRIGON_H 1
14004 wine_cv_fttrigon=yes
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14009 wine_cv_fttrigon=no
14012 rm -f conftest.err conftest.$ac_ext
14013 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14014 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14015 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 cat >conftest.$ac_ext <<_ACEOF
14021 cat confdefs.h >>conftest.$ac_ext
14022 cat >>conftest.$ac_ext <<_ACEOF
14023 /* end confdefs.h. */
14024 #include <freetype/ftmodapi.h>
14026 typedef FT_TrueTypeEngineType ac__type_new_;
14030 if ((ac__type_new_ *) 0)
14032 if (sizeof (ac__type_new_))
14038 rm -f conftest.$ac_objext
14039 if { (ac_try="$ac_compile"
14040 case "(($ac_try" in
14041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14042 *) ac_try_echo
=$ac_try;;
14044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14045 (eval "$ac_compile") 2>conftest.er1
14047 grep -v '^ *+' conftest.er1
>conftest.err
14049 cat conftest.err
>&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); } && {
14052 test -z "$ac_c_werror_flag" ||
14053 test ! -s conftest.err
14054 } && test -s conftest.
$ac_objext; then
14055 ac_cv_type_FT_TrueTypeEngineType
=yes
14057 echo "$as_me: failed program was:" >&5
14058 sed 's/^/| /' conftest.
$ac_ext >&5
14060 ac_cv_type_FT_TrueTypeEngineType
=no
14063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14065 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14066 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14067 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14069 cat >>confdefs.h
<<_ACEOF
14070 #define HAVE_FT_TRUETYPEENGINETYPE 1
14076 ac_save_CFLAGS
="$CFLAGS"
14077 CFLAGS
="$CFLAGS $ac_freetype_libs"
14079 for ac_func
in FT_Load_Sfnt_Table
14081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14082 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14084 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 cat >conftest.
$ac_ext <<_ACEOF
14090 cat confdefs.h
>>conftest.
$ac_ext
14091 cat >>conftest.
$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14095 #define $ac_func innocuous_$ac_func
14097 /* System header to define __stub macros and hopefully few prototypes,
14098 which can conflict with char $ac_func (); below.
14099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14100 <limits.h> exists even on freestanding compilers. */
14103 # include <limits.h>
14105 # include <assert.h>
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14117 /* The GNU C library defines this for functions which it implements
14118 to always fail with ENOSYS. Some functions are actually named
14119 something starting with __ and the normal name is an alias. */
14120 #if defined __stub_$ac_func || defined __stub___$ac_func
14127 return $ac_func ();
14132 rm -f conftest.
$ac_objext conftest
$ac_exeext
14133 if { (ac_try
="$ac_link"
14134 case "(($ac_try" in
14135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14136 *) ac_try_echo=$ac_try;;
14138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14139 (eval "$ac_link") 2>conftest.er1
14141 grep -v '^ *+' conftest.er1 >conftest.err
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } && {
14146 test -z "$ac_c_werror_flag" ||
14147 test ! -s conftest.err
14148 } && test -s conftest$ac_exeext &&
14149 $as_test_x conftest$ac_exeext; then
14150 eval "$as_ac_var=yes"
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14155 eval "$as_ac_var=no"
14158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14159 conftest$ac_exeext conftest.$ac_ext
14161 ac_res=`eval echo '${'$as_ac_var'}'`
14162 { echo "$as_me:$LINENO: result: $ac_res" >&5
14163 echo "${ECHO_T}$ac_res" >&6; }
14164 if test `eval echo '${'$as_ac_var'}'` = yes; then
14165 cat >>confdefs.h <<_ACEOF
14166 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14172 CFLAGS="$ac_save_CFLAGS"
14173 CPPFLAGS="$ac_save_CPPFLAGS"
14174 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14177 cat >>confdefs.h <<\_ACEOF
14178 #define HAVE_FREETYPE 1
14181 FREETYPELIBS="$ac_freetype_libs"
14183 FREETYPEINCL="$ac_freetype_incl"
14185 FONTSSUBDIRS="fonts"
14190 if test "x$FREETYPELIBS" = "x"; then
14191 case "x$with_freetype" in
14193 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14194 Fonts will not be built. Dialog text may be invisible or unaligned.
14195 Use the --without-freetype option if you really want this." >&5
14196 echo "$as_me: error: FreeType development files not found.
14197 Fonts will not be built. Dialog text may be invisible or unaligned.
14198 Use the --without-freetype option if you really want this." >&2;}
14199 { (exit 1); exit 1; }; } ;;
14204 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14205 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14206 if test "${ac_cv_c_ppdev+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 cat >conftest.$ac_ext <<_ACEOF
14212 cat confdefs.h >>conftest.$ac_ext
14213 cat >>conftest.$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14215 #include <linux/ppdev.h>
14219 ioctl (1,PPCLAIM,0)
14224 rm -f conftest.$ac_objext
14225 if { (ac_try="$ac_compile"
14226 case "(($ac_try" in
14227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14228 *) ac_try_echo
=$ac_try;;
14230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14231 (eval "$ac_compile") 2>conftest.er1
14233 grep -v '^ *+' conftest.er1
>conftest.err
14235 cat conftest.err
>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } && {
14238 test -z "$ac_c_werror_flag" ||
14239 test ! -s conftest.err
14240 } && test -s conftest.
$ac_objext; then
14241 ac_cv_c_ppdev
="yes"
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14251 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14252 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14253 if test "$ac_cv_c_ppdev" = "yes"
14256 cat >>confdefs.h
<<\_ACEOF
14257 #define HAVE_PPDEV 1
14262 { echo "$as_me:$LINENO: checking for va_copy" >&5
14263 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14264 if test "${ac_cv_c_va_copy+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 cat >conftest.
$ac_ext <<_ACEOF
14270 cat confdefs.h
>>conftest.
$ac_ext
14271 cat >>conftest.
$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14273 #include <stdarg.h>
14277 va_list ap1, ap2; va_copy(ap1,ap2);
14282 rm -f conftest.
$ac_objext conftest
$ac_exeext
14283 if { (ac_try
="$ac_link"
14284 case "(($ac_try" in
14285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14286 *) ac_try_echo=$ac_try;;
14288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14289 (eval "$ac_link") 2>conftest.er1
14291 grep -v '^ *+' conftest.er1 >conftest.err
14293 cat conftest.err >&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } && {
14296 test -z "$ac_c_werror_flag" ||
14297 test ! -s conftest.err
14298 } && test -s conftest$ac_exeext &&
14299 $as_test_x conftest$ac_exeext; then
14300 ac_cv_c_va_copy="yes"
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14305 ac_cv_c_va_copy="no"
14308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14309 conftest$ac_exeext conftest.$ac_ext
14312 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14313 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14314 if test "$ac_cv_c_va_copy" = "yes"
14317 cat >>confdefs.h <<\_ACEOF
14318 #define HAVE_VA_COPY 1
14322 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14323 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14324 if test "${ac_cv_c___va_copy+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 cat >conftest.$ac_ext <<_ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 #include <stdarg.h>
14337 va_list ap1, ap2; __va_copy(ap1,ap2);
14342 rm -f conftest.$ac_objext conftest$ac_exeext
14343 if { (ac_try="$ac_link"
14344 case "(($ac_try" in
14345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14346 *) ac_try_echo
=$ac_try;;
14348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14349 (eval "$ac_link") 2>conftest.er1
14351 grep -v '^ *+' conftest.er1
>conftest.err
14353 cat conftest.err
>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } && {
14356 test -z "$ac_c_werror_flag" ||
14357 test ! -s conftest.err
14358 } && test -s conftest
$ac_exeext &&
14359 $as_test_x conftest
$ac_exeext; then
14360 ac_cv_c___va_copy
="yes"
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.
$ac_ext >&5
14365 ac_cv_c___va_copy
="no"
14368 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14369 conftest
$ac_exeext conftest.
$ac_ext
14372 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14373 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14374 if test "$ac_cv_c___va_copy" = "yes"
14377 cat >>confdefs.h
<<\_ACEOF
14378 #define HAVE___VA_COPY 1
14383 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14384 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14385 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14386 echo $ECHO_N "(cached) $ECHO_C" >&6
14388 cat >conftest.
$ac_ext <<_ACEOF
14391 cat confdefs.h
>>conftest.
$ac_ext
14392 cat >>conftest.
$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14394 #define _GNU_SOURCE
14395 #include <pthread.h>
14397 typedef pthread_rwlock_t ac__type_new_;
14401 if ((ac__type_new_ *) 0)
14403 if (sizeof (ac__type_new_))
14409 rm -f conftest.
$ac_objext
14410 if { (ac_try
="$ac_compile"
14411 case "(($ac_try" in
14412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14413 *) ac_try_echo=$ac_try;;
14415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14416 (eval "$ac_compile") 2>conftest.er1
14418 grep -v '^ *+' conftest.er1 >conftest.err
14420 cat conftest.err >&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } && {
14423 test -z "$ac_c_werror_flag" ||
14424 test ! -s conftest.err
14425 } && test -s conftest.$ac_objext; then
14426 ac_cv_type_pthread_rwlock_t=yes
14428 echo "$as_me: failed program was:" >&5
14429 sed 's/^/| /' conftest.$ac_ext >&5
14431 ac_cv_type_pthread_rwlock_t=no
14434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14436 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14437 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14438 if test $ac_cv_type_pthread_rwlock_t = yes; then
14440 cat >>confdefs.h <<_ACEOF
14441 #define HAVE_PTHREAD_RWLOCK_T 1
14446 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14447 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14448 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 cat >conftest.$ac_ext <<_ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 #define _GNU_SOURCE
14458 #include <pthread.h>
14460 typedef pthread_rwlockattr_t ac__type_new_;
14464 if ((ac__type_new_ *) 0)
14466 if (sizeof (ac__type_new_))
14472 rm -f conftest.$ac_objext
14473 if { (ac_try="$ac_compile"
14474 case "(($ac_try" in
14475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14476 *) ac_try_echo
=$ac_try;;
14478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14479 (eval "$ac_compile") 2>conftest.er1
14481 grep -v '^ *+' conftest.er1
>conftest.err
14483 cat conftest.err
>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && {
14486 test -z "$ac_c_werror_flag" ||
14487 test ! -s conftest.err
14488 } && test -s conftest.
$ac_objext; then
14489 ac_cv_type_pthread_rwlockattr_t
=yes
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.
$ac_ext >&5
14494 ac_cv_type_pthread_rwlockattr_t
=no
14497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14499 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14500 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14501 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14503 cat >>confdefs.h
<<_ACEOF
14504 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14511 ac_wine_check_funcs_save_LIBS
="$LIBS"
14512 LIBS
="$LIBS $LIBPTHREAD"
14518 pthread_attr_get_np \
14519 pthread_getattr_np \
14520 pthread_get_stackaddr_np \
14521 pthread_get_stacksize_np
14523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14524 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14526 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 cat >conftest.
$ac_ext <<_ACEOF
14532 cat confdefs.h
>>conftest.
$ac_ext
14533 cat >>conftest.
$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14537 #define $ac_func innocuous_$ac_func
14539 /* System header to define __stub macros and hopefully few prototypes,
14540 which can conflict with char $ac_func (); below.
14541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14542 <limits.h> exists even on freestanding compilers. */
14545 # include <limits.h>
14547 # include <assert.h>
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14559 /* The GNU C library defines this for functions which it implements
14560 to always fail with ENOSYS. Some functions are actually named
14561 something starting with __ and the normal name is an alias. */
14562 #if defined __stub_$ac_func || defined __stub___$ac_func
14569 return $ac_func ();
14574 rm -f conftest.
$ac_objext conftest
$ac_exeext
14575 if { (ac_try
="$ac_link"
14576 case "(($ac_try" in
14577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14578 *) ac_try_echo=$ac_try;;
14580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14581 (eval "$ac_link") 2>conftest.er1
14583 grep -v '^ *+' conftest.er1 >conftest.err
14585 cat conftest.err >&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } && {
14588 test -z "$ac_c_werror_flag" ||
14589 test ! -s conftest.err
14590 } && test -s conftest$ac_exeext &&
14591 $as_test_x conftest$ac_exeext; then
14592 eval "$as_ac_var=yes"
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 eval "$as_ac_var=no"
14600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14601 conftest$ac_exeext conftest.$ac_ext
14603 ac_res=`eval echo '${'$as_ac_var'}'`
14604 { echo "$as_me:$LINENO: result: $ac_res" >&5
14605 echo "${ECHO_T}$ac_res" >&6; }
14606 if test `eval echo '${'$as_ac_var'}'` = yes; then
14607 cat >>confdefs.h <<_ACEOF
14608 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14614 LIBS="$ac_wine_check_funcs_save_LIBS"
14616 # Extract the first word of "esd-config", so it can be a program name with args.
14617 set dummy esd-config; ac_word=$2
14618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14620 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14629 for as_dir in $PATH
14632 test -z "$as_dir" && as_dir=.
14633 for ac_exec_ext in '' $ac_executable_extensions; do
14634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14635 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14646 ESDCONFIG=$ac_cv_path_ESDCONFIG
14647 if test -n "$ESDCONFIG"; then
14648 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14649 echo "${ECHO_T}$ESDCONFIG" >&6; }
14651 { echo "$as_me:$LINENO: result: no" >&5
14652 echo "${ECHO_T}no" >&6; }
14656 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14659 for i in `$ESDCONFIG --cflags`
14662 -I*) ac_esd_incl="$ac_esd_incl $i";;
14665 ac_esd_libs=`$ESDCONFIG --libs`
14666 save_CFLAGS="$CFLAGS"
14667 CFLAGS="$CFLAGS $ac_esd_incl"
14668 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14669 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14670 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 ac_check_lib_save_LIBS=$LIBS
14674 LIBS="-lesd $ac_esd_libs $LIBS"
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14688 char esd_open_sound ();
14692 return esd_open_sound ();
14697 rm -f conftest.$ac_objext conftest$ac_exeext
14698 if { (ac_try="$ac_link"
14699 case "(($ac_try" in
14700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14701 *) ac_try_echo
=$ac_try;;
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link") 2>conftest.er1
14706 grep -v '^ *+' conftest.er1
>conftest.err
14708 cat conftest.err
>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } && {
14711 test -z "$ac_c_werror_flag" ||
14712 test ! -s conftest.err
14713 } && test -s conftest
$ac_exeext &&
14714 $as_test_x conftest
$ac_exeext; then
14715 ac_cv_lib_esd_esd_open_sound
=yes
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.
$ac_ext >&5
14720 ac_cv_lib_esd_esd_open_sound
=no
14723 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14724 conftest
$ac_exeext conftest.
$ac_ext
14725 LIBS
=$ac_check_lib_save_LIBS
14727 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14728 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14729 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14730 ESDINCL
="$ac_esd_incl"
14732 ESDLIBS
="$ac_esd_libs"
14735 cat >>confdefs.h
<<\_ACEOF
14741 CFLAGS
="$save_CFLAGS"
14746 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14748 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14749 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14750 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 ac_check_lib_save_LIBS
=$LIBS
14754 LIBS
="-lasound $LIBS"
14755 cat >conftest.
$ac_ext <<_ACEOF
14758 cat confdefs.h
>>conftest.
$ac_ext
14759 cat >>conftest.
$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14768 char snd_pcm_hw_params_get_access ();
14772 return snd_pcm_hw_params_get_access ();
14777 rm -f conftest.
$ac_objext conftest
$ac_exeext
14778 if { (ac_try
="$ac_link"
14779 case "(($ac_try" in
14780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_link") 2>conftest.er1
14786 grep -v '^ *+' conftest.er1 >conftest.err
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } && {
14791 test -z "$ac_c_werror_flag" ||
14792 test ! -s conftest.err
14793 } && test -s conftest$ac_exeext &&
14794 $as_test_x conftest$ac_exeext; then
14795 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14800 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14804 conftest$ac_exeext conftest.$ac_ext
14805 LIBS=$ac_check_lib_save_LIBS
14807 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14808 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14809 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14810 cat >conftest.$ac_ext <<_ACEOF
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 #ifdef HAVE_ALSA_ASOUNDLIB_H
14817 #include <alsa/asoundlib.h>
14818 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14819 #include <sys/asoundlib.h>
14824 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14829 rm -f conftest.$ac_objext
14830 if { (ac_try="$ac_compile"
14831 case "(($ac_try" in
14832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14833 *) ac_try_echo
=$ac_try;;
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_compile") 2>conftest.er1
14838 grep -v '^ *+' conftest.er1
>conftest.err
14840 cat conftest.err
>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } && {
14843 test -z "$ac_c_werror_flag" ||
14844 test ! -s conftest.err
14845 } && test -s conftest.
$ac_objext; then
14847 cat >>confdefs.h
<<\_ACEOF
14848 #define HAVE_ALSA 1
14851 ALSALIBS
="-lasound"
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.
$ac_ext >&5
14859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14866 if test "$ac_cv_header_libaudioio_h" = "yes"
14868 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14869 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14870 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 ac_check_lib_save_LIBS
=$LIBS
14874 LIBS
="-laudioio $LIBS"
14875 cat >conftest.
$ac_ext <<_ACEOF
14878 cat confdefs.h
>>conftest.
$ac_ext
14879 cat >>conftest.
$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14888 char AudioIOGetVersion ();
14892 return AudioIOGetVersion ();
14897 rm -f conftest.
$ac_objext conftest
$ac_exeext
14898 if { (ac_try
="$ac_link"
14899 case "(($ac_try" in
14900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14901 *) ac_try_echo=$ac_try;;
14903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14904 (eval "$ac_link") 2>conftest.er1
14906 grep -v '^ *+' conftest.er1 >conftest.err
14908 cat conftest.err >&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } && {
14911 test -z "$ac_c_werror_flag" ||
14912 test ! -s conftest.err
14913 } && test -s conftest$ac_exeext &&
14914 $as_test_x conftest$ac_exeext; then
14915 ac_cv_lib_audioio_AudioIOGetVersion=yes
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.$ac_ext >&5
14920 ac_cv_lib_audioio_AudioIOGetVersion=no
14923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14928 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14929 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14930 AUDIOIOLIBS="-laudioio"
14932 cat >>confdefs.h <<\_ACEOF
14933 #define HAVE_LIBAUDIOIO 1
14941 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14943 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14944 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14945 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 ac_check_soname_save_LIBS=$LIBS
14949 LIBS="-lcapi20 $LIBS"
14950 cat >conftest.$ac_ext <<_ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14963 char capi20_register ();
14967 return capi20_register ();
14972 rm -f conftest.$ac_objext conftest$ac_exeext
14973 if { (ac_try="$ac_link"
14974 case "(($ac_try" in
14975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14976 *) ac_try_echo
=$ac_try;;
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_link") 2>conftest.er1
14981 grep -v '^ *+' conftest.er1
>conftest.err
14983 cat conftest.err
>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest
$ac_exeext &&
14989 $as_test_x conftest
$ac_exeext; then
14992 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'` ;;
14993 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
15002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15003 conftest
$ac_exeext conftest.
$ac_ext
15004 LIBS
=$ac_check_soname_save_LIBS
15006 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15007 { echo "$as_me:$LINENO: result: not found" >&5
15008 echo "${ECHO_T}not found" >&6; }
15011 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15012 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15014 cat >>confdefs.h
<<_ACEOF
15015 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15022 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15023 case "x$with_capi" in
15024 x
) wine_notices
="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15026 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15027 This is an error since --with-capi was requested." >&5
15028 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15029 This is an error since --with-capi was requested." >&2;}
15030 { (exit 1); exit 1; }; } ;;
15037 if test "x$with_cups" != "xno"
15039 ac_save_CPPFLAGS
="$CPPFLAGS"
15040 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
15041 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
15042 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
15044 for ac_header
in cups
/cups.h
15046 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15047 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15050 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15051 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 ac_res
=`eval echo '${'$as_ac_Header'}'`
15054 { echo "$as_me:$LINENO: result: $ac_res" >&5
15055 echo "${ECHO_T}$ac_res" >&6; }
15057 # Is the header compilable?
15058 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15060 cat >conftest.
$ac_ext <<_ACEOF
15063 cat confdefs.h
>>conftest.
$ac_ext
15064 cat >>conftest.
$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15066 $ac_includes_default
15067 #include <$ac_header>
15069 rm -f conftest.
$ac_objext
15070 if { (ac_try
="$ac_compile"
15071 case "(($ac_try" in
15072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_compile") 2>conftest.er1
15078 grep -v '^ *+' conftest.er1 >conftest.err
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } && {
15083 test -z "$ac_c_werror_flag" ||
15084 test ! -s conftest.err
15085 } && test -s conftest.$ac_objext; then
15086 ac_header_compiler=yes
15088 echo "$as_me: failed program was:" >&5
15089 sed 's/^/| /' conftest.$ac_ext >&5
15091 ac_header_compiler=no
15094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15095 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15096 echo "${ECHO_T}$ac_header_compiler" >&6; }
15098 # Is the header present?
15099 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15101 cat >conftest.$ac_ext <<_ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15107 #include <$ac_header>
15109 if { (ac_try="$ac_cpp conftest.$ac_ext"
15110 case "(($ac_try" in
15111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15112 *) ac_try_echo
=$ac_try;;
15114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15117 grep -v '^ *+' conftest.er1
>conftest.err
15119 cat conftest.err
>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } >/dev
/null
&& {
15122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15123 test ! -s conftest.err
15125 ac_header_preproc
=yes
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.
$ac_ext >&5
15130 ac_header_preproc
=no
15133 rm -f conftest.err conftest.
$ac_ext
15134 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15135 echo "${ECHO_T}$ac_header_preproc" >&6; }
15137 # So? What about this header?
15138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15144 ac_header_preproc
=yes
15147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15160 ## ------------------------------------ ##
15161 ## Report this to wine-devel@winehq.org ##
15162 ## ------------------------------------ ##
15164 ) |
sed "s/^/$as_me: WARNING: /" >&2
15167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15169 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 eval "$as_ac_Header=\$ac_header_preproc"
15174 ac_res
=`eval echo '${'$as_ac_Header'}'`
15175 { echo "$as_me:$LINENO: result: $ac_res" >&5
15176 echo "${ECHO_T}$ac_res" >&6; }
15179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15180 cat >>confdefs.h
<<_ACEOF
15181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15183 { echo "$as_me:$LINENO: checking for -lcups" >&5
15184 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15185 if test "${ac_cv_lib_soname_cups+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 ac_check_soname_save_LIBS
=$LIBS
15189 LIBS
="-lcups $ac_cups_libs $LIBS"
15190 cat >conftest.
$ac_ext <<_ACEOF
15193 cat confdefs.h
>>conftest.
$ac_ext
15194 cat >>conftest.
$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15203 char cupsGetDefault ();
15207 return cupsGetDefault ();
15212 rm -f conftest.
$ac_objext conftest
$ac_exeext
15213 if { (ac_try
="$ac_link"
15214 case "(($ac_try" in
15215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15216 *) ac_try_echo=$ac_try;;
15218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15219 (eval "$ac_link") 2>conftest.er1
15221 grep -v '^ *+' conftest.er1 >conftest.err
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && {
15226 test -z "$ac_c_werror_flag" ||
15227 test ! -s conftest.err
15228 } && test -s conftest$ac_exeext &&
15229 $as_test_x conftest$ac_exeext; then
15232 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'` ;;
15233 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15243 conftest$ac_exeext conftest.$ac_ext
15244 LIBS=$ac_check_soname_save_LIBS
15246 if test "x$ac_cv_lib_soname_cups" = "x"; then
15247 { echo "$as_me:$LINENO: result: not found" >&5
15248 echo "${ECHO_T}not found" >&6; }
15251 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15252 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15254 cat >>confdefs.h <<_ACEOF
15255 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15258 CUPSINCL="$ac_cups_cflags"
15265 CPPFLAGS="$ac_save_CPPFLAGS"
15267 if test "x$ac_cv_lib_soname_cups" = "x"; then
15268 case "x$with_cups" in
15269 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15271 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15272 This is an error since --with-cups was requested." >&5
15273 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15274 This is an error since --with-cups was requested." >&2;}
15275 { (exit 1); exit 1; }; } ;;
15280 if test "$ac_cv_header_jack_jack_h" = "yes"
15282 { echo "$as_me:$LINENO: checking for -ljack" >&5
15283 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15284 if test "${ac_cv_lib_soname_jack+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 ac_check_soname_save_LIBS=$LIBS
15288 LIBS="-ljack $LIBS"
15289 cat >conftest.$ac_ext <<_ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15302 char jack_client_new ();
15306 return jack_client_new ();
15311 rm -f conftest.$ac_objext conftest$ac_exeext
15312 if { (ac_try="$ac_link"
15313 case "(($ac_try" in
15314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15315 *) ac_try_echo
=$ac_try;;
15317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15318 (eval "$ac_link") 2>conftest.er1
15320 grep -v '^ *+' conftest.er1
>conftest.err
15322 cat conftest.err
>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } && {
15325 test -z "$ac_c_werror_flag" ||
15326 test ! -s conftest.err
15327 } && test -s conftest
$ac_exeext &&
15328 $as_test_x conftest
$ac_exeext; then
15331 dylib
) ac_cv_lib_soname_jack
=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15332 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.
$ac_ext >&5
15341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15342 conftest
$ac_exeext conftest.
$ac_ext
15343 LIBS
=$ac_check_soname_save_LIBS
15345 if test "x$ac_cv_lib_soname_jack" = "x"; then
15346 { echo "$as_me:$LINENO: result: not found" >&5
15347 echo "${ECHO_T}not found" >&6; }
15350 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15351 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15353 cat >>confdefs.h
<<_ACEOF
15354 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15362 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15364 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15365 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15366 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 ac_check_soname_save_LIBS
=$LIBS
15370 LIBS
="-lfontconfig $LIBS"
15371 cat >conftest.
$ac_ext <<_ACEOF
15374 cat confdefs.h
>>conftest.
$ac_ext
15375 cat >>conftest.
$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15378 /* Override any GCC internal prototype to avoid an error.
15379 Use char because int might match the return type of a GCC
15380 builtin and then its argument prototype would still apply. */
15393 rm -f conftest.
$ac_objext conftest
$ac_exeext
15394 if { (ac_try
="$ac_link"
15395 case "(($ac_try" in
15396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15397 *) ac_try_echo=$ac_try;;
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_link") 2>conftest.er1
15402 grep -v '^ *+' conftest.er1 >conftest.err
15404 cat conftest.err >&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } && {
15407 test -z "$ac_c_werror_flag" ||
15408 test ! -s conftest.err
15409 } && test -s conftest$ac_exeext &&
15410 $as_test_x conftest$ac_exeext; then
15413 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'` ;;
15414 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.$ac_ext >&5
15423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15424 conftest$ac_exeext conftest.$ac_ext
15425 LIBS=$ac_check_soname_save_LIBS
15427 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15428 { echo "$as_me:$LINENO: result: not found" >&5
15429 echo "${ECHO_T}not found" >&6; }
15432 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15433 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15435 cat >>confdefs.h <<_ACEOF
15436 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15442 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15444 ac_save_CPPFLAGS="$CPPFLAGS"
15445 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15446 $as_unset ac_cv_header_fontconfig_fontconfig_h
15448 for ac_header in fontconfig/fontconfig.h
15450 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 ac_res=`eval echo '${'$as_ac_Header'}'`
15458 { echo "$as_me:$LINENO: result: $ac_res" >&5
15459 echo "${ECHO_T}$ac_res" >&6; }
15461 # Is the header compilable?
15462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15464 cat >conftest.$ac_ext <<_ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470 $ac_includes_default
15471 #include <$ac_header>
15473 rm -f conftest.$ac_objext
15474 if { (ac_try="$ac_compile"
15475 case "(($ac_try" in
15476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15477 *) ac_try_echo
=$ac_try;;
15479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15480 (eval "$ac_compile") 2>conftest.er1
15482 grep -v '^ *+' conftest.er1
>conftest.err
15484 cat conftest.err
>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } && {
15487 test -z "$ac_c_werror_flag" ||
15488 test ! -s conftest.err
15489 } && test -s conftest.
$ac_objext; then
15490 ac_header_compiler
=yes
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.
$ac_ext >&5
15495 ac_header_compiler
=no
15498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15500 echo "${ECHO_T}$ac_header_compiler" >&6; }
15502 # Is the header present?
15503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15505 cat >conftest.
$ac_ext <<_ACEOF
15508 cat confdefs.h
>>conftest.
$ac_ext
15509 cat >>conftest.
$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 #include <$ac_header>
15513 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15514 case "(($ac_try" in
15515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15521 grep -v '^ *+' conftest.er1 >conftest.err
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } >/dev/null && {
15526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15529 ac_header_preproc=yes
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15534 ac_header_preproc=no
15537 rm -f conftest.err conftest.$ac_ext
15538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15539 echo "${ECHO_T}$ac_header_preproc" >&6; }
15541 # So? What about this header?
15542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15548 ac_header_preproc=yes
15551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15564 ## ------------------------------------ ##
15565 ## Report this to wine-devel@winehq.org ##
15566 ## ------------------------------------ ##
15568 ) | sed "s/^/$as_me: WARNING: /" >&2
15571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15576 eval "$as_ac_Header=\$ac_header_preproc"
15578 ac_res=`eval echo '${'$as_ac_Header'}'`
15579 { echo "$as_me:$LINENO: result: $ac_res" >&5
15580 echo "${ECHO_T}$ac_res" >&6; }
15583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15584 cat >>confdefs.h <<_ACEOF
15585 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15592 CPPFLAGS="$ac_save_CPPFLAGS"
15593 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15595 FONTCONFIGINCL="$X_CFLAGS"
15597 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15598 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15599 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15602 ac_check_soname_save_LIBS=$LIBS
15603 LIBS="-lfontconfig $X_LIBS $LIBS"
15604 cat >conftest.$ac_ext <<_ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15626 rm -f conftest.$ac_objext conftest$ac_exeext
15627 if { (ac_try="$ac_link"
15628 case "(($ac_try" in
15629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15630 *) ac_try_echo
=$ac_try;;
15632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15633 (eval "$ac_link") 2>conftest.er1
15635 grep -v '^ *+' conftest.er1
>conftest.err
15637 cat conftest.err
>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } && {
15640 test -z "$ac_c_werror_flag" ||
15641 test ! -s conftest.err
15642 } && test -s conftest
$ac_exeext &&
15643 $as_test_x conftest
$ac_exeext; then
15646 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'` ;;
15647 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.
$ac_ext >&5
15656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15657 conftest
$ac_exeext conftest.
$ac_ext
15658 LIBS
=$ac_check_soname_save_LIBS
15660 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15661 { echo "$as_me:$LINENO: result: not found" >&5
15662 echo "${ECHO_T}not found" >&6; }
15665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15666 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15668 cat >>confdefs.h
<<_ACEOF
15669 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15677 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15678 case "x$with_fontconfig" in
15679 x
) wine_notices
="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15681 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15682 This is an error since --with-fontconfig was requested." >&5
15683 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15684 This is an error since --with-fontconfig was requested." >&2;}
15685 { (exit 1); exit 1; }; } ;;
15690 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15692 { echo "$as_me:$LINENO: checking for -lssl" >&5
15693 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15694 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 ac_check_soname_save_LIBS
=$LIBS
15699 cat >conftest.
$ac_ext <<_ACEOF
15702 cat confdefs.h
>>conftest.
$ac_ext
15703 cat >>conftest.
$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15706 /* Override any GCC internal prototype to avoid an error.
15707 Use char because int might match the return type of a GCC
15708 builtin and then its argument prototype would still apply. */
15712 char SSL_library_init ();
15716 return SSL_library_init ();
15721 rm -f conftest.
$ac_objext conftest
$ac_exeext
15722 if { (ac_try
="$ac_link"
15723 case "(($ac_try" in
15724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_link") 2>conftest.er1
15730 grep -v '^ *+' conftest.er1 >conftest.err
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest$ac_exeext &&
15738 $as_test_x conftest$ac_exeext; then
15741 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'` ;;
15742 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15745 echo "$as_me: failed program was:" >&5
15746 sed 's/^/| /' conftest.$ac_ext >&5
15751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15752 conftest$ac_exeext conftest.$ac_ext
15753 LIBS=$ac_check_soname_save_LIBS
15755 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15756 { echo "$as_me:$LINENO: result: not found" >&5
15757 echo "${ECHO_T}not found" >&6; }
15760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15761 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15763 cat >>confdefs.h <<_ACEOF
15764 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15770 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15771 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15772 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15773 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 ac_check_soname_save_LIBS=$LIBS
15776 LIBS="-lcrypto $LIBS"
15777 cat >conftest.$ac_ext <<_ACEOF
15780 cat confdefs.h >>conftest.$ac_ext
15781 cat >>conftest.$ac_ext <<_ACEOF
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15790 char BIO_new_socket ();
15794 return BIO_new_socket ();
15799 rm -f conftest.$ac_objext conftest$ac_exeext
15800 if { (ac_try="$ac_link"
15801 case "(($ac_try" in
15802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15803 *) ac_try_echo
=$ac_try;;
15805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 (eval "$ac_link") 2>conftest.er1
15808 grep -v '^ *+' conftest.er1
>conftest.err
15810 cat conftest.err
>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && {
15813 test -z "$ac_c_werror_flag" ||
15814 test ! -s conftest.err
15815 } && test -s conftest
$ac_exeext &&
15816 $as_test_x conftest
$ac_exeext; then
15819 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'` ;;
15820 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.
$ac_ext >&5
15829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15830 conftest
$ac_exeext conftest.
$ac_ext
15831 LIBS
=$ac_check_soname_save_LIBS
15833 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15834 { echo "$as_me:$LINENO: result: not found" >&5
15835 echo "${ECHO_T}not found" >&6; }
15838 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15839 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15841 cat >>confdefs.h
<<_ACEOF
15842 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15849 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15850 case "x$with_openssl" in
15851 x
) wine_warnings
="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15853 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15854 This is an error since --with-openssl was requested." >&5
15855 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15856 This is an error since --with-openssl was requested." >&2;}
15857 { (exit 1); exit 1; }; } ;;
15862 if test "$ac_cv_header_jpeglib_h" = "yes"
15864 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15865 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15866 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15869 ac_check_soname_save_LIBS
=$LIBS
15870 LIBS
="-ljpeg $LIBS"
15871 cat >conftest.
$ac_ext <<_ACEOF
15874 cat confdefs.h
>>conftest.
$ac_ext
15875 cat >>conftest.
$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15878 /* Override any GCC internal prototype to avoid an error.
15879 Use char because int might match the return type of a GCC
15880 builtin and then its argument prototype would still apply. */
15884 char jpeg_start_decompress ();
15888 return jpeg_start_decompress ();
15893 rm -f conftest.
$ac_objext conftest
$ac_exeext
15894 if { (ac_try
="$ac_link"
15895 case "(($ac_try" in
15896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15897 *) ac_try_echo=$ac_try;;
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_link") 2>conftest.er1
15902 grep -v '^ *+' conftest.er1 >conftest.err
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } && {
15907 test -z "$ac_c_werror_flag" ||
15908 test ! -s conftest.err
15909 } && test -s conftest$ac_exeext &&
15910 $as_test_x conftest$ac_exeext; then
15913 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'` ;;
15914 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.$ac_ext >&5
15923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15924 conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_soname_save_LIBS
15927 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15928 { echo "$as_me:$LINENO: result: not found" >&5
15929 echo "${ECHO_T}not found" >&6; }
15932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15933 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15935 cat >>confdefs.h <<_ACEOF
15936 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15943 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15944 case "x$with_jpeg" in
15945 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15947 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15948 This is an error since --with-jpeg was requested." >&5
15949 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15950 This is an error since --with-jpeg was requested." >&2;}
15951 { (exit 1); exit 1; }; } ;;
15956 if test "$ac_cv_header_png_h" = "yes"
15958 { echo "$as_me:$LINENO: checking for -lpng" >&5
15959 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15960 if test "${ac_cv_lib_soname_png+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 ac_check_soname_save_LIBS=$LIBS
15964 LIBS="-lpng -lm $LIBS"
15965 cat >conftest.$ac_ext <<_ACEOF
15968 cat confdefs.h >>conftest.$ac_ext
15969 cat >>conftest.$ac_ext <<_ACEOF
15970 /* end confdefs.h. */
15972 /* Override any GCC internal prototype to avoid an error.
15973 Use char because int might match the return type of a GCC
15974 builtin and then its argument prototype would still apply. */
15978 char png_create_read_struct ();
15982 return png_create_read_struct ();
15987 rm -f conftest.$ac_objext conftest$ac_exeext
15988 if { (ac_try="$ac_link"
15989 case "(($ac_try" in
15990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15991 *) ac_try_echo
=$ac_try;;
15993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15994 (eval "$ac_link") 2>conftest.er1
15996 grep -v '^ *+' conftest.er1
>conftest.err
15998 cat conftest.err
>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } && {
16001 test -z "$ac_c_werror_flag" ||
16002 test ! -s conftest.err
16003 } && test -s conftest
$ac_exeext &&
16004 $as_test_x conftest
$ac_exeext; then
16007 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'` ;;
16008 *) 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'` ;;
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.
$ac_ext >&5
16017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16018 conftest
$ac_exeext conftest.
$ac_ext
16019 LIBS
=$ac_check_soname_save_LIBS
16021 if test "x$ac_cv_lib_soname_png" = "x"; then
16022 { echo "$as_me:$LINENO: result: not found" >&5
16023 echo "${ECHO_T}not found" >&6; }
16026 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16027 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16029 cat >>confdefs.h
<<_ACEOF
16030 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16037 if test "x$ac_cv_lib_soname_png" = "x"; then
16038 case "x$with_png" in
16039 x
) wine_warnings
="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16041 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16042 This is an error since --with-png was requested." >&5
16043 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16044 This is an error since --with-png was requested." >&2;}
16045 { (exit 1); exit 1; }; } ;;
16050 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16051 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16052 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 ac_check_soname_save_LIBS
=$LIBS
16056 LIBS
="-lodbc $LIBS"
16057 cat >conftest.
$ac_ext <<_ACEOF
16060 cat confdefs.h
>>conftest.
$ac_ext
16061 cat >>conftest.
$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16070 char SQLConnect ();
16074 return SQLConnect ();
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
16099 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'` ;;
16100 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libodbc\\.$LIBEXT" |
sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16103 echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.$ac_ext >&5
16109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16110 conftest$ac_exeext conftest.$ac_ext
16111 LIBS=$ac_check_soname_save_LIBS
16113 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16114 { echo "$as_me:$LINENO: result: not found" >&5
16115 echo "${ECHO_T}not found" >&6; }
16116 cat >>confdefs.h <<_ACEOF
16117 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16121 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16122 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16124 cat >>confdefs.h <<_ACEOF
16125 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16132 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
16133 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16134 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16135 "$ac_cv_header_soundcard_h" != "yes" -a \
16136 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16138 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16144 if test "x${GCC}" = "xyes"
16146 EXTRACFLAGS="-Wall -pipe"
16148 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16149 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16150 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6
16153 if test "$cross_compiling" = yes; then
16154 ac_cv_c_gcc_strength_bug="yes"
16156 cat >conftest.$ac_ext <<_ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 int L[4] = {0,1,2,3};
16166 static int Array[3];
16167 unsigned int B = 3;
16169 for(i=0; i<B; i++) Array[i] = i - 3;
16170 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16172 exit( Array[1] != -2 || L[2] != 3)
16177 rm -f conftest$ac_exeext
16178 if { (ac_try="$ac_link"
16179 case "(($ac_try" in
16180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16181 *) ac_try_echo
=$ac_try;;
16183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16184 (eval "$ac_link") 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16188 { (case "(($ac_try" in
16189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;;
16192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193 (eval "$ac_try") 2>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16197 ac_cv_c_gcc_strength_bug="no"
16199 echo "$as_me: program exited with status $ac_status" >&5
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16203 ( exit $ac_status )
16204 ac_cv_c_gcc_strength_bug="yes"
16206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16211 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16212 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16213 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16215 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16219 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16220 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16221 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16224 ac_wine_try_cflags_saved=$CFLAGS
16225 CFLAGS="$CFLAGS -fshort-wchar"
16226 cat >conftest.$ac_ext <<_ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16241 rm -f conftest.$ac_objext conftest$ac_exeext
16242 if { (ac_try="$ac_link"
16243 case "(($ac_try" in
16244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16245 *) ac_try_echo
=$ac_try;;
16247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248 (eval "$ac_link") 2>conftest.er1
16250 grep -v '^ *+' conftest.er1
>conftest.err
16252 cat conftest.err
>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } && {
16255 test -z "$ac_c_werror_flag" ||
16256 test ! -s conftest.err
16257 } && test -s conftest
$ac_exeext &&
16258 $as_test_x conftest
$ac_exeext; then
16259 ac_cv_cflags__fshort_wchar
=yes
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.
$ac_ext >&5
16264 ac_cv_cflags__fshort_wchar
=no
16267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16268 conftest
$ac_exeext conftest.
$ac_ext
16269 CFLAGS
=$ac_wine_try_cflags_saved
16271 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16272 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16273 if test $ac_cv_cflags__fshort_wchar = yes; then
16275 cat >>confdefs.h
<<\_ACEOF
16276 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16281 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16282 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16283 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 ac_wine_try_cflags_saved
=$CFLAGS
16287 CFLAGS
="$CFLAGS -fno-strict-aliasing"
16288 cat >conftest.
$ac_ext <<_ACEOF
16291 cat confdefs.h
>>conftest.
$ac_ext
16292 cat >>conftest.
$ac_ext <<_ACEOF
16293 /* end confdefs.h. */
16303 rm -f conftest.
$ac_objext conftest
$ac_exeext
16304 if { (ac_try
="$ac_link"
16305 case "(($ac_try" in
16306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_link") 2>conftest.er1
16312 grep -v '^ *+' conftest.er1 >conftest.err
16314 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } && {
16317 test -z "$ac_c_werror_flag" ||
16318 test ! -s conftest.err
16319 } && test -s conftest$ac_exeext &&
16320 $as_test_x conftest$ac_exeext; then
16321 ac_cv_cflags__fno_strict_aliasing=yes
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16326 ac_cv_cflags__fno_strict_aliasing=no
16329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16330 conftest$ac_exeext conftest.$ac_ext
16331 CFLAGS=$ac_wine_try_cflags_saved
16333 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16334 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16335 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16336 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16339 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16340 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16341 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 ac_wine_try_cflags_saved=$CFLAGS
16345 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16346 cat >conftest.$ac_ext <<_ACEOF
16349 cat confdefs.h >>conftest.$ac_ext
16350 cat >>conftest.$ac_ext <<_ACEOF
16351 /* end confdefs.h. */
16361 rm -f conftest.$ac_objext conftest$ac_exeext
16362 if { (ac_try="$ac_link"
16363 case "(($ac_try" in
16364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16365 *) ac_try_echo
=$ac_try;;
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_link") 2>conftest.er1
16370 grep -v '^ *+' conftest.er1
>conftest.err
16372 cat conftest.err
>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } && {
16375 test -z "$ac_c_werror_flag" ||
16376 test ! -s conftest.err
16377 } && test -s conftest
$ac_exeext &&
16378 $as_test_x conftest
$ac_exeext; then
16379 ac_cv_cflags__Wdeclaration_after_statement
=yes
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.
$ac_ext >&5
16384 ac_cv_cflags__Wdeclaration_after_statement
=no
16387 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16388 conftest
$ac_exeext conftest.
$ac_ext
16389 CFLAGS
=$ac_wine_try_cflags_saved
16391 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16392 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16393 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16394 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
16397 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16398 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16399 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 ac_wine_try_cflags_saved
=$CFLAGS
16403 CFLAGS
="$CFLAGS -Wwrite-strings"
16404 cat >conftest.
$ac_ext <<_ACEOF
16407 cat confdefs.h
>>conftest.
$ac_ext
16408 cat >>conftest.
$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16419 rm -f conftest.
$ac_objext conftest
$ac_exeext
16420 if { (ac_try
="$ac_link"
16421 case "(($ac_try" in
16422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16423 *) ac_try_echo=$ac_try;;
16425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16426 (eval "$ac_link") 2>conftest.er1
16428 grep -v '^ *+' conftest.er1 >conftest.err
16430 cat conftest.err >&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); } && {
16433 test -z "$ac_c_werror_flag" ||
16434 test ! -s conftest.err
16435 } && test -s conftest$ac_exeext &&
16436 $as_test_x conftest$ac_exeext; then
16437 ac_cv_cflags__Wwrite_strings=yes
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16442 ac_cv_cflags__Wwrite_strings=no
16445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16446 conftest$ac_exeext conftest.$ac_ext
16447 CFLAGS=$ac_wine_try_cflags_saved
16449 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16450 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16451 if test $ac_cv_cflags__Wwrite_strings = yes; then
16452 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16455 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16456 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16457 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 ac_wine_try_cflags_saved=$CFLAGS
16461 CFLAGS="$CFLAGS -Wtype-limits"
16462 cat >conftest.$ac_ext <<_ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16477 rm -f conftest.$ac_objext conftest$ac_exeext
16478 if { (ac_try="$ac_link"
16479 case "(($ac_try" in
16480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16481 *) ac_try_echo
=$ac_try;;
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_link") 2>conftest.er1
16486 grep -v '^ *+' conftest.er1
>conftest.err
16488 cat conftest.err
>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } && {
16491 test -z "$ac_c_werror_flag" ||
16492 test ! -s conftest.err
16493 } && test -s conftest
$ac_exeext &&
16494 $as_test_x conftest
$ac_exeext; then
16495 ac_cv_cflags__Wtype_limits
=yes
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.
$ac_ext >&5
16500 ac_cv_cflags__Wtype_limits
=no
16503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16504 conftest
$ac_exeext conftest.
$ac_ext
16505 CFLAGS
=$ac_wine_try_cflags_saved
16507 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16508 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16509 if test $ac_cv_cflags__Wtype_limits = yes; then
16510 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
16514 saved_CFLAGS
="$CFLAGS"
16515 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
16516 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16517 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16518 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 cat >conftest.
$ac_ext <<_ACEOF
16524 cat confdefs.h
>>conftest.
$ac_ext
16525 cat >>conftest.
$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <string.h>
16536 rm -f conftest.
$ac_objext
16537 if { (ac_try
="$ac_compile"
16538 case "(($ac_try" in
16539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16540 *) ac_try_echo=$ac_try;;
16542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16543 (eval "$ac_compile") 2>conftest.er1
16545 grep -v '^ *+' conftest.er1 >conftest.err
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } && {
16550 test -z "$ac_c_werror_flag" ||
16551 test ! -s conftest.err
16552 } && test -s conftest.$ac_objext; then
16553 ac_cv_c_string_h_warnings=no
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16558 ac_cv_c_string_h_warnings=yes
16561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16563 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16564 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16565 CFLAGS="$saved_CFLAGS"
16566 if test "$ac_cv_c_string_h_warnings" = "no"
16568 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16573 saved_CFLAGS="$CFLAGS"
16574 CFLAGS="$CFLAGS -Werror"
16575 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16576 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16577 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 cat >conftest.$ac_ext <<_ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16590 int iswlower(unsigned short);
16595 rm -f conftest.$ac_objext
16596 if { (ac_try="$ac_compile"
16597 case "(($ac_try" in
16598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16599 *) ac_try_echo
=$ac_try;;
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_compile") 2>conftest.er1
16604 grep -v '^ *+' conftest.er1
>conftest.err
16606 cat conftest.err
>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } && {
16609 test -z "$ac_c_werror_flag" ||
16610 test ! -s conftest.err
16611 } && test -s conftest.
$ac_objext; then
16612 ac_cv_c_builtin_wchar_ctype
=no
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.
$ac_ext >&5
16617 ac_cv_c_builtin_wchar_ctype
=yes
16620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16622 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16623 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16624 CFLAGS
="$saved_CFLAGS"
16625 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16627 BUILTINFLAG
="-fno-builtin"
16632 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16633 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16634 if test "${ac_cv_asm_func_def+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16637 cat >conftest.
$ac_ext <<_ACEOF
16640 cat confdefs.h
>>conftest.
$ac_ext
16641 cat >>conftest.
$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16647 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16652 rm -f conftest.
$ac_objext conftest
$ac_exeext
16653 if { (ac_try
="$ac_link"
16654 case "(($ac_try" in
16655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_link") 2>conftest.er1
16661 grep -v '^ *+' conftest.er1 >conftest.err
16663 cat conftest.err >&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } && {
16666 test -z "$ac_c_werror_flag" ||
16667 test ! -s conftest.err
16668 } && test -s conftest$ac_exeext &&
16669 $as_test_x conftest$ac_exeext; then
16670 ac_cv_asm_func_def=".def"
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16675 cat >conftest.$ac_ext <<_ACEOF
16678 cat confdefs.h >>conftest.$ac_ext
16679 cat >>conftest.$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16685 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16690 rm -f conftest.$ac_objext conftest$ac_exeext
16691 if { (ac_try="$ac_link"
16692 case "(($ac_try" in
16693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16694 *) ac_try_echo
=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_link") 2>conftest.er1
16699 grep -v '^ *+' conftest.er1
>conftest.err
16701 cat conftest.err
>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest
$ac_exeext &&
16707 $as_test_x conftest
$ac_exeext; then
16708 ac_cv_asm_func_def
=".type @function"
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.
$ac_ext >&5
16713 cat >conftest.
$ac_ext <<_ACEOF
16716 cat confdefs.h
>>conftest.
$ac_ext
16717 cat >>conftest.
$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16723 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16728 rm -f conftest.
$ac_objext conftest
$ac_exeext
16729 if { (ac_try
="$ac_link"
16730 case "(($ac_try" in
16731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16732 *) ac_try_echo=$ac_try;;
16734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16735 (eval "$ac_link") 2>conftest.er1
16737 grep -v '^ *+' conftest.er1 >conftest.err
16739 cat conftest.err >&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && {
16742 test -z "$ac_c_werror_flag" ||
16743 test ! -s conftest.err
16744 } && test -s conftest$ac_exeext &&
16745 $as_test_x conftest$ac_exeext; then
16746 ac_cv_asm_func_def=".type 2"
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16751 ac_cv_asm_func_def="unknown"
16754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16755 conftest$ac_exeext conftest.$ac_ext
16758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16759 conftest$ac_exeext conftest.$ac_ext
16762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16763 conftest$ac_exeext conftest.$ac_ext
16765 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16766 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16770 case "$ac_cv_asm_func_def" in
16772 cat >>confdefs.h <<\_ACEOF
16773 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16777 cat >>confdefs.h <<\_ACEOF
16778 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16782 cat >>confdefs.h <<\_ACEOF
16783 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16787 cat >>confdefs.h <<\_ACEOF
16788 #define __ASM_FUNC(name) ""
16794 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16795 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16796 if test "${ac_cv_c_extern_prefix+set}" = set; then
16797 echo $ECHO_N "(cached) $ECHO_C" >&6
16799 cat >conftest.$ac_ext <<_ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 extern int ac_test;
16809 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16814 rm -f conftest.$ac_objext conftest$ac_exeext
16815 if { (ac_try="$ac_link"
16816 case "(($ac_try" in
16817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16818 *) ac_try_echo
=$ac_try;;
16820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16821 (eval "$ac_link") 2>conftest.er1
16823 grep -v '^ *+' conftest.er1
>conftest.err
16825 cat conftest.err
>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } && {
16828 test -z "$ac_c_werror_flag" ||
16829 test ! -s conftest.err
16830 } && test -s conftest
$ac_exeext &&
16831 $as_test_x conftest
$ac_exeext; then
16832 ac_cv_c_extern_prefix
="yes"
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.
$ac_ext >&5
16837 ac_cv_c_extern_prefix
="no"
16840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16841 conftest
$ac_exeext conftest.
$ac_ext
16843 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16844 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16848 if test "$ac_cv_c_extern_prefix" = "yes"
16850 cat >>confdefs.h
<<\_ACEOF
16851 #define __ASM_NAME(name) "_" name
16855 cat >>confdefs.h
<<\_ACEOF
16856 #define __ASM_NAME(name) name
16866 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16870 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
16872 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16876 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16884 SOCKETLIBS
="-lws2_32"
16889 MAIN_BINARY
="wine-pthread"
16893 linux
* | k
*bsd
*-gnu)
16894 MAIN_BINARY
="wine-glibc"
16896 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16899 MAIN_BINARY
="wine-freebsd"
16901 EXTRA_BINARIES
="wine-pthread"
17049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17050 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17052 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 cat >conftest.
$ac_ext <<_ACEOF
17058 cat confdefs.h
>>conftest.
$ac_ext
17059 cat >>conftest.
$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17063 #define $ac_func innocuous_$ac_func
17065 /* System header to define __stub macros and hopefully few prototypes,
17066 which can conflict with char $ac_func (); below.
17067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17068 <limits.h> exists even on freestanding compilers. */
17071 # include <limits.h>
17073 # include <assert.h>
17078 /* Override any GCC internal prototype to avoid an error.
17079 Use char because int might match the return type of a GCC
17080 builtin and then its argument prototype would still apply. */
17085 /* The GNU C library defines this for functions which it implements
17086 to always fail with ENOSYS. Some functions are actually named
17087 something starting with __ and the normal name is an alias. */
17088 #if defined __stub_$ac_func || defined __stub___$ac_func
17095 return $ac_func ();
17100 rm -f conftest.
$ac_objext conftest
$ac_exeext
17101 if { (ac_try
="$ac_link"
17102 case "(($ac_try" in
17103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_link") 2>conftest.er1
17109 grep -v '^ *+' conftest.er1 >conftest.err
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_c_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest$ac_exeext &&
17117 $as_test_x conftest$ac_exeext; then
17118 eval "$as_ac_var=yes"
17120 echo "$as_me: failed program was:" >&5
17121 sed 's/^/| /' conftest.$ac_ext >&5
17123 eval "$as_ac_var=no"
17126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17127 conftest$ac_exeext conftest.$ac_ext
17129 ac_res=`eval echo '${'$as_ac_var'}'`
17130 { echo "$as_me:$LINENO: result: $ac_res" >&5
17131 echo "${ECHO_T}$ac_res" >&6; }
17132 if test `eval echo '${'$as_ac_var'}'` = yes; then
17133 cat >>confdefs.h <<_ACEOF
17134 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17141 if test "$ac_cv_func_dlopen" = no
17143 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17144 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17145 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 ac_check_lib_save_LIBS=$LIBS
17150 cat >conftest.$ac_ext <<_ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17157 /* Override any GCC internal prototype to avoid an error.
17158 Use char because int might match the return type of a GCC
17159 builtin and then its argument prototype would still apply. */
17172 rm -f conftest.$ac_objext conftest$ac_exeext
17173 if { (ac_try="$ac_link"
17174 case "(($ac_try" in
17175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17176 *) ac_try_echo
=$ac_try;;
17178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17179 (eval "$ac_link") 2>conftest.er1
17181 grep -v '^ *+' conftest.er1
>conftest.err
17183 cat conftest.err
>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } && {
17186 test -z "$ac_c_werror_flag" ||
17187 test ! -s conftest.err
17188 } && test -s conftest
$ac_exeext &&
17189 $as_test_x conftest
$ac_exeext; then
17190 ac_cv_lib_dl_dlopen
=yes
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.
$ac_ext >&5
17195 ac_cv_lib_dl_dlopen
=no
17198 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17199 conftest
$ac_exeext conftest.
$ac_ext
17200 LIBS
=$ac_check_lib_save_LIBS
17202 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17203 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17204 if test $ac_cv_lib_dl_dlopen = yes; then
17205 cat >>confdefs.h
<<\_ACEOF
17206 #define HAVE_DLOPEN 1
17213 ac_wine_check_funcs_save_LIBS
="$LIBS"
17214 LIBS
="$LIBS $LIBDL"
17216 for ac_func
in dladdr
17218 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17221 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 cat >conftest.
$ac_ext <<_ACEOF
17227 cat confdefs.h
>>conftest.
$ac_ext
17228 cat >>conftest.
$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17232 #define $ac_func innocuous_$ac_func
17234 /* System header to define __stub macros and hopefully few prototypes,
17235 which can conflict with char $ac_func (); below.
17236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17237 <limits.h> exists even on freestanding compilers. */
17240 # include <limits.h>
17242 # include <assert.h>
17247 /* Override any GCC internal prototype to avoid an error.
17248 Use char because int might match the return type of a GCC
17249 builtin and then its argument prototype would still apply. */
17254 /* The GNU C library defines this for functions which it implements
17255 to always fail with ENOSYS. Some functions are actually named
17256 something starting with __ and the normal name is an alias. */
17257 #if defined __stub_$ac_func || defined __stub___$ac_func
17264 return $ac_func ();
17269 rm -f conftest.
$ac_objext conftest
$ac_exeext
17270 if { (ac_try
="$ac_link"
17271 case "(($ac_try" in
17272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17273 *) ac_try_echo=$ac_try;;
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_link") 2>conftest.er1
17278 grep -v '^ *+' conftest.er1 >conftest.err
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } && {
17283 test -z "$ac_c_werror_flag" ||
17284 test ! -s conftest.err
17285 } && test -s conftest$ac_exeext &&
17286 $as_test_x conftest$ac_exeext; then
17287 eval "$as_ac_var=yes"
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17292 eval "$as_ac_var=no"
17295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17296 conftest$ac_exeext conftest.$ac_ext
17298 ac_res=`eval echo '${'$as_ac_var'}'`
17299 { echo "$as_me:$LINENO: result: $ac_res" >&5
17300 echo "${ECHO_T}$ac_res" >&6; }
17301 if test `eval echo '${'$as_ac_var'}'` = yes; then
17302 cat >>confdefs.h <<_ACEOF
17303 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17309 LIBS="$ac_wine_check_funcs_save_LIBS"
17311 if test "$ac_cv_func_poll" = no
17313 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17314 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17315 if test "${ac_cv_lib_poll_poll+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 ac_check_lib_save_LIBS=$LIBS
17319 LIBS="-lpoll $LIBS"
17320 cat >conftest.$ac_ext <<_ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17327 /* Override any GCC internal prototype to avoid an error.
17328 Use char because int might match the return type of a GCC
17329 builtin and then its argument prototype would still apply. */
17342 rm -f conftest.$ac_objext conftest$ac_exeext
17343 if { (ac_try="$ac_link"
17344 case "(($ac_try" in
17345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17346 *) ac_try_echo
=$ac_try;;
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349 (eval "$ac_link") 2>conftest.er1
17351 grep -v '^ *+' conftest.er1
>conftest.err
17353 cat conftest.err
>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && {
17356 test -z "$ac_c_werror_flag" ||
17357 test ! -s conftest.err
17358 } && test -s conftest
$ac_exeext &&
17359 $as_test_x conftest
$ac_exeext; then
17360 ac_cv_lib_poll_poll
=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.
$ac_ext >&5
17365 ac_cv_lib_poll_poll
=no
17368 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17369 conftest
$ac_exeext conftest.
$ac_ext
17370 LIBS
=$ac_check_lib_save_LIBS
17372 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17373 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17374 if test $ac_cv_lib_poll_poll = yes; then
17375 cat >>confdefs.h
<<\_ACEOF
17376 #define HAVE_POLL 1
17384 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17385 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17386 if test "${ac_cv_search_gethostbyname+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17389 ac_func_search_save_LIBS
=$LIBS
17390 cat >conftest.
$ac_ext <<_ACEOF
17393 cat confdefs.h
>>conftest.
$ac_ext
17394 cat >>conftest.
$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17397 /* Override any GCC internal prototype to avoid an error.
17398 Use char because int might match the return type of a GCC
17399 builtin and then its argument prototype would still apply. */
17403 char gethostbyname ();
17407 return gethostbyname ();
17412 for ac_lib
in '' nsl
; do
17413 if test -z "$ac_lib"; then
17414 ac_res
="none required"
17417 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17419 rm -f conftest.
$ac_objext conftest
$ac_exeext
17420 if { (ac_try
="$ac_link"
17421 case "(($ac_try" in
17422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17423 *) ac_try_echo=$ac_try;;
17425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17426 (eval "$ac_link") 2>conftest.er1
17428 grep -v '^ *+' conftest.er1 >conftest.err
17430 cat conftest.err >&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } && {
17433 test -z "$ac_c_werror_flag" ||
17434 test ! -s conftest.err
17435 } && test -s conftest$ac_exeext &&
17436 $as_test_x conftest$ac_exeext; then
17437 ac_cv_search_gethostbyname=$ac_res
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17447 if test "${ac_cv_search_gethostbyname+set}" = set; then
17451 if test "${ac_cv_search_gethostbyname+set}" = set; then
17454 ac_cv_search_gethostbyname=no
17456 rm conftest.$ac_ext
17457 LIBS=$ac_func_search_save_LIBS
17459 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17460 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17461 ac_res=$ac_cv_search_gethostbyname
17462 if test "$ac_res" != no; then
17463 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17468 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17469 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17470 if test "${ac_cv_search_connect+set}" = set; then
17471 echo $ECHO_N "(cached) $ECHO_C" >&6
17473 ac_func_search_save_LIBS=$LIBS
17474 cat >conftest.$ac_ext <<_ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17481 /* Override any GCC internal prototype to avoid an error.
17482 Use char because int might match the return type of a GCC
17483 builtin and then its argument prototype would still apply. */
17496 for ac_lib in '' socket; do
17497 if test -z "$ac_lib"; then
17498 ac_res="none required"
17501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17503 rm -f conftest.$ac_objext conftest$ac_exeext
17504 if { (ac_try="$ac_link"
17505 case "(($ac_try" in
17506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17507 *) ac_try_echo
=$ac_try;;
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_link") 2>conftest.er1
17512 grep -v '^ *+' conftest.er1
>conftest.err
17514 cat conftest.err
>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && {
17517 test -z "$ac_c_werror_flag" ||
17518 test ! -s conftest.err
17519 } && test -s conftest
$ac_exeext &&
17520 $as_test_x conftest
$ac_exeext; then
17521 ac_cv_search_connect
=$ac_res
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17529 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17531 if test "${ac_cv_search_connect+set}" = set; then
17535 if test "${ac_cv_search_connect+set}" = set; then
17538 ac_cv_search_connect
=no
17540 rm conftest.
$ac_ext
17541 LIBS
=$ac_func_search_save_LIBS
17543 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17544 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17545 ac_res
=$ac_cv_search_connect
17546 if test "$ac_res" != no
; then
17547 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17552 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17553 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17554 if test "${ac_cv_search_inet_aton+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 ac_func_search_save_LIBS
=$LIBS
17558 cat >conftest.
$ac_ext <<_ACEOF
17561 cat confdefs.h
>>conftest.
$ac_ext
17562 cat >>conftest.
$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17565 /* Override any GCC internal prototype to avoid an error.
17566 Use char because int might match the return type of a GCC
17567 builtin and then its argument prototype would still apply. */
17575 return inet_aton ();
17580 for ac_lib
in '' resolv
; do
17581 if test -z "$ac_lib"; then
17582 ac_res
="none required"
17585 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17587 rm -f conftest.
$ac_objext conftest
$ac_exeext
17588 if { (ac_try
="$ac_link"
17589 case "(($ac_try" in
17590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17591 *) ac_try_echo=$ac_try;;
17593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17594 (eval "$ac_link") 2>conftest.er1
17596 grep -v '^ *+' conftest.er1 >conftest.err
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } && {
17601 test -z "$ac_c_werror_flag" ||
17602 test ! -s conftest.err
17603 } && test -s conftest$ac_exeext &&
17604 $as_test_x conftest$ac_exeext; then
17605 ac_cv_search_inet_aton=$ac_res
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.$ac_ext >&5
17613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17615 if test "${ac_cv_search_inet_aton+set}" = set; then
17619 if test "${ac_cv_search_inet_aton+set}" = set; then
17622 ac_cv_search_inet_aton=no
17624 rm conftest.$ac_ext
17625 LIBS=$ac_func_search_save_LIBS
17627 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17628 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17629 ac_res=$ac_cv_search_inet_aton
17630 if test "$ac_res" != no; then
17631 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17655 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17661 cat >conftest.$ac_ext <<_ACEOF
17664 cat confdefs.h >>conftest.$ac_ext
17665 cat >>conftest.$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17669 #define $ac_func innocuous_$ac_func
17671 /* System header to define __stub macros and hopefully few prototypes,
17672 which can conflict with char $ac_func (); below.
17673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17674 <limits.h> exists even on freestanding compilers. */
17677 # include <limits.h>
17679 # include <assert.h>
17684 /* Override any GCC internal prototype to avoid an error.
17685 Use char because int might match the return type of a GCC
17686 builtin and then its argument prototype would still apply. */
17691 /* The GNU C library defines this for functions which it implements
17692 to always fail with ENOSYS. Some functions are actually named
17693 something starting with __ and the normal name is an alias. */
17694 #if defined __stub_$ac_func || defined __stub___$ac_func
17701 return $ac_func ();
17706 rm -f conftest.$ac_objext conftest$ac_exeext
17707 if { (ac_try="$ac_link"
17708 case "(($ac_try" in
17709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17710 *) ac_try_echo
=$ac_try;;
17712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17713 (eval "$ac_link") 2>conftest.er1
17715 grep -v '^ *+' conftest.er1
>conftest.err
17717 cat conftest.err
>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } && {
17720 test -z "$ac_c_werror_flag" ||
17721 test ! -s conftest.err
17722 } && test -s conftest
$ac_exeext &&
17723 $as_test_x conftest
$ac_exeext; then
17724 eval "$as_ac_var=yes"
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.
$ac_ext >&5
17729 eval "$as_ac_var=no"
17732 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17733 conftest
$ac_exeext conftest.
$ac_ext
17735 ac_res
=`eval echo '${'$as_ac_var'}'`
17736 { echo "$as_me:$LINENO: result: $ac_res" >&5
17737 echo "${ECHO_T}$ac_res" >&6; }
17738 if test `eval echo '${'$as_ac_var'}'` = yes; then
17739 cat >>confdefs.h
<<_ACEOF
17740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17749 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17751 { echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
17752 echo $ECHO_N "checking for LDAPSortKey... $ECHO_C" >&6; }
17753 if test "${ac_cv_type_LDAPSortKey+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17756 cat >conftest.
$ac_ext <<_ACEOF
17759 cat confdefs.h
>>conftest.
$ac_ext
17760 cat >>conftest.
$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17764 typedef LDAPSortKey ac__type_new_;
17768 if ((ac__type_new_ *) 0)
17770 if (sizeof (ac__type_new_))
17776 rm -f conftest.
$ac_objext
17777 if { (ac_try
="$ac_compile"
17778 case "(($ac_try" in
17779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17780 *) ac_try_echo=$ac_try;;
17782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17783 (eval "$ac_compile") 2>conftest.er1
17785 grep -v '^ *+' conftest.er1 >conftest.err
17787 cat conftest.err >&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } && {
17790 test -z "$ac_c_werror_flag" ||
17791 test ! -s conftest.err
17792 } && test -s conftest.$ac_objext; then
17793 ac_cv_type_LDAPSortKey=yes
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17798 ac_cv_type_LDAPSortKey=no
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17803 { echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
17804 echo "${ECHO_T}$ac_cv_type_LDAPSortKey" >&6; }
17805 if test $ac_cv_type_LDAPSortKey = yes; then
17806 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
17807 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
17808 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17811 ac_check_lib_save_LIBS=$LIBS
17812 LIBS="-lldap_r $LIBPTHREAD $LIBS"
17813 cat >conftest.$ac_ext <<_ACEOF
17816 cat confdefs.h >>conftest.$ac_ext
17817 cat >>conftest.$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17820 /* Override any GCC internal prototype to avoid an error.
17821 Use char because int might match the return type of a GCC
17822 builtin and then its argument prototype would still apply. */
17826 char ldap_initialize ();
17830 return ldap_initialize ();
17835 rm -f conftest.$ac_objext conftest$ac_exeext
17836 if { (ac_try="$ac_link"
17837 case "(($ac_try" in
17838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17839 *) ac_try_echo
=$ac_try;;
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_link") 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest
$ac_exeext &&
17852 $as_test_x conftest
$ac_exeext; then
17853 ac_cv_lib_ldap_r_ldap_initialize
=yes
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.
$ac_ext >&5
17858 ac_cv_lib_ldap_r_ldap_initialize
=no
17861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17862 conftest
$ac_exeext conftest.
$ac_ext
17863 LIBS
=$ac_check_lib_save_LIBS
17865 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17866 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17867 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
17868 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
17869 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
17870 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17873 ac_check_lib_save_LIBS
=$LIBS
17874 LIBS
="-llber $LIBPTHREAD $LIBS"
17875 cat >conftest.
$ac_ext <<_ACEOF
17878 cat confdefs.h
>>conftest.
$ac_ext
17879 cat >>conftest.
$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17882 /* Override any GCC internal prototype to avoid an error.
17883 Use char because int might match the return type of a GCC
17884 builtin and then its argument prototype would still apply. */
17892 return ber_init ();
17897 rm -f conftest.
$ac_objext conftest
$ac_exeext
17898 if { (ac_try
="$ac_link"
17899 case "(($ac_try" in
17900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_link") 2>conftest.er1
17906 grep -v '^ *+' conftest.er1 >conftest.err
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } && {
17911 test -z "$ac_c_werror_flag" ||
17912 test ! -s conftest.err
17913 } && test -s conftest$ac_exeext &&
17914 $as_test_x conftest$ac_exeext; then
17915 ac_cv_lib_lber_ber_init=yes
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.$ac_ext >&5
17920 ac_cv_lib_lber_ber_init=no
17923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17924 conftest$ac_exeext conftest.$ac_ext
17925 LIBS=$ac_check_lib_save_LIBS
17927 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
17928 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
17929 if test $ac_cv_lib_lber_ber_init = yes; then
17931 cat >>confdefs.h <<\_ACEOF
17932 #define HAVE_LDAP 1
17935 LDAPLIBS="-lldap_r -llber"
17942 ac_wine_check_funcs_save_LIBS="$LIBS"
17943 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
17953 ldap_count_references \
17954 ldap_first_reference \
17955 ldap_next_reference \
17956 ldap_parse_reference \
17957 ldap_parse_sort_control \
17958 ldap_parse_sortresponse_control \
17959 ldap_parse_vlv_control \
17960 ldap_parse_vlvresponse_control
17962 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 cat >conftest.$ac_ext <<_ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17976 #define $ac_func innocuous_$ac_func
17978 /* System header to define __stub macros and hopefully few prototypes,
17979 which can conflict with char $ac_func (); below.
17980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17981 <limits.h> exists even on freestanding compilers. */
17984 # include <limits.h>
17986 # include <assert.h>
17991 /* Override any GCC internal prototype to avoid an error.
17992 Use char because int might match the return type of a GCC
17993 builtin and then its argument prototype would still apply. */
17998 /* The GNU C library defines this for functions which it implements
17999 to always fail with ENOSYS. Some functions are actually named
18000 something starting with __ and the normal name is an alias. */
18001 #if defined __stub_$ac_func || defined __stub___$ac_func
18008 return $ac_func ();
18013 rm -f conftest.$ac_objext conftest$ac_exeext
18014 if { (ac_try="$ac_link"
18015 case "(($ac_try" in
18016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18017 *) ac_try_echo
=$ac_try;;
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_link") 2>conftest.er1
18022 grep -v '^ *+' conftest.er1
>conftest.err
18024 cat conftest.err
>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest
$ac_exeext &&
18030 $as_test_x conftest
$ac_exeext; then
18031 eval "$as_ac_var=yes"
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.
$ac_ext >&5
18036 eval "$as_ac_var=no"
18039 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18040 conftest
$ac_exeext conftest.
$ac_ext
18042 ac_res
=`eval echo '${'$as_ac_var'}'`
18043 { echo "$as_me:$LINENO: result: $ac_res" >&5
18044 echo "${ECHO_T}$ac_res" >&6; }
18045 if test `eval echo '${'$as_ac_var'}'` = yes; then
18046 cat >>confdefs.h
<<_ACEOF
18047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18053 LIBS
="$ac_wine_check_funcs_save_LIBS"
18055 if test "x$LDAPLIBS" = "x"; then
18056 case "x$with_ldap" in
18057 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
18059 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18060 This is an error since --with-ldap was requested." >&5
18061 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18062 This is an error since --with-ldap was requested." >&2;}
18063 { (exit 1); exit 1; }; } ;;
18069 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18070 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18071 if test "${ac_cv_c_const+set}" = set; then
18072 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 cat >conftest.
$ac_ext <<_ACEOF
18077 cat confdefs.h
>>conftest.
$ac_ext
18078 cat >>conftest.
$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18084 /* FIXME: Include the comments suggested by Paul. */
18085 #ifndef __cplusplus
18086 /* Ultrix mips cc rejects this. */
18087 typedef int charset[2];
18089 /* SunOS 4.1.1 cc rejects this. */
18090 char const *const *pcpcc;
18092 /* NEC SVR4.0.2 mips cc rejects this. */
18093 struct point {int x, y;};
18094 static struct point const zero = {0,0};
18095 /* AIX XL C 1.02.0.0 rejects this.
18096 It does not let you subtract one const X* pointer from another in
18097 an arm of an if-expression whose if-part is not a constant
18099 const char *g = "string";
18100 pcpcc = &g + (g ? g-g : 0);
18101 /* HPUX 7.0 cc rejects these. */
18103 ppc = (char**) pcpcc;
18104 pcpcc = (char const *const *) ppc;
18105 { /* SCO 3.2v4 cc rejects this. */
18107 char const *s = 0 ? (char *) 0 : (char const *) 0;
18112 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18113 int x[] = {25, 17};
18114 const int *foo = &x[0];
18117 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18118 typedef const int *iptr;
18122 { /* AIX XL C 1.02.0.0 rejects this saying
18123 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18124 struct s { int j; const int *ap[3]; };
18125 struct s *b; b->j = 5;
18127 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18128 const int foo = 10;
18129 if (!foo) return 0;
18131 return !cs[0] && !zero.x;
18138 rm -f conftest.
$ac_objext
18139 if { (ac_try
="$ac_compile"
18140 case "(($ac_try" in
18141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18142 *) ac_try_echo=$ac_try;;
18144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18145 (eval "$ac_compile") 2>conftest.er1
18147 grep -v '^ *+' conftest.er1 >conftest.err
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } && {
18152 test -z "$ac_c_werror_flag" ||
18153 test ! -s conftest.err
18154 } && test -s conftest.$ac_objext; then
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.$ac_ext >&5
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18166 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18167 if test $ac_cv_c_const = no; then
18169 cat >>confdefs.h <<\_ACEOF
18175 { echo "$as_me:$LINENO: checking for inline" >&5
18176 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18177 if test "${ac_cv_c_inline+set}" = set; then
18178 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 for ac_kw in inline __inline__ __inline; do
18182 cat >conftest.$ac_ext <<_ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #ifndef __cplusplus
18190 static $ac_kw foo_t static_foo () {return 0; }
18191 $ac_kw foo_t foo () {return 0; }
18195 rm -f conftest.$ac_objext
18196 if { (ac_try="$ac_compile"
18197 case "(($ac_try" in
18198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18199 *) ac_try_echo
=$ac_try;;
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_compile") 2>conftest.er1
18204 grep -v '^ *+' conftest.er1
>conftest.err
18206 cat conftest.err
>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_c_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest.
$ac_objext; then
18212 ac_cv_c_inline
=$ac_kw
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.
$ac_ext >&5
18220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18221 test "$ac_cv_c_inline" != no
&& break
18225 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18226 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18229 case $ac_cv_c_inline in
18232 case $ac_cv_c_inline in
18234 *) ac_val
=$ac_cv_c_inline;;
18236 cat >>confdefs.h
<<_ACEOF
18237 #ifndef __cplusplus
18238 #define inline $ac_val
18244 { echo "$as_me:$LINENO: checking for mode_t" >&5
18245 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18246 if test "${ac_cv_type_mode_t+set}" = set; then
18247 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 cat >conftest.
$ac_ext <<_ACEOF
18252 cat confdefs.h
>>conftest.
$ac_ext
18253 cat >>conftest.
$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 $ac_includes_default
18256 typedef mode_t ac__type_new_;
18260 if ((ac__type_new_ *) 0)
18262 if (sizeof (ac__type_new_))
18268 rm -f conftest.
$ac_objext
18269 if { (ac_try
="$ac_compile"
18270 case "(($ac_try" in
18271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18272 *) ac_try_echo=$ac_try;;
18274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18275 (eval "$ac_compile") 2>conftest.er1
18277 grep -v '^ *+' conftest.er1 >conftest.err
18279 cat conftest.err >&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } && {
18282 test -z "$ac_c_werror_flag" ||
18283 test ! -s conftest.err
18284 } && test -s conftest.$ac_objext; then
18285 ac_cv_type_mode_t=yes
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.$ac_ext >&5
18290 ac_cv_type_mode_t=no
18293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18296 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18297 if test $ac_cv_type_mode_t = yes; then
18299 cat >>confdefs.h <<_ACEOF
18300 #define HAVE_MODE_T 1
18305 { echo "$as_me:$LINENO: checking for off_t" >&5
18306 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18307 if test "${ac_cv_type_off_t+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 cat >conftest.$ac_ext <<_ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 $ac_includes_default
18317 typedef off_t ac__type_new_;
18321 if ((ac__type_new_ *) 0)
18323 if (sizeof (ac__type_new_))
18329 rm -f conftest.$ac_objext
18330 if { (ac_try="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18333 *) ac_try_echo
=$ac_try;;
18335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18338 grep -v '^ *+' conftest.er1
>conftest.err
18340 cat conftest.err
>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_c_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.
$ac_objext; then
18346 ac_cv_type_off_t
=yes
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.
$ac_ext >&5
18351 ac_cv_type_off_t
=no
18354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18356 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18357 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18358 if test $ac_cv_type_off_t = yes; then
18360 cat >>confdefs.h
<<_ACEOF
18361 #define HAVE_OFF_T 1
18366 { echo "$as_me:$LINENO: checking for pid_t" >&5
18367 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18368 if test "${ac_cv_type_pid_t+set}" = set; then
18369 echo $ECHO_N "(cached) $ECHO_C" >&6
18371 cat >conftest.
$ac_ext <<_ACEOF
18374 cat confdefs.h
>>conftest.
$ac_ext
18375 cat >>conftest.
$ac_ext <<_ACEOF
18376 /* end confdefs.h. */
18377 $ac_includes_default
18378 typedef pid_t ac__type_new_;
18382 if ((ac__type_new_ *) 0)
18384 if (sizeof (ac__type_new_))
18390 rm -f conftest.
$ac_objext
18391 if { (ac_try
="$ac_compile"
18392 case "(($ac_try" in
18393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18394 *) ac_try_echo=$ac_try;;
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_compile") 2>conftest.er1
18399 grep -v '^ *+' conftest.er1 >conftest.err
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } && {
18404 test -z "$ac_c_werror_flag" ||
18405 test ! -s conftest.err
18406 } && test -s conftest.$ac_objext; then
18407 ac_cv_type_pid_t=yes
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.$ac_ext >&5
18412 ac_cv_type_pid_t=no
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18418 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18419 if test $ac_cv_type_pid_t = yes; then
18421 cat >>confdefs.h <<_ACEOF
18422 #define HAVE_PID_T 1
18427 { echo "$as_me:$LINENO: checking for size_t" >&5
18428 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18429 if test "${ac_cv_type_size_t+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 cat >conftest.$ac_ext <<_ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18439 typedef size_t ac__type_new_;
18443 if ((ac__type_new_ *) 0)
18445 if (sizeof (ac__type_new_))
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18455 *) ac_try_echo
=$ac_try;;
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18460 grep -v '^ *+' conftest.er1
>conftest.err
18462 cat conftest.err
>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.
$ac_objext; then
18468 ac_cv_type_size_t
=yes
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.
$ac_ext >&5
18473 ac_cv_type_size_t
=no
18476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18478 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18479 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18480 if test $ac_cv_type_size_t = yes; then
18482 cat >>confdefs.h
<<_ACEOF
18483 #define HAVE_SIZE_T 1
18488 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18489 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18490 if test "${ac_cv_type_ssize_t+set}" = set; then
18491 echo $ECHO_N "(cached) $ECHO_C" >&6
18493 cat >conftest.
$ac_ext <<_ACEOF
18496 cat confdefs.h
>>conftest.
$ac_ext
18497 cat >>conftest.
$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 $ac_includes_default
18500 typedef ssize_t ac__type_new_;
18504 if ((ac__type_new_ *) 0)
18506 if (sizeof (ac__type_new_))
18512 rm -f conftest.
$ac_objext
18513 if { (ac_try
="$ac_compile"
18514 case "(($ac_try" in
18515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_compile") 2>conftest.er1
18521 grep -v '^ *+' conftest.er1 >conftest.err
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && {
18526 test -z "$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18528 } && test -s conftest.$ac_objext; then
18529 ac_cv_type_ssize_t=yes
18531 echo "$as_me: failed program was:" >&5
18532 sed 's/^/| /' conftest.$ac_ext >&5
18534 ac_cv_type_ssize_t=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18539 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18540 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18541 if test $ac_cv_type_ssize_t = yes; then
18543 cat >>confdefs.h <<_ACEOF
18544 #define HAVE_SSIZE_T 1
18549 { echo "$as_me:$LINENO: checking for long long" >&5
18550 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18551 if test "${ac_cv_type_long_long+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 cat >conftest.$ac_ext <<_ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 $ac_includes_default
18561 typedef long long ac__type_new_;
18565 if ((ac__type_new_ *) 0)
18567 if (sizeof (ac__type_new_))
18573 rm -f conftest.$ac_objext
18574 if { (ac_try="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18577 *) ac_try_echo
=$ac_try;;
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18582 grep -v '^ *+' conftest.er1
>conftest.err
18584 cat conftest.err
>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_c_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.
$ac_objext; then
18590 ac_cv_type_long_long
=yes
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.
$ac_ext >&5
18595 ac_cv_type_long_long
=no
18598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18601 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18602 if test $ac_cv_type_long_long = yes; then
18604 cat >>confdefs.h
<<_ACEOF
18605 #define HAVE_LONG_LONG 1
18610 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18611 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18612 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 cat >conftest.
$ac_ext <<_ACEOF
18618 cat confdefs.h
>>conftest.
$ac_ext
18619 cat >>conftest.
$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18621 $ac_includes_default
18622 typedef fsblkcnt_t ac__type_new_;
18626 if ((ac__type_new_ *) 0)
18628 if (sizeof (ac__type_new_))
18634 rm -f conftest.
$ac_objext
18635 if { (ac_try
="$ac_compile"
18636 case "(($ac_try" in
18637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18638 *) ac_try_echo=$ac_try;;
18640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18641 (eval "$ac_compile") 2>conftest.er1
18643 grep -v '^ *+' conftest.er1 >conftest.err
18645 cat conftest.err >&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } && {
18648 test -z "$ac_c_werror_flag" ||
18649 test ! -s conftest.err
18650 } && test -s conftest.$ac_objext; then
18651 ac_cv_type_fsblkcnt_t=yes
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18656 ac_cv_type_fsblkcnt_t=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18662 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18663 if test $ac_cv_type_fsblkcnt_t = yes; then
18665 cat >>confdefs.h <<_ACEOF
18666 #define HAVE_FSBLKCNT_T 1
18671 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18672 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18673 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 cat >conftest.$ac_ext <<_ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 $ac_includes_default
18683 typedef fsfilcnt_t ac__type_new_;
18687 if ((ac__type_new_ *) 0)
18689 if (sizeof (ac__type_new_))
18695 rm -f conftest.$ac_objext
18696 if { (ac_try="$ac_compile"
18697 case "(($ac_try" in
18698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18699 *) ac_try_echo
=$ac_try;;
18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_compile") 2>conftest.er1
18704 grep -v '^ *+' conftest.er1
>conftest.err
18706 cat conftest.err
>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } && {
18709 test -z "$ac_c_werror_flag" ||
18710 test ! -s conftest.err
18711 } && test -s conftest.
$ac_objext; then
18712 ac_cv_type_fsfilcnt_t
=yes
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.
$ac_ext >&5
18717 ac_cv_type_fsfilcnt_t
=no
18720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18722 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18723 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18724 if test $ac_cv_type_fsfilcnt_t = yes; then
18726 cat >>confdefs.h
<<_ACEOF
18727 #define HAVE_FSFILCNT_T 1
18733 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18734 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18735 if test "${ac_cv_type_sigset_t+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18738 cat >conftest.
$ac_ext <<_ACEOF
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 #include <signal.h>
18746 typedef sigset_t ac__type_new_;
18750 if ((ac__type_new_ *) 0)
18752 if (sizeof (ac__type_new_))
18758 rm -f conftest.
$ac_objext
18759 if { (ac_try
="$ac_compile"
18760 case "(($ac_try" in
18761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18762 *) ac_try_echo=$ac_try;;
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_compile") 2>conftest.er1
18767 grep -v '^ *+' conftest.er1 >conftest.err
18769 cat conftest.err >&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } && {
18772 test -z "$ac_c_werror_flag" ||
18773 test ! -s conftest.err
18774 } && test -s conftest.$ac_objext; then
18775 ac_cv_type_sigset_t=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18780 ac_cv_type_sigset_t=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18785 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18786 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18787 if test $ac_cv_type_sigset_t = yes; then
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_SIGSET_T 1
18796 { echo "$as_me:$LINENO: checking for request_sense" >&5
18797 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18798 if test "${ac_cv_type_request_sense+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 cat >conftest.$ac_ext <<_ACEOF
18804 cat confdefs.h >>conftest.$ac_ext
18805 cat >>conftest.$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #include <linux/cdrom.h>
18809 typedef request_sense ac__type_new_;
18813 if ((ac__type_new_ *) 0)
18815 if (sizeof (ac__type_new_))
18821 rm -f conftest.$ac_objext
18822 if { (ac_try="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18825 *) ac_try_echo
=$ac_try;;
18827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18830 grep -v '^ *+' conftest.er1
>conftest.err
18832 cat conftest.err
>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.
$ac_objext; then
18838 ac_cv_type_request_sense
=yes
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.
$ac_ext >&5
18843 ac_cv_type_request_sense
=no
18846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18848 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18849 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18850 if test $ac_cv_type_request_sense = yes; then
18852 cat >>confdefs.h
<<_ACEOF
18853 #define HAVE_REQUEST_SENSE 1
18860 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18861 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18862 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18865 cat >conftest.
$ac_ext <<_ACEOF
18868 cat confdefs.h
>>conftest.
$ac_ext
18869 cat >>conftest.
$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 #ifdef HAVE_LINUX_INPUT_H
18872 #include <linux/input.h>
18878 static struct ff_effect ac_aggr;
18879 if (ac_aggr.direction)
18885 rm -f conftest.
$ac_objext
18886 if { (ac_try
="$ac_compile"
18887 case "(($ac_try" in
18888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18889 *) ac_try_echo=$ac_try;;
18891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18892 (eval "$ac_compile") 2>conftest.er1
18894 grep -v '^ *+' conftest.er1 >conftest.err
18896 cat conftest.err >&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } && {
18899 test -z "$ac_c_werror_flag" ||
18900 test ! -s conftest.err
18901 } && test -s conftest.$ac_objext; then
18902 ac_cv_member_struct_ff_effect_direction=yes
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.$ac_ext >&5
18907 cat >conftest.$ac_ext <<_ACEOF
18910 cat confdefs.h >>conftest.$ac_ext
18911 cat >>conftest.$ac_ext <<_ACEOF
18912 /* end confdefs.h. */
18913 #ifdef HAVE_LINUX_INPUT_H
18914 #include <linux/input.h>
18920 static struct ff_effect ac_aggr;
18921 if (sizeof ac_aggr.direction)
18927 rm -f conftest.$ac_objext
18928 if { (ac_try="$ac_compile"
18929 case "(($ac_try" in
18930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18931 *) ac_try_echo
=$ac_try;;
18933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18934 (eval "$ac_compile") 2>conftest.er1
18936 grep -v '^ *+' conftest.er1
>conftest.err
18938 cat conftest.err
>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } && {
18941 test -z "$ac_c_werror_flag" ||
18942 test ! -s conftest.err
18943 } && test -s conftest.
$ac_objext; then
18944 ac_cv_member_struct_ff_effect_direction
=yes
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.
$ac_ext >&5
18949 ac_cv_member_struct_ff_effect_direction
=no
18952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18957 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18958 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18959 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18961 cat >>confdefs.h
<<_ACEOF
18962 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18969 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18970 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18971 if test "${wine_cv_have_sigaddset+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 cat >conftest.
$ac_ext <<_ACEOF
18977 cat confdefs.h
>>conftest.
$ac_ext
18978 cat >>conftest.
$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <signal.h>
18984 sigset_t set; sigaddset(&set,SIGTERM);
18989 rm -f conftest.
$ac_objext conftest
$ac_exeext
18990 if { (ac_try
="$ac_link"
18991 case "(($ac_try" in
18992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_link") 2>conftest.er1
18998 grep -v '^ *+' conftest.er1 >conftest.err
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest$ac_exeext &&
19006 $as_test_x conftest$ac_exeext; then
19007 wine_cv_have_sigaddset=yes
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 wine_cv_have_sigaddset=no
19015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19016 conftest$ac_exeext conftest.$ac_ext
19018 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
19019 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
19020 if test "$wine_cv_have_sigaddset" = "yes"
19023 cat >>confdefs.h <<\_ACEOF
19024 #define HAVE_SIGADDSET 1
19030 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19031 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
19032 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19048 struct hostent *result;
19055 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19056 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19062 rm -f conftest.$ac_objext conftest$ac_exeext
19063 if { (ac_try="$ac_link"
19064 case "(($ac_try" in
19065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19066 *) ac_try_echo
=$ac_try;;
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_link") 2>conftest.er1
19071 grep -v '^ *+' conftest.er1
>conftest.err
19073 cat conftest.err
>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } && {
19076 test -z "$ac_c_werror_flag" ||
19077 test ! -s conftest.err
19078 } && test -s conftest
$ac_exeext &&
19079 $as_test_x conftest
$ac_exeext; then
19080 wine_cv_linux_gethostbyname_r_6
=yes
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.
$ac_ext >&5
19085 wine_cv_linux_gethostbyname_r_6
=no
19089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19090 conftest
$ac_exeext conftest.
$ac_ext
19093 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
19094 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
19095 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19098 cat >>confdefs.h
<<\_ACEOF
19099 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
19104 if test "$ac_cv_header_linux_joystick_h" = "yes"
19106 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19107 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
19108 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
19109 echo $ECHO_N "(cached) $ECHO_C" >&6
19111 cat >conftest.
$ac_ext <<_ACEOF
19114 cat confdefs.h
>>conftest.
$ac_ext
19115 cat >>conftest.
$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19118 #include <sys/ioctl.h>
19119 #include <sys/types.h>
19120 #include <linux/joystick.h>
19122 struct js_event blub;
19123 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19124 #error "no 2.2 header"
19135 rm -f conftest.
$ac_objext
19136 if { (ac_try
="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19144 grep -v '^ *+' conftest.er1 >conftest.err
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.$ac_objext; then
19152 wine_cv_linux_joystick_22_api=yes
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19157 wine_cv_linux_joystick_22_api=no
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
19164 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
19165 if test "$wine_cv_linux_joystick_22_api" = "yes"
19168 cat >>confdefs.h <<\_ACEOF
19169 #define HAVE_LINUX_22_JOYSTICK_API 1
19176 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
19177 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
19178 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #include <sys/types.h>
19188 #ifdef HAVE_SYS_PARAM_H
19189 # include <sys/param.h>
19191 #ifdef HAVE_SYS_MOUNT_H
19192 # include <sys/mount.h>
19194 #ifdef HAVE_SYS_VFS_H
19195 # include <sys/vfs.h>
19197 #ifdef HAVE_SYS_STATFS_H
19198 # include <sys/statfs.h>
19204 static struct statfs ac_aggr;
19205 if (ac_aggr.f_bfree)
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19215 *) ac_try_echo
=$ac_try;;
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19220 grep -v '^ *+' conftest.er1
>conftest.err
19222 cat conftest.err
>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.
$ac_objext; then
19228 ac_cv_member_struct_statfs_f_bfree
=yes
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.
$ac_ext >&5
19233 cat >conftest.
$ac_ext <<_ACEOF
19236 cat confdefs.h
>>conftest.
$ac_ext
19237 cat >>conftest.
$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 #include <sys/types.h>
19240 #ifdef HAVE_SYS_PARAM_H
19241 # include <sys/param.h>
19243 #ifdef HAVE_SYS_MOUNT_H
19244 # include <sys/mount.h>
19246 #ifdef HAVE_SYS_VFS_H
19247 # include <sys/vfs.h>
19249 #ifdef HAVE_SYS_STATFS_H
19250 # include <sys/statfs.h>
19256 static struct statfs ac_aggr;
19257 if (sizeof ac_aggr.f_bfree)
19263 rm -f conftest.
$ac_objext
19264 if { (ac_try
="$ac_compile"
19265 case "(($ac_try" in
19266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19267 *) ac_try_echo=$ac_try;;
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_compile") 2>conftest.er1
19272 grep -v '^ *+' conftest.er1 >conftest.err
19274 cat conftest.err >&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && {
19277 test -z "$ac_c_werror_flag" ||
19278 test ! -s conftest.err
19279 } && test -s conftest.$ac_objext; then
19280 ac_cv_member_struct_statfs_f_bfree=yes
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19285 ac_cv_member_struct_statfs_f_bfree=no
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19294 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19295 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_STRUCT_STATFS_F_BFREE 1
19303 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19304 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19305 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 #include <sys/types.h>
19315 #ifdef HAVE_SYS_PARAM_H
19316 # include <sys/param.h>
19318 #ifdef HAVE_SYS_MOUNT_H
19319 # include <sys/mount.h>
19321 #ifdef HAVE_SYS_VFS_H
19322 # include <sys/vfs.h>
19324 #ifdef HAVE_SYS_STATFS_H
19325 # include <sys/statfs.h>
19331 static struct statfs ac_aggr;
19332 if (ac_aggr.f_bavail)
19338 rm -f conftest.$ac_objext
19339 if { (ac_try="$ac_compile"
19340 case "(($ac_try" in
19341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19342 *) ac_try_echo
=$ac_try;;
19344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19345 (eval "$ac_compile") 2>conftest.er1
19347 grep -v '^ *+' conftest.er1
>conftest.err
19349 cat conftest.err
>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } && {
19352 test -z "$ac_c_werror_flag" ||
19353 test ! -s conftest.err
19354 } && test -s conftest.
$ac_objext; then
19355 ac_cv_member_struct_statfs_f_bavail
=yes
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.
$ac_ext >&5
19360 cat >conftest.
$ac_ext <<_ACEOF
19363 cat confdefs.h
>>conftest.
$ac_ext
19364 cat >>conftest.
$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_PARAM_H
19368 # include <sys/param.h>
19370 #ifdef HAVE_SYS_MOUNT_H
19371 # include <sys/mount.h>
19373 #ifdef HAVE_SYS_VFS_H
19374 # include <sys/vfs.h>
19376 #ifdef HAVE_SYS_STATFS_H
19377 # include <sys/statfs.h>
19383 static struct statfs ac_aggr;
19384 if (sizeof ac_aggr.f_bavail)
19390 rm -f conftest.
$ac_objext
19391 if { (ac_try
="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19399 grep -v '^ *+' conftest.er1 >conftest.err
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_cv_member_struct_statfs_f_bavail=yes
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_cv_member_struct_statfs_f_bavail=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19420 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19421 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19422 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19430 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19431 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19432 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 cat >conftest.$ac_ext <<_ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 #include <sys/types.h>
19442 #ifdef HAVE_SYS_PARAM_H
19443 # include <sys/param.h>
19445 #ifdef HAVE_SYS_MOUNT_H
19446 # include <sys/mount.h>
19448 #ifdef HAVE_SYS_VFS_H
19449 # include <sys/vfs.h>
19451 #ifdef HAVE_SYS_STATFS_H
19452 # include <sys/statfs.h>
19458 static struct statfs ac_aggr;
19459 if (ac_aggr.f_frsize)
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19469 *) ac_try_echo
=$ac_try;;
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19474 grep -v '^ *+' conftest.er1
>conftest.err
19476 cat conftest.err
>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.
$ac_objext; then
19482 ac_cv_member_struct_statfs_f_frsize
=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_PARAM_H
19495 # include <sys/param.h>
19497 #ifdef HAVE_SYS_MOUNT_H
19498 # include <sys/mount.h>
19500 #ifdef HAVE_SYS_VFS_H
19501 # include <sys/vfs.h>
19503 #ifdef HAVE_SYS_STATFS_H
19504 # include <sys/statfs.h>
19510 static struct statfs ac_aggr;
19511 if (sizeof ac_aggr.f_frsize)
19517 rm -f conftest.
$ac_objext
19518 if { (ac_try
="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_cv_member_struct_statfs_f_frsize=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_member_struct_statfs_f_frsize=no
19542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19548 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19549 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19551 cat >>confdefs.h <<_ACEOF
19552 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19557 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19558 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19559 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19562 cat >conftest.$ac_ext <<_ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 #include <sys/types.h>
19569 #ifdef HAVE_SYS_PARAM_H
19570 # include <sys/param.h>
19572 #ifdef HAVE_SYS_MOUNT_H
19573 # include <sys/mount.h>
19575 #ifdef HAVE_SYS_VFS_H
19576 # include <sys/vfs.h>
19578 #ifdef HAVE_SYS_STATFS_H
19579 # include <sys/statfs.h>
19585 static struct statfs ac_aggr;
19586 if (ac_aggr.f_ffree)
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19596 *) ac_try_echo
=$ac_try;;
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19601 grep -v '^ *+' conftest.er1
>conftest.err
19603 cat conftest.err
>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.
$ac_objext; then
19609 ac_cv_member_struct_statfs_f_ffree
=yes
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.
$ac_ext >&5
19614 cat >conftest.
$ac_ext <<_ACEOF
19617 cat confdefs.h
>>conftest.
$ac_ext
19618 cat >>conftest.
$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 #include <sys/types.h>
19621 #ifdef HAVE_SYS_PARAM_H
19622 # include <sys/param.h>
19624 #ifdef HAVE_SYS_MOUNT_H
19625 # include <sys/mount.h>
19627 #ifdef HAVE_SYS_VFS_H
19628 # include <sys/vfs.h>
19630 #ifdef HAVE_SYS_STATFS_H
19631 # include <sys/statfs.h>
19637 static struct statfs ac_aggr;
19638 if (sizeof ac_aggr.f_ffree)
19644 rm -f conftest.
$ac_objext
19645 if { (ac_try
="$ac_compile"
19646 case "(($ac_try" in
19647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19648 *) ac_try_echo=$ac_try;;
19650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19651 (eval "$ac_compile") 2>conftest.er1
19653 grep -v '^ *+' conftest.er1 >conftest.err
19655 cat conftest.err >&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } && {
19658 test -z "$ac_c_werror_flag" ||
19659 test ! -s conftest.err
19660 } && test -s conftest.$ac_objext; then
19661 ac_cv_member_struct_statfs_f_ffree=yes
19663 echo "$as_me: failed program was:" >&5
19664 sed 's/^/| /' conftest.$ac_ext >&5
19666 ac_cv_member_struct_statfs_f_ffree=no
19669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19674 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19675 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19676 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19678 cat >>confdefs.h <<_ACEOF
19679 #define HAVE_STRUCT_STATFS_F_FFREE 1
19684 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19685 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19686 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19689 cat >conftest.$ac_ext <<_ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 #include <sys/types.h>
19696 #ifdef HAVE_SYS_PARAM_H
19697 # include <sys/param.h>
19699 #ifdef HAVE_SYS_MOUNT_H
19700 # include <sys/mount.h>
19702 #ifdef HAVE_SYS_VFS_H
19703 # include <sys/vfs.h>
19705 #ifdef HAVE_SYS_STATFS_H
19706 # include <sys/statfs.h>
19712 static struct statfs ac_aggr;
19713 if (ac_aggr.f_favail)
19719 rm -f conftest.$ac_objext
19720 if { (ac_try="$ac_compile"
19721 case "(($ac_try" in
19722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19723 *) ac_try_echo
=$ac_try;;
19725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19726 (eval "$ac_compile") 2>conftest.er1
19728 grep -v '^ *+' conftest.er1
>conftest.err
19730 cat conftest.err
>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } && {
19733 test -z "$ac_c_werror_flag" ||
19734 test ! -s conftest.err
19735 } && test -s conftest.
$ac_objext; then
19736 ac_cv_member_struct_statfs_f_favail
=yes
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.
$ac_ext >&5
19741 cat >conftest.
$ac_ext <<_ACEOF
19744 cat confdefs.h
>>conftest.
$ac_ext
19745 cat >>conftest.
$ac_ext <<_ACEOF
19746 /* end confdefs.h. */
19747 #include <sys/types.h>
19748 #ifdef HAVE_SYS_PARAM_H
19749 # include <sys/param.h>
19751 #ifdef HAVE_SYS_MOUNT_H
19752 # include <sys/mount.h>
19754 #ifdef HAVE_SYS_VFS_H
19755 # include <sys/vfs.h>
19757 #ifdef HAVE_SYS_STATFS_H
19758 # include <sys/statfs.h>
19764 static struct statfs ac_aggr;
19765 if (sizeof ac_aggr.f_favail)
19771 rm -f conftest.
$ac_objext
19772 if { (ac_try
="$ac_compile"
19773 case "(($ac_try" in
19774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_compile") 2>conftest.er1
19780 grep -v '^ *+' conftest.er1 >conftest.err
19782 cat conftest.err >&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } && {
19785 test -z "$ac_c_werror_flag" ||
19786 test ! -s conftest.err
19787 } && test -s conftest.$ac_objext; then
19788 ac_cv_member_struct_statfs_f_favail=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19793 ac_cv_member_struct_statfs_f_favail=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19802 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19803 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19805 cat >>confdefs.h <<_ACEOF
19806 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19811 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19812 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19813 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 cat >conftest.$ac_ext <<_ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <sys/types.h>
19823 #ifdef HAVE_SYS_PARAM_H
19824 # include <sys/param.h>
19826 #ifdef HAVE_SYS_MOUNT_H
19827 # include <sys/mount.h>
19829 #ifdef HAVE_SYS_VFS_H
19830 # include <sys/vfs.h>
19832 #ifdef HAVE_SYS_STATFS_H
19833 # include <sys/statfs.h>
19839 static struct statfs ac_aggr;
19840 if (ac_aggr.f_namelen)
19846 rm -f conftest.$ac_objext
19847 if { (ac_try="$ac_compile"
19848 case "(($ac_try" in
19849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19850 *) ac_try_echo
=$ac_try;;
19852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19853 (eval "$ac_compile") 2>conftest.er1
19855 grep -v '^ *+' conftest.er1
>conftest.err
19857 cat conftest.err
>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && {
19860 test -z "$ac_c_werror_flag" ||
19861 test ! -s conftest.err
19862 } && test -s conftest.
$ac_objext; then
19863 ac_cv_member_struct_statfs_f_namelen
=yes
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.
$ac_ext >&5
19868 cat >conftest.
$ac_ext <<_ACEOF
19871 cat confdefs.h
>>conftest.
$ac_ext
19872 cat >>conftest.
$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 #include <sys/types.h>
19875 #ifdef HAVE_SYS_PARAM_H
19876 # include <sys/param.h>
19878 #ifdef HAVE_SYS_MOUNT_H
19879 # include <sys/mount.h>
19881 #ifdef HAVE_SYS_VFS_H
19882 # include <sys/vfs.h>
19884 #ifdef HAVE_SYS_STATFS_H
19885 # include <sys/statfs.h>
19891 static struct statfs ac_aggr;
19892 if (sizeof ac_aggr.f_namelen)
19898 rm -f conftest.
$ac_objext
19899 if { (ac_try
="$ac_compile"
19900 case "(($ac_try" in
19901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19902 *) ac_try_echo=$ac_try;;
19904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19905 (eval "$ac_compile") 2>conftest.er1
19907 grep -v '^ *+' conftest.er1 >conftest.err
19909 cat conftest.err >&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } && {
19912 test -z "$ac_c_werror_flag" ||
19913 test ! -s conftest.err
19914 } && test -s conftest.$ac_objext; then
19915 ac_cv_member_struct_statfs_f_namelen=yes
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19920 ac_cv_member_struct_statfs_f_namelen=no
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19929 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19930 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19932 cat >>confdefs.h <<_ACEOF
19933 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19940 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19941 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19942 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 cat >conftest.$ac_ext <<_ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #ifdef HAVE_SYS_STATVFS_H
19952 #include <sys/statvfs.h>
19958 static struct statvfs ac_aggr;
19959 if (ac_aggr.f_blocks)
19965 rm -f conftest.$ac_objext
19966 if { (ac_try="$ac_compile"
19967 case "(($ac_try" in
19968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19969 *) ac_try_echo
=$ac_try;;
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_compile") 2>conftest.er1
19974 grep -v '^ *+' conftest.er1
>conftest.err
19976 cat conftest.err
>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } && {
19979 test -z "$ac_c_werror_flag" ||
19980 test ! -s conftest.err
19981 } && test -s conftest.
$ac_objext; then
19982 ac_cv_member_struct_statvfs_f_blocks
=yes
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.
$ac_ext >&5
19987 cat >conftest.
$ac_ext <<_ACEOF
19990 cat confdefs.h
>>conftest.
$ac_ext
19991 cat >>conftest.
$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 #ifdef HAVE_SYS_STATVFS_H
19994 #include <sys/statvfs.h>
20000 static struct statvfs ac_aggr;
20001 if (sizeof ac_aggr.f_blocks)
20007 rm -f conftest.
$ac_objext
20008 if { (ac_try
="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20016 grep -v '^ *+' conftest.er1 >conftest.err
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_member_struct_statvfs_f_blocks=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ac_cv_member_struct_statvfs_f_blocks=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
20038 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
20039 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
20049 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
20050 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 cat >conftest.$ac_ext <<_ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <sys/types.h>
20061 #ifdef HAVE_SYS_SOCKET_H
20062 # include <sys/socket.h>
20064 #ifdef HAVE_SYS_UN_H
20065 # include <sys/un.h>
20071 static struct msghdr ac_aggr;
20072 if (ac_aggr.msg_accrights)
20078 rm -f conftest.$ac_objext
20079 if { (ac_try="$ac_compile"
20080 case "(($ac_try" in
20081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20082 *) ac_try_echo
=$ac_try;;
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_compile") 2>conftest.er1
20087 grep -v '^ *+' conftest.er1
>conftest.err
20089 cat conftest.err
>&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } && {
20092 test -z "$ac_c_werror_flag" ||
20093 test ! -s conftest.err
20094 } && test -s conftest.
$ac_objext; then
20095 ac_cv_member_struct_msghdr_msg_accrights
=yes
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.
$ac_ext >&5
20100 cat >conftest.
$ac_ext <<_ACEOF
20103 cat confdefs.h
>>conftest.
$ac_ext
20104 cat >>conftest.
$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20106 #include <sys/types.h>
20107 #ifdef HAVE_SYS_SOCKET_H
20108 # include <sys/socket.h>
20110 #ifdef HAVE_SYS_UN_H
20111 # include <sys/un.h>
20117 static struct msghdr ac_aggr;
20118 if (sizeof ac_aggr.msg_accrights)
20124 rm -f conftest.
$ac_objext
20125 if { (ac_try
="$ac_compile"
20126 case "(($ac_try" in
20127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_compile") 2>conftest.er1
20133 grep -v '^ *+' conftest.er1 >conftest.err
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest.$ac_objext; then
20141 ac_cv_member_struct_msghdr_msg_accrights=yes
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20146 ac_cv_member_struct_msghdr_msg_accrights=no
20149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20154 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
20155 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
20156 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
20158 cat >>confdefs.h <<_ACEOF
20159 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
20164 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20165 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
20166 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
20167 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 cat >conftest.$ac_ext <<_ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #include <sys/types.h>
20176 #ifdef HAVE_SYS_SOCKET_H
20177 # include <sys/socket.h>
20179 #ifdef HAVE_SYS_UN_H
20180 # include <sys/un.h>
20186 static struct sockaddr ac_aggr;
20187 if (ac_aggr.sa_len)
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20197 *) ac_try_echo
=$ac_try;;
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20202 grep -v '^ *+' conftest.er1
>conftest.err
20204 cat conftest.err
>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.
$ac_objext; then
20210 ac_cv_member_struct_sockaddr_sa_len
=yes
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.
$ac_ext >&5
20215 cat >conftest.
$ac_ext <<_ACEOF
20218 cat confdefs.h
>>conftest.
$ac_ext
20219 cat >>conftest.
$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20221 #include <sys/types.h>
20222 #ifdef HAVE_SYS_SOCKET_H
20223 # include <sys/socket.h>
20225 #ifdef HAVE_SYS_UN_H
20226 # include <sys/un.h>
20232 static struct sockaddr ac_aggr;
20233 if (sizeof ac_aggr.sa_len)
20239 rm -f conftest.
$ac_objext
20240 if { (ac_try
="$ac_compile"
20241 case "(($ac_try" in
20242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_compile") 2>conftest.er1
20248 grep -v '^ *+' conftest.er1 >conftest.err
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } && {
20253 test -z "$ac_c_werror_flag" ||
20254 test ! -s conftest.err
20255 } && test -s conftest.$ac_objext; then
20256 ac_cv_member_struct_sockaddr_sa_len=yes
20258 echo "$as_me: failed program was:" >&5
20259 sed 's/^/| /' conftest.$ac_ext >&5
20261 ac_cv_member_struct_sockaddr_sa_len=no
20264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20270 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20271 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20273 cat >>confdefs.h <<_ACEOF
20274 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20279 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20280 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20281 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 cat >conftest.$ac_ext <<_ACEOF
20287 cat confdefs.h >>conftest.$ac_ext
20288 cat >>conftest.$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 #include <sys/types.h>
20291 #ifdef HAVE_SYS_SOCKET_H
20292 # include <sys/socket.h>
20294 #ifdef HAVE_SYS_UN_H
20295 # include <sys/un.h>
20301 static struct sockaddr_un ac_aggr;
20302 if (ac_aggr.sun_len)
20308 rm -f conftest.$ac_objext
20309 if { (ac_try="$ac_compile"
20310 case "(($ac_try" in
20311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20312 *) ac_try_echo
=$ac_try;;
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_compile") 2>conftest.er1
20317 grep -v '^ *+' conftest.er1
>conftest.err
20319 cat conftest.err
>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && {
20322 test -z "$ac_c_werror_flag" ||
20323 test ! -s conftest.err
20324 } && test -s conftest.
$ac_objext; then
20325 ac_cv_member_struct_sockaddr_un_sun_len
=yes
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.
$ac_ext >&5
20330 cat >conftest.
$ac_ext <<_ACEOF
20333 cat confdefs.h
>>conftest.
$ac_ext
20334 cat >>conftest.
$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 #include <sys/types.h>
20337 #ifdef HAVE_SYS_SOCKET_H
20338 # include <sys/socket.h>
20340 #ifdef HAVE_SYS_UN_H
20341 # include <sys/un.h>
20347 static struct sockaddr_un ac_aggr;
20348 if (sizeof ac_aggr.sun_len)
20354 rm -f conftest.
$ac_objext
20355 if { (ac_try
="$ac_compile"
20356 case "(($ac_try" in
20357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_compile") 2>conftest.er1
20363 grep -v '^ *+' conftest.er1 >conftest.err
20365 cat conftest.err >&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } && {
20368 test -z "$ac_c_werror_flag" ||
20369 test ! -s conftest.err
20370 } && test -s conftest.$ac_objext; then
20371 ac_cv_member_struct_sockaddr_un_sun_len=yes
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20376 ac_cv_member_struct_sockaddr_un_sun_len=no
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20384 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20385 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20386 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20388 cat >>confdefs.h <<_ACEOF
20389 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20396 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20397 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20398 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20399 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 cat >conftest.$ac_ext <<_ACEOF
20404 cat confdefs.h >>conftest.$ac_ext
20405 cat >>conftest.$ac_ext <<_ACEOF
20406 /* end confdefs.h. */
20407 #include <sys/types.h>
20408 #ifdef HAVE_SCSI_SG_H
20409 #include <scsi/sg.h>
20415 static scsireq_t ac_aggr;
20422 rm -f conftest.$ac_objext
20423 if { (ac_try="$ac_compile"
20424 case "(($ac_try" in
20425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20426 *) ac_try_echo
=$ac_try;;
20428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20429 (eval "$ac_compile") 2>conftest.er1
20431 grep -v '^ *+' conftest.er1
>conftest.err
20433 cat conftest.err
>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && {
20436 test -z "$ac_c_werror_flag" ||
20437 test ! -s conftest.err
20438 } && test -s conftest.
$ac_objext; then
20439 ac_cv_member_scsireq_t_cmd
=yes
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.
$ac_ext >&5
20444 cat >conftest.
$ac_ext <<_ACEOF
20447 cat confdefs.h
>>conftest.
$ac_ext
20448 cat >>conftest.
$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 #include <sys/types.h>
20451 #ifdef HAVE_SCSI_SG_H
20452 #include <scsi/sg.h>
20458 static scsireq_t ac_aggr;
20459 if (sizeof ac_aggr.cmd)
20465 rm -f conftest.
$ac_objext
20466 if { (ac_try
="$ac_compile"
20467 case "(($ac_try" in
20468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20469 *) ac_try_echo=$ac_try;;
20471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20472 (eval "$ac_compile") 2>conftest.er1
20474 grep -v '^ *+' conftest.er1 >conftest.err
20476 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } && {
20479 test -z "$ac_c_werror_flag" ||
20480 test ! -s conftest.err
20481 } && test -s conftest.$ac_objext; then
20482 ac_cv_member_scsireq_t_cmd=yes
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.$ac_ext >&5
20487 ac_cv_member_scsireq_t_cmd=no
20490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20495 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20496 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20497 if test $ac_cv_member_scsireq_t_cmd = yes; then
20499 cat >>confdefs.h <<_ACEOF
20500 #define HAVE_SCSIREQ_T_CMD 1
20505 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20506 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20507 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20510 cat >conftest.$ac_ext <<_ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 #include <sys/types.h>
20517 #ifdef HAVE_SCSI_SG_H
20518 #include <scsi/sg.h>
20524 static sg_io_hdr_t ac_aggr;
20525 if (ac_aggr.interface_id)
20531 rm -f conftest.$ac_objext
20532 if { (ac_try="$ac_compile"
20533 case "(($ac_try" in
20534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20535 *) ac_try_echo
=$ac_try;;
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_compile") 2>conftest.er1
20540 grep -v '^ *+' conftest.er1
>conftest.err
20542 cat conftest.err
>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && {
20545 test -z "$ac_c_werror_flag" ||
20546 test ! -s conftest.err
20547 } && test -s conftest.
$ac_objext; then
20548 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.
$ac_ext >&5
20553 cat >conftest.
$ac_ext <<_ACEOF
20556 cat confdefs.h
>>conftest.
$ac_ext
20557 cat >>conftest.
$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 #include <sys/types.h>
20560 #ifdef HAVE_SCSI_SG_H
20561 #include <scsi/sg.h>
20567 static sg_io_hdr_t ac_aggr;
20568 if (sizeof ac_aggr.interface_id)
20574 rm -f conftest.
$ac_objext
20575 if { (ac_try
="$ac_compile"
20576 case "(($ac_try" in
20577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20578 *) ac_try_echo=$ac_try;;
20580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20581 (eval "$ac_compile") 2>conftest.er1
20583 grep -v '^ *+' conftest.er1 >conftest.err
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } && {
20588 test -z "$ac_c_werror_flag" ||
20589 test ! -s conftest.err
20590 } && test -s conftest.$ac_objext; then
20591 ac_cv_member_sg_io_hdr_t_interface_id=yes
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20596 ac_cv_member_sg_io_hdr_t_interface_id=no
20599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20604 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20605 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20606 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20608 cat >>confdefs.h <<_ACEOF
20609 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20616 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20617 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20618 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20619 echo $ECHO_N "(cached) $ECHO_C" >&6
20621 cat >conftest.$ac_ext <<_ACEOF
20624 cat confdefs.h >>conftest.$ac_ext
20625 cat >>conftest.$ac_ext <<_ACEOF
20626 /* end confdefs.h. */
20627 #include <signal.h>
20632 static siginfo_t ac_aggr;
20639 rm -f conftest.$ac_objext
20640 if { (ac_try="$ac_compile"
20641 case "(($ac_try" in
20642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20643 *) ac_try_echo
=$ac_try;;
20645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20646 (eval "$ac_compile") 2>conftest.er1
20648 grep -v '^ *+' conftest.er1
>conftest.err
20650 cat conftest.err
>&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } && {
20653 test -z "$ac_c_werror_flag" ||
20654 test ! -s conftest.err
20655 } && test -s conftest.
$ac_objext; then
20656 ac_cv_member_siginfo_t_si_fd
=yes
20658 echo "$as_me: failed program was:" >&5
20659 sed 's/^/| /' conftest.
$ac_ext >&5
20661 cat >conftest.
$ac_ext <<_ACEOF
20664 cat confdefs.h
>>conftest.
$ac_ext
20665 cat >>conftest.
$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 #include <signal.h>
20672 static siginfo_t ac_aggr;
20673 if (sizeof ac_aggr.si_fd)
20679 rm -f conftest.
$ac_objext
20680 if { (ac_try
="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20688 grep -v '^ *+' conftest.er1 >conftest.err
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.$ac_objext; then
20696 ac_cv_member_siginfo_t_si_fd=yes
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20701 ac_cv_member_siginfo_t_si_fd=no
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20709 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20710 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20711 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20713 cat >>confdefs.h <<_ACEOF
20714 #define HAVE_SIGINFO_T_SI_FD 1
20721 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20722 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20723 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 cat >conftest.$ac_ext <<_ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 #include <sys/types.h>
20733 #ifdef HAVE_SYS_MTIO_H
20734 #include <sys/mtio.h>
20740 static struct mtget ac_aggr;
20741 if (ac_aggr.mt_blksiz)
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_struct_mtget_mt_blksiz
=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 #include <sys/types.h>
20776 #ifdef HAVE_SYS_MTIO_H
20777 #include <sys/mtio.h>
20783 static struct mtget ac_aggr;
20784 if (sizeof ac_aggr.mt_blksiz)
20790 rm -f conftest.
$ac_objext
20791 if { (ac_try
="$ac_compile"
20792 case "(($ac_try" in
20793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20794 *) ac_try_echo=$ac_try;;
20796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20797 (eval "$ac_compile") 2>conftest.er1
20799 grep -v '^ *+' conftest.er1 >conftest.err
20801 cat conftest.err >&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } && {
20804 test -z "$ac_c_werror_flag" ||
20805 test ! -s conftest.err
20806 } && test -s conftest.$ac_objext; then
20807 ac_cv_member_struct_mtget_mt_blksiz=yes
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20812 ac_cv_member_struct_mtget_mt_blksiz=no
20815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20820 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20821 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20822 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20824 cat >>confdefs.h <<_ACEOF
20825 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20830 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20831 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20832 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20833 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 cat >conftest.$ac_ext <<_ACEOF
20838 cat confdefs.h >>conftest.$ac_ext
20839 cat >>conftest.$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20841 #include <sys/types.h>
20842 #ifdef HAVE_SYS_MTIO_H
20843 #include <sys/mtio.h>
20849 static struct mtget ac_aggr;
20850 if (ac_aggr.mt_gstat)
20856 rm -f conftest.$ac_objext
20857 if { (ac_try="$ac_compile"
20858 case "(($ac_try" in
20859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20860 *) ac_try_echo
=$ac_try;;
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_compile") 2>conftest.er1
20865 grep -v '^ *+' conftest.er1
>conftest.err
20867 cat conftest.err
>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } && {
20870 test -z "$ac_c_werror_flag" ||
20871 test ! -s conftest.err
20872 } && test -s conftest.
$ac_objext; then
20873 ac_cv_member_struct_mtget_mt_gstat
=yes
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.
$ac_ext >&5
20878 cat >conftest.
$ac_ext <<_ACEOF
20881 cat confdefs.h
>>conftest.
$ac_ext
20882 cat >>conftest.
$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20884 #include <sys/types.h>
20885 #ifdef HAVE_SYS_MTIO_H
20886 #include <sys/mtio.h>
20892 static struct mtget ac_aggr;
20893 if (sizeof ac_aggr.mt_gstat)
20899 rm -f conftest.
$ac_objext
20900 if { (ac_try
="$ac_compile"
20901 case "(($ac_try" in
20902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20903 *) ac_try_echo=$ac_try;;
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_compile") 2>conftest.er1
20908 grep -v '^ *+' conftest.er1 >conftest.err
20910 cat conftest.err >&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } && {
20913 test -z "$ac_c_werror_flag" ||
20914 test ! -s conftest.err
20915 } && test -s conftest.$ac_objext; then
20916 ac_cv_member_struct_mtget_mt_gstat=yes
20918 echo "$as_me: failed program was:" >&5
20919 sed 's/^/| /' conftest.$ac_ext >&5
20921 ac_cv_member_struct_mtget_mt_gstat=no
20924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20929 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20930 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20931 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20933 cat >>confdefs.h <<_ACEOF
20934 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20939 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20940 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20941 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20944 cat >conftest.$ac_ext <<_ACEOF
20947 cat confdefs.h >>conftest.$ac_ext
20948 cat >>conftest.$ac_ext <<_ACEOF
20949 /* end confdefs.h. */
20950 #include <sys/types.h>
20951 #ifdef HAVE_SYS_MTIO_H
20952 #include <sys/mtio.h>
20958 static struct mtget ac_aggr;
20959 if (ac_aggr.mt_blkno)
20965 rm -f conftest.$ac_objext
20966 if { (ac_try="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20969 *) ac_try_echo
=$ac_try;;
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.
$ac_objext; then
20982 ac_cv_member_struct_mtget_mt_blkno
=yes
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.
$ac_ext >&5
20987 cat >conftest.
$ac_ext <<_ACEOF
20990 cat confdefs.h
>>conftest.
$ac_ext
20991 cat >>conftest.
$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993 #include <sys/types.h>
20994 #ifdef HAVE_SYS_MTIO_H
20995 #include <sys/mtio.h>
21001 static struct mtget ac_aggr;
21002 if (sizeof ac_aggr.mt_blkno)
21008 rm -f conftest.
$ac_objext
21009 if { (ac_try
="$ac_compile"
21010 case "(($ac_try" in
21011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_compile") 2>conftest.er1
21017 grep -v '^ *+' conftest.er1 >conftest.err
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } && {
21022 test -z "$ac_c_werror_flag" ||
21023 test ! -s conftest.err
21024 } && test -s conftest.$ac_objext; then
21025 ac_cv_member_struct_mtget_mt_blkno=yes
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.$ac_ext >&5
21030 ac_cv_member_struct_mtget_mt_blkno=no
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
21039 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
21040 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
21042 cat >>confdefs.h <<_ACEOF
21043 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
21050 { echo "$as_me:$LINENO: checking for struct option.name" >&5
21051 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
21052 if test "${ac_cv_member_struct_option_name+set}" = set; then
21053 echo $ECHO_N "(cached) $ECHO_C" >&6
21055 cat >conftest.$ac_ext <<_ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #ifdef HAVE_GETOPT_H
21062 #include <getopt.h>
21068 static struct option ac_aggr;
21075 rm -f conftest.$ac_objext
21076 if { (ac_try="$ac_compile"
21077 case "(($ac_try" in
21078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21079 *) ac_try_echo
=$ac_try;;
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_compile") 2>conftest.er1
21084 grep -v '^ *+' conftest.er1
>conftest.err
21086 cat conftest.err
>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } && {
21089 test -z "$ac_c_werror_flag" ||
21090 test ! -s conftest.err
21091 } && test -s conftest.
$ac_objext; then
21092 ac_cv_member_struct_option_name
=yes
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.
$ac_ext >&5
21097 cat >conftest.
$ac_ext <<_ACEOF
21100 cat confdefs.h
>>conftest.
$ac_ext
21101 cat >>conftest.
$ac_ext <<_ACEOF
21102 /* end confdefs.h. */
21103 #ifdef HAVE_GETOPT_H
21104 #include <getopt.h>
21110 static struct option ac_aggr;
21111 if (sizeof ac_aggr.name)
21117 rm -f conftest.
$ac_objext
21118 if { (ac_try
="$ac_compile"
21119 case "(($ac_try" in
21120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_compile") 2>conftest.er1
21126 grep -v '^ *+' conftest.er1 >conftest.err
21128 cat conftest.err >&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } && {
21131 test -z "$ac_c_werror_flag" ||
21132 test ! -s conftest.err
21133 } && test -s conftest.$ac_objext; then
21134 ac_cv_member_struct_option_name=yes
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.$ac_ext >&5
21139 ac_cv_member_struct_option_name=no
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
21148 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
21149 if test $ac_cv_member_struct_option_name = yes; then
21151 cat >>confdefs.h <<_ACEOF
21152 #define HAVE_STRUCT_OPTION_NAME 1
21159 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
21160 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
21161 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21164 cat >conftest.$ac_ext <<_ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21174 static struct stat ac_aggr;
21175 if (ac_aggr.st_blocks)
21181 rm -f conftest.$ac_objext
21182 if { (ac_try="$ac_compile"
21183 case "(($ac_try" in
21184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21185 *) ac_try_echo
=$ac_try;;
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_compile") 2>conftest.er1
21190 grep -v '^ *+' conftest.er1
>conftest.err
21192 cat conftest.err
>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } && {
21195 test -z "$ac_c_werror_flag" ||
21196 test ! -s conftest.err
21197 } && test -s conftest.
$ac_objext; then
21198 ac_cv_member_struct_stat_st_blocks
=yes
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.
$ac_ext >&5
21203 cat >conftest.
$ac_ext <<_ACEOF
21206 cat confdefs.h
>>conftest.
$ac_ext
21207 cat >>conftest.
$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21213 static struct stat ac_aggr;
21214 if (sizeof ac_aggr.st_blocks)
21220 rm -f conftest.
$ac_objext
21221 if { (ac_try
="$ac_compile"
21222 case "(($ac_try" in
21223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21224 *) ac_try_echo=$ac_try;;
21226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21227 (eval "$ac_compile") 2>conftest.er1
21229 grep -v '^ *+' conftest.er1 >conftest.err
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest.$ac_objext; then
21237 ac_cv_member_struct_stat_st_blocks=yes
21239 echo "$as_me: failed program was:" >&5
21240 sed 's/^/| /' conftest.$ac_ext >&5
21242 ac_cv_member_struct_stat_st_blocks=no
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21251 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21252 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21254 cat >>confdefs.h <<_ACEOF
21255 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21262 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21263 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21264 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21267 cat >conftest.$ac_ext <<_ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #ifdef HAVE_SYS_TYPES_H
21274 #include <sys/types.h>
21276 #ifdef HAVE_NETINET_IN_H
21277 #include <netinet/in.h>
21283 static struct sockaddr_in6 ac_aggr;
21284 if (ac_aggr.sin6_scope_id)
21290 rm -f conftest.$ac_objext
21291 if { (ac_try="$ac_compile"
21292 case "(($ac_try" in
21293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21294 *) ac_try_echo
=$ac_try;;
21296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297 (eval "$ac_compile") 2>conftest.er1
21299 grep -v '^ *+' conftest.er1
>conftest.err
21301 cat conftest.err
>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } && {
21304 test -z "$ac_c_werror_flag" ||
21305 test ! -s conftest.err
21306 } && test -s conftest.
$ac_objext; then
21307 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.
$ac_ext >&5
21312 cat >conftest.
$ac_ext <<_ACEOF
21315 cat confdefs.h
>>conftest.
$ac_ext
21316 cat >>conftest.
$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 #ifdef HAVE_SYS_TYPES_H
21319 #include <sys/types.h>
21321 #ifdef HAVE_NETINET_IN_H
21322 #include <netinet/in.h>
21328 static struct sockaddr_in6 ac_aggr;
21329 if (sizeof ac_aggr.sin6_scope_id)
21335 rm -f conftest.
$ac_objext
21336 if { (ac_try
="$ac_compile"
21337 case "(($ac_try" in
21338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_compile") 2>conftest.er1
21344 grep -v '^ *+' conftest.er1 >conftest.err
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } && {
21349 test -z "$ac_c_werror_flag" ||
21350 test ! -s conftest.err
21351 } && test -s conftest.$ac_objext; then
21352 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21357 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21365 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21366 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21367 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21369 cat >>confdefs.h <<_ACEOF
21370 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21377 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21378 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21379 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21380 echo $ECHO_N "(cached) $ECHO_C" >&6
21382 cat >conftest.$ac_ext <<_ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 #ifdef HAVE_SYS_TYPES_H
21389 #include <sys/types.h>
21391 #ifdef HAVE_NETINET_IN_H
21392 # include <netinet/in.h>
21394 #ifdef HAVE_ARPA_NAMESER_H
21395 # include <arpa/nameser.h>
21401 static ns_msg ac_aggr;
21402 if (ac_aggr._msg_ptr)
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21412 *) ac_try_echo
=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21417 grep -v '^ *+' conftest.er1
>conftest.err
21419 cat conftest.err
>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.
$ac_objext; then
21425 ac_cv_member_ns_msg__msg_ptr
=yes
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.
$ac_ext >&5
21430 cat >conftest.
$ac_ext <<_ACEOF
21433 cat confdefs.h
>>conftest.
$ac_ext
21434 cat >>conftest.
$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436 #ifdef HAVE_SYS_TYPES_H
21437 #include <sys/types.h>
21439 #ifdef HAVE_NETINET_IN_H
21440 # include <netinet/in.h>
21442 #ifdef HAVE_ARPA_NAMESER_H
21443 # include <arpa/nameser.h>
21449 static ns_msg ac_aggr;
21450 if (sizeof ac_aggr._msg_ptr)
21456 rm -f conftest.
$ac_objext
21457 if { (ac_try
="$ac_compile"
21458 case "(($ac_try" in
21459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_compile") 2>conftest.er1
21465 grep -v '^ *+' conftest.er1 >conftest.err
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } && {
21470 test -z "$ac_c_werror_flag" ||
21471 test ! -s conftest.err
21472 } && test -s conftest.$ac_objext; then
21473 ac_cv_member_ns_msg__msg_ptr=yes
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21478 ac_cv_member_ns_msg__msg_ptr=no
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21487 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21488 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21490 cat >>confdefs.h <<_ACEOF
21491 #define HAVE_NS_MSG__MSG_PTR 1
21498 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21499 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21500 if test "${ac_cv_have_timezone+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21503 cat >conftest.$ac_ext <<_ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21518 rm -f conftest.$ac_objext conftest$ac_exeext
21519 if { (ac_try="$ac_link"
21520 case "(($ac_try" in
21521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21522 *) ac_try_echo
=$ac_try;;
21524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21525 (eval "$ac_link") 2>conftest.er1
21527 grep -v '^ *+' conftest.er1
>conftest.err
21529 cat conftest.err
>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } && {
21532 test -z "$ac_c_werror_flag" ||
21533 test ! -s conftest.err
21534 } && test -s conftest
$ac_exeext &&
21535 $as_test_x conftest
$ac_exeext; then
21536 ac_cv_have_timezone
="yes"
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.
$ac_ext >&5
21541 ac_cv_have_timezone
="no"
21544 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21545 conftest
$ac_exeext conftest.
$ac_ext
21547 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21548 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21549 if test "$ac_cv_have_timezone" = "yes"
21552 cat >>confdefs.h
<<\_ACEOF
21553 #define HAVE_TIMEZONE 1
21557 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21558 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21559 if test "${ac_cv_have_daylight+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 cat >conftest.
$ac_ext <<_ACEOF
21565 cat confdefs.h
>>conftest.
$ac_ext
21566 cat >>conftest.
$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21577 rm -f conftest.
$ac_objext conftest
$ac_exeext
21578 if { (ac_try
="$ac_link"
21579 case "(($ac_try" in
21580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_link") 2>conftest.er1
21586 grep -v '^ *+' conftest.er1 >conftest.err
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } && {
21591 test -z "$ac_c_werror_flag" ||
21592 test ! -s conftest.err
21593 } && test -s conftest$ac_exeext &&
21594 $as_test_x conftest$ac_exeext; then
21595 ac_cv_have_daylight="yes"
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21600 ac_cv_have_daylight="no"
21603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21604 conftest$ac_exeext conftest.$ac_ext
21606 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21607 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21608 if test "$ac_cv_have_daylight" = "yes"
21611 cat >>confdefs.h <<\_ACEOF
21612 #define HAVE_DAYLIGHT 1
21617 { echo "$as_me:$LINENO: checking for isinf" >&5
21618 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21619 if test "${ac_cv_have_isinf+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 cat >conftest.$ac_ext <<_ACEOF
21625 cat confdefs.h >>conftest.$ac_ext
21626 cat >>conftest.$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21632 float f = 0.0; int i=isinf(f)
21637 rm -f conftest.$ac_objext conftest$ac_exeext
21638 if { (ac_try="$ac_link"
21639 case "(($ac_try" in
21640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21641 *) ac_try_echo
=$ac_try;;
21643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21644 (eval "$ac_link") 2>conftest.er1
21646 grep -v '^ *+' conftest.er1
>conftest.err
21648 cat conftest.err
>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } && {
21651 test -z "$ac_c_werror_flag" ||
21652 test ! -s conftest.err
21653 } && test -s conftest
$ac_exeext &&
21654 $as_test_x conftest
$ac_exeext; then
21655 ac_cv_have_isinf
="yes"
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.
$ac_ext >&5
21660 ac_cv_have_isinf
="no"
21663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21664 conftest
$ac_exeext conftest.
$ac_ext
21666 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21667 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21668 if test "$ac_cv_have_isinf" = "yes"
21671 cat >>confdefs.h
<<\_ACEOF
21672 #define HAVE_ISINF 1
21679 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21680 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21681 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21682 echo $ECHO_N "(cached) $ECHO_C" >&6
21684 cat >conftest.
$ac_ext <<_ACEOF
21687 cat confdefs.h
>>conftest.
$ac_ext
21688 cat >>conftest.
$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21695 $EGREP "yes" >/dev
/null
2>&1; then
21696 ac_cv_cpp_def___i386__
=yes
21698 ac_cv_cpp_def___i386__
=no
21703 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21704 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21705 if test $ac_cv_cpp_def___i386__ = yes; then
21706 CFLAGS
="$CFLAGS -D__i386__"
21707 LINTFLAGS
="$LINTFLAGS -D__i386__"
21710 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21711 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21712 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21713 echo $ECHO_N "(cached) $ECHO_C" >&6
21715 cat >conftest.
$ac_ext <<_ACEOF
21718 cat confdefs.h
>>conftest.
$ac_ext
21719 cat >>conftest.
$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21726 $EGREP "yes" >/dev
/null
2>&1; then
21727 ac_cv_cpp_def___x86_64__
=yes
21729 ac_cv_cpp_def___x86_64__
=no
21734 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21735 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21736 if test $ac_cv_cpp_def___x86_64__ = yes; then
21737 CFLAGS
="$CFLAGS -D__x86_64__"
21738 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21741 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21742 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21743 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21757 $EGREP "yes" >/dev
/null
2>&1; then
21758 ac_cv_cpp_def___ALPHA__
=yes
21760 ac_cv_cpp_def___ALPHA__
=no
21765 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21766 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21767 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21768 CFLAGS
="$CFLAGS -D__ALPHA__"
21769 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21772 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21773 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21774 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21777 cat >conftest.
$ac_ext <<_ACEOF
21780 cat confdefs.h
>>conftest.
$ac_ext
21781 cat >>conftest.
$ac_ext <<_ACEOF
21782 /* end confdefs.h. */
21787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21788 $EGREP "yes" >/dev
/null
2>&1; then
21789 ac_cv_cpp_def___sparc__
=yes
21791 ac_cv_cpp_def___sparc__
=no
21796 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21797 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21798 if test $ac_cv_cpp_def___sparc__ = yes; then
21799 CFLAGS
="$CFLAGS -D__sparc__"
21800 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21803 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21804 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21805 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 cat >conftest.
$ac_ext <<_ACEOF
21811 cat confdefs.h
>>conftest.
$ac_ext
21812 cat >>conftest.
$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 #ifndef __powerpc__
21818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21819 $EGREP "yes" >/dev
/null
2>&1; then
21820 ac_cv_cpp_def___powerpc__
=yes
21822 ac_cv_cpp_def___powerpc__
=no
21827 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21828 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21829 if test $ac_cv_cpp_def___powerpc__ = yes; then
21830 CFLAGS
="$CFLAGS -D__powerpc__"
21831 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21836 case $host_vendor in
21837 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21838 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21839 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21840 echo $ECHO_N "(cached) $ECHO_C" >&6
21842 cat >conftest.
$ac_ext <<_ACEOF
21845 cat confdefs.h
>>conftest.
$ac_ext
21846 cat >>conftest.
$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21853 $EGREP "yes" >/dev
/null
2>&1; then
21854 ac_cv_cpp_def___sun__
=yes
21856 ac_cv_cpp_def___sun__
=no
21861 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21862 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21863 if test $ac_cv_cpp_def___sun__ = yes; then
21864 CFLAGS
="$CFLAGS -D__sun__"
21865 LINTFLAGS
="$LINTFLAGS -D__sun__"
21871 DEPENDENCIES
="### Dependencies:
21876 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21878 \$(OBJS): \$(IDL_GEN_HEADERS)
21879 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21880 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21881 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21882 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21888 ac_config_commands
="$ac_config_commands include/stamp-h"
21891 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21893 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21895 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21897 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21899 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21901 ac_config_commands
="$ac_config_commands include/wine"
21904 MAKE_RULES
=Make.rules
21907 MAKE_DLL_RULES
=dlls
/Makedll.rules
21910 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21913 MAKE_TEST_RULES
=dlls
/Maketest.rules
21916 MAKE_PROG_RULES
=programs
/Makeprog.rules
21919 ac_config_files
="$ac_config_files Make.rules"
21921 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21923 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21925 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21927 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21929 ac_config_files
="$ac_config_files Makefile"
21931 ac_config_files
="$ac_config_files dlls/Makefile"
21933 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21935 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21937 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21939 ac_config_files
="$ac_config_files dlls/adsiid/Makefile"
21941 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21943 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21945 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21947 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21949 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21951 ac_config_files
="$ac_config_files dlls/appwiz.cpl/Makefile"
21953 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21955 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21957 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21959 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21961 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21963 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21965 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21967 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21969 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21971 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21973 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21975 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21977 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21979 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21981 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21983 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21985 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21987 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21989 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21991 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21993 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21995 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21997 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21999 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
22001 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
22003 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
22005 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
22007 ac_config_files
="$ac_config_files dlls/cryptui/Makefile"
22009 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
22011 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
22013 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
22015 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
22017 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
22019 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
22021 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
22023 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
22025 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
22027 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
22029 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
22031 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
22033 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
22035 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
22037 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
22039 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
22041 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
22043 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
22045 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
22047 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
22049 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
22051 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
22053 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
22055 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
22057 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
22059 ac_config_files
="$ac_config_files dlls/d3dx9_36/tests/Makefile"
22061 ac_config_files
="$ac_config_files dlls/d3dx9_37/Makefile"
22063 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
22065 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
22067 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
22069 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
22071 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
22073 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
22075 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
22077 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
22079 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
22081 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
22083 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
22085 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
22087 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
22089 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
22091 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
22093 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
22095 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
22097 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
22099 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
22101 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
22103 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
22105 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
22107 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
22109 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
22111 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
22113 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
22115 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
22117 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
22119 ac_config_files
="$ac_config_files dlls/dpwsockx/Makefile"
22121 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
22123 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
22125 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
22127 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
22129 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
22131 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
22133 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
22135 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
22137 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
22139 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
22141 ac_config_files
="$ac_config_files dlls/fusion/Makefile"
22143 ac_config_files
="$ac_config_files dlls/fusion/tests/Makefile"
22145 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
22147 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
22149 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
22151 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
22153 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
22155 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
22157 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
22159 ac_config_files
="$ac_config_files dlls/hal/Makefile"
22161 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
22163 ac_config_files
="$ac_config_files dlls/hid/Makefile"
22165 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
22167 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
22169 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
22171 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
22173 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
22175 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
22177 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
22179 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
22181 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
22183 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
22185 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
22187 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
22189 ac_config_files
="$ac_config_files dlls/inetmib1/Makefile"
22191 ac_config_files
="$ac_config_files dlls/inetmib1/tests/Makefile"
22193 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
22195 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
22197 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
22199 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
22201 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
22203 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
22205 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
22207 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
22209 ac_config_files
="$ac_config_files dlls/itss/Makefile"
22211 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
22213 ac_config_files
="$ac_config_files dlls/jscript/Makefile"
22215 ac_config_files
="$ac_config_files dlls/jscript/tests/Makefile"
22217 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
22219 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
22221 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
22223 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
22225 ac_config_files
="$ac_config_files dlls/localui/Makefile"
22227 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
22229 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
22231 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
22233 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
22235 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
22237 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
22239 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
22241 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
22243 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
22245 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
22247 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
22249 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
22251 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22253 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
22255 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
22257 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
22259 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
22261 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
22263 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
22265 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
22267 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
22269 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
22271 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
22273 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
22275 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
22277 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
22279 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
22281 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
22283 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
22285 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
22287 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
22289 ac_config_files
="$ac_config_files dlls/msi/Makefile"
22291 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
22293 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
22295 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
22297 ac_config_files
="$ac_config_files dlls/msisip/Makefile"
22299 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
22301 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
22303 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
22305 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
22307 ac_config_files
="$ac_config_files dlls/mstask/Makefile"
22309 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
22311 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
22313 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
22315 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
22317 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
22319 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
22321 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
22323 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
22325 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
22327 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
22329 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
22331 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
22333 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
22335 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
22337 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
22339 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
22341 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
22343 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
22345 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
22347 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
22349 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
22351 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22353 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
22355 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
22357 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
22359 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
22361 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
22363 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
22365 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
22367 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
22369 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
22371 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
22373 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
22375 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
22377 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
22379 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
22381 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
22383 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
22385 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
22387 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
22389 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
22391 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
22393 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
22395 ac_config_files
="$ac_config_files dlls/printui/Makefile"
22397 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
22399 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
22401 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
22403 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
22405 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
22407 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
22409 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
22411 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
22413 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
22415 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
22417 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
22419 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
22421 ac_config_files
="$ac_config_files dlls/query/Makefile"
22423 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
22425 ac_config_files
="$ac_config_files dlls/rasapi32/tests/Makefile"
22427 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
22429 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
22431 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
22433 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
22435 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
22437 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
22439 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
22441 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
22443 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
22445 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
22447 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
22449 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
22451 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
22453 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
22455 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
22457 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
22459 ac_config_files
="$ac_config_files dlls/security/Makefile"
22461 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
22463 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
22465 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
22467 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
22469 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
22471 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
22473 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
22475 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
22477 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
22479 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
22481 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
22483 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
22485 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
22487 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
22489 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
22491 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
22493 ac_config_files
="$ac_config_files dlls/slc/Makefile"
22495 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
22497 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
22499 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
22501 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
22503 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
22505 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
22507 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
22509 ac_config_files
="$ac_config_files dlls/sti/Makefile"
22511 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
22513 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
22515 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
22517 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
22519 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
22521 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
22523 ac_config_files
="$ac_config_files dlls/url/Makefile"
22525 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
22527 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
22529 ac_config_files
="$ac_config_files dlls/user32/Makefile"
22531 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
22533 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
22535 ac_config_files
="$ac_config_files dlls/userenv/tests/Makefile"
22537 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
22539 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
22541 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
22543 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
22545 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
22547 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
22549 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
22551 ac_config_files
="$ac_config_files dlls/version/Makefile"
22553 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
22555 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
22557 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
22559 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
22561 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
22563 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
22565 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
22567 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
22569 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
22571 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22573 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
22575 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
22577 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
22579 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
22581 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
22583 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
22585 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
22587 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
22589 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
22591 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
22593 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
22595 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
22597 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
22599 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
22601 ac_config_files
="$ac_config_files dlls/winhttp/tests/Makefile"
22603 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
22605 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
22607 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
22609 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
22611 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
22613 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
22615 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
22617 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
22619 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
22621 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
22623 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
22625 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
22627 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
22629 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
22631 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
22633 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
22635 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
22637 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
22639 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
22641 ac_config_files
="$ac_config_files documentation/Makefile"
22643 ac_config_files
="$ac_config_files fonts/Makefile"
22645 ac_config_files
="$ac_config_files include/Makefile"
22647 ac_config_files
="$ac_config_files libs/Makefile"
22649 ac_config_files
="$ac_config_files libs/port/Makefile"
22651 ac_config_files
="$ac_config_files libs/wine/Makefile"
22653 ac_config_files
="$ac_config_files libs/wpp/Makefile"
22655 ac_config_files
="$ac_config_files loader/Makefile"
22657 ac_config_files
="$ac_config_files programs/Makefile"
22659 ac_config_files
="$ac_config_files programs/clock/Makefile"
22661 ac_config_files
="$ac_config_files programs/cmd/Makefile"
22663 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
22665 ac_config_files
="$ac_config_files programs/control/Makefile"
22667 ac_config_files
="$ac_config_files programs/eject/Makefile"
22669 ac_config_files
="$ac_config_files programs/expand/Makefile"
22671 ac_config_files
="$ac_config_files programs/explorer/Makefile"
22673 ac_config_files
="$ac_config_files programs/hh/Makefile"
22675 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
22677 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
22679 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
22681 ac_config_files
="$ac_config_files programs/net/Makefile"
22683 ac_config_files
="$ac_config_files programs/notepad/Makefile"
22685 ac_config_files
="$ac_config_files programs/oleview/Makefile"
22687 ac_config_files
="$ac_config_files programs/progman/Makefile"
22689 ac_config_files
="$ac_config_files programs/reg/Makefile"
22691 ac_config_files
="$ac_config_files programs/regedit/Makefile"
22693 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
22695 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
22697 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
22699 ac_config_files
="$ac_config_files programs/secedit/Makefile"
22701 ac_config_files
="$ac_config_files programs/services/Makefile"
22703 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
22705 ac_config_files
="$ac_config_files programs/start/Makefile"
22707 ac_config_files
="$ac_config_files programs/svchost/Makefile"
22709 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
22711 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
22713 ac_config_files
="$ac_config_files programs/view/Makefile"
22715 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
22717 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
22719 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
22721 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
22723 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
22725 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
22727 ac_config_files
="$ac_config_files programs/winefile/Makefile"
22729 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
22731 ac_config_files
="$ac_config_files programs/winemine/Makefile"
22733 ac_config_files
="$ac_config_files programs/winepath/Makefile"
22735 ac_config_files
="$ac_config_files programs/winetest/Makefile"
22737 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
22739 ac_config_files
="$ac_config_files programs/winhlp32/Makefile"
22741 ac_config_files
="$ac_config_files programs/winver/Makefile"
22743 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
22745 ac_config_files
="$ac_config_files programs/write/Makefile"
22747 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
22749 ac_config_files
="$ac_config_files server/Makefile"
22751 ac_config_files
="$ac_config_files tools/Makefile"
22753 ac_config_files
="$ac_config_files tools/widl/Makefile"
22755 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
22757 ac_config_files
="$ac_config_files tools/winedump/Makefile"
22759 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
22761 ac_config_files
="$ac_config_files tools/wmc/Makefile"
22763 ac_config_files
="$ac_config_files tools/wrc/Makefile"
22766 cat >confcache
<<\_ACEOF
22767 # This file is a shell script that caches the results of configure
22768 # tests run on this system so they can be shared between configure
22769 # scripts and configure runs, see configure's option --config-cache.
22770 # It is not useful on other systems. If it contains results you don't
22771 # want to keep, you may remove or edit it.
22773 # config.status only pays attention to the cache file if you give it
22774 # the --recheck option to rerun configure.
22776 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22777 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22778 # following values.
22782 # The following way of writing the cache mishandles newlines in values,
22783 # but we know of no workaround that is simple, portable, and efficient.
22784 # So, we kill variables containing newlines.
22785 # Ultrix sh set writes to stderr and can't be redirected directly,
22786 # and sets the high bit in the cache file unless we assign to the vars.
22788 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22789 eval ac_val
=\$
$ac_var
22793 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22794 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22797 _ | IFS | as_nl
) ;; #(
22798 *) $as_unset $ac_var ;;
22804 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22805 *${as_nl}ac_space
=\
*)
22806 # `set' does not quote correctly, so add quotes (double-quote
22807 # substitution turns \\\\ into \\, and sed turns \\ into \).
22810 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22813 # `set' quotes correctly as required by POSIX, so do not add quotes.
22814 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22823 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22825 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22827 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22828 if test -w "$cache_file"; then
22829 test "x$cache_file" != "x/dev/null" &&
22830 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22831 echo "$as_me: updating cache $cache_file" >&6;}
22832 cat confcache
>$cache_file
22834 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22835 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22840 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22841 # Let make expand exec_prefix.
22842 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22844 DEFS
=-DHAVE_CONFIG_H
22848 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22849 # 1. Remove the extension, and $U if already installed.
22850 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22851 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22852 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22853 # will be set to the directory where LIBOBJS objects are built.
22854 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22855 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22857 LIBOBJS
=$ac_libobjs
22859 LTLIBOBJS
=$ac_ltlibobjs
22863 : ${CONFIG_STATUS=./config.status}
22864 ac_clean_files_save
=$ac_clean_files
22865 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22866 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22867 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22868 cat >$CONFIG_STATUS <<_ACEOF
22870 # Generated by $as_me.
22871 # Run this file to recreate the current configuration.
22872 # Compiler output produced by configure, useful for debugging
22873 # configure, is in config.log if it exists.
22876 ac_cs_recheck=false
22878 SHELL=\${CONFIG_SHELL-$SHELL}
22881 cat >>$CONFIG_STATUS <<\_ACEOF
22882 ## --------------------- ##
22883 ## M4sh Initialization. ##
22884 ## --------------------- ##
22886 # Be more Bourne compatible
22887 DUALCASE
=1; export DUALCASE
# for MKS sh
22888 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22891 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22892 # is contrary to our usage. Disable this feature.
22893 alias -g '${1+"$@"}'='"$@"'
22894 setopt NO_GLOB_SUBST
22896 case `(set -o) 2>/dev/null` in
22897 *posix
*) set -o posix
;;
22906 # Avoid depending upon Character Ranges.
22907 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22908 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22909 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22910 as_cr_digits
='0123456789'
22911 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22913 # The user is always right.
22914 if test "${PATH_SEPARATOR+set}" != set; then
22915 echo "#! /bin/sh" >conf$$.sh
22916 echo "exit 0" >>conf$$.sh
22918 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22926 # Support unset when possible.
22927 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22935 # We need space, tab and new line, in precisely that order. Quoting is
22936 # there to prevent editors from complaining about space-tab.
22937 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22938 # splitting by setting IFS to empty value.)
22943 # Find who we are. Look in the path if we contain no directory separator.
22945 *[\\/]* ) as_myself
=$0 ;;
22946 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22947 for as_dir
in $PATH
22950 test -z "$as_dir" && as_dir
=.
22951 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22957 # We did not find ourselves, most probably we were run as `sh COMMAND'
22958 # in which case we are not to be found in the path.
22959 if test "x$as_myself" = x
; then
22962 if test ! -f "$as_myself"; then
22963 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22964 { (exit 1); exit 1; }
22967 # Work around bugs in pre-3.0 UWIN ksh.
22968 for as_var
in ENV MAIL MAILPATH
22969 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22977 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22978 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22979 LC_TELEPHONE LC_TIME
22981 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22982 eval $as_var=C
; export $as_var
22984 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22988 # Required to use basename.
22989 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22990 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22996 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22997 as_basename
=basename
23003 # Name of the executable.
23004 as_me
=`$as_basename -- "$0" ||
23005 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23006 X"$0" : 'X\(//\)$' \| \
23007 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23009 sed '/^.*\/\([^/][^/]*\)\/*$/{
23028 as_lineno_1
=$LINENO
23029 as_lineno_2
=$LINENO
23030 test "x$as_lineno_1" != "x$as_lineno_2" &&
23031 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23033 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23034 # uniformly replaced by the line number. The first 'sed' inserts a
23035 # line-number line after each line using $LINENO; the second 'sed'
23036 # does the real work. The second script uses 'N' to pair each
23037 # line-number line with the line containing $LINENO, and appends
23038 # trailing '-' during substitution so that $LINENO is not a special
23039 # case at line end.
23040 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23041 # scripts with optimization help from Paolo Bonzini. Blame Lee
23042 # E. McMahon (1931-1989) for sed's syntax. :-)
23054 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23057 ' >$as_me.lineno
&&
23058 chmod +x
"$as_me.lineno" ||
23059 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23060 { (exit 1); exit 1; }; }
23062 # Don't try to exec as it changes $[0], causing all sort of problems
23063 # (the dirname of $[0] is not the place where we might find the
23064 # original and so on. Autoconf is especially sensitive to this).
23065 .
"./$as_me.lineno"
23066 # Exit status is that of the last command.
23071 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23077 ECHO_C
= ECHO_N
= ECHO_T
=
23078 case `echo -n x` in
23080 case `echo 'x\c'` in
23081 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23088 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23089 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23095 rm -f conf$$ conf$$.exe conf$$.
file
23096 if test -d conf$$.dir
; then
23097 rm -f conf$$.dir
/conf$$.
file
23103 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23105 # ... but there are two gotchas:
23106 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23107 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23108 # In both cases, we have to default to `cp -p'.
23109 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23111 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23116 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23117 rmdir conf$$.dir
2>/dev
/null
23119 if mkdir
-p .
2>/dev
/null
; then
23122 test -d .
/-p && rmdir .
/-p
23126 if test -x / >/dev
/null
2>&1; then
23127 as_test_x
='test -x'
23129 if ls -dL / >/dev
/null
2>&1; then
23136 if test -d "$1"; then
23142 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23143 ???[sx]*):;;*)false;;esac;fi
23147 as_executable_p
=$as_test_x
23149 # Sed expression to map a string onto a valid CPP name.
23150 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23152 # Sed expression to map a string onto a valid variable name.
23153 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23158 # Save the log message, to keep $[0] and so on meaningful, and to
23159 # report actual input values of CONFIG_FILES etc. instead of their
23160 # values after options handling.
23162 This file was extended by Wine $as_me 1.1.2, which was
23163 generated by GNU Autoconf 2.61. Invocation command line was
23165 CONFIG_FILES = $CONFIG_FILES
23166 CONFIG_HEADERS = $CONFIG_HEADERS
23167 CONFIG_LINKS = $CONFIG_LINKS
23168 CONFIG_COMMANDS = $CONFIG_COMMANDS
23171 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23176 cat >>$CONFIG_STATUS <<_ACEOF
23177 # Files that config.status was made for.
23178 config_files="$ac_config_files"
23179 config_headers="$ac_config_headers"
23180 config_commands="$ac_config_commands"
23184 cat >>$CONFIG_STATUS <<\_ACEOF
23186 \`$as_me' instantiates files from templates according to the
23187 current configuration.
23189 Usage: $0 [OPTIONS] [FILE]...
23191 -h, --help print this help, then exit
23192 -V, --version print version number and configuration settings, then exit
23193 -q, --quiet do not print progress messages
23194 -d, --debug don't remove temporary files
23195 --recheck update $as_me by reconfiguring in the same conditions
23196 --file=FILE[:TEMPLATE]
23197 instantiate the configuration file FILE
23198 --header=FILE[:TEMPLATE]
23199 instantiate the configuration header FILE
23201 Configuration files:
23204 Configuration headers:
23207 Configuration commands:
23210 Report bugs to <bug-autoconf@gnu.org>."
23213 cat >>$CONFIG_STATUS <<_ACEOF
23215 Wine config.status 1.1.2
23216 configured by $0, generated by GNU Autoconf 2.61,
23217 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23219 Copyright (C) 2006 Free Software Foundation, Inc.
23220 This config.status script is free software; the Free Software Foundation
23221 gives unlimited permission to copy, distribute and modify it."
23228 cat >>$CONFIG_STATUS <<\_ACEOF
23229 # If no file are specified by the user, then we need to provide default
23230 # value. By we need to know if files were specified by the user.
23236 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23237 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23248 # Handling of the options.
23249 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23251 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23252 echo "$ac_cs_version"; exit ;;
23253 --debug |
--debu |
--deb |
--de |
--d |
-d )
23255 --file |
--fil |
--fi |
--f )
23257 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23258 ac_need_defaults
=false
;;
23259 --header |
--heade |
--head |
--hea )
23261 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23262 ac_need_defaults
=false
;;
23264 # Conflict between --help and --header
23265 { echo "$as_me: error: ambiguous option: $1
23266 Try \`$0 --help' for more information." >&2
23267 { (exit 1); exit 1; }; };;
23268 --help |
--hel |
-h )
23269 echo "$ac_cs_usage"; exit ;;
23270 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23271 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23274 # This is an error.
23275 -*) { echo "$as_me: error: unrecognized option: $1
23276 Try \`$0 --help' for more information." >&2
23277 { (exit 1); exit 1; }; } ;;
23279 *) ac_config_targets
="$ac_config_targets $1"
23280 ac_need_defaults
=false
;;
23286 ac_configure_extra_args
=
23288 if $ac_cs_silent; then
23290 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23294 cat >>$CONFIG_STATUS <<_ACEOF
23295 if \$ac_cs_recheck; then
23296 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23297 CONFIG_SHELL=$SHELL
23298 export CONFIG_SHELL
23299 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23303 cat >>$CONFIG_STATUS <<\_ACEOF
23307 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23308 ## Running $as_me. ##
23314 cat >>$CONFIG_STATUS <<_ACEOF
23317 cat >>$CONFIG_STATUS <<\_ACEOF
23319 # Handling of arguments.
23320 for ac_config_target
in $ac_config_targets
23322 case $ac_config_target in
23323 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23324 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23325 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23326 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23327 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23328 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
23329 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23330 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
23331 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
23332 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
23333 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23334 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
23335 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
23336 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23337 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
23338 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
23339 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
23340 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23341 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23342 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23343 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23344 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
23345 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23346 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
23347 "dlls/appwiz.cpl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;;
23348 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
23349 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23350 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23351 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
23352 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23353 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23354 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23355 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23356 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
23357 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23358 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23359 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
23360 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23361 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23362 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23363 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23364 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23365 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
23366 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
23367 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23368 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23369 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23370 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23371 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23372 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23373 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23374 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23375 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23376 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23377 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23378 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23379 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23380 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23381 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23382 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23383 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23384 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23385 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23386 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23387 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23388 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23389 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23390 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23391 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23392 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23393 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23394 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23395 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23396 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23397 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23398 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23399 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23400 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23401 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23402 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23403 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23404 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23405 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23406 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23407 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23408 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23409 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
23410 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
23411 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23412 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23413 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
23414 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23415 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
23416 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23417 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23418 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23419 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23420 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23421 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23422 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23423 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23424 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
23425 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23426 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23427 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23428 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23429 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23430 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23431 "dlls/dpwsockx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
23432 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
23433 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23434 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23435 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
23436 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23437 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23438 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23439 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23440 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23441 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23442 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
23443 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23444 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23445 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23446 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23447 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23448 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
23449 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23450 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23451 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
23452 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23453 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
23454 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
23455 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23456 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23457 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23458 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
23459 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23460 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23461 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23462 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
23463 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23464 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23465 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23466 "dlls/inetmib1/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23467 "dlls/inetmib1/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23468 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23469 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23470 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
23471 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23472 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
23473 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23474 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23475 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
23476 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
23477 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23478 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
23479 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23480 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23481 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23482 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
23483 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23484 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
23485 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23486 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
23487 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23488 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23489 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23490 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23491 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23492 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23493 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23494 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
23495 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
23496 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23497 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23498 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23499 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23500 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
23501 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23502 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23503 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23504 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23505 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23506 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23507 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
23508 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23509 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23510 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23511 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23512 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23513 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23514 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23515 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23516 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
23517 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23518 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23519 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23520 "dlls/msisip/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisip/Makefile" ;;
23521 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23522 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23523 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23524 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23525 "dlls/mstask/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mstask/Makefile" ;;
23526 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23527 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23528 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23529 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23530 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23531 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23532 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23533 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23534 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23535 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23536 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23537 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23538 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23539 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23540 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23541 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23542 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
23543 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23544 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23545 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23546 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23547 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23548 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23549 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23550 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
23551 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23552 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23553 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23554 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
23555 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23556 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23557 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23558 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23559 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23560 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23561 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23562 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23563 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23564 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23565 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23566 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
23567 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23568 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23569 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
23570 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
23571 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
23572 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23573 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23574 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
23575 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
23576 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23577 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23578 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23579 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23580 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
23581 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23582 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
23583 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23584 "dlls/rasapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
23585 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
23586 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
23587 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23588 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
23589 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23590 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23591 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23592 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23593 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23594 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23595 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23596 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23597 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
23598 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23599 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
23600 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23601 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
23602 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23603 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
23604 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23605 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23606 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23607 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
23608 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23609 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23610 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23611 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23612 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
23613 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23614 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23615 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23616 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23617 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23618 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
23619 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23620 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23621 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
23622 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23623 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23624 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23625 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23626 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
23627 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23628 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23629 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
23630 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23631 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23632 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
23633 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
23634 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23635 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23636 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
23637 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23638 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
23639 "dlls/userenv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23640 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
23641 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23642 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
23643 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23644 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23645 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23646 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23647 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
23648 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23649 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23650 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23651 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23652 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23653 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23654 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23655 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23656 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23657 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23658 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23659 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23660 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23661 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23662 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23663 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23664 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23665 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23666 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23667 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23668 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23669 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23670 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23671 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23672 "dlls/winhttp/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
23673 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23674 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23675 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23676 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23677 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23678 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23679 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23680 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23681 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23682 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23683 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23684 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23685 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23686 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23687 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23688 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23689 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23690 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23691 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23692 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23693 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23694 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23695 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23696 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23697 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23698 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23699 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23700 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23701 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23702 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23703 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23704 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23705 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23706 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23707 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23708 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23709 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23710 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23711 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23712 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23713 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23714 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23715 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23716 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23717 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23718 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23719 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23720 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23721 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23722 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23723 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23724 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23725 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23726 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23727 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23728 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23729 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23730 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23731 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23732 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23733 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23734 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23735 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23736 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23737 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23738 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23739 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23740 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23741 "programs/winhlp32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23742 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23743 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23744 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23745 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23746 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23747 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23748 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23749 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23750 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23751 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23752 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23753 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23755 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23756 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23757 { (exit 1); exit 1; }; };;
23762 # If the user did not use the arguments to specify the items to instantiate,
23763 # then the envvar interface is used. Set only those that are not.
23764 # We use the long form for the default assignment because of an extremely
23765 # bizarre bug on SunOS 4.1.3.
23766 if $ac_need_defaults; then
23767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23768 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23769 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23772 # Have a temporary directory for convenience. Make it in the build tree
23773 # simply because there is no reason against having it here, and in addition,
23774 # creating and moving files from /tmp can sometimes cause problems.
23775 # Hook for its removal unless debugging.
23776 # Note that there is a small window in which the directory will not be cleaned:
23777 # after its creation but before its name has been assigned to `$tmp'.
23781 trap 'exit_status=$?
23782 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23784 trap '{ (exit 1); exit 1; }' 1 2 13 15
23786 # Create a (secure) tmp directory for tmp files.
23789 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23790 test -n "$tmp" && test -d "$tmp"
23793 tmp
=.
/conf$$
-$RANDOM
23794 (umask 077 && mkdir
"$tmp")
23797 echo "$me: cannot create a temporary directory in ." >&2
23798 { (exit 1); exit 1; }
23802 # Set up the sed scripts for CONFIG_FILES section.
23805 # No need to generate the scripts if there are no CONFIG_FILES.
23806 # This happens for instance when ./config.status config.h
23807 if test -n "$CONFIG_FILES"; then
23811 # Create sed commands to just substitute file output variables.
23813 # Remaining file output variables are in a fragment that also has non-file
23819 for ac_last_try
in false false false false false
:; do
23820 cat >conf$
$subs.
sed <<_ACEOF
23821 SHELL!$SHELL$ac_delim
23822 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23823 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23824 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23825 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23826 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23827 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23828 exec_prefix!$exec_prefix$ac_delim
23829 prefix!$prefix$ac_delim
23830 program_transform_name!$program_transform_name$ac_delim
23831 bindir!$bindir$ac_delim
23832 sbindir!$sbindir$ac_delim
23833 libexecdir!$libexecdir$ac_delim
23834 datarootdir!$datarootdir$ac_delim
23835 datadir!$datadir$ac_delim
23836 sysconfdir!$sysconfdir$ac_delim
23837 sharedstatedir!$sharedstatedir$ac_delim
23838 localstatedir!$localstatedir$ac_delim
23839 includedir!$includedir$ac_delim
23840 oldincludedir!$oldincludedir$ac_delim
23841 docdir!$docdir$ac_delim
23842 infodir!$infodir$ac_delim
23843 htmldir!$htmldir$ac_delim
23844 dvidir!$dvidir$ac_delim
23845 pdfdir!$pdfdir$ac_delim
23846 psdir!$psdir$ac_delim
23847 libdir!$libdir$ac_delim
23848 localedir!$localedir$ac_delim
23849 mandir!$mandir$ac_delim
23850 DEFS!$DEFS$ac_delim
23851 ECHO_C!$ECHO_C$ac_delim
23852 ECHO_N!$ECHO_N$ac_delim
23853 ECHO_T!$ECHO_T$ac_delim
23854 LIBS!$LIBS$ac_delim
23855 build_alias!$build_alias$ac_delim
23856 host_alias!$host_alias$ac_delim
23857 target_alias!$target_alias$ac_delim
23858 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23859 build!$build$ac_delim
23860 build_cpu!$build_cpu$ac_delim
23861 build_vendor!$build_vendor$ac_delim
23862 build_os!$build_os$ac_delim
23863 host!$host$ac_delim
23864 host_cpu!$host_cpu$ac_delim
23865 host_vendor!$host_vendor$ac_delim
23866 host_os!$host_os$ac_delim
23867 WIN16_FILES!$WIN16_FILES$ac_delim
23868 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23869 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23870 WINETEST!$WINETEST$ac_delim
23871 SET_MAKE!$SET_MAKE$ac_delim
23873 CFLAGS!$CFLAGS$ac_delim
23874 LDFLAGS!$LDFLAGS$ac_delim
23875 CPPFLAGS!$CPPFLAGS$ac_delim
23876 ac_ct_CC!$ac_ct_CC$ac_delim
23877 EXEEXT!$EXEEXT$ac_delim
23878 OBJEXT!$OBJEXT$ac_delim
23880 CXXFLAGS!$CXXFLAGS$ac_delim
23881 ac_ct_CXX!$ac_ct_CXX$ac_delim
23882 CPPBIN!$CPPBIN$ac_delim
23883 TOOLSDIR!$TOOLSDIR$ac_delim
23884 XMKMF!$XMKMF$ac_delim
23886 X_CFLAGS!$X_CFLAGS$ac_delim
23887 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23888 X_LIBS!$X_LIBS$ac_delim
23889 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23890 FLEX!$FLEX$ac_delim
23891 BISON!$BISON$ac_delim
23893 ac_ct_AS!$ac_ct_AS$ac_delim
23895 ac_ct_LD!$ac_ct_LD$ac_delim
23897 ac_ct_NM!$ac_ct_NM$ac_delim
23899 ac_ct_AR!$ac_ct_AR$ac_delim
23900 ARFLAGS!$ARFLAGS$ac_delim
23901 RANLIB!$RANLIB$ac_delim
23902 STRIP!$STRIP$ac_delim
23905 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23907 elif $ac_last_try; then
23908 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23909 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23910 { (exit 1); exit 1; }; }
23912 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23916 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23917 if test -n "$ac_eof"; then
23918 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23919 ac_eof
=`expr $ac_eof + 1`
23922 cat >>$CONFIG_STATUS <<_ACEOF
23923 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23925 /^[ ]*@MAKE_RULES@[ ]*$/{
23929 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23933 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23934 r $MAKE_IMPLIB_RULES
23937 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23941 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23947 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23948 s/^/s,@/; s/!/@,|#_!!_#|/
23951 s/'"$ac_delim"'$/,g/; t
23953 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23954 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23955 rm -f conf$
$subs.
sed
23956 cat >>$CONFIG_STATUS <<_ACEOF
23962 for ac_last_try
in false false false false false
:; do
23963 cat >conf$
$subs.
sed <<_ACEOF
23964 WINDRES!$WINDRES$ac_delim
23965 LN_S!$LN_S$ac_delim
23967 GREP!$GREP$ac_delim
23968 EGREP!$EGREP$ac_delim
23969 LDCONFIG!$LDCONFIG$ac_delim
23970 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23971 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23972 INSTALL_DATA!$INSTALL_DATA$ac_delim
23973 LINT!$LINT$ac_delim
23974 LINTFLAGS!$LINTFLAGS$ac_delim
23975 FONTFORGE!$FONTFORGE$ac_delim
23976 PKG_CONFIG!$PKG_CONFIG$ac_delim
23977 RSVG!$RSVG$ac_delim
23978 ICOTOOL!$ICOTOOL$ac_delim
23979 PRELINK!$PRELINK$ac_delim
23980 LIBPTHREAD!$LIBPTHREAD$ac_delim
23981 XLIB!$XLIB$ac_delim
23982 XFILES!$XFILES$ac_delim
23983 OPENGLFILES!$OPENGLFILES$ac_delim
23984 GLU32FILES!$GLU32FILES$ac_delim
23985 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23986 QUARTZFILES!$QUARTZFILES$ac_delim
23987 DLLEXT!$DLLEXT$ac_delim
23988 DLLFLAGS!$DLLFLAGS$ac_delim
23989 LDSHARED!$LDSHARED$ac_delim
23990 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23991 LIBEXT!$LIBEXT$ac_delim
23992 IMPLIBEXT!$IMPLIBEXT$ac_delim
23993 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23994 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23996 DLLTOOL!$DLLTOOL$ac_delim
23997 DLLWRAP!$DLLWRAP$ac_delim
23998 MINGWAR!$MINGWAR$ac_delim
23999 SECURITYLIB!$SECURITYLIB$ac_delim
24000 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24001 IOKITLIB!$IOKITLIB$ac_delim
24002 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24003 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24004 COREAUDIO!$COREAUDIO$ac_delim
24005 CARBONLIB!$CARBONLIB$ac_delim
24006 CROSSTEST!$CROSSTEST$ac_delim
24007 CROSSCC!$CROSSCC$ac_delim
24008 CROSSWINDRES!$CROSSWINDRES$ac_delim
24009 NASLIBS!$NASLIBS$ac_delim
24010 XML2LIBS!$XML2LIBS$ac_delim
24011 XML2INCL!$XML2INCL$ac_delim
24012 XSLTLIBS!$XSLTLIBS$ac_delim
24013 XSLTINCL!$XSLTINCL$ac_delim
24014 HALINCL!$HALINCL$ac_delim
24015 sane_devel!$sane_devel$ac_delim
24016 SANEINCL!$SANEINCL$ac_delim
24017 gphoto2_devel!$gphoto2_devel$ac_delim
24018 gphoto2port_devel!$gphoto2port_devel$ac_delim
24019 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24020 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24021 RESOLVLIBS!$RESOLVLIBS$ac_delim
24022 LCMSLIBS!$LCMSLIBS$ac_delim
24023 ft_devel!$ft_devel$ac_delim
24024 FREETYPELIBS!$FREETYPELIBS$ac_delim
24025 FREETYPEINCL!$FREETYPEINCL$ac_delim
24026 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24027 ESDCONFIG!$ESDCONFIG$ac_delim
24028 ESDINCL!$ESDINCL$ac_delim
24029 ESDLIBS!$ESDLIBS$ac_delim
24030 ALSALIBS!$ALSALIBS$ac_delim
24031 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24032 CUPSINCL!$CUPSINCL$ac_delim
24033 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
24034 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24035 BUILTINFLAG!$BUILTINFLAG$ac_delim
24036 LDPATH!$LDPATH$ac_delim
24037 CRTLIBS!$CRTLIBS$ac_delim
24038 SOCKETLIBS!$SOCKETLIBS$ac_delim
24039 MAIN_BINARY!$MAIN_BINARY$ac_delim
24040 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24041 LIBDL!$LIBDL$ac_delim
24042 LIBPOLL!$LIBPOLL$ac_delim
24043 LDAPLIBS!$LDAPLIBS$ac_delim
24044 DEPENDENCIES!$DEPENDENCIES$ac_delim
24045 LIBOBJS!$LIBOBJS$ac_delim
24046 LTLIBOBJS!$LTLIBOBJS$ac_delim
24049 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
24051 elif $ac_last_try; then
24052 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24053 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24054 { (exit 1); exit 1; }; }
24056 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24060 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24061 if test -n "$ac_eof"; then
24062 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24063 ac_eof
=`expr $ac_eof + 1`
24066 cat >>$CONFIG_STATUS <<_ACEOF
24067 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24068 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24071 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24072 s/^/s,@/; s/!/@,|#_!!_#|/
24075 s/'"$ac_delim"'$/,g/; t
24077 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24078 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24079 rm -f conf$
$subs.
sed
24080 cat >>$CONFIG_STATUS <<_ACEOF
24087 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24088 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24089 # trailing colons and then remove the whole line if VPATH becomes empty
24090 # (actually we leave an empty line to preserve line numbers).
24091 if test "x$srcdir" = x.
; then
24092 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24093 s/:*\$(srcdir):*/:/
24094 s/:*\${srcdir}:*/:/
24096 s/^\([^=]*=[ ]*\):*/\1/
24102 cat >>$CONFIG_STATUS <<\_ACEOF
24103 fi # test -n "$CONFIG_FILES"
24106 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24109 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24111 case $ac_mode$ac_tag in
24113 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24114 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24115 { (exit 1); exit 1; }; };;
24116 :[FH
]-) ac_tag
=-:-;;
24117 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24134 -) ac_f
="$tmp/stdin";;
24135 *) # Look for the file first in the build tree, then in the source tree
24136 # (if the path is not absolute). The absolute path cannot be DOS-style,
24137 # because $ac_f cannot contain `:'.
24141 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24143 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24144 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24145 { (exit 1); exit 1; }; };;
24147 ac_file_inputs
="$ac_file_inputs $ac_f"
24150 # Let's still pretend it is `configure' which instantiates (i.e., don't
24151 # use $as_me), people would be surprised to read:
24152 # /* config.h. Generated by config.status. */
24153 configure_input
="Generated from "`IFS=:
24154 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24155 if test x
"$ac_file" != x-
; then
24156 configure_input
="$ac_file. $configure_input"
24157 { echo "$as_me:$LINENO: creating $ac_file" >&5
24158 echo "$as_me: creating $ac_file" >&6;}
24162 *:-:* |
*:-) cat >"$tmp/stdin";;
24167 ac_dir
=`$as_dirname -- "$ac_file" ||
24168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24169 X"$ac_file" : 'X\(//\)[^/]' \| \
24170 X"$ac_file" : 'X\(//\)$' \| \
24171 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24177 /^X\(\/\/\)[^/].*/{
24192 -*) as_dir
=.
/$as_dir;;
24194 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24198 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24199 *) as_qdir
=$as_dir;;
24201 as_dirs
="'$as_qdir' $as_dirs"
24202 as_dir
=`$as_dirname -- "$as_dir" ||
24203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24204 X"$as_dir" : 'X\(//\)[^/]' \| \
24205 X"$as_dir" : 'X\(//\)$' \| \
24206 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24212 /^X\(\/\/\)[^/].*/{
24225 test -d "$as_dir" && break
24227 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24228 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24229 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24230 { (exit 1); exit 1; }; }; }
24234 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24236 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24237 # A ".." for each directory in $ac_dir_suffix.
24238 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24239 case $ac_top_builddir_sub in
24240 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24241 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24244 ac_abs_top_builddir
=$ac_pwd
24245 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24246 # for backward compatibility:
24247 ac_top_builddir
=$ac_top_build_prefix
24250 .
) # We are building in place.
24252 ac_top_srcdir
=$ac_top_builddir_sub
24253 ac_abs_top_srcdir
=$ac_pwd ;;
24254 [\\/]* | ?
:[\\/]* ) # Absolute name.
24255 ac_srcdir
=$srcdir$ac_dir_suffix;
24256 ac_top_srcdir
=$srcdir
24257 ac_abs_top_srcdir
=$srcdir ;;
24258 *) # Relative name.
24259 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24260 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24261 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24263 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24273 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24274 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24278 cat >>$CONFIG_STATUS <<\_ACEOF
24279 # If the template does not know about datarootdir, expand it.
24280 # FIXME: This hack should be removed a few years after 2.60.
24281 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24283 case `sed -n '/datarootdir/ {
24292 ' $ac_file_inputs` in
24293 *datarootdir
*) ac_datarootdir_seen
=yes;;
24294 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24295 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24296 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24298 cat >>$CONFIG_STATUS <<_ACEOF
24299 ac_datarootdir_hack='
24300 s&@datadir@&$datadir&g
24301 s&@docdir@&$docdir&g
24302 s&@infodir@&$infodir&g
24303 s&@localedir@&$localedir&g
24304 s&@mandir@&$mandir&g
24305 s&\\\${datarootdir}&$datarootdir&g' ;;
24309 # Neutralize VPATH when `$srcdir' = `.'.
24310 # Shell code in configure.ac might set extrasub.
24311 # FIXME: do we really want to maintain this feature?
24312 cat >>$CONFIG_STATUS <<_ACEOF
24316 cat >>$CONFIG_STATUS <<\_ACEOF
24318 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24319 s
&@configure_input@
&$configure_input&;t t
24320 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24321 s
&@srcdir@
&$ac_srcdir&;t t
24322 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24323 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24324 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24325 s
&@builddir@
&$ac_builddir&;t t
24326 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24327 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24328 s
&@INSTALL@
&$ac_INSTALL&;t t
24329 $ac_datarootdir_hack
24330 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24333 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24334 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24335 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24336 which seems to be undefined. Please make sure it is defined." >&5
24337 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24338 which seems to be undefined. Please make sure it is defined." >&2;}
24342 -) cat "$tmp/out"; rm -f "$tmp/out";;
24343 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24352 # Transform confdefs.h into a sed script `conftest.defines', that
24353 # substitutes the proper values into config.h.in to produce config.h.
24354 rm -f conftest.defines conftest.
tail
24355 # First, append a space to every undef/define line, to ease matching.
24356 echo 's/$/ /' >conftest.defines
24357 # Then, protect against being on the right side of a sed subst, or in
24358 # an unquoted here document, in config.status. If some macros were
24359 # called several times there might be several #defines for the same
24360 # symbol, which is useless. But do not sort them, since the last
24361 # AC_DEFINE must be honored.
24362 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24363 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24364 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24365 # PARAMS is the parameter list in the macro definition--in most cases, it's
24366 # just an empty string.
24367 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24368 ac_dB
='\\)[ (].*,\\1define\\2'
24376 s/^[ ]*#[ ]*define[ ][ ]*//
24381 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24382 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24383 ' >>conftest.defines
24385 # Remove the space that was appended to ease matching.
24386 # Then replace #undef with comments. This is necessary, for
24387 # example, in the case of _POSIX_SOURCE, which is predefined and required
24388 # on some systems where configure will not decide to define it.
24389 # (The regexp can be short, since the line contains either #define or #undef.)
24391 s,^[ #]*u.*,/* & */,' >>conftest.defines
24393 # Break up conftest.defines:
24394 ac_max_sed_lines
=50
24396 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24397 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24398 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24400 ac_in
='$ac_file_inputs'
24401 ac_out
='"$tmp/out1"'
24402 ac_nxt
='"$tmp/out2"'
24406 # Write a here document:
24407 cat >>$CONFIG_STATUS <<_ACEOF
24408 # First, check the format of the line:
24409 cat >"\$tmp/defines.sed" <<\\CEOF
24410 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24411 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24415 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24417 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24418 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24419 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24420 grep . conftest.
tail >/dev
/null ||
break
24421 rm -f conftest.defines
24422 mv conftest.
tail conftest.defines
24424 rm -f conftest.defines conftest.
tail
24426 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24427 cat >>$CONFIG_STATUS <<\_ACEOF
24428 if test x
"$ac_file" != x-
; then
24429 echo "/* $configure_input */" >"$tmp/config.h"
24430 cat "$ac_result" >>"$tmp/config.h"
24431 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24432 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24433 echo "$as_me: $ac_file is unchanged" >&6;}
24436 mv "$tmp/config.h" $ac_file
24439 echo "/* $configure_input */"
24445 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24446 echo "$as_me: executing $ac_file commands" >&6;}
24451 case $ac_file$ac_mode in
24452 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24453 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24454 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
24455 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24456 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
24457 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24458 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
24459 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24460 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
24461 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24462 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
24463 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
24464 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
24470 { (exit 0); exit 0; }
24472 chmod +x
$CONFIG_STATUS
24473 ac_clean_files
=$ac_clean_files_save
24476 # configure is writing to config.log, and then calls config.status.
24477 # config.status does its own redirection, appending to config.log.
24478 # Unfortunately, on DOS this fails, as config.log is still kept open
24479 # by configure, so config.status won't be able to write to it; its
24480 # output is simply discarded. So we exec the FD to /dev/null,
24481 # effectively closing config.log, so it can be properly (re)opened and
24482 # appended to by config.status. When coming back to configure, we
24483 # need to make the FD available again.
24484 if test "$no_create" != yes; then
24486 ac_config_status_args
=
24487 test "$silent" = yes &&
24488 ac_config_status_args
="$ac_config_status_args --quiet"
24490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24493 # would make configure fail if this is the last instruction.
24494 $ac_cs_success ||
{ (exit 1); exit 1; }
24498 if test "$no_create" = "yes"
24505 if test "x$wine_notices != "x
; then
24507 for msg
in $wine_notices; do
24508 if test -n "$msg"; then
24509 { echo "$as_me:$LINENO: $msg" >&5
24510 echo "$as_me: $msg" >&6;}
24514 for msg
in $wine_warnings; do
24515 if test -n "$msg"; then
24517 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24518 echo "$as_me: WARNING: $msg" >&2;}
24524 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.