2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.59.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='0.9.59'
578 PACKAGE_STRING
='Wine 0.9.59'
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
778 ac_subst_files
='MAKE_RULES
783 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name
=s
,x
,x
,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir
='${exec_prefix}/bin'
825 sbindir
='${exec_prefix}/sbin'
826 libexecdir
='${exec_prefix}/libexec'
827 datarootdir
='${prefix}/share'
828 datadir
='${datarootdir}'
829 sysconfdir
='${prefix}/etc'
830 sharedstatedir
='${prefix}/com'
831 localstatedir
='${prefix}/var'
832 includedir
='${prefix}/include'
833 oldincludedir
='/usr/include'
834 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir
='${datarootdir}/info'
840 libdir
='${exec_prefix}/lib'
841 localedir
='${datarootdir}/locale'
842 mandir
='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\
$ac_option
856 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
866 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
868 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
871 -build |
--build |
--buil |
--bui |
--bu)
872 ac_prev
=build_alias
;;
873 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
874 build_alias
=$ac_optarg ;;
876 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
877 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
878 ac_prev
=cache_file
;;
879 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
880 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
881 cache_file
=$ac_optarg ;;
884 cache_file
=config.cache
;;
886 -datadir |
--datadir |
--datadi |
--datad)
888 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
889 datadir
=$ac_optarg ;;
891 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
892 |
--dataroo |
--dataro |
--datar)
893 ac_prev
=datarootdir
;;
894 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
895 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
896 datarootdir
=$ac_optarg ;;
898 -disable-* |
--disable-*)
899 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_
$ac_feature=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_
$ac_feature=\
$ac_optarg ;;
926 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
927 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
928 |
--exec |
--exe |
--ex)
929 ac_prev
=exec_prefix
;;
930 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
931 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
932 |
--exec=* |
--exe=* |
--ex=*)
933 exec_prefix
=$ac_optarg ;;
935 -gas |
--gas |
--ga |
--g)
936 # Obsolete; use --with-gas.
939 -help |
--help |
--hel |
--he |
-h)
941 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
942 ac_init_help
=recursive
;;
943 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
944 ac_init_help
=short
;;
946 -host |
--host |
--hos |
--ho)
947 ac_prev
=host_alias
;;
948 -host=* |
--host=* |
--hos=* |
--ho=*)
949 host_alias
=$ac_optarg ;;
951 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
953 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
955 htmldir
=$ac_optarg ;;
957 -includedir |
--includedir |
--includedi |
--included |
--include \
958 |
--includ |
--inclu |
--incl |
--inc)
959 ac_prev
=includedir
;;
960 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
961 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
962 includedir
=$ac_optarg ;;
964 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
966 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
967 infodir
=$ac_optarg ;;
969 -libdir |
--libdir |
--libdi |
--libd)
971 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
974 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
975 |
--libexe |
--libex |
--libe)
976 ac_prev
=libexecdir
;;
977 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
978 |
--libexe=* |
--libex=* |
--libe=*)
979 libexecdir
=$ac_optarg ;;
981 -localedir |
--localedir |
--localedi |
--localed |
--locale)
983 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
984 localedir
=$ac_optarg ;;
986 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
987 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
988 ac_prev
=localstatedir
;;
989 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
990 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
991 localstatedir
=$ac_optarg ;;
993 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
995 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
999 # Obsolete; use --without-fp.
1002 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1003 |
--no-cr |
--no-c |
-n)
1006 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1007 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1010 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1011 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1012 |
--oldin |
--oldi |
--old |
--ol |
--o)
1013 ac_prev
=oldincludedir
;;
1014 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1015 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1016 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1017 oldincludedir
=$ac_optarg ;;
1019 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1021 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1022 prefix
=$ac_optarg ;;
1024 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1025 |
--program-pre |
--program-pr |
--program-p)
1026 ac_prev
=program_prefix
;;
1027 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1028 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1029 program_prefix
=$ac_optarg ;;
1031 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1032 |
--program-suf |
--program-su |
--program-s)
1033 ac_prev
=program_suffix
;;
1034 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1035 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1036 program_suffix
=$ac_optarg ;;
1038 -program-transform-name |
--program-transform-name \
1039 |
--program-transform-nam |
--program-transform-na \
1040 |
--program-transform-n |
--program-transform- \
1041 |
--program-transform |
--program-transfor \
1042 |
--program-transfo |
--program-transf \
1043 |
--program-trans |
--program-tran \
1044 |
--progr-tra |
--program-tr |
--program-t)
1045 ac_prev
=program_transform_name
;;
1046 -program-transform-name=* |
--program-transform-name=* \
1047 |
--program-transform-nam=* |
--program-transform-na=* \
1048 |
--program-transform-n=* |
--program-transform-=* \
1049 |
--program-transform=* |
--program-transfor=* \
1050 |
--program-transfo=* |
--program-transf=* \
1051 |
--program-trans=* |
--program-tran=* \
1052 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1053 program_transform_name
=$ac_optarg ;;
1055 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1057 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1058 pdfdir
=$ac_optarg ;;
1060 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1062 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1065 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1066 |
-silent |
--silent |
--silen |
--sile |
--sil)
1069 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1071 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1073 sbindir
=$ac_optarg ;;
1075 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1076 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1077 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1079 ac_prev
=sharedstatedir
;;
1080 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1081 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1082 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1084 sharedstatedir
=$ac_optarg ;;
1086 -site |
--site |
--sit)
1088 -site=* |
--site=* |
--sit=*)
1091 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1093 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1094 srcdir
=$ac_optarg ;;
1096 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1097 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1098 ac_prev
=sysconfdir
;;
1099 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1100 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1101 sysconfdir
=$ac_optarg ;;
1103 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1104 ac_prev
=target_alias
;;
1105 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1106 target_alias
=$ac_optarg ;;
1108 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1111 -version |
--version |
--versio |
--versi |
--vers |
-V)
1112 ac_init_version
=: ;;
1115 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_
$ac_package=\
$ac_optarg ;;
1123 -without-* |
--without-*)
1124 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_
$ac_package=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val
=\$
$ac_var
1189 [\\/$
]* | ?
:[\\/]* ) continue;;
1190 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1201 target
=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x
; then
1205 if test "x$build_alias" = x
; then
1206 cross_compiling
=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1215 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1217 test "$silent" = yes && exec 6>/dev
/null
1220 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di
=`ls -di .` &&
1222 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted
=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir
=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted
=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var
in $ac_precious_vars; do
1285 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1287 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures Wine 0.9.59 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --x-includes=DIR X include files are
in DIR
1357 --x-libraries=DIR X library files are
in DIR
1360 --build=BUILD configure
for building on BUILD
[guessed
]
1361 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive
) echo "Configuration of Wine 0.9.59:";;
1372 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1373 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1377 --enable-maintainer-mode
1378 enable maintainer-specific build rules
1379 --disable-tests do not build the testsuites
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --without-alsa do not use the Alsa sound support
1385 --without-audioio do not use the AudioIO sound support
1386 --without-capi do not use CAPI (ISDN support)
1387 --without-cms do not use CMS (color management support)
1388 --without-coreaudio do not use the CoreAudio sound support
1389 --without-cups do not use CUPS
1390 --without-curses do not use (n)curses
1391 --without-esd do not use the EsounD sound support
1392 --without-fontconfig do not use fontconfig
1393 --without-gphoto do not use gphoto (Digital Camera support)
1394 --without-hal do not use HAL (dynamic device support)
1395 --without-jack do not use the Jack sound support
1396 --without-jpeg do not use JPEG
1397 --without-ldap do not use LDAP
1398 --without-nas do not use the NAS sound support
1399 --without-opengl do not use OpenGL
1400 --without-openssl do not use OpenSSL
1401 --without-oss do not use the OSS sound support
1402 --without-png do not use PNG
1403 --without-sane do not use SANE (scanner support)
1404 --without-xcomposite do not use the Xcomposite extension
1405 --without-xcursor do not use the Xcursor extension
1406 --without-xinerama do not use Xinerama (multi-monitor support)
1407 --without-xinput do not use the Xinput extension
1408 --without-xml do not use XML
1409 --without-xrandr do not use Xrandr (resolution changes)
1410 --without-xrender do not use the Xrender extension
1411 --without-xshape do not use the Xshape extension
1412 --without-xshm do not use XShm (shared memory extension)
1413 --without-xslt do not use XSLT
1414 --without-xvidmode do not use XFree video mode extension
1415 --with-wine-tools=DIR use Wine tools from directory DIR
1416 --with-x use the X Window System
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1426 CXX C++ compiler command
1427 CXXFLAGS C++ compiler flags
1428 XMKMF Path to xmkmf, Makefile generator for X Window System
1431 Use these variables to override the choices made by `configure' or to
help
1432 it to
find libraries and programs with nonstandard names
/locations.
1434 Report bugs to
<wine-devel@winehq.org
>.
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1442 test -d "$ac_dir" ||
continue
1446 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1448 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1453 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir
=$ac_pwd
1457 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir
=$ac_top_build_prefix
1462 .
) # We are building in place.
1464 ac_top_srcdir
=$ac_top_builddir_sub
1465 ac_abs_top_srcdir
=$ac_pwd ;;
1466 [\\/]* | ?
:[\\/]* ) # Absolute name.
1467 ac_srcdir
=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir
=$srcdir
1469 ac_abs_top_srcdir
=$srcdir ;;
1471 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 Wine configure
0.9.59
1496 generated by GNU Autoconf
2.61
1498 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1499 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1500 This configure
script is free software
; the Free Software Foundation
1501 gives unlimited permission to copy
, distribute and modify it.
1505 cat >config.log
<<_ACEOF
1506 This file contains any messages produced by compilers while
1507 running configure, to aid debugging if configure makes a mistake.
1509 It was created by Wine $as_me 0.9.59, which was
1510 generated by GNU Autoconf 2.61. Invocation command line was
1522 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1523 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1524 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1525 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1526 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1529 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1531 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1532 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1533 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1534 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1535 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1536 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1537 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1545 test -z "$as_dir" && as_dir
=.
1546 echo "PATH: $as_dir"
1562 # Keep a trace of the command line.
1563 # Strip out --no-create and --no-recursion so they do not pile up.
1564 # Strip out --silent because we don't want to record it for future runs.
1565 # Also quote any args containing shell meta-characters.
1566 # Make two passes to allow for proper duplicate-argument suppression.
1570 ac_must_keep_next
=false
1576 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1577 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1578 |
-silent |
--silent |
--silen |
--sile |
--sil)
1581 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1584 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1586 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1587 if test $ac_must_keep_next = true
; then
1588 ac_must_keep_next
=false
# Got value, back to normal.
1591 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1592 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1593 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1594 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1595 case "$ac_configure_args0 " in
1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1599 -* ) ac_must_keep_next
=true
;;
1602 ac_configure_args
="$ac_configure_args '$ac_arg'"
1607 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1608 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1610 # When interrupted or exit'd, cleanup temporary files, and complete
1611 # config.log. We remove comments because anyway the quotes in there
1612 # would cause problems or look ugly.
1613 # WARNING: Use '\'' to represent an apostrophe within the trap.
1614 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1615 trap 'exit_status=$?
1616 # Save into config.log some information that might help in debugging.
1621 ## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##
1626 # The following way of writing the cache mishandles newlines in values,
1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1629 eval ac_val=\$$ac_var
1633 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1634 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1637 _ | IFS | as_nl) ;; #(
1638 *) $as_unset $ac_var ;;
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658 ## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##
1663 for ac_var in $ac_subst_vars
1665 eval ac_val=\$$ac_var
1667 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669 echo "$ac_var='\''$ac_val'\''"
1673 if test -n "$ac_subst_files"; then
1675 ## ------------------- ##
1676 ## File substitutions. ##
1677 ## ------------------- ##
1680 for ac_var
in $ac_subst_files
1682 eval ac_val
=\$
$ac_var
1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686 echo "$ac_var='\''$ac_val'\''"
1691 if test -s confdefs.h; then
1701 test "$ac_signal" != 0 &&
1702 echo "$as_me: caught signal $ac_signal"
1703 echo "$as_me: exit $exit_status"
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1709 for ac_signal
in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest
* confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_STRING "$PACKAGE_STRING"
1739 cat >>confdefs.h
<<_ACEOF
1740 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer explicitly selected file to automatically selected ones.
1746 if test -n "$CONFIG_SITE"; then
1747 set x
"$CONFIG_SITE"
1748 elif test "x$prefix" != xNONE
; then
1749 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1751 set x
"$ac_default_prefix/share/config.site" \
1752 "$ac_default_prefix/etc/config.site"
1757 if test -r "$ac_site_file"; then
1758 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 echo "$as_me: loading site script $ac_site_file" >&6;}
1760 sed 's/^/| /' "$ac_site_file" >&5
1765 if test -r "$cache_file"; then
1766 # Some versions of bash will fail to source /dev/null (special
1767 # files actually), so we avoid doing that.
1768 if test -f "$cache_file"; then
1769 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 echo "$as_me: loading cache $cache_file" >&6;}
1772 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1773 *) .
"./$cache_file";;
1777 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 echo "$as_me: creating cache $cache_file" >&6;}
1782 # Check that the precious variables saved in the cache have kept the same
1784 ac_cache_corrupted
=false
1785 for ac_var
in $ac_precious_vars; do
1786 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1787 eval ac_new_set
=\
$ac_env_${ac_var}_set
1788 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1789 eval ac_new_val
=\
$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1792 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted
=: ;;
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted
=: ;;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1803 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1804 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1805 echo "$as_me: former value: $ac_old_val" >&2;}
1806 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1807 echo "$as_me: current value: $ac_new_val" >&2;}
1808 ac_cache_corrupted
=:
1811 # Pass precious variables to config.status.
1812 if test "$ac_new_set" = set; then
1814 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 *) ac_arg
=$ac_var=$ac_new_val ;;
1817 case " $ac_configure_args " in
1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1819 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1823 if $ac_cache_corrupted; then
1824 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1825 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1826 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1827 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1828 { (exit 1); exit 1; }; }
1856 ac_cpp
='$CPP $CPPFLAGS'
1857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1863 ac_config_headers
="$ac_config_headers include/config.h"
1866 for ac_dir
in tools
"$srcdir"/tools
; do
1867 if test -f "$ac_dir/install-sh"; then
1869 ac_install_sh
="$ac_aux_dir/install-sh -c"
1871 elif test -f "$ac_dir/install.sh"; then
1873 ac_install_sh
="$ac_aux_dir/install.sh -c"
1875 elif test -f "$ac_dir/shtool"; then
1877 ac_install_sh
="$ac_aux_dir/shtool install -c"
1881 if test -z "$ac_aux_dir"; then
1882 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1883 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1884 { (exit 1); exit 1; }; }
1887 # These three variables are undocumented and unsupported,
1888 # and are intended to be withdrawn in a future Autoconf release.
1889 # They can cause serious problems if a builder's source tree is in a directory
1890 # whose full name contains unusual characters.
1891 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1892 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1893 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1898 # Check whether --enable-win16 was given.
1899 if test "${enable_win16+set}" = set; then
1900 enableval
=$enable_win16;
1903 # Check whether --enable-win64 was given.
1904 if test "${enable_win64+set}" = set; then
1905 enableval
=$enable_win64;
1908 # Check whether --enable-maintainer-mode was given.
1909 if test "${enable_maintainer_mode+set}" = set; then
1910 enableval
=$enable_maintainer_mode;
1918 # Check whether --with-alsa was given.
1919 if test "${with_alsa+set}" = set; then
1920 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1924 # Check whether --with-audioio was given.
1925 if test "${with_audioio+set}" = set; then
1926 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1930 # Check whether --with-capi was given.
1931 if test "${with_capi+set}" = set; then
1932 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1936 # Check whether --with-cms was given.
1937 if test "${with_cms+set}" = set; then
1938 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1942 # Check whether --with-coreaudio was given.
1943 if test "${with_coreaudio+set}" = set; then
1944 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1948 # Check whether --with-cups was given.
1949 if test "${with_cups+set}" = set; then
1950 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1954 # Check whether --with-curses was given.
1955 if test "${with_curses+set}" = set; then
1956 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1960 # Check whether --with-esd was given.
1961 if test "${with_esd+set}" = set; then
1966 # Check whether --with-fontconfig was given.
1967 if test "${with_fontconfig+set}" = set; then
1968 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1972 # Check whether --with-gphoto was given.
1973 if test "${with_gphoto+set}" = set; then
1974 withval
=$with_gphoto;
1978 # Check whether --with-hal was given.
1979 if test "${with_hal+set}" = set; then
1984 # Check whether --with-jack was given.
1985 if test "${with_jack+set}" = set; then
1986 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
1990 # Check whether --with-jpeg was given.
1991 if test "${with_jpeg+set}" = set; then
1992 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
1996 # Check whether --with-ldap was given.
1997 if test "${with_ldap+set}" = set; then
1998 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2002 # Check whether --with-nas was given.
2003 if test "${with_nas+set}" = set; then
2004 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2008 # Check whether --with-opengl was given.
2009 if test "${with_opengl+set}" = set; then
2010 withval
=$with_opengl;
2014 # Check whether --with-openssl was given.
2015 if test "${with_openssl+set}" = set; then
2016 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2020 # Check whether --with-oss was given.
2021 if test "${with_oss+set}" = set; then
2022 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
2026 # Check whether --with-png was given.
2027 if test "${with_png+set}" = set; then
2028 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2032 # Check whether --with-sane was given.
2033 if test "${with_sane+set}" = set; then
2038 # Check whether --with-xcomposite was given.
2039 if test "${with_xcomposite+set}" = set; then
2040 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2044 # Check whether --with-xcursor was given.
2045 if test "${with_xcursor+set}" = set; then
2046 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2050 # Check whether --with-xinerama was given.
2051 if test "${with_xinerama+set}" = set; then
2052 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2056 # Check whether --with-xinput was given.
2057 if test "${with_xinput+set}" = set; then
2058 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2062 # Check whether --with-xml was given.
2063 if test "${with_xml+set}" = set; then
2068 # Check whether --with-xrandr was given.
2069 if test "${with_xrandr+set}" = set; then
2070 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2074 # Check whether --with-xrender was given.
2075 if test "${with_xrender+set}" = set; then
2076 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2080 # Check whether --with-xshape was given.
2081 if test "${with_xshape+set}" = set; then
2082 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2086 # Check whether --with-xshm was given.
2087 if test "${with_xshm+set}" = set; then
2088 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2092 # Check whether --with-xslt was given.
2093 if test "${with_xslt+set}" = set; then
2098 # Check whether --with-xvidmode was given.
2099 if test "${with_xvidmode+set}" = set; then
2100 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2105 # Check whether --with-wine-tools was given.
2106 if test "${with_wine_tools+set}" = set; then
2107 withval
=$with_wine_tools;
2110 # Check whether --enable-tests was given.
2111 if test "${enable_tests+set}" = set; then
2112 enableval
=$enable_tests;
2116 # Make sure we can run config.sub.
2117 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2118 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2119 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2120 { (exit 1); exit 1; }; }
2122 { echo "$as_me:$LINENO: checking build system type" >&5
2123 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2124 if test "${ac_cv_build+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 ac_build_alias
=$build_alias
2128 test "x$ac_build_alias" = x
&&
2129 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2130 test "x$ac_build_alias" = x
&&
2131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2133 { (exit 1); exit 1; }; }
2134 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2135 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2136 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2137 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2141 echo "${ECHO_T}$ac_cv_build" >&6; }
2142 case $ac_cv_build in
2144 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2145 echo "$as_me: error: invalid value of canonical build" >&2;}
2146 { (exit 1); exit 1; }; };;
2149 ac_save_IFS
=$IFS; IFS
='-'
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2159 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2162 { echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test "x$host_alias" = x
; then
2168 ac_cv_host
=$ac_cv_build
2170 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2172 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2178 echo "${ECHO_T}$ac_cv_host" >&6; }
2181 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2182 echo "$as_me: error: invalid value of canonical host" >&2;}
2183 { (exit 1); exit 1; }; };;
2186 ac_save_IFS
=$IFS; IFS
='-'
2192 # Remember, the first character of IFS is used to create $*,
2193 # except with old shells:
2196 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2201 if test "x$enable_win64" != "xyes"
2203 test -n "$CC" || CC
="gcc -m32"
2204 test -n "$CXX"|| CXX
="g++ -m32"
2205 test -n "$LD" || LD
="ld -m elf_i386"
2206 test -n "$AS" || AS
="as --32"
2214 if test "x$enable_win16" != "xno"
2221 WIN16_FILES
="\$(WIN16_FILES)"
2223 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2225 if test "x$enable_win16" != "xyes"
2231 if test "x$enable_tests" == "xno"
2238 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2246 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2247 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&5
2249 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2250 You need to run 'make distclean' in the source tree first." >&2;}
2251 { (exit 1); exit 1; }; }
2256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2258 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2259 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 cat >conftest.
make <<\_ACEOF
2265 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2270 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2272 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2276 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2277 { echo "$as_me:$LINENO: result: yes" >&5
2278 echo "${ECHO_T}yes" >&6; }
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2283 SET_MAKE
="MAKE=${MAKE-make}"
2287 ac_cpp
='$CPP $CPPFLAGS'
2288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2291 if test -n "$ac_tool_prefix"; then
2292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2293 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296 if test "${ac_cv_prog_CC+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 if test -n "$CC"; then
2300 ac_cv_prog_CC
="$CC" # Let the user override the test.
2302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir
=.
2307 for ac_exec_ext
in '' $ac_executable_extensions; do
2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test -n "$CC"; then
2321 { echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6; }
2324 { echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6; }
2330 if test -z "$ac_cv_prog_CC"; then
2332 # Extract the first word of "gcc", so it can be a program name with args.
2333 set dummy gcc
; ac_word
=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC
="gcc"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2368 if test "x$ac_ct_CC" = x
; then
2371 case $cross_compiling:$ac_tool_warned in
2373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 whose name does not start with the host triplet. If you think this
2378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 ac_tool_warned
=yes ;;
2387 if test -z "$CC"; then
2388 if test -n "$ac_tool_prefix"; then
2389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2390 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC
="$CC" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 if test -n "$CC"; then
2418 { echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6; }
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc
; ac_word
=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected
=yes
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test $ac_prog_rejected = yes; then
2460 # We found a bogon in the path, so make sure we never use it.
2461 set dummy
$ac_cv_prog_CC
2463 if test $# != 0; then
2464 # We chose a different compiler from the bogus one.
2465 # However, it has the same basename, so the bogon will be chosen
2466 # first if we set CC to just the basename; use the full file name.
2468 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2474 if test -n "$CC"; then
2475 { echo "$as_me:$LINENO: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6; }
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2484 if test -z "$CC"; then
2485 if test -n "$ac_tool_prefix"; then
2486 for ac_prog
in cl.exe
2488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2489 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC
="$CC" # Let the user override the test.
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 if test -n "$CC"; then
2517 { echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6; }
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2525 test -n "$CC" && break
2528 if test -z "$CC"; then
2530 for ac_prog
in cl.exe
2532 # Extract the first word of "$ac_prog", so it can be a program name with args.
2533 set dummy
$ac_prog; ac_word
=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$ac_ct_CC"; then
2540 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir
=.
2547 for ac_exec_ext
in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_ac_ct_CC
="$ac_prog"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2560 if test -n "$ac_ct_CC"; then
2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 echo "${ECHO_T}$ac_ct_CC" >&6; }
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2569 test -n "$ac_ct_CC" && break
2572 if test "x$ac_ct_CC" = x
; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&5
2580 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2581 whose name does not start with the host triplet. If you think this
2582 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2583 ac_tool_warned
=yes ;;
2592 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: no acceptable C compiler found in \$PATH
2595 See \`config.log' for more details." >&2;}
2596 { (exit 1); exit 1; }; }
2598 # Provide some information about the compiler.
2599 echo "$as_me:$LINENO: checking for C compiler version" >&5
2600 ac_compiler
=`set X $ac_compile; echo $2`
2601 { (ac_try
="$ac_compiler --version >&5"
2603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2607 (eval "$ac_compiler --version >&5") 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (ac_try="$ac_compiler -v >&5"
2613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2614 *) ac_try_echo
=$ac_try;;
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compiler -v >&5") 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621 { (ac_try
="$ac_compiler -V >&5"
2623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler -V >&5") 2>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2647 ac_clean_files_save=$ac_clean_files
2648 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2649 # Try to create an executable without -o first, disregard a.out.
2650 # It will help us diagnose broken compilers, and finding out an intuition
2652 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2653 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2654 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2656 # List of possible output files, starting from the most likely.
2657 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2658 # only as a last resort. b.out is created by i960 compilers.
2659 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2661 # The IRIX 6 linker writes into existing files which may not be
2662 # executable, retaining their permissions. Remove them first so a
2663 # subsequent execution test works.
2665 for ac_file in $ac_files
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2669 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2674 if { (ac_try="$ac_link_default"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_link_default") 2>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2685 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2686 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2687 # so that the user can short-circuit this test for compilers unknown to
2689 for ac_file
in $ac_files ''
2691 test -f "$ac_file" ||
continue
2693 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2696 # We found the default executable, but exeext='' is most
2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2702 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 # We set ac_cv_exeext here because the later test for it is not
2705 # safe: cross compilers may not add the suffix if given an `-o'
2706 # argument, so we may need to know it at that point already.
2707 # Even if this section looks crufty: it has the advantage of
2714 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2720 { echo "$as_me:$LINENO: result: $ac_file" >&5
2721 echo "${ECHO_T}$ac_file" >&6; }
2722 if test -z "$ac_file"; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2726 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&5
2728 echo "$as_me: error: C compiler cannot create executables
2729 See \`config.log' for more details." >&2;}
2730 { (exit 77); exit 77; }; }
2733 ac_exeext
=$ac_cv_exeext
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2738 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2739 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2740 # If not cross compiling, check that we can run a simple program.
2741 if test "$cross_compiling" != yes; then
2742 if { ac_try
='./$ac_file'
2743 { (case "(($ac_try" in
2744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_try") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2754 if test "$cross_compiling" = maybe; then
2757 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details.
" >&5
2760 echo "$as_me: error
: cannot run C compiled programs.
2761 If you meant to cross compile
, use \
`--host'.
2762 See \`config.log
' for more details." >&2;}
2763 { (exit 1); exit 1; }; }
2767 { echo "$as_me:$LINENO: result: yes" >&5
2768 echo "${ECHO_T}yes" >&6; }
2770 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2771 ac_clean_files=$ac_clean_files_save
2772 # Check that the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2775 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2776 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2777 echo "${ECHO_T}$cross_compiling" >&6; }
2779 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2780 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2781 if { (ac_try="$ac_link"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_link") 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; then
2791 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2792 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2793 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2795 for ac_file
in conftest.exe conftest conftest.
*; do
2796 test -f "$ac_file" ||
continue
2798 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2799 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2812 rm -f conftest
$ac_cv_exeext
2813 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2814 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2816 rm -f conftest.
$ac_ext
2817 EXEEXT
=$ac_cv_exeext
2819 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2820 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2821 if test "${ac_cv_objext+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 cat >conftest.
$ac_ext <<_ACEOF
2827 cat confdefs.h
>>conftest.
$ac_ext
2828 cat >>conftest.
$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2839 rm -f conftest.o conftest.obj
2840 if { (ac_try
="$ac_compile"
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compile") 2>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 for ac_file in conftest.o conftest.obj conftest.*; do
2851 test -f "$ac_file" || continue;
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log
' for more details." >&5
2864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details.
" >&2;}
2866 { (exit 1); exit 1; }; }
2869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2871 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2872 echo "${ECHO_T}$ac_cv_objext" >&6; }
2873 OBJEXT=$ac_cv_objext
2875 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2876 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2878 echo $ECHO_N "(cached
) $ECHO_C" >&6
2880 cat >conftest.$ac_ext <<_ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2917 echo "$as_me: failed program was
:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2927 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2928 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2929 GCC=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_CFLAGS=${CFLAGS+set}
2931 ac_save_CFLAGS=$CFLAGS
2932 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2933 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2934 if test "${ac_cv_prog_cc_g+set}" = set; then
2935 echo $ECHO_N "(cached
) $ECHO_C" >&6
2937 ac_save_c_werror_flag=$ac_c_werror_flag
2938 ac_c_werror_flag=yes
2941 cat >conftest.$ac_ext <<_ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2969 (exit $ac_status); } && {
2970 test -z "$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 } && test -s conftest.$ac_objext; then
2975 echo "$as_me: failed program was
:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>conftest.er1
3003 grep -v '^ *+' conftest.er1 >conftest.err
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3007 (exit $ac_status); } && {
3008 test -z "$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3010 } && test -s conftest.$ac_objext; then
3013 echo "$as_me: failed program was
:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_c_werror_flag=$ac_save_c_werror_flag
3018 cat >conftest.$ac_ext <<_ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3052 echo "$as_me: failed program was
:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_c_werror_flag=$ac_save_c_werror_flag
3067 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3069 if test "$ac_test_CFLAGS" = set; then
3070 CFLAGS=$ac_save_CFLAGS
3071 elif test $ac_cv_prog_cc_g = yes; then
3072 if test "$GCC" = yes; then
3078 if test "$GCC" = yes; then
3084 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3085 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3086 if test "${ac_cv_prog_cc_c89+set}" = set; then
3087 echo $ECHO_N "(cached
) $ECHO_C" >&6
3089 ac_cv_prog_cc_c89=no
3091 cat >conftest.$ac_ext <<_ACEOF
3094 cat confdefs.h >>conftest.$ac_ext
3095 cat >>conftest.$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3099 #include <sys/types.h>
3100 #include <sys/stat.h>
3101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3102 struct buf { int x; };
3103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3104 static char *e (p, i)
3110 static char *f (char * (*g) (char **, int), char **p, ...)
3115 s = g (p, va_arg (v,int));
3120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3121 function prototypes and stuff, but not '\xHH' hex character constants.
3122 These don't provoke an error unfortunately, instead are silently treated
3123 as 'x'. The following induces an error, until -std is added to get
3124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3125 array size at least. It's necessary to write '\x00'==0 to get something
3126 that's true only with -std. */
3127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3130 inside strings and character constants. */
3132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3134 int test (int i, double x);
3135 struct s1 {int (*f) (int a);};
3136 struct s2 {int (*f) (double a);};
3137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3151 CC="$ac_save_CC $ac_arg"
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_c_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3169 ac_cv_prog_cc_c89=$ac_arg
3171 echo "$as_me: failed program was
:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext
3178 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3180 rm -f conftest.$ac_ext
3185 case "x
$ac_cv_prog_cc_c89" in
3187 { echo "$as_me:$LINENO: result
: none needed
" >&5
3188 echo "${ECHO_T}none needed
" >&6; } ;;
3190 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3191 echo "${ECHO_T}unsupported
" >&6; } ;;
3193 CC="$CC $ac_cv_prog_cc_c89"
3194 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3195 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3200 ac_cpp='$CPP $CPPFLAGS'
3201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3206 ac_cpp='$CXXCPP $CPPFLAGS'
3207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3210 if test -z "$CXX"; then
3211 if test -n "$CCC"; then
3214 if test -n "$ac_tool_prefix"; then
3215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3219 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3221 if test "${ac_cv_prog_CXX+set}" = set; then
3222 echo $ECHO_N "(cached
) $ECHO_C" >&6
3224 if test -n "$CXX"; then
3225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 test -z "$as_dir" && as_dir=.
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3235 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3245 if test -n "$CXX"; then
3246 { echo "$as_me:$LINENO: result
: $CXX" >&5
3247 echo "${ECHO_T}$CXX" >&6; }
3249 { echo "$as_me:$LINENO: result
: no
" >&5
3250 echo "${ECHO_T}no
" >&6; }
3254 test -n "$CXX" && break
3257 if test -z "$CXX"; then
3259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy $ac_prog; ac_word=$2
3263 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3266 echo $ECHO_N "(cached
) $ECHO_C" >&6
3268 if test -n "$ac_ct_CXX"; then
3269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_ac_ct_CXX="$ac_prog"
3279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3289 if test -n "$ac_ct_CXX"; then
3290 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3291 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3293 { echo "$as_me:$LINENO: result
: no
" >&5
3294 echo "${ECHO_T}no
" >&6; }
3298 test -n "$ac_ct_CXX" && break
3301 if test "x
$ac_ct_CXX" = x; then
3304 case $cross_compiling:$ac_tool_warned in
3306 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3307 whose name does not start with the
host triplet. If you think this
3308 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3309 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3310 whose name does not start with the
host triplet. If you think this
3311 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3312 ac_tool_warned=yes ;;
3320 # Provide some information about the compiler.
3321 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3322 ac_compiler=`set X $ac_compile; echo $2`
3323 { (ac_try="$ac_compiler --version >&5"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compiler --version >&5") 2>&5
3331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3332 (exit $ac_status); }
3333 { (ac_try="$ac_compiler -v >&5"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compiler -v >&5") 2>&5
3341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3342 (exit $ac_status); }
3343 { (ac_try="$ac_compiler -V >&5"
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compiler -V >&5") 2>&5
3351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3352 (exit $ac_status); }
3354 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3355 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3356 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3357 echo $ECHO_N "(cached
) $ECHO_C" >&6
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_cxx_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3396 echo "$as_me: failed program was
:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3406 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3407 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3408 GXX=`test $ac_compiler_gnu = yes && echo yes`
3409 ac_test_CXXFLAGS=${CXXFLAGS+set}
3410 ac_save_CXXFLAGS=$CXXFLAGS
3411 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3412 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3413 if test "${ac_cv_prog_cxx_g+set}" = set; then
3414 echo $ECHO_N "(cached
) $ECHO_C" >&6
3416 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3417 ac_cxx_werror_flag=yes
3420 cat >conftest.$ac_ext <<_ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_cxx_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3452 ac_cv_prog_cxx_g=yes
3454 echo "$as_me: failed program was
:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_cxx_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3492 echo "$as_me: failed program was
:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_cxx_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_prog_cxx_g=yes
3531 echo "$as_me: failed program was
:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3546 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3547 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3548 if test "$ac_test_CXXFLAGS" = set; then
3549 CXXFLAGS=$ac_save_CXXFLAGS
3550 elif test $ac_cv_prog_cxx_g = yes; then
3551 if test "$GXX" = yes; then
3557 if test "$GXX" = yes; then
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3572 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3573 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3574 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3575 echo $ECHO_N "(cached
) $ECHO_C" >&6
3577 if test -n "$CPPBIN"; then
3578 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3588 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3597 CPPBIN=$ac_cv_prog_CPPBIN
3598 if test -n "$CPPBIN"; then
3599 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3600 echo "${ECHO_T}$CPPBIN" >&6; }
3602 { echo "$as_me:$LINENO: result
: no
" >&5
3603 echo "${ECHO_T}no
" >&6; }
3608 if test -z "$ac_cv_prog_CPPBIN"; then
3609 ac_ct_CPPBIN=$CPPBIN
3610 # Extract the first word of "cpp
", so it can be a program name with args.
3611 set dummy cpp; ac_word=$2
3612 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3613 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3614 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3615 echo $ECHO_N "(cached
) $ECHO_C" >&6
3617 if test -n "$ac_ct_CPPBIN"; then
3618 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3628 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3638 if test -n "$ac_ct_CPPBIN"; then
3639 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3640 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3642 { echo "$as_me:$LINENO: result
: no
" >&5
3643 echo "${ECHO_T}no
" >&6; }
3646 if test "x
$ac_ct_CPPBIN" = x; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3652 whose name does not start with the
host triplet. If you think this
3653 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3654 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3655 whose name does not start with the
host triplet. If you think this
3656 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3657 ac_tool_warned=yes ;;
3659 CPPBIN=$ac_ct_CPPBIN
3662 CPPBIN="$ac_cv_prog_CPPBIN"
3666 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3667 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3668 if test "${wine_cv_toolsdir+set}" = set; then
3669 echo $ECHO_N "(cached
) $ECHO_C" >&6
3671 if test -z "$with_wine_tools"; then
3672 if test "$cross_compiling" = "yes"; then
3673 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3674 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3675 { (exit 1); exit 1; }; }
3677 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3679 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3680 case $with_wine_tools in
3681 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3682 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3685 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3686 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3687 { (exit 1); exit 1; }; }
3690 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3691 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3692 TOOLSDIR=$wine_cv_toolsdir
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3702 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3703 # On Suns, sometimes $CPP names a directory.
3704 if test -n "$CPP" && test -d "$CPP"; then
3707 if test -z "$CPP"; then
3708 if test "${ac_cv_prog_CPP+set}" = set; then
3709 echo $ECHO_N "(cached
) $ECHO_C" >&6
3711 # Double quotes because CPP needs to be expanded
3712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error
" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3730 # include <limits.h>
3732 # include <assert.h>
3736 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3744 grep -v '^ *+' conftest.er1 >conftest.err
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3748 (exit $ac_status); } >/dev/null && {
3749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3750 test ! -s conftest.err
3754 echo "$as_me: failed program was
:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3757 # Broken: fails on valid input.
3761 rm -f conftest.err conftest.$ac_ext
3763 # OK, works on sane cases. Now check whether nonexistent headers
3764 # can be detected and how.
3765 cat >conftest.$ac_ext <<_ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 #include <ac_nonexistent.h>
3773 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3785 (exit $ac_status); } >/dev/null && {
3786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3787 test ! -s conftest.err
3789 # Broken: success on invalid input.
3792 echo "$as_me: failed program was
:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 # Passes both tests.
3800 rm -f conftest.err conftest.$ac_ext
3803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3804 rm -f conftest.err conftest.$ac_ext
3805 if $ac_preproc_ok; then
3817 { echo "$as_me:$LINENO: result
: $CPP" >&5
3818 echo "${ECHO_T}$CPP" >&6; }
3820 for ac_c_preproc_warn_flag in '' yes
3822 # Use a header file that comes with gcc, so configuring glibc
3823 # with a fresh cross-compiler works.
3824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3825 # <limits.h> exists even on freestanding compilers.
3826 # On the NeXT, cc -E runs the code through the compiler's parser,
3827 # not just through cpp. "Syntax error
" is here to catch this case.
3828 cat >conftest.$ac_ext <<_ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3835 # include <limits.h>
3837 # include <assert.h>
3841 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3847 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3849 grep -v '^ *+' conftest.er1 >conftest.err
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3853 (exit $ac_status); } >/dev/null && {
3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3859 echo "$as_me: failed program was
:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Broken: fails on valid input.
3866 rm -f conftest.err conftest.$ac_ext
3868 # OK, works on sane cases. Now check whether nonexistent headers
3869 # can be detected and how.
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3878 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3886 grep -v '^ *+' conftest.er1 >conftest.err
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3890 (exit $ac_status); } >/dev/null && {
3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3894 # Broken: success on invalid input.
3897 echo "$as_me: failed program was
:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3900 # Passes both tests.
3905 rm -f conftest.err conftest.$ac_ext
3908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3909 rm -f conftest.err conftest.$ac_ext
3910 if $ac_preproc_ok; then
3913 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3914 See \
`config.log' for more details." >&5
3915 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3916 See \`config.log
' for more details." >&2;}
3917 { (exit 1); exit 1; }; }
3921 ac_cpp='$CPP $CPPFLAGS'
3922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3923 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 { echo "$as_me:$LINENO: checking for X" >&5
3928 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3931 # Check whether --with-x was given.
3932 if test "${with_x+set}" = set; then
3936 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3937 if test "x$with_x" = xno; then
3938 # The user explicitly disabled X.
3941 case $x_includes,$x_libraries in #(
3942 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3943 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3944 { (exit 1); exit 1; }; };; #(
3945 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 # One or both of the vars are not set, and there is no cached value.
3949 ac_x_includes=no ac_x_libraries=no
3950 rm -f -r conftest.dir
3951 if mkdir conftest.dir; then
3953 cat >Imakefile <<'_ACEOF'
3955 @echo incroot='${INCROOT}'
3957 @echo usrlibdir='${USRLIBDIR}'
3959 @echo libdir='${LIBDIR}'
3961 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 for ac_var in incroot usrlibdir libdir; do
3964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3967 for ac_extension in a so sl; do
3968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3970 ac_im_usrlibdir=$ac_im_libdir; break
3973 # Screen out bogus values from the imake configuration. They are
3974 # bogus both because they are the default anyway, and because
3975 # using them would break gcc on systems where it needs fixed includes.
3976 case $ac_im_incroot in
3977 /usr/include) ac_x_includes= ;;
3978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3980 case $ac_im_usrlibdir in
3982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3986 rm -f -r conftest.dir
3989 # Standard set of common directories for X headers.
3990 # Check X11 before X11Rn because it is often a symlink to the current release.
4002 /usr
/local
/X11
/include
4003 /usr
/local
/X11R
6/include
4004 /usr
/local
/X11R
5/include
4005 /usr
/local
/X11R
4/include
4007 /usr
/local
/include
/X11
4008 /usr
/local
/include
/X11R6
4009 /usr
/local
/include
/X11R5
4010 /usr
/local
/include
/X11R4
4014 /usr
/XFree86
/include
/X11
4018 /usr
/unsupported
/include
4020 /usr
/local
/x11r
5/include
4021 /usr
/lpp
/Xamples
/include
4023 /usr
/openwin
/include
4024 /usr
/openwin
/share
/include
'
4026 if test "$ac_x_includes" = no; then
4027 # Guess where to find include files, by looking for Xlib.h.
4028 # First, try using that file with no special directory specified.
4029 cat >conftest.$ac_ext <<_ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 #include <X11/Xlib.h>
4037 if { (ac_try="$ac_cpp conftest.$ac_ext"
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4045 grep -v '^
*+' conftest.er1 >conftest.err
4047 cat conftest.err >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } >/dev/null && {
4050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4051 test ! -s conftest.err
4053 # We can compile using X headers with no special include directory.
4056 echo "$as_me: failed program was:" >&5
4057 sed 's
/^
/|
/' conftest.$ac_ext >&5
4059 for ac_dir in $ac_x_header_dirs; do
4060 if test -r "$ac_dir/X11/Xlib.h"; then
4061 ac_x_includes=$ac_dir
4067 rm -f conftest.err conftest.$ac_ext
4068 fi # $ac_x_includes = no
4070 if test "$ac_x_libraries" = no; then
4071 # Check for the libraries.
4072 # See if we find them without any special options.
4073 # Don't add to
$LIBS permanently.
4076 cat >conftest.
$ac_ext <<_ACEOF
4079 cat confdefs.h
>>conftest.
$ac_ext
4080 cat >>conftest.
$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 #include <X11/Xlib.h>
4091 rm -f conftest.
$ac_objext conftest
$ac_exeext
4092 if { (ac_try
="$ac_link"
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1 >conftest.err
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4110 # We can link X programs with no special library path.
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4117 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4119 # Don't even attempt the hair of trying to link an X program!
4120 for ac_extension in a so sl; do
4121 if test -r "$ac_dir/libX11.$ac_extension"; then
4122 ac_x_libraries=$ac_dir
4129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4130 conftest$ac_exeext conftest.$ac_ext
4131 fi # $ac_x_libraries = no
4133 case $ac_x_includes,$ac_x_libraries in #(
4135 # Didn't find X, or a directory has "'" in its name.
4136 ac_cv_have_x="have_x=no";; #(
4138 # Record where we found X for the cache.
4139 ac_cv_have_x="have_x=yes\
4140 ac_x_includes='$ac_x_includes'\
4141 ac_x_libraries='$ac_x_libraries'"
4147 eval "$ac_cv_have_x"
4150 if test "$have_x" != yes; then
4151 { echo "$as_me:$LINENO: result: $have_x" >&5
4152 echo "${ECHO_T}$have_x" >&6; }
4155 # If each of the values was on the command line, it overrides each guess.
4156 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4157 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4158 # Update the cache value to reflect the command line values.
4159 ac_cv_have_x="have_x=yes\
4160 ac_x_includes='$x_includes'\
4161 ac_x_libraries='$x_libraries'"
4162 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4163 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4166 if test "$no_x" = yes; then
4167 # Not all programs may use this symbol, but it does not hurt to define it.
4169 cat >>confdefs.h <<\_ACEOF
4170 #define X_DISPLAY_MISSING 1
4173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4175 if test -n "$x_includes"; then
4176 X_CFLAGS="$X_CFLAGS -I$x_includes"
4179 # It would also be nice to do this for all -L options, not just this one.
4180 if test -n "$x_libraries"; then
4181 X_LIBS="$X_LIBS -L$x_libraries"
4182 # For Solaris; some versions of Sun CC require a space after -R and
4183 # others require no space. Words are not sufficient . . . .
4184 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4185 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4187 ac_xsave_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 cat >conftest.$ac_ext <<_ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4208 *) ac_try_echo
=$ac_try;;
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4213 grep -v '^ *+' conftest.er1
>conftest.err
4215 cat conftest.err
>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest
$ac_exeext &&
4221 $as_test_x conftest
$ac_exeext; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 X_LIBS
="$X_LIBS -R$x_libraries"
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.
$ac_ext >&5
4229 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4245 rm -f conftest.
$ac_objext conftest
$ac_exeext
4246 if { (ac_try
="$ac_link"
4248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_link") 2>conftest.er1
4254 grep -v '^ *+' conftest.er1 >conftest.err
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest$ac_exeext &&
4262 $as_test_x conftest$ac_exeext; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 X_LIBS="$X_LIBS -R $x_libraries"
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { echo "$as_me:$LINENO: result: neither works" >&5
4271 echo "${ECHO_T}neither works" >&6; }
4274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4275 conftest$ac_exeext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4279 conftest$ac_exeext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_xsave_c_werror_flag
4284 # Check for system-dependent libraries X programs must link with.
4285 # Do this before checking for the system-independent R6 libraries
4286 # (-lICE), since we may need -lsocket or whatever for X linking.
4288 if test "$ISC" = yes; then
4289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4291 # Martyn Johnson says this is needed for Ultrix, if the X
4292 # libraries were built with DECnet support. And Karl Berry says
4293 # the Alpha needs dnet_stub (dnet does not exist).
4294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4295 cat >conftest.$ac_ext <<_ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4302 /* Override any GCC internal prototype to avoid an error.
4303 Use char because int might match the return type of a GCC
4304 builtin and then its argument prototype would still apply. */
4308 char XOpenDisplay ();
4312 return XOpenDisplay ();
4317 rm -f conftest.$ac_objext conftest$ac_exeext
4318 if { (ac_try="$ac_link"
4320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4321 *) ac_try_echo
=$ac_try;;
4323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324 (eval "$ac_link") 2>conftest.er1
4326 grep -v '^ *+' conftest.er1
>conftest.err
4328 cat conftest.err
>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } && {
4331 test -z "$ac_c_werror_flag" ||
4332 test ! -s conftest.err
4333 } && test -s conftest
$ac_exeext &&
4334 $as_test_x conftest
$ac_exeext; then
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.
$ac_ext >&5
4340 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4341 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4342 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 ac_check_lib_save_LIBS
=$LIBS
4347 cat >conftest.
$ac_ext <<_ACEOF
4350 cat confdefs.h
>>conftest.
$ac_ext
4351 cat >>conftest.
$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4354 /* Override any GCC internal prototype to avoid an error.
4355 Use char because int might match the return type of a GCC
4356 builtin and then its argument prototype would still apply. */
4364 return dnet_ntoa ();
4369 rm -f conftest.
$ac_objext conftest
$ac_exeext
4370 if { (ac_try
="$ac_link"
4372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376 (eval "$ac_link") 2>conftest.er1
4378 grep -v '^ *+' conftest.er1 >conftest.err
4380 cat conftest.err >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } && {
4383 test -z "$ac_c_werror_flag" ||
4384 test ! -s conftest.err
4385 } && test -s conftest$ac_exeext &&
4386 $as_test_x conftest$ac_exeext; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4430 return dnet_ntoa ();
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4439 *) ac_try_echo
=$ac_try;;
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4444 grep -v '^ *+' conftest.er1
>conftest.err
4446 cat conftest.err
>&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && {
4449 test -z "$ac_c_werror_flag" ||
4450 test ! -s conftest.err
4451 } && test -s conftest
$ac_exeext &&
4452 $as_test_x conftest
$ac_exeext; then
4453 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4458 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4462 conftest
$ac_exeext conftest.
$ac_ext
4463 LIBS
=$ac_check_lib_save_LIBS
4465 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4466 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4467 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4475 conftest
$ac_exeext conftest.
$ac_ext
4476 LIBS
="$ac_xsave_LIBS"
4478 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4479 # to get the SysV transport functions.
4480 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4482 # The nsl library prevents programs from opening the X display
4483 # on Irix 5.2, according to T.E. Dickey.
4484 # The functions gethostbyname, getservbyname, and inet_addr are
4485 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4486 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4488 if test "${ac_cv_func_gethostbyname+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 cat >conftest.
$ac_ext <<_ACEOF
4494 cat confdefs.h
>>conftest.
$ac_ext
4495 cat >>conftest.
$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4497 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4499 #define gethostbyname innocuous_gethostbyname
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char gethostbyname (); below.
4503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 <limits.h> exists even on freestanding compilers. */
4507 # include <limits.h>
4509 # include <assert.h>
4512 #undef gethostbyname
4514 /* Override any GCC internal prototype to avoid an error.
4515 Use char because int might match the return type of a GCC
4516 builtin and then its argument prototype would still apply. */
4520 char gethostbyname ();
4521 /* The GNU C library defines this for functions which it implements
4522 to always fail with ENOSYS. Some functions are actually named
4523 something starting with __ and the normal name is an alias. */
4524 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4531 return gethostbyname ();
4536 rm -f conftest.
$ac_objext conftest
$ac_exeext
4537 if { (ac_try
="$ac_link"
4539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543 (eval "$ac_link") 2>conftest.er1
4545 grep -v '^ *+' conftest.er1 >conftest.err
4547 cat conftest.err >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && {
4550 test -z "$ac_c_werror_flag" ||
4551 test ! -s conftest.err
4552 } && test -s conftest$ac_exeext &&
4553 $as_test_x conftest$ac_exeext; then
4554 ac_cv_func_gethostbyname=yes
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 ac_cv_func_gethostbyname=no
4562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4563 conftest$ac_exeext conftest.$ac_ext
4565 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4568 if test $ac_cv_func_gethostbyname = no; then
4569 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4570 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4571 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 ac_check_lib_save_LIBS=$LIBS
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4583 /* Override any GCC internal prototype to avoid an error.
4584 Use char because int might match the return type of a GCC
4585 builtin and then its argument prototype would still apply. */
4589 char gethostbyname ();
4593 return gethostbyname ();
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (ac_try="$ac_link"
4601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4602 *) ac_try_echo
=$ac_try;;
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_link") 2>conftest.er1
4607 grep -v '^ *+' conftest.er1
>conftest.err
4609 cat conftest.err
>&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && {
4612 test -z "$ac_c_werror_flag" ||
4613 test ! -s conftest.err
4614 } && test -s conftest
$ac_exeext &&
4615 $as_test_x conftest
$ac_exeext; then
4616 ac_cv_lib_nsl_gethostbyname
=yes
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.
$ac_ext >&5
4621 ac_cv_lib_nsl_gethostbyname
=no
4624 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4625 conftest
$ac_exeext conftest.
$ac_ext
4626 LIBS
=$ac_check_lib_save_LIBS
4628 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4629 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4630 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4631 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4634 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4635 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4636 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4637 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 ac_check_lib_save_LIBS
=$LIBS
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 /* Override any GCC internal prototype to avoid an error.
4650 Use char because int might match the return type of a GCC
4651 builtin and then its argument prototype would still apply. */
4655 char gethostbyname ();
4659 return gethostbyname ();
4664 rm -f conftest.
$ac_objext conftest
$ac_exeext
4665 if { (ac_try
="$ac_link"
4667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_lib_bsd_gethostbyname=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_lib_bsd_gethostbyname=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4695 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4696 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4703 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4704 # socket/setsockopt and other routines are undefined under SCO ODT
4705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4706 # on later versions), says Simon Leinen: it contains gethostby*
4707 # variants that don't use the name server (or something). -lsocket
4708 # must be given before -lnsl if both are needed. We assume that
4709 # if connect needs -lnsl, so does gethostbyname.
4710 { echo "$as_me:$LINENO: checking for connect" >&5
4711 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4712 if test "${ac_cv_func_connect+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 cat >conftest.$ac_ext <<_ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4723 #define connect innocuous_connect
4725 /* System header to define __stub macros and hopefully few prototypes,
4726 which can conflict with char connect (); below.
4727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 <limits.h> exists even on freestanding compilers. */
4731 # include <limits.h>
4733 # include <assert.h>
4738 /* Override any GCC internal prototype to avoid an error.
4739 Use char because int might match the return type of a GCC
4740 builtin and then its argument prototype would still apply. */
4745 /* The GNU C library defines this for functions which it implements
4746 to always fail with ENOSYS. Some functions are actually named
4747 something starting with __ and the normal name is an alias. */
4748 #if defined __stub_connect || defined __stub___connect
4760 rm -f conftest.$ac_objext conftest$ac_exeext
4761 if { (ac_try="$ac_link"
4763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4764 *) ac_try_echo
=$ac_try;;
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_link") 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest
$ac_exeext &&
4777 $as_test_x conftest
$ac_exeext; then
4778 ac_cv_func_connect
=yes
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.
$ac_ext >&5
4783 ac_cv_func_connect
=no
4786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4787 conftest
$ac_exeext conftest.
$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4790 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4792 if test $ac_cv_func_connect = no
; then
4793 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4794 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4795 if test "${ac_cv_lib_socket_connect+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 ac_check_lib_save_LIBS
=$LIBS
4799 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4800 cat >conftest.
$ac_ext <<_ACEOF
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4822 rm -f conftest.
$ac_objext conftest
$ac_exeext
4823 if { (ac_try
="$ac_link"
4825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4829 (eval "$ac_link") 2>conftest.er1
4831 grep -v '^ *+' conftest.er1 >conftest.err
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } && {
4836 test -z "$ac_c_werror_flag" ||
4837 test ! -s conftest.err
4838 } && test -s conftest$ac_exeext &&
4839 $as_test_x conftest$ac_exeext; then
4840 ac_cv_lib_socket_connect=yes
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_cv_lib_socket_connect=no
4848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4849 conftest$ac_exeext conftest.$ac_ext
4850 LIBS=$ac_check_lib_save_LIBS
4852 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4853 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4854 if test $ac_cv_lib_socket_connect = yes; then
4855 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4860 # Guillermo Gomez says -lposix is necessary on A/UX.
4861 { echo "$as_me:$LINENO: checking for remove" >&5
4862 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4863 if test "${ac_cv_func_remove+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4874 #define remove innocuous_remove
4876 /* System header to define __stub macros and hopefully few prototypes,
4877 which can conflict with char remove (); below.
4878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4879 <limits.h> exists even on freestanding compilers. */
4882 # include <limits.h>
4884 # include <assert.h>
4889 /* Override any GCC internal prototype to avoid an error.
4890 Use char because int might match the return type of a GCC
4891 builtin and then its argument prototype would still apply. */
4896 /* The GNU C library defines this for functions which it implements
4897 to always fail with ENOSYS. Some functions are actually named
4898 something starting with __ and the normal name is an alias. */
4899 #if defined __stub_remove || defined __stub___remove
4911 rm -f conftest.$ac_objext conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4915 *) ac_try_echo
=$ac_try;;
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>conftest.er1
4920 grep -v '^ *+' conftest.er1
>conftest.err
4922 cat conftest.err
>&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest
$ac_exeext &&
4928 $as_test_x conftest
$ac_exeext; then
4929 ac_cv_func_remove
=yes
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.
$ac_ext >&5
4934 ac_cv_func_remove
=no
4937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4938 conftest
$ac_exeext conftest.
$ac_ext
4940 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4941 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4943 if test $ac_cv_func_remove = no
; then
4944 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4945 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4946 if test "${ac_cv_lib_posix_remove+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 ac_check_lib_save_LIBS
=$LIBS
4950 LIBS
="-lposix $LIBS"
4951 cat >conftest.
$ac_ext <<_ACEOF
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 /* Override any GCC internal prototype to avoid an error.
4959 Use char because int might match the return type of a GCC
4960 builtin and then its argument prototype would still apply. */
4973 rm -f conftest.
$ac_objext conftest
$ac_exeext
4974 if { (ac_try
="$ac_link"
4976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980 (eval "$ac_link") 2>conftest.er1
4982 grep -v '^ *+' conftest.er1 >conftest.err
4984 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && {
4987 test -z "$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 } && test -s conftest$ac_exeext &&
4990 $as_test_x conftest$ac_exeext; then
4991 ac_cv_lib_posix_remove=yes
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_lib_posix_remove=no
4999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5000 conftest$ac_exeext conftest.$ac_ext
5001 LIBS=$ac_check_lib_save_LIBS
5003 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5004 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5005 if test $ac_cv_lib_posix_remove = yes; then
5006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5011 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5012 { echo "$as_me:$LINENO: checking for shmat" >&5
5013 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5014 if test "${ac_cv_func_shmat+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 cat >conftest.$ac_ext <<_ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5025 #define shmat innocuous_shmat
5027 /* System header to define __stub macros and hopefully few prototypes,
5028 which can conflict with char shmat (); below.
5029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 <limits.h> exists even on freestanding compilers. */
5033 # include <limits.h>
5035 # include <assert.h>
5040 /* Override any GCC internal prototype to avoid an error.
5041 Use char because int might match the return type of a GCC
5042 builtin and then its argument prototype would still apply. */
5047 /* The GNU C library defines this for functions which it implements
5048 to always fail with ENOSYS. Some functions are actually named
5049 something starting with __ and the normal name is an alias. */
5050 #if defined __stub_shmat || defined __stub___shmat
5062 rm -f conftest.$ac_objext conftest$ac_exeext
5063 if { (ac_try="$ac_link"
5065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5066 *) ac_try_echo
=$ac_try;;
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$ac_link") 2>conftest.er1
5071 grep -v '^ *+' conftest.er1
>conftest.err
5073 cat conftest.err
>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest
$ac_exeext &&
5079 $as_test_x conftest
$ac_exeext; then
5080 ac_cv_func_shmat
=yes
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5089 conftest
$ac_exeext conftest.
$ac_ext
5091 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5092 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5094 if test $ac_cv_func_shmat = no
; then
5095 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5096 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5097 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 ac_check_lib_save_LIBS
=$LIBS
5102 cat >conftest.
$ac_ext <<_ACEOF
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 /* Override any GCC internal prototype to avoid an error.
5110 Use char because int might match the return type of a GCC
5111 builtin and then its argument prototype would still apply. */
5124 rm -f conftest.
$ac_objext conftest
$ac_exeext
5125 if { (ac_try
="$ac_link"
5127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_link") 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest$ac_exeext &&
5141 $as_test_x conftest$ac_exeext; then
5142 ac_cv_lib_ipc_shmat=yes
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_lib_ipc_shmat=no
5150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5151 conftest$ac_exeext conftest.$ac_ext
5152 LIBS=$ac_check_lib_save_LIBS
5154 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5155 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5156 if test $ac_cv_lib_ipc_shmat = yes; then
5157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5163 # Check for libraries that X11R6 Xt/Xaw programs need.
5164 ac_save_LDFLAGS=$LDFLAGS
5165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5167 # check for ICE first), but we must link in the order -lSM -lICE or
5168 # we get undefined symbols. So assume we have SM if we have ICE.
5169 # These have to be linked with before -lX11, unlike the other
5170 # libraries we check for below, so use a different variable.
5171 # John Interrante, Karl Berry
5172 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5173 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5174 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 ac_check_lib_save_LIBS=$LIBS
5178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5179 cat >conftest.$ac_ext <<_ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 /* Override any GCC internal prototype to avoid an error.
5187 Use char because int might match the return type of a GCC
5188 builtin and then its argument prototype would still apply. */
5192 char IceConnectionNumber ();
5196 return IceConnectionNumber ();
5201 rm -f conftest.$ac_objext conftest$ac_exeext
5202 if { (ac_try="$ac_link"
5204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5205 *) ac_try_echo
=$ac_try;;
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_link") 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } && {
5215 test -z "$ac_c_werror_flag" ||
5216 test ! -s conftest.err
5217 } && test -s conftest
$ac_exeext &&
5218 $as_test_x conftest
$ac_exeext; then
5219 ac_cv_lib_ICE_IceConnectionNumber
=yes
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.
$ac_ext >&5
5224 ac_cv_lib_ICE_IceConnectionNumber
=no
5227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5228 conftest
$ac_exeext conftest.
$ac_ext
5229 LIBS
=$ac_check_lib_save_LIBS
5231 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5232 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5233 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5234 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5237 LDFLAGS
=$ac_save_LDFLAGS
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy
$ac_prog; ac_word
=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_FLEX+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 if test -n "$FLEX"; then
5252 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_FLEX
="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 FLEX
=$ac_cv_prog_FLEX
5272 if test -n "$FLEX"; then
5273 { echo "$as_me:$LINENO: result: $FLEX" >&5
5274 echo "${ECHO_T}$FLEX" >&6; }
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$FLEX" && break
5283 test -n "$FLEX" || FLEX
="none"
5285 if test "$FLEX" = "none"
5287 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5288 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 for ac_prog
in bison
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy
$ac_prog; ac_word
=$2
5296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5298 if test "${ac_cv_prog_BISON+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 if test -n "$BISON"; then
5302 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_exec_ext
in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_prog_BISON
="$ac_prog"
5312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 BISON
=$ac_cv_prog_BISON
5322 if test -n "$BISON"; then
5323 { echo "$as_me:$LINENO: result: $BISON" >&5
5324 echo "${ECHO_T}$BISON" >&6; }
5326 { echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6; }
5331 test -n "$BISON" && break
5333 test -n "$BISON" || BISON
="none"
5335 if test "$BISON" = "none"
5337 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5338 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5339 { (exit 1); exit 1; }; }
5342 if test -n "$ac_tool_prefix"; then
5343 for ac_prog
in gas as
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5349 if test "${ac_cv_prog_AS+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 if test -n "$AS"; then
5353 ac_cv_prog_AS
="$AS" # Let the user override the test.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 if test -n "$AS"; then
5374 { echo "$as_me:$LINENO: result: $AS" >&5
5375 echo "${ECHO_T}$AS" >&6; }
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5382 test -n "$AS" && break
5385 if test -z "$AS"; then
5387 for ac_prog
in gas as
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy
$ac_prog; ac_word
=$2
5391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5393 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 if test -n "$ac_ct_AS"; then
5397 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir
=.
5404 for ac_exec_ext
in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AS
="$ac_prog"
5407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5417 if test -n "$ac_ct_AS"; then
5418 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5419 echo "${ECHO_T}$ac_ct_AS" >&6; }
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5426 test -n "$ac_ct_AS" && break
5429 if test "x$ac_ct_AS" = x
; then
5432 case $cross_compiling:$ac_tool_warned in
5434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&5
5437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5438 whose name does not start with the host triplet. If you think this
5439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5440 ac_tool_warned
=yes ;;
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5448 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_LD+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD
="$LD" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 if test -n "$LD"; then
5476 { echo "$as_me:$LINENO: result: $LD" >&5
5477 echo "${ECHO_T}$LD" >&6; }
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 if test -z "$ac_cv_prog_LD"; then
5487 # Extract the first word of "ld", so it can be a program name with args.
5488 set dummy ld
; ac_word
=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 if test -n "$ac_ct_LD"; then
5495 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_LD
="ld"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5515 if test -n "$ac_ct_LD"; then
5516 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5517 echo "${ECHO_T}$ac_ct_LD" >&6; }
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5523 if test "x$ac_ct_LD" = x
; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5529 whose name does not start with the host triplet. If you think this
5530 configuration is useful to you, please write to autoconf@gnu.org." >&5
5531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5532 whose name does not start with the host triplet. If you think this
5533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5534 ac_tool_warned
=yes ;;
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5544 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5547 if test "${ac_cv_prog_AR+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 if test -n "$AR"; then
5551 ac_cv_prog_AR
="$AR" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 if test -n "$AR"; then
5572 { echo "$as_me:$LINENO: result: $AR" >&5
5573 echo "${ECHO_T}$AR" >&6; }
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 if test -z "$ac_cv_prog_AR"; then
5583 # Extract the first word of "ar", so it can be a program name with args.
5584 set dummy
ar; ac_word
=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 if test -n "$ac_ct_AR"; then
5591 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_AR
="ar"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5611 if test -n "$ac_ct_AR"; then
5612 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5613 echo "${ECHO_T}$ac_ct_AR" >&6; }
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5619 if test "x$ac_ct_AR" = x
; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5625 whose name does not start with the host triplet. If you think this
5626 configuration is useful to you, please write to autoconf@gnu.org." >&5
5627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5628 whose name does not start with the host triplet. If you think this
5629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5630 ac_tool_warned
=yes ;;
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 RANLIB
=$ac_cv_prog_RANLIB
5669 if test -n "$RANLIB"; then
5670 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5671 echo "${ECHO_T}$RANLIB" >&6; }
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB
=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib
; ac_word
=$2
5683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5711 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5713 { echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6; }
5717 if test "x$ac_ct_RANLIB" = x
; then
5720 case $cross_compiling:$ac_tool_warned in
5722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5723 whose name does not start with the host triplet. If you think this
5724 configuration is useful to you, please write to autoconf@gnu.org." >&5
5725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5726 whose name does not start with the host triplet. If you think this
5727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5728 ac_tool_warned
=yes ;;
5730 RANLIB
=$ac_ct_RANLIB
5733 RANLIB
="$ac_cv_prog_RANLIB"
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5738 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5741 if test "${ac_cv_prog_STRIP+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 if test -n "$STRIP"; then
5745 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir
=.
5752 for ac_exec_ext
in '' $ac_executable_extensions; do
5753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 STRIP
=$ac_cv_prog_STRIP
5765 if test -n "$STRIP"; then
5766 { echo "$as_me:$LINENO: result: $STRIP" >&5
5767 echo "${ECHO_T}$STRIP" >&6; }
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5775 if test -z "$ac_cv_prog_STRIP"; then
5777 # Extract the first word of "strip", so it can be a program name with args.
5778 set dummy strip
; ac_word
=$2
5779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5784 if test -n "$ac_ct_STRIP"; then
5785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794 ac_cv_prog_ac_ct_STRIP
="strip"
5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5805 if test -n "$ac_ct_STRIP"; then
5806 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5807 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5813 if test "x$ac_ct_STRIP" = x
; then
5816 case $cross_compiling:$ac_tool_warned in
5818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5819 whose name does not start with the host triplet. If you think this
5820 configuration is useful to you, please write to autoconf@gnu.org." >&5
5821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5822 whose name does not start with the host triplet. If you think this
5823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5824 ac_tool_warned
=yes ;;
5829 STRIP
="$ac_cv_prog_STRIP"
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5834 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_WINDRES+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 if test -n "$WINDRES"; then
5841 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 WINDRES
=$ac_cv_prog_WINDRES
5861 if test -n "$WINDRES"; then
5862 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5863 echo "${ECHO_T}$WINDRES" >&6; }
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5871 if test -z "$ac_cv_prog_WINDRES"; then
5872 ac_ct_WINDRES
=$WINDRES
5873 # Extract the first word of "windres", so it can be a program name with args.
5874 set dummy windres
; ac_word
=$2
5875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5877 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 if test -n "$ac_ct_WINDRES"; then
5881 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_WINDRES
="windres"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5901 if test -n "$ac_ct_WINDRES"; then
5902 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5903 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5909 if test "x$ac_ct_WINDRES" = x
; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5915 whose name does not start with the host triplet. If you think this
5916 configuration is useful to you, please write to autoconf@gnu.org." >&5
5917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5918 whose name does not start with the host triplet. If you think this
5919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5920 ac_tool_warned
=yes ;;
5922 WINDRES
=$ac_ct_WINDRES
5925 WINDRES
="$ac_cv_prog_WINDRES"
5928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5931 if test "$LN_S" = "ln -s"; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5936 echo "${ECHO_T}no, using $LN_S" >&6; }
5939 { echo "$as_me:$LINENO: checking whether ln works" >&5
5940 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5941 rm -f conf$$ conf$$.
file
5943 if ln conf$$.
file conf$$
2>/dev
/null
; then
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5951 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5952 echo "${ECHO_T}no, using $LN" >&6; }
5954 rm -f conf$$ conf$$.
file
5955 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5956 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5957 if test "${ac_cv_path_GREP+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 # Extract the first word of "grep ggrep" to use in msg output
5961 if test -z "$GREP"; then
5962 set dummy
grep ggrep
; ac_prog_name
=$2
5963 if test "${ac_cv_path_GREP+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 ac_path_GREP_found
=false
5967 # Loop through the user's path and test for each of PROGNAME-LIST
5968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5972 test -z "$as_dir" && as_dir
=.
5973 for ac_prog
in grep ggrep
; do
5974 for ac_exec_ext
in '' $ac_executable_extensions; do
5975 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5976 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5977 # Check for GNU ac_path_GREP and select it if it is found.
5978 # Check for GNU $ac_path_GREP
5979 case `"$ac_path_GREP" --version 2>&1` in
5981 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5984 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5987 cat "conftest.in" "conftest.in" >"conftest.tmp"
5988 mv "conftest.tmp" "conftest.in"
5989 cp "conftest.in" "conftest.nl"
5990 echo 'GREP' >> "conftest.nl"
5991 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5992 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5993 ac_count
=`expr $ac_count + 1`
5994 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5995 # Best one so far, save it but keep looking for a better one
5996 ac_cv_path_GREP
="$ac_path_GREP"
5997 ac_path_GREP_max
=$ac_count
5999 # 10*(2^10) chars as input seems more than enough
6000 test $ac_count -gt 10 && break
6002 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6006 $ac_path_GREP_found && break 3
6016 GREP
="$ac_cv_path_GREP"
6017 if test -z "$GREP"; then
6018 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6019 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6020 { (exit 1); exit 1; }; }
6024 ac_cv_path_GREP
=$GREP
6029 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6030 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6031 GREP
="$ac_cv_path_GREP"
6034 { echo "$as_me:$LINENO: checking for egrep" >&5
6035 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6036 if test "${ac_cv_path_EGREP+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6040 then ac_cv_path_EGREP
="$GREP -E"
6042 # Extract the first word of "egrep" to use in msg output
6043 if test -z "$EGREP"; then
6044 set dummy
egrep; ac_prog_name
=$2
6045 if test "${ac_cv_path_EGREP+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 ac_path_EGREP_found
=false
6049 # Loop through the user's path and test for each of PROGNAME-LIST
6050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6051 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6054 test -z "$as_dir" && as_dir
=.
6055 for ac_prog
in egrep; do
6056 for ac_exec_ext
in '' $ac_executable_extensions; do
6057 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6059 # Check for GNU ac_path_EGREP and select it if it is found.
6060 # Check for GNU $ac_path_EGREP
6061 case `"$ac_path_EGREP" --version 2>&1` in
6063 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6066 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6069 cat "conftest.in" "conftest.in" >"conftest.tmp"
6070 mv "conftest.tmp" "conftest.in"
6071 cp "conftest.in" "conftest.nl"
6072 echo 'EGREP' >> "conftest.nl"
6073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6074 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6075 ac_count
=`expr $ac_count + 1`
6076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6077 # Best one so far, save it but keep looking for a better one
6078 ac_cv_path_EGREP
="$ac_path_EGREP"
6079 ac_path_EGREP_max
=$ac_count
6081 # 10*(2^10) chars as input seems more than enough
6082 test $ac_count -gt 10 && break
6084 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6088 $ac_path_EGREP_found && break 3
6098 EGREP
="$ac_cv_path_EGREP"
6099 if test -z "$EGREP"; then
6100 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6101 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6102 { (exit 1); exit 1; }; }
6106 ac_cv_path_EGREP
=$EGREP
6112 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6113 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6114 EGREP
="$ac_cv_path_EGREP"
6117 # Extract the first word of "ldconfig", so it can be a program name with args.
6118 set dummy ldconfig
; ac_word
=$2
6119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6121 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6130 for as_dir
in /sbin
/usr
/sbin
$PATH
6133 test -z "$as_dir" && as_dir
=.
6134 for ac_exec_ext
in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6148 LDCONFIG
=$ac_cv_path_LDCONFIG
6149 if test -n "$LDCONFIG"; then
6150 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6151 echo "${ECHO_T}$LDCONFIG" >&6; }
6153 { echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6; }
6158 # Find a good install program. We prefer a C program (faster),
6159 # so one script is as good as another. But avoid the broken or
6160 # incompatible versions:
6161 # SysV /etc/install, /usr/sbin/install
6162 # SunOS /usr/etc/install
6163 # IRIX /sbin/install
6165 # AmigaOS /C/install, which installs bootblocks on floppy discs
6166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6169 # OS/2's system install, which has a completely different semantic
6170 # ./install, which can be erroneously created by make from ./install.sh.
6171 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6173 if test -z "$INSTALL"; then
6174 if test "${ac_cv_path_install+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir
=.
6182 # Account for people who put trailing slashes in PATH elements.
6184 .
/ | .
// |
/cC
/* | \
6185 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6186 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6189 # OSF1 and SCO ODT 3.0 have their own names for install.
6190 # Don't use installbsd from OSF since it installs stuff as root
6192 for ac_prog
in ginstall scoinst
install; do
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6195 if test $ac_prog = install &&
6196 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6197 # AIX install. It has an incompatible calling convention.
6199 elif test $ac_prog = install &&
6200 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6201 # program-specific install script used by HP pwplus--don't use.
6204 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6217 if test "${ac_cv_path_install+set}" = set; then
6218 INSTALL
=$ac_cv_path_install
6220 # As a last resort, use the slow shell script. Don't cache a
6221 # value for INSTALL within a source directory, because that will
6222 # break other packages using the cache if that directory is
6223 # removed, or if the value is a relative name.
6224 INSTALL
=$ac_install_sh
6227 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6228 echo "${ECHO_T}$INSTALL" >&6; }
6230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6231 # It thinks the first close brace ends the variable substitution.
6232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6234 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6236 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6239 [\\/$
]* | ?
:[\\/]* ) ;;
6240 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6243 for ac_prog
in lclint lint
6245 # Extract the first word of "$ac_prog", so it can be a program name with args.
6246 set dummy
$ac_prog; ac_word
=$2
6247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6249 if test "${ac_cv_prog_LINT+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 if test -n "$LINT"; then
6253 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir
=.
6260 for ac_exec_ext
in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_LINT
="$ac_prog"
6263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 LINT
=$ac_cv_prog_LINT
6273 if test -n "$LINT"; then
6274 { echo "$as_me:$LINENO: result: $LINT" >&5
6275 echo "${ECHO_T}$LINT" >&6; }
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6282 test -n "$LINT" && break
6285 if test "$LINT" = "lint"
6287 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6292 for ac_prog
in fontforge
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy
$ac_prog; ac_word
=$2
6296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6298 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 if test -n "$FONTFORGE"; then
6302 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir
=.
6309 for ac_exec_ext
in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_FONTFORGE
="$ac_prog"
6312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 FONTFORGE
=$ac_cv_prog_FONTFORGE
6322 if test -n "$FONTFORGE"; then
6323 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6324 echo "${ECHO_T}$FONTFORGE" >&6; }
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6331 test -n "$FONTFORGE" && break
6333 test -n "$FONTFORGE" || FONTFORGE
="false"
6335 for ac_prog
in pkg-config
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy
$ac_prog; ac_word
=$2
6339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6341 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 if test -n "$PKG_CONFIG"; then
6345 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6365 if test -n "$PKG_CONFIG"; then
6366 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6367 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6369 { echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6; }
6374 test -n "$PKG_CONFIG" && break
6376 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6380 # Extract the first word of "$ac_prog", so it can be a program name with args.
6381 set dummy
$ac_prog; ac_word
=$2
6382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6384 if test "${ac_cv_prog_RSVG+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 if test -n "$RSVG"; then
6388 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir
=.
6395 for ac_exec_ext
in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_RSVG
="$ac_prog"
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 RSVG
=$ac_cv_prog_RSVG
6408 if test -n "$RSVG"; then
6409 { echo "$as_me:$LINENO: result: $RSVG" >&5
6410 echo "${ECHO_T}$RSVG" >&6; }
6412 { echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6; }
6417 test -n "$RSVG" && break
6419 test -n "$RSVG" || RSVG
="false"
6421 for ac_prog
in icotool
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy
$ac_prog; ac_word
=$2
6425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6427 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 if test -n "$ICOTOOL"; then
6431 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir
=.
6438 for ac_exec_ext
in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ICOTOOL
="$ac_prog"
6441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 ICOTOOL
=$ac_cv_prog_ICOTOOL
6451 if test -n "$ICOTOOL"; then
6452 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6453 echo "${ECHO_T}$ICOTOOL" >&6; }
6455 { echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6; }
6460 test -n "$ICOTOOL" && break
6462 test -n "$ICOTOOL" || ICOTOOL
="false"
6465 if test "${enable_maintainer_mode+set}" = set
6467 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6468 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6469 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6474 # Extract the first word of "prelink", so it can be a program name with args.
6475 set dummy prelink
; ac_word
=$2
6476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6478 if test "${ac_cv_path_PRELINK+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6487 for as_dir
in /sbin
/usr
/sbin
$PATH
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_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6501 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6505 PRELINK
=$ac_cv_path_PRELINK
6506 if test -n "$PRELINK"; then
6507 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6508 echo "${ECHO_T}$PRELINK" >&6; }
6510 { echo "$as_me:$LINENO: result: no" >&5
6511 echo "${ECHO_T}no" >&6; }
6520 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6521 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6522 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 ac_check_lib_save_LIBS
=$LIBS
6527 cat >conftest.
$ac_ext <<_ACEOF
6530 cat confdefs.h
>>conftest.
$ac_ext
6531 cat >>conftest.
$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6534 /* Override any GCC internal prototype to avoid an error.
6535 Use char because int might match the return type of a GCC
6536 builtin and then its argument prototype would still apply. */
6540 char i386_set_ldt ();
6544 return i386_set_ldt ();
6549 rm -f conftest.
$ac_objext conftest
$ac_exeext
6550 if { (ac_try
="$ac_link"
6552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_link") 2>conftest.er1
6558 grep -v '^ *+' conftest.er1 >conftest.err
6560 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } && {
6563 test -z "$ac_c_werror_flag" ||
6564 test ! -s conftest.err
6565 } && test -s conftest$ac_exeext &&
6566 $as_test_x conftest$ac_exeext; then
6567 ac_cv_lib_i386_i386_set_ldt=yes
6569 echo "$as_me: failed program was:" >&5
6570 sed 's/^/| /' conftest.$ac_ext >&5
6572 ac_cv_lib_i386_i386_set_ldt=no
6575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6576 conftest$ac_exeext conftest.$ac_ext
6577 LIBS=$ac_check_lib_save_LIBS
6579 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6580 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6581 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6582 cat >>confdefs.h <<_ACEOF
6583 #define HAVE_LIBI386 1
6591 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6592 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6593 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 ac_check_lib_save_LIBS=$LIBS
6597 LIBS="-lossaudio $LIBS"
6598 cat >conftest.$ac_ext <<_ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6605 /* Override any GCC internal prototype to avoid an error.
6606 Use char because int might match the return type of a GCC
6607 builtin and then its argument prototype would still apply. */
6615 return _oss_ioctl ();
6620 rm -f conftest.$ac_objext conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6624 *) ac_try_echo
=$ac_try;;
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>conftest.er1
6629 grep -v '^ *+' conftest.er1
>conftest.err
6631 cat conftest.err
>&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } && {
6634 test -z "$ac_c_werror_flag" ||
6635 test ! -s conftest.err
6636 } && test -s conftest
$ac_exeext &&
6637 $as_test_x conftest
$ac_exeext; then
6638 ac_cv_lib_ossaudio__oss_ioctl
=yes
6640 echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.
$ac_ext >&5
6643 ac_cv_lib_ossaudio__oss_ioctl
=no
6646 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6647 conftest
$ac_exeext conftest.
$ac_ext
6648 LIBS
=$ac_check_lib_save_LIBS
6650 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6651 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6652 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6653 cat >>confdefs.h
<<_ACEOF
6654 #define HAVE_LIBOSSAUDIO 1
6657 LIBS
="-lossaudio $LIBS"
6661 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6662 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6663 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 ac_check_lib_save_LIBS
=$LIBS
6667 LIBS
="-lpthread $LIBS"
6668 cat >conftest.
$ac_ext <<_ACEOF
6671 cat confdefs.h
>>conftest.
$ac_ext
6672 cat >>conftest.
$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6675 /* Override any GCC internal prototype to avoid an error.
6676 Use char because int might match the return type of a GCC
6677 builtin and then its argument prototype would still apply. */
6681 char pthread_create ();
6685 return pthread_create ();
6690 rm -f conftest.
$ac_objext conftest
$ac_exeext
6691 if { (ac_try
="$ac_link"
6693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6694 *) ac_try_echo=$ac_try;;
6696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6697 (eval "$ac_link") 2>conftest.er1
6699 grep -v '^ *+' conftest.er1 >conftest.err
6701 cat conftest.err >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); } && {
6704 test -z "$ac_c_werror_flag" ||
6705 test ! -s conftest.err
6706 } && test -s conftest$ac_exeext &&
6707 $as_test_x conftest$ac_exeext; then
6708 ac_cv_lib_pthread_pthread_create=yes
6710 echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.$ac_ext >&5
6713 ac_cv_lib_pthread_pthread_create=no
6716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6717 conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6720 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6721 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6722 if test $ac_cv_lib_pthread_pthread_create = yes; then
6723 LIBPTHREAD="-lpthread"
6742 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6743 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6744 if test "${ac_cv_header_stdc+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 cat >conftest.$ac_ext <<_ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6766 rm -f conftest.$ac_objext
6767 if { (ac_try="$ac_compile"
6769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6770 *) ac_try_echo
=$ac_try;;
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6773 (eval "$ac_compile") 2>conftest.er1
6775 grep -v '^ *+' conftest.er1
>conftest.err
6777 cat conftest.err
>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } && {
6780 test -z "$ac_c_werror_flag" ||
6781 test ! -s conftest.err
6782 } && test -s conftest.
$ac_objext; then
6783 ac_cv_header_stdc
=yes
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.
$ac_ext >&5
6788 ac_cv_header_stdc
=no
6791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6793 if test $ac_cv_header_stdc = yes; then
6794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "memchr" >/dev
/null
2>&1; then
6808 ac_cv_header_stdc
=no
6814 if test $ac_cv_header_stdc = yes; then
6815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6816 cat >conftest.
$ac_ext <<_ACEOF
6819 cat confdefs.h
>>conftest.
$ac_ext
6820 cat >>conftest.
$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6826 $EGREP "free" >/dev
/null
2>&1; then
6829 ac_cv_header_stdc
=no
6835 if test $ac_cv_header_stdc = yes; then
6836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6837 if test "$cross_compiling" = yes; then
6840 cat >conftest.
$ac_ext <<_ACEOF
6843 cat confdefs.h
>>conftest.
$ac_ext
6844 cat >>conftest.
$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6848 #if ((' ' & 0x0FF) == 0x020)
6849 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6850 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6852 # define ISLOWER(c) \
6853 (('a' <= (c) && (c) <= 'i') \
6854 || ('j' <= (c) && (c) <= 'r') \
6855 || ('s' <= (c) && (c) <= 'z'))
6856 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6859 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6864 for (i = 0; i < 256; i++)
6865 if (XOR (islower (i), ISLOWER (i))
6866 || toupper (i) != TOUPPER (i))
6871 rm -f conftest
$ac_exeext
6872 if { (ac_try
="$ac_link"
6874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_link") 2>&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6882 { (case "(($ac_try" in
6883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6884 *) ac_try_echo
=$ac_try;;
6886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6887 (eval "$ac_try") 2>&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; }; then
6893 echo "$as_me: program exited with status $ac_status" >&5
6894 echo "$as_me: failed program was:" >&5
6895 sed 's/^/| /' conftest.
$ac_ext >&5
6898 ac_cv_header_stdc
=no
6900 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6906 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6907 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6908 if test $ac_cv_header_stdc = yes; then
6910 cat >>confdefs.h
<<\_ACEOF
6911 #define STDC_HEADERS 1
6916 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6926 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6927 inttypes.h stdint.h unistd.h
6929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6932 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 cat >conftest.
$ac_ext <<_ACEOF
6938 cat confdefs.h
>>conftest.
$ac_ext
6939 cat >>conftest.
$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6941 $ac_includes_default
6943 #include <$ac_header>
6945 rm -f conftest.
$ac_objext
6946 if { (ac_try
="$ac_compile"
6948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6949 *) ac_try_echo=$ac_try;;
6951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952 (eval "$ac_compile") 2>conftest.er1
6954 grep -v '^ *+' conftest.er1 >conftest.err
6956 cat conftest.err >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } && {
6959 test -z "$ac_c_werror_flag" ||
6960 test ! -s conftest.err
6961 } && test -s conftest.$ac_objext; then
6962 eval "$as_ac_Header=yes"
6964 echo "$as_me: failed program was:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6967 eval "$as_ac_Header=no"
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6972 ac_res=`eval echo '${'$as_ac_Header'}'`
6973 { echo "$as_me:$LINENO: result: $ac_res" >&5
6974 echo "${ECHO_T}$ac_res" >&6; }
6975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6976 cat >>confdefs.h <<_ACEOF
6977 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7096 AudioUnit/AudioUnit.h \
7098 CoreAudio/CoreAudio.h \
7099 DiskArbitration/DiskArbitration.h \
7112 fontconfig/fontconfig.h \
7138 machine/soundcard.h \
7143 netinet/in_systm.h \
7208 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 ac_res=`eval echo '${'$as_ac_Header'}'`
7216 { echo "$as_me:$LINENO: result: $ac_res" >&5
7217 echo "${ECHO_T}$ac_res" >&6; }
7219 # Is the header compilable?
7220 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7222 cat >conftest.$ac_ext <<_ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7228 $ac_includes_default
7229 #include <$ac_header>
7231 rm -f conftest.$ac_objext
7232 if { (ac_try="$ac_compile"
7234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7235 *) ac_try_echo
=$ac_try;;
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_compile") 2>conftest.er1
7240 grep -v '^ *+' conftest.er1
>conftest.err
7242 cat conftest.err
>&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } && {
7245 test -z "$ac_c_werror_flag" ||
7246 test ! -s conftest.err
7247 } && test -s conftest.
$ac_objext; then
7248 ac_header_compiler
=yes
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.
$ac_ext >&5
7253 ac_header_compiler
=no
7256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7258 echo "${ECHO_T}$ac_header_compiler" >&6; }
7260 # Is the header present?
7261 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7263 cat >conftest.
$ac_ext <<_ACEOF
7266 cat confdefs.h
>>conftest.
$ac_ext
7267 cat >>conftest.
$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <$ac_header>
7271 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7279 grep -v '^ *+' conftest.er1 >conftest.err
7281 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } >/dev/null && {
7284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7287 ac_header_preproc=yes
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 ac_header_preproc=no
7295 rm -f conftest.err conftest.$ac_ext
7296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7297 echo "${ECHO_T}$ac_header_preproc" >&6; }
7299 # So? What about this header?
7300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7306 ac_header_preproc=yes
7309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7322 ## ------------------------------------ ##
7323 ## Report this to wine-devel@winehq.org ##
7324 ## ------------------------------------ ##
7326 ) | sed "s/^/$as_me: WARNING: /" >&2
7329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 eval "$as_ac_Header=\$ac_header_preproc"
7336 ac_res=`eval echo '${'$as_ac_Header'}'`
7337 { echo "$as_me:$LINENO: result: $ac_res" >&5
7338 echo "${ECHO_T}$ac_res" >&6; }
7341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7342 cat >>confdefs.h <<_ACEOF
7343 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7350 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7351 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7352 if test "${ac_cv_header_stat_broken+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 cat >conftest.$ac_ext <<_ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #include <sys/stat.h>
7364 #if defined S_ISBLK && defined S_IFDIR
7365 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7368 #if defined S_ISBLK && defined S_IFCHR
7369 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7372 #if defined S_ISLNK && defined S_IFREG
7373 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7376 #if defined S_ISSOCK && defined S_IFREG
7377 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7381 rm -f conftest.$ac_objext
7382 if { (ac_try="$ac_compile"
7384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7385 *) ac_try_echo
=$ac_try;;
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7390 grep -v '^ *+' conftest.er1
>conftest.err
7392 cat conftest.err
>&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.
$ac_objext; then
7398 ac_cv_header_stat_broken
=no
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.
$ac_ext >&5
7403 ac_cv_header_stat_broken
=yes
7406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7408 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7409 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7410 if test $ac_cv_header_stat_broken = yes; then
7412 cat >>confdefs.h
<<\_ACEOF
7413 #define STAT_MACROS_BROKEN 1
7424 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 cat >conftest.
$ac_ext <<_ACEOF
7435 cat confdefs.h
>>conftest.
$ac_ext
7436 cat >>conftest.
$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #ifdef HAVE_SYS_PARAM_H
7440 # include <sys/param.h>
7443 #include <$ac_header>
7445 rm -f conftest.
$ac_objext
7446 if { (ac_try
="$ac_compile"
7448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7449 *) ac_try_echo=$ac_try;;
7451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7452 (eval "$ac_compile") 2>conftest.er1
7454 grep -v '^ *+' conftest.er1 >conftest.err
7456 cat conftest.err >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } && {
7459 test -z "$ac_c_werror_flag" ||
7460 test ! -s conftest.err
7461 } && test -s conftest.$ac_objext; then
7462 eval "$as_ac_Header=yes"
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 eval "$as_ac_Header=no"
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 ac_res=`eval echo '${'$as_ac_Header'}'`
7473 { echo "$as_me:$LINENO: result: $ac_res" >&5
7474 echo "${ECHO_T}$ac_res" >&6; }
7475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7476 cat >>confdefs.h <<_ACEOF
7477 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7493 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7495 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 cat >conftest.$ac_ext <<_ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <sys/types.h>
7508 #ifdef HAVE_SYS_SOCKET_H
7509 # include <sys/socket.h>
7511 #ifdef HAVE_SYS_SOCKETVAR_H
7512 # include <sys/socketvar.h>
7514 #ifdef HAVE_NETINET_IN_H
7515 # include <netinet/in.h>
7518 #include <$ac_header>
7520 rm -f conftest.$ac_objext
7521 if { (ac_try="$ac_compile"
7523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7524 *) ac_try_echo
=$ac_try;;
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7529 grep -v '^ *+' conftest.er1
>conftest.err
7531 cat conftest.err
>&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.
$ac_objext; then
7537 eval "$as_ac_Header=yes"
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.
$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7547 ac_res
=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h
<<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7561 for ac_header
in netinet
/tcp_var.h
7563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7566 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 cat >conftest.
$ac_ext <<_ACEOF
7572 cat confdefs.h
>>conftest.
$ac_ext
7573 cat >>conftest.
$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 #include <sys/types.h>
7576 #ifdef HAVE_SYS_SOCKET_H
7577 # include <sys/socket.h>
7579 #ifdef HAVE_SYS_SOCKETVAR_H
7580 # include <sys/socketvar.h>
7582 #ifdef HAVE_NETINET_IN_H
7583 # include <netinet/in.h>
7585 #ifdef HAVE_NETINET_TCP_H
7586 # include <netinet/tcp.h>
7589 #include <$ac_header>
7591 rm -f conftest.
$ac_objext
7592 if { (ac_try
="$ac_compile"
7594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7595 *) ac_try_echo=$ac_try;;
7597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7598 (eval "$ac_compile") 2>conftest.er1
7600 grep -v '^ *+' conftest.er1 >conftest.err
7602 cat conftest.err >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } && {
7605 test -z "$ac_c_werror_flag" ||
7606 test ! -s conftest.err
7607 } && test -s conftest.$ac_objext; then
7608 eval "$as_ac_Header=yes"
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.$ac_ext >&5
7613 eval "$as_ac_Header=no"
7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7618 ac_res=`eval echo '${'$as_ac_Header'}'`
7619 { echo "$as_me:$LINENO: result: $ac_res" >&5
7620 echo "${ECHO_T}$ac_res" >&6; }
7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7632 for ac_header in linux/ipx.h
7634 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 cat >conftest.$ac_ext <<_ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 #include <sys/types.h>
7647 #ifdef HAVE_ASM_TYPES_H
7648 # include <asm/types.h>
7650 #ifdef HAVE_SYS_SOCKET_H
7651 # include <sys/socket.h>
7654 #include <$ac_header>
7656 rm -f conftest.$ac_objext
7657 if { (ac_try="$ac_compile"
7659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7660 *) ac_try_echo
=$ac_try;;
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_compile") 2>conftest.er1
7665 grep -v '^ *+' conftest.er1
>conftest.err
7667 cat conftest.err
>&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } && {
7670 test -z "$ac_c_werror_flag" ||
7671 test ! -s conftest.err
7672 } && test -s conftest.
$ac_objext; then
7673 eval "$as_ac_Header=yes"
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.
$ac_ext >&5
7678 eval "$as_ac_Header=no"
7681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7683 ac_res
=`eval echo '${'$as_ac_Header'}'`
7684 { echo "$as_me:$LINENO: result: $ac_res" >&5
7685 echo "${ECHO_T}$ac_res" >&6; }
7686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7687 cat >>confdefs.h
<<_ACEOF
7688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 for ac_header
in resolv.h
7699 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7702 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 #include <sys/types.h>
7712 #ifdef HAVE_SYS_SOCKET_H
7713 # include <sys/socket.h>
7715 #ifdef HAVE_NETINET_IN_H
7716 # include <netinet/in.h>
7718 #ifdef HAVE_ARPA_NAMESER_H
7719 # include <arpa/nameser.h>
7722 #include <$ac_header>
7724 rm -f conftest.
$ac_objext
7725 if { (ac_try
="$ac_compile"
7727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7728 *) ac_try_echo=$ac_try;;
7730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7731 (eval "$ac_compile") 2>conftest.er1
7733 grep -v '^ *+' conftest.er1 >conftest.err
7735 cat conftest.err >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } && {
7738 test -z "$ac_c_werror_flag" ||
7739 test ! -s conftest.err
7740 } && test -s conftest.$ac_objext; then
7741 eval "$as_ac_Header=yes"
7743 echo "$as_me: failed program was:" >&5
7744 sed 's/^/| /' conftest.$ac_ext >&5
7746 eval "$as_ac_Header=no"
7749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7751 ac_res=`eval echo '${'$as_ac_Header'}'`
7752 { echo "$as_me:$LINENO: result: $ac_res" >&5
7753 echo "${ECHO_T}$ac_res" >&6; }
7754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7755 cat >>confdefs.h <<_ACEOF
7756 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7765 for ac_header in ucontext.h
7767 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7773 cat >conftest.$ac_ext <<_ACEOF
7776 cat confdefs.h >>conftest.$ac_ext
7777 cat >>conftest.$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7781 #include <$ac_header>
7783 rm -f conftest.$ac_objext
7784 if { (ac_try="$ac_compile"
7786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7787 *) ac_try_echo
=$ac_try;;
7789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7790 (eval "$ac_compile") 2>conftest.er1
7792 grep -v '^ *+' conftest.er1
>conftest.err
7794 cat conftest.err
>&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } && {
7797 test -z "$ac_c_werror_flag" ||
7798 test ! -s conftest.err
7799 } && test -s conftest.
$ac_objext; then
7800 eval "$as_ac_Header=yes"
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.
$ac_ext >&5
7805 eval "$as_ac_Header=no"
7808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7810 ac_res
=`eval echo '${'$as_ac_Header'}'`
7811 { echo "$as_me:$LINENO: result: $ac_res" >&5
7812 echo "${ECHO_T}$ac_res" >&6; }
7813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7814 cat >>confdefs.h
<<_ACEOF
7815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7824 for ac_header
in sys
/thr.h
7826 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7829 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 cat >conftest.
$ac_ext <<_ACEOF
7835 cat confdefs.h
>>conftest.
$ac_ext
7836 cat >>conftest.
$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7838 #include <sys/types.h>
7839 #ifdef HAVE_UCONTEXT_H
7840 #include <ucontext.h>
7843 #include <$ac_header>
7845 rm -f conftest.
$ac_objext
7846 if { (ac_try
="$ac_compile"
7848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7849 *) ac_try_echo=$ac_try;;
7851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7852 (eval "$ac_compile") 2>conftest.er1
7854 grep -v '^ *+' conftest.er1 >conftest.err
7856 cat conftest.err >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } && {
7859 test -z "$ac_c_werror_flag" ||
7860 test ! -s conftest.err
7861 } && test -s conftest.$ac_objext; then
7862 eval "$as_ac_Header=yes"
7864 echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.$ac_ext >&5
7867 eval "$as_ac_Header=no"
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 ac_res=`eval echo '${'$as_ac_Header'}'`
7873 { echo "$as_me:$LINENO: result: $ac_res" >&5
7874 echo "${ECHO_T}$ac_res" >&6; }
7875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7876 cat >>confdefs.h <<_ACEOF
7877 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7886 for ac_header in pthread_np.h
7888 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 cat >conftest.$ac_ext <<_ACEOF
7897 cat confdefs.h >>conftest.$ac_ext
7898 cat >>conftest.$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7900 #ifdef HAVE_PTHREAD_H
7901 #include <pthread.h>
7904 #include <$ac_header>
7906 rm -f conftest.$ac_objext
7907 if { (ac_try="$ac_compile"
7909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7910 *) ac_try_echo
=$ac_try;;
7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 (eval "$ac_compile") 2>conftest.er1
7915 grep -v '^ *+' conftest.er1
>conftest.err
7917 cat conftest.err
>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && {
7920 test -z "$ac_c_werror_flag" ||
7921 test ! -s conftest.err
7922 } && test -s conftest.
$ac_objext; then
7923 eval "$as_ac_Header=yes"
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.
$ac_ext >&5
7928 eval "$as_ac_Header=no"
7931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7933 ac_res
=`eval echo '${'$as_ac_Header'}'`
7934 { echo "$as_me:$LINENO: result: $ac_res" >&5
7935 echo "${ECHO_T}$ac_res" >&6; }
7936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7937 cat >>confdefs.h
<<_ACEOF
7938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7947 for ac_header
in linux
/videodev.h
7949 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7952 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7961 #ifdef HAVE_SYS_TIME_H
7962 #include <sys/time.h>
7964 #include <sys/types.h>
7965 #ifdef HAVE_ASM_TYPES_H
7966 #include <asm/types.h>
7969 #include <$ac_header>
7971 rm -f conftest.
$ac_objext
7972 if { (ac_try
="$ac_compile"
7974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7975 *) ac_try_echo=$ac_try;;
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7978 (eval "$ac_compile") 2>conftest.er1
7980 grep -v '^ *+' conftest.er1 >conftest.err
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } && {
7985 test -z "$ac_c_werror_flag" ||
7986 test ! -s conftest.err
7987 } && test -s conftest.$ac_objext; then
7988 eval "$as_ac_Header=yes"
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7993 eval "$as_ac_Header=no"
7996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7998 ac_res=`eval echo '${'$as_ac_Header'}'`
7999 { echo "$as_me:$LINENO: result: $ac_res" >&5
8000 echo "${ECHO_T}$ac_res" >&6; }
8001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8002 cat >>confdefs.h <<_ACEOF
8003 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8012 for ac_header in linux/capi.h
8014 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 cat >conftest.$ac_ext <<_ACEOF
8023 cat confdefs.h >>conftest.$ac_ext
8024 cat >>conftest.$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8028 #include <$ac_header>
8030 rm -f conftest.$ac_objext
8031 if { (ac_try="$ac_compile"
8033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8034 *) ac_try_echo
=$ac_try;;
8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
8039 grep -v '^ *+' conftest.er1
>conftest.err
8041 cat conftest.err
>&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } && {
8044 test -z "$ac_c_werror_flag" ||
8045 test ! -s conftest.err
8046 } && test -s conftest.
$ac_objext; then
8047 eval "$as_ac_Header=yes"
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.
$ac_ext >&5
8052 eval "$as_ac_Header=no"
8055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8057 ac_res
=`eval echo '${'$as_ac_Header'}'`
8058 { echo "$as_me:$LINENO: result: $ac_res" >&5
8059 echo "${ECHO_T}$ac_res" >&6; }
8060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8061 cat >>confdefs.h
<<_ACEOF
8062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 DLLFLAGS
="-D_REENTRANT"
8087 # Extract the first word of "ldd", so it can be a program name with args.
8088 set dummy ldd
; ac_word
=$2
8089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8091 if test "${ac_cv_path_LDD+set}" = set; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8100 as_dummy
="/sbin:/usr/sbin:$PATH"
8101 for as_dir
in $as_dummy
8104 test -z "$as_dir" && as_dir
=.
8105 for ac_exec_ext
in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8115 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8120 if test -n "$LDD"; then
8121 { echo "$as_me:$LINENO: result: $LDD" >&5
8122 echo "${ECHO_T}$LDD" >&6; }
8124 { echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6; }
8132 if test -n "$ac_tool_prefix"; then
8133 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8134 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8137 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8138 echo $ECHO_N "(cached) $ECHO_C" >&6
8140 if test -n "$DLLTOOL"; then
8141 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8147 test -z "$as_dir" && as_dir
=.
8148 for ac_exec_ext
in '' $ac_executable_extensions; do
8149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8150 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8160 DLLTOOL
=$ac_cv_prog_DLLTOOL
8161 if test -n "$DLLTOOL"; then
8162 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8163 echo "${ECHO_T}$DLLTOOL" >&6; }
8165 { echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6; }
8171 if test -z "$ac_cv_prog_DLLTOOL"; then
8172 ac_ct_DLLTOOL
=$DLLTOOL
8173 # Extract the first word of "dlltool", so it can be a program name with args.
8174 set dummy dlltool
; ac_word
=$2
8175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8177 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir
=.
8188 for ac_exec_ext
in '' $ac_executable_extensions; do
8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8200 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8201 if test -n "$ac_ct_DLLTOOL"; then
8202 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8203 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8205 { echo "$as_me:$LINENO: result: no" >&5
8206 echo "${ECHO_T}no" >&6; }
8209 if test "x$ac_ct_DLLTOOL" = x
; then
8212 case $cross_compiling:$ac_tool_warned in
8214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8215 whose name does not start with the host triplet. If you think this
8216 configuration is useful to you, please write to autoconf@gnu.org." >&5
8217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8218 whose name does not start with the host triplet. If you think this
8219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8220 ac_tool_warned
=yes ;;
8222 DLLTOOL
=$ac_ct_DLLTOOL
8225 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8228 if test -n "$ac_tool_prefix"; then
8229 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8230 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8233 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 if test -n "$DLLWRAP"; then
8237 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir
=.
8244 for ac_exec_ext
in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8256 DLLWRAP
=$ac_cv_prog_DLLWRAP
8257 if test -n "$DLLWRAP"; then
8258 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8259 echo "${ECHO_T}$DLLWRAP" >&6; }
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8267 if test -z "$ac_cv_prog_DLLWRAP"; then
8268 ac_ct_DLLWRAP
=$DLLWRAP
8269 # Extract the first word of "dllwrap", so it can be a program name with args.
8270 set dummy dllwrap
; ac_word
=$2
8271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8273 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8274 echo $ECHO_N "(cached) $ECHO_C" >&6
8276 if test -n "$ac_ct_DLLWRAP"; then
8277 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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_prog_ac_ct_DLLWRAP
="dllwrap"
8287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8296 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8297 if test -n "$ac_ct_DLLWRAP"; then
8298 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8299 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8301 { echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6; }
8305 if test "x$ac_ct_DLLWRAP" = x
; then
8308 case $cross_compiling:$ac_tool_warned in
8310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8311 whose name does not start with the host triplet. If you think this
8312 configuration is useful to you, please write to autoconf@gnu.org." >&5
8313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8314 whose name does not start with the host triplet. If you think this
8315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8316 ac_tool_warned
=yes ;;
8318 DLLWRAP
=$ac_ct_DLLWRAP
8321 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8324 if test -n "$ac_tool_prefix"; then
8325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8326 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8329 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8332 if test -n "$MINGWAR"; then
8333 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8339 test -z "$as_dir" && as_dir
=.
8340 for ac_exec_ext
in '' $ac_executable_extensions; do
8341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8342 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8352 MINGWAR
=$ac_cv_prog_MINGWAR
8353 if test -n "$MINGWAR"; then
8354 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8355 echo "${ECHO_T}$MINGWAR" >&6; }
8357 { echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6; }
8363 if test -z "$ac_cv_prog_MINGWAR"; then
8364 ac_ct_MINGWAR
=$MINGWAR
8365 # Extract the first word of "ar", so it can be a program name with args.
8366 set dummy
ar; ac_word
=$2
8367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8369 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8370 echo $ECHO_N "(cached) $ECHO_C" >&6
8372 if test -n "$ac_ct_MINGWAR"; then
8373 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8379 test -z "$as_dir" && as_dir
=.
8380 for ac_exec_ext
in '' $ac_executable_extensions; do
8381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8382 ac_cv_prog_ac_ct_MINGWAR
="ar"
8383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8393 if test -n "$ac_ct_MINGWAR"; then
8394 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8395 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8397 { echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6; }
8401 if test "x$ac_ct_MINGWAR" = x
; then
8404 case $cross_compiling:$ac_tool_warned in
8406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8407 whose name does not start with the host triplet. If you think this
8408 configuration is useful to you, please write to autoconf@gnu.org." >&5
8409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8410 whose name does not start with the host triplet. If you think this
8411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8412 ac_tool_warned
=yes ;;
8414 MINGWAR
=$ac_ct_MINGWAR
8417 MINGWAR
="$ac_cv_prog_MINGWAR"
8420 if test "$DLLWRAP" = "false"; then
8432 DLLFLAGS
="$DLLFLAGS -fPIC"
8433 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8434 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8435 LDSHARED
="\$(CC) -dynamiclib"
8437 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8438 SECURITYLIB
="-framework Security -framework CoreFoundation"
8440 COREFOUNDATIONLIB
="-framework CoreFoundation"
8442 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8444 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8446 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8448 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8451 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8453 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8458 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8460 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8462 CARBONLIB
="-framework Carbon"
8464 QUARTZFILES
='$(QUARTZFILES)'
8468 DLLFLAGS
="$DLLFLAGS -fPIC"
8470 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8471 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8472 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8475 ac_wine_try_cflags_saved
=$CFLAGS
8476 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8477 cat >conftest.
$ac_ext <<_ACEOF
8480 rm -f conftest.
$ac_objext conftest
$ac_exeext
8481 if { (ac_try
="$ac_link"
8483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_link") 2>conftest.er1
8489 grep -v '^ *+' conftest.er1 >conftest.err
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest$ac_exeext &&
8497 $as_test_x conftest$ac_exeext; then
8498 ac_cv_c_dll_gnuelf="yes"
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 ac_cv_c_dll_gnuelf="no"
8506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8511 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8512 if test "$ac_cv_c_dll_gnuelf" = "yes"
8514 LDSHARED="\$(CC) -shared"
8515 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8516 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8517 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8518 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8521 ac_wine_try_cflags_saved=$CFLAGS
8522 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8523 cat >conftest.$ac_ext <<_ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8538 rm -f conftest.$ac_objext conftest$ac_exeext
8539 if { (ac_try="$ac_link"
8541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8542 *) ac_try_echo
=$ac_try;;
8544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8545 (eval "$ac_link") 2>conftest.er1
8547 grep -v '^ *+' conftest.er1
>conftest.err
8549 cat conftest.err
>&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } && {
8552 test -z "$ac_c_werror_flag" ||
8553 test ! -s conftest.err
8554 } && test -s conftest
$ac_exeext &&
8555 $as_test_x conftest
$ac_exeext; then
8556 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.
$ac_ext >&5
8561 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8564 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8565 conftest
$ac_exeext conftest.
$ac_ext
8566 CFLAGS
=$ac_wine_try_cflags_saved
8568 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8569 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8570 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8571 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8573 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8574 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8575 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 ac_wine_try_cflags_saved
=$CFLAGS
8579 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8580 cat >conftest.
$ac_ext <<_ACEOF
8583 cat confdefs.h
>>conftest.
$ac_ext
8584 cat >>conftest.
$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8595 rm -f conftest.
$ac_objext conftest
$ac_exeext
8596 if { (ac_try
="$ac_link"
8598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8599 *) ac_try_echo=$ac_try;;
8601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8602 (eval "$ac_link") 2>conftest.er1
8604 grep -v '^ *+' conftest.er1 >conftest.err
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } && {
8609 test -z "$ac_c_werror_flag" ||
8610 test ! -s conftest.err
8611 } && test -s conftest$ac_exeext &&
8612 $as_test_x conftest$ac_exeext; then
8613 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8618 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8626 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8627 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8628 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8634 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8635 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8636 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8641 cat >conftest.$ac_ext <<_ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8656 rm -f conftest.$ac_objext conftest$ac_exeext
8657 if { (ac_try="$ac_link"
8659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8660 *) ac_try_echo
=$ac_try;;
8662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8663 (eval "$ac_link") 2>conftest.er1
8665 grep -v '^ *+' conftest.er1
>conftest.err
8667 cat conftest.err
>&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && {
8670 test -z "$ac_c_werror_flag" ||
8671 test ! -s conftest.err
8672 } && test -s conftest
$ac_exeext &&
8673 $as_test_x conftest
$ac_exeext; then
8674 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.
$ac_ext >&5
8679 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8683 conftest
$ac_exeext conftest.
$ac_ext
8684 CFLAGS
=$ac_wine_try_cflags_saved
8686 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8687 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8688 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8689 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8693 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8694 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8695 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 ac_wine_try_cflags_saved
=$CFLAGS
8699 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8700 cat >conftest.
$ac_ext <<_ACEOF
8703 cat confdefs.h
>>conftest.
$ac_ext
8704 cat >>conftest.
$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8715 rm -f conftest.
$ac_objext conftest
$ac_exeext
8716 if { (ac_try
="$ac_link"
8718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_link") 2>conftest.er1
8724 grep -v '^ *+' conftest.er1 >conftest.err
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && {
8729 test -z "$ac_c_werror_flag" ||
8730 test ! -s conftest.err
8731 } && test -s conftest$ac_exeext &&
8732 $as_test_x conftest$ac_exeext; then
8733 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8746 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8747 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8748 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8752 echo '{ global: *; };' >conftest.map
8753 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8754 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8755 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8760 cat >conftest.$ac_ext <<_ACEOF
8763 cat confdefs.h >>conftest.$ac_ext
8764 cat >>conftest.$ac_ext <<_ACEOF
8765 /* end confdefs.h. */
8775 rm -f conftest.$ac_objext conftest$ac_exeext
8776 if { (ac_try="$ac_link"
8778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8779 *) ac_try_echo
=$ac_try;;
8781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8782 (eval "$ac_link") 2>conftest.er1
8784 grep -v '^ *+' conftest.er1
>conftest.err
8786 cat conftest.err
>&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && {
8789 test -z "$ac_c_werror_flag" ||
8790 test ! -s conftest.err
8791 } && test -s conftest
$ac_exeext &&
8792 $as_test_x conftest
$ac_exeext; then
8793 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.
$ac_ext >&5
8798 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8802 conftest
$ac_exeext conftest.
$ac_ext
8803 CFLAGS
=$ac_wine_try_cflags_saved
8805 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8806 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8807 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8808 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8813 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8814 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8815 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 ac_wine_try_cflags_saved
=$CFLAGS
8819 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
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__Wl___export_dynamic=yes
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_cflags__fPIC__Wl___export_dynamic=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__Wl___export_dynamic" >&5
8866 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8867 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8868 LDEXECFLAGS="-Wl,--export-dynamic"
8873 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8874 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8875 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8877 echo $ECHO_N "(cached) $ECHO_C" >&6
8879 ac_wine_try_cflags_saved=$CFLAGS
8880 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8881 cat >conftest.$ac_ext <<_ACEOF
8884 cat confdefs.h >>conftest.$ac_ext
8885 cat >>conftest.$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (ac_try="$ac_link"
8899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8900 *) ac_try_echo
=$ac_try;;
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_link") 2>conftest.er1
8905 grep -v '^ *+' conftest.er1
>conftest.err
8907 cat conftest.err
>&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } && {
8910 test -z "$ac_c_werror_flag" ||
8911 test ! -s conftest.err
8912 } && test -s conftest
$ac_exeext &&
8913 $as_test_x conftest
$ac_exeext; then
8914 eval "$as_ac_var=yes"
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.
$ac_ext >&5
8919 eval "$as_ac_var=no"
8922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8923 conftest
$ac_exeext conftest.
$ac_ext
8924 CFLAGS
=$ac_wine_try_cflags_saved
8926 ac_res
=`eval echo '${'$as_ac_var'}'`
8927 { echo "$as_me:$LINENO: result: $ac_res" >&5
8928 echo "${ECHO_T}$ac_res" >&6; }
8929 if test `eval echo '${'$as_ac_var'}'` = yes; then
8930 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8931 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8933 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8934 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8935 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8936 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 ac_wine_try_cflags_saved
=$CFLAGS
8940 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8956 rm -f conftest.
$ac_objext conftest
$ac_exeext
8957 if { (ac_try
="$ac_link"
8959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_link") 2>conftest.er1
8965 grep -v '^ *+' conftest.er1 >conftest.err
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && {
8970 test -z "$ac_c_werror_flag" ||
8971 test ! -s conftest.err
8972 } && test -s conftest$ac_exeext &&
8973 $as_test_x conftest$ac_exeext; then
8974 eval "$as_ac_var=yes"
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 eval "$as_ac_var=no"
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8983 conftest$ac_exeext conftest.$ac_ext
8984 CFLAGS=$ac_wine_try_cflags_saved
8986 ac_res=`eval echo '${'$as_ac_var'}'`
8987 { echo "$as_me:$LINENO: result: $ac_res" >&5
8988 echo "${ECHO_T}$ac_res" >&6; }
8989 if test `eval echo '${'$as_ac_var'}'` = yes; then
8990 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8991 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8997 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8998 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8999 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 ac_wine_try_cflags_saved=$CFLAGS
9003 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9004 cat >conftest.$ac_ext <<_ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9019 rm -f conftest.$ac_objext conftest$ac_exeext
9020 if { (ac_try="$ac_link"
9022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9023 *) ac_try_echo
=$ac_try;;
9025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9026 (eval "$ac_link") 2>conftest.er1
9028 grep -v '^ *+' conftest.er1
>conftest.err
9030 cat conftest.err
>&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } && {
9033 test -z "$ac_c_werror_flag" ||
9034 test ! -s conftest.err
9035 } && test -s conftest
$ac_exeext &&
9036 $as_test_x conftest
$ac_exeext; then
9037 ac_cv_cflags__Wl___enable_new_dtags
=yes
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.
$ac_ext >&5
9042 ac_cv_cflags__Wl___enable_new_dtags
=no
9045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9046 conftest
$ac_exeext conftest.
$ac_ext
9047 CFLAGS
=$ac_wine_try_cflags_saved
9049 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9050 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9051 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9052 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9057 *i
[3456789]86* | x86_64
)
9058 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9059 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9060 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 ac_wine_try_cflags_saved
=$CFLAGS
9064 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9065 cat >conftest.
$ac_ext <<_ACEOF
9068 cat confdefs.h
>>conftest.
$ac_ext
9069 cat >>conftest.
$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9080 rm -f conftest.
$ac_objext conftest
$ac_exeext
9081 if { (ac_try
="$ac_link"
9083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9084 *) ac_try_echo=$ac_try;;
9086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087 (eval "$ac_link") 2>conftest.er1
9089 grep -v '^ *+' conftest.er1 >conftest.err
9091 cat conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } && {
9094 test -z "$ac_c_werror_flag" ||
9095 test ! -s conftest.err
9096 } && test -s conftest$ac_exeext &&
9097 $as_test_x conftest$ac_exeext; then
9098 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9103 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9107 conftest$ac_exeext conftest.$ac_ext
9108 CFLAGS=$ac_wine_try_cflags_saved
9110 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9111 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9112 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9113 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9120 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9121 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9122 if test "${ac_cv_c_dll_unixware+set}" = set; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9125 ac_wine_try_cflags_saved=$CFLAGS
9126 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9127 cat >conftest.$ac_ext <<_ACEOF
9130 rm -f conftest.$ac_objext conftest$ac_exeext
9131 if { (ac_try="$ac_link"
9133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9134 *) ac_try_echo
=$ac_try;;
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9137 (eval "$ac_link") 2>conftest.er1
9139 grep -v '^ *+' conftest.er1
>conftest.err
9141 cat conftest.err
>&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } && {
9144 test -z "$ac_c_werror_flag" ||
9145 test ! -s conftest.err
9146 } && test -s conftest
$ac_exeext &&
9147 $as_test_x conftest
$ac_exeext; then
9148 ac_cv_c_dll_unixware
="yes"
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.
$ac_ext >&5
9153 ac_cv_c_dll_unixware
="no"
9156 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9157 conftest
$ac_exeext conftest.
$ac_ext
9158 CFLAGS
=$ac_wine_try_cflags_saved
9160 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9161 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9162 if test "$ac_cv_c_dll_unixware" = "yes"
9164 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9165 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9168 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9169 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9170 if test "${ac_cv_c_dll_hpux+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 ac_wine_try_cflags_saved
=$CFLAGS
9174 CFLAGS
="$CFLAGS -shared"
9175 cat >conftest.
$ac_ext <<_ACEOF
9178 rm -f conftest.
$ac_objext conftest
$ac_exeext
9179 if { (ac_try
="$ac_link"
9181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_link") 2>conftest.er1
9187 grep -v '^ *+' conftest.er1 >conftest.err
9189 cat conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } && {
9192 test -z "$ac_c_werror_flag" ||
9193 test ! -s conftest.err
9194 } && test -s conftest$ac_exeext &&
9195 $as_test_x conftest$ac_exeext; then
9196 ac_cv_c_dll_hpux="yes"
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 ac_cv_c_dll_hpux="no"
9204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9205 conftest$ac_exeext conftest.$ac_ext
9206 CFLAGS=$ac_wine_try_cflags_saved
9208 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9209 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9210 if test "$ac_cv_c_dll_hpux" = "yes"
9214 LDDLLFLAGS="-shared -fPIC"
9215 LDSHARED="\$(CC) -shared"
9222 if test "$cross_compiling" = "no"
9224 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9226 # Extract the first word of "$ac_prog", so it can be a program name with args.
9227 set dummy $ac_prog; ac_word=$2
9228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9230 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 if test -n "$CROSSCC"; then
9234 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9240 test -z "$as_dir" && as_dir=.
9241 for ac_exec_ext in '' $ac_executable_extensions; do
9242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9243 ac_cv_prog_CROSSCC="$ac_prog"
9244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9253 CROSSCC=$ac_cv_prog_CROSSCC
9254 if test -n "$CROSSCC"; then
9255 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9256 echo "${ECHO_T}$CROSSCC" >&6; }
9258 { echo "$as_me:$LINENO: result: no" >&5
9259 echo "${ECHO_T}no" >&6; }
9263 test -n "$CROSSCC" && break
9265 test -n "$CROSSCC" || CROSSCC="false"
9267 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9269 # Extract the first word of "$ac_prog", so it can be a program name with args.
9270 set dummy $ac_prog; ac_word=$2
9271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9273 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 if test -n "$DLLTOOL"; then
9277 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9283 test -z "$as_dir" && as_dir=.
9284 for ac_exec_ext in '' $ac_executable_extensions; do
9285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9286 ac_cv_prog_DLLTOOL="$ac_prog"
9287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9296 DLLTOOL=$ac_cv_prog_DLLTOOL
9297 if test -n "$DLLTOOL"; then
9298 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9299 echo "${ECHO_T}$DLLTOOL" >&6; }
9301 { echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6; }
9306 test -n "$DLLTOOL" && break
9308 test -n "$DLLTOOL" || DLLTOOL="false"
9310 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9312 # Extract the first word of "$ac_prog", so it can be a program name with args.
9313 set dummy $ac_prog; ac_word=$2
9314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9316 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 if test -n "$CROSSWINDRES"; then
9320 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9326 test -z "$as_dir" && as_dir=.
9327 for ac_exec_ext in '' $ac_executable_extensions; do
9328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9329 ac_cv_prog_CROSSWINDRES="$ac_prog"
9330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9339 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9340 if test -n "$CROSSWINDRES"; then
9341 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9342 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9344 { echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6; }
9349 test -n "$CROSSWINDRES" && break
9351 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9353 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9355 # Extract the first word of "$ac_prog", so it can be a program name with args.
9356 set dummy $ac_prog; ac_word=$2
9357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9359 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 if test -n "$MINGWAR"; then
9363 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_prog_MINGWAR="$ac_prog"
9373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9382 MINGWAR=$ac_cv_prog_MINGWAR
9383 if test -n "$MINGWAR"; then
9384 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9385 echo "${ECHO_T}$MINGWAR" >&6; }
9387 { echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6; }
9392 test -n "$MINGWAR" && break
9394 test -n "$MINGWAR" || MINGWAR="false"
9396 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9401 if test "$LIBEXT" = "a"; then
9402 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9403 It is currently not possible to build Wine without shared library
9404 (.so) support to allow transparent switch between .so and .dll files.
9405 If you are using Linux, you will need a newer binutils.
9407 echo "$as_me: error: could not find a way to build shared libraries.
9408 It is currently not possible to build Wine without shared library
9409 (.so) support to allow transparent switch between .so and .dll files.
9410 If you are using Linux, you will need a newer binutils.
9412 { (exit 1); exit 1; }; }
9416 if test "$have_x" = "yes"
9419 ac_save_CPPFLAGS="$CPPFLAGS"
9420 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9422 { echo "$as_me:$LINENO: checking for -lX11" >&5
9423 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9424 if test "${ac_cv_lib_soname_X11+set}" = set; then
9425 echo $ECHO_N "(cached) $ECHO_C" >&6
9427 ac_check_soname_save_LIBS=$LIBS
9428 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9429 cat >conftest.$ac_ext <<_ACEOF
9432 cat confdefs.h >>conftest.$ac_ext
9433 cat >>conftest.$ac_ext <<_ACEOF
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9442 char XCreateWindow ();
9446 return XCreateWindow ();
9451 rm -f conftest.$ac_objext conftest$ac_exeext
9452 if { (ac_try="$ac_link"
9454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9455 *) ac_try_echo
=$ac_try;;
9457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 (eval "$ac_link") 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } && {
9465 test -z "$ac_c_werror_flag" ||
9466 test ! -s conftest.err
9467 } && test -s conftest
$ac_exeext &&
9468 $as_test_x conftest
$ac_exeext; then
9471 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'` ;;
9472 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9475 echo "$as_me: failed program was:" >&5
9476 sed 's/^/| /' conftest.
$ac_ext >&5
9481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9482 conftest
$ac_exeext conftest.
$ac_ext
9483 LIBS
=$ac_check_soname_save_LIBS
9485 if test "x$ac_cv_lib_soname_X11" = "x"; then
9486 { echo "$as_me:$LINENO: result: not found" >&5
9487 echo "${ECHO_T}not found" >&6; }
9490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9491 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9493 cat >>confdefs.h
<<_ACEOF
9494 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9500 { echo "$as_me:$LINENO: checking for -lXext" >&5
9501 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9502 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 ac_check_soname_save_LIBS
=$LIBS
9506 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9507 cat >conftest.
$ac_ext <<_ACEOF
9510 cat confdefs.h
>>conftest.
$ac_ext
9511 cat >>conftest.
$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9520 char XextCreateExtension ();
9524 return XextCreateExtension ();
9529 rm -f conftest.
$ac_objext conftest
$ac_exeext
9530 if { (ac_try
="$ac_link"
9532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9533 *) ac_try_echo=$ac_try;;
9535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9536 (eval "$ac_link") 2>conftest.er1
9538 grep -v '^ *+' conftest.er1 >conftest.err
9540 cat conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } && {
9543 test -z "$ac_c_werror_flag" ||
9544 test ! -s conftest.err
9545 } && test -s conftest$ac_exeext &&
9546 $as_test_x conftest$ac_exeext; then
9549 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'` ;;
9550 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.$ac_ext >&5
9559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_soname_save_LIBS
9563 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9564 { echo "$as_me:$LINENO: result: not found" >&5
9565 echo "${ECHO_T}not found" >&6; }
9568 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9569 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9571 cat >>confdefs.h <<_ACEOF
9572 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9591 for ac_header in X11/Xlib.h \
9594 X11/Xcursor/Xcursor.h \
9595 X11/extensions/shape.h \
9596 X11/extensions/XInput.h \
9597 X11/extensions/XShm.h \
9598 X11/extensions/Xcomposite.h \
9599 X11/extensions/Xinerama.h \
9600 X11/extensions/Xrandr.h \
9601 X11/extensions/Xrender.h \
9602 X11/extensions/xf86vmode.h
9604 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9610 cat >conftest.$ac_ext <<_ACEOF
9613 cat confdefs.h >>conftest.$ac_ext
9614 cat >>conftest.$ac_ext <<_ACEOF
9615 /* end confdefs.h. */
9616 #ifdef HAVE_X11_XLIB_H
9617 # include <X11/Xlib.h>
9619 #ifdef HAVE_X11_XUTIL_H
9620 # include <X11/Xutil.h>
9623 #include <$ac_header>
9625 rm -f conftest.$ac_objext
9626 if { (ac_try="$ac_compile"
9628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9629 *) ac_try_echo
=$ac_try;;
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_compile") 2>conftest.er1
9634 grep -v '^ *+' conftest.er1
>conftest.err
9636 cat conftest.err
>&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } && {
9639 test -z "$ac_c_werror_flag" ||
9640 test ! -s conftest.err
9641 } && test -s conftest.
$ac_objext; then
9642 eval "$as_ac_Header=yes"
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.
$ac_ext >&5
9647 eval "$as_ac_Header=no"
9650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9652 ac_res
=`eval echo '${'$as_ac_Header'}'`
9653 { echo "$as_me:$LINENO: result: $ac_res" >&5
9654 echo "${ECHO_T}$ac_res" >&6; }
9655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9656 cat >>confdefs.h
<<_ACEOF
9657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9665 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9667 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9668 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9669 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 ac_check_lib_save_LIBS
=$LIBS
9673 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9674 cat >conftest.
$ac_ext <<_ACEOF
9677 cat confdefs.h
>>conftest.
$ac_ext
9678 cat >>conftest.
$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9687 char XkbQueryExtension ();
9691 return XkbQueryExtension ();
9696 rm -f conftest.
$ac_objext conftest
$ac_exeext
9697 if { (ac_try
="$ac_link"
9699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9700 *) ac_try_echo=$ac_try;;
9702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9703 (eval "$ac_link") 2>conftest.er1
9705 grep -v '^ *+' conftest.er1 >conftest.err
9707 cat conftest.err >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } && {
9710 test -z "$ac_c_werror_flag" ||
9711 test ! -s conftest.err
9712 } && test -s conftest$ac_exeext &&
9713 $as_test_x conftest$ac_exeext; then
9714 ac_cv_lib_X11_XkbQueryExtension=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_cv_lib_X11_XkbQueryExtension=no
9722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9727 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9728 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9730 cat >>confdefs.h <<\_ACEOF
9738 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9740 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9741 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9742 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9747 cat >conftest.$ac_ext <<_ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9760 char XcursorImageLoadCursor ();
9764 return XcursorImageLoadCursor ();
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (ac_try="$ac_link"
9772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9773 *) ac_try_echo
=$ac_try;;
9775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_link") 2>conftest.er1
9778 grep -v '^ *+' conftest.er1
>conftest.err
9780 cat conftest.err
>&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err
9785 } && test -s conftest
$ac_exeext &&
9786 $as_test_x conftest
$ac_exeext; then
9789 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'` ;;
9790 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.
$ac_ext >&5
9799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9800 conftest
$ac_exeext conftest.
$ac_ext
9801 LIBS
=$ac_check_soname_save_LIBS
9803 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9804 { echo "$as_me:$LINENO: result: not found" >&5
9805 echo "${ECHO_T}not found" >&6; }
9808 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9809 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9811 cat >>confdefs.h
<<_ACEOF
9812 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9819 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9820 case "x$with_xcursor" in
9821 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9823 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9824 This is an error since --with-xcursor was requested." >&5
9825 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9826 This is an error since --with-xcursor was requested." >&2;}
9827 { (exit 1); exit 1; }; } ;;
9832 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9834 { echo "$as_me:$LINENO: checking for -lXi" >&5
9835 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9836 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 ac_check_soname_save_LIBS
=$LIBS
9840 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9841 cat >conftest.
$ac_ext <<_ACEOF
9844 cat confdefs.h
>>conftest.
$ac_ext
9845 cat >>conftest.
$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9854 char XOpenDevice ();
9858 return XOpenDevice ();
9863 rm -f conftest.
$ac_objext conftest
$ac_exeext
9864 if { (ac_try
="$ac_link"
9866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9867 *) ac_try_echo=$ac_try;;
9869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9870 (eval "$ac_link") 2>conftest.er1
9872 grep -v '^ *+' conftest.er1 >conftest.err
9874 cat conftest.err >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } && {
9877 test -z "$ac_c_werror_flag" ||
9878 test ! -s conftest.err
9879 } && test -s conftest$ac_exeext &&
9880 $as_test_x conftest$ac_exeext; then
9883 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'` ;;
9884 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_soname_save_LIBS
9897 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9898 { echo "$as_me:$LINENO: result: not found" >&5
9899 echo "${ECHO_T}not found" >&6; }
9902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9903 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9905 cat >>confdefs.h <<_ACEOF
9906 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9914 case "x$with_xinput" in
9915 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9917 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9918 This is an error since --with-xinput was requested." >&5
9919 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9920 This is an error since --with-xinput was requested." >&2;}
9921 { (exit 1); exit 1; }; } ;;
9926 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9928 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9929 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9930 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9931 echo $ECHO_N "(cached) $ECHO_C" >&6
9933 ac_check_lib_save_LIBS=$LIBS
9934 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9935 cat >conftest.$ac_ext <<_ACEOF
9938 cat confdefs.h >>conftest.$ac_ext
9939 cat >>conftest.$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9948 char XShmQueryExtension ();
9952 return XShmQueryExtension ();
9957 rm -f conftest.$ac_objext conftest$ac_exeext
9958 if { (ac_try="$ac_link"
9960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9961 *) ac_try_echo
=$ac_try;;
9963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9964 (eval "$ac_link") 2>conftest.er1
9966 grep -v '^ *+' conftest.er1
>conftest.err
9968 cat conftest.err
>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } && {
9971 test -z "$ac_c_werror_flag" ||
9972 test ! -s conftest.err
9973 } && test -s conftest
$ac_exeext &&
9974 $as_test_x conftest
$ac_exeext; then
9975 ac_cv_lib_Xext_XShmQueryExtension
=yes
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.
$ac_ext >&5
9980 ac_cv_lib_Xext_XShmQueryExtension
=no
9983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9984 conftest
$ac_exeext conftest.
$ac_ext
9985 LIBS
=$ac_check_lib_save_LIBS
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9988 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9989 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9991 cat >>confdefs.h
<<\_ACEOF
9992 #define HAVE_LIBXXSHM 1
9998 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9999 case "x$with_xshm" in
10000 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10002 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10003 This is an error since --with-xshm was requested." >&5
10004 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10005 This is an error since --with-xshm was requested." >&2;}
10006 { (exit 1); exit 1; }; } ;;
10011 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10013 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10014 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10015 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 ac_check_lib_save_LIBS
=$LIBS
10019 LIBS
="-lXext $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 XShapeQueryExtension ();
10037 return XShapeQueryExtension ();
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
10060 ac_cv_lib_Xext_XShapeQueryExtension=yes
10062 echo "$as_me: failed program was:" >&5
10063 sed 's/^/| /' conftest.$ac_ext >&5
10065 ac_cv_lib_Xext_XShapeQueryExtension=no
10068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_lib_save_LIBS
10072 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10073 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10074 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10076 cat >>confdefs.h <<\_ACEOF
10077 #define HAVE_LIBXSHAPE 1
10083 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10084 case "x$with_xshape" in
10085 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10087 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10088 This is an error since --with-xshape was requested." >&5
10089 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10090 This is an error since --with-xshape was requested." >&2;}
10091 { (exit 1); exit 1; }; } ;;
10096 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10098 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10099 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10100 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 ac_check_lib_save_LIBS=$LIBS
10104 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10105 cat >conftest.$ac_ext <<_ACEOF
10108 cat confdefs.h >>conftest.$ac_ext
10109 cat >>conftest.$ac_ext <<_ACEOF
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10118 char XF86VidModeQueryExtension ();
10122 return XF86VidModeQueryExtension ();
10127 rm -f conftest.$ac_objext conftest$ac_exeext
10128 if { (ac_try="$ac_link"
10129 case "(($ac_try" in
10130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10131 *) ac_try_echo
=$ac_try;;
10133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10134 (eval "$ac_link") 2>conftest.er1
10136 grep -v '^ *+' conftest.er1
>conftest.err
10138 cat conftest.err
>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } && {
10141 test -z "$ac_c_werror_flag" ||
10142 test ! -s conftest.err
10143 } && test -s conftest
$ac_exeext &&
10144 $as_test_x conftest
$ac_exeext; then
10145 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10147 echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.
$ac_ext >&5
10150 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10153 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10154 conftest
$ac_exeext conftest.
$ac_ext
10155 LIBS
=$ac_check_lib_save_LIBS
10157 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10158 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10159 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10161 cat >>confdefs.h
<<\_ACEOF
10162 #define HAVE_LIBXXF86VM 1
10165 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10170 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10171 case "x$with_xvidmode" in
10172 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10174 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10175 This is an error since --with-xvidmode was requested." >&5
10176 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10177 This is an error since --with-xvidmode was requested." >&2;}
10178 { (exit 1); exit 1; }; } ;;
10183 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"
10185 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10186 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10187 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 ac_check_soname_save_LIBS
=$LIBS
10191 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10192 cat >conftest.
$ac_ext <<_ACEOF
10195 cat confdefs.h
>>conftest.
$ac_ext
10196 cat >>conftest.
$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10199 /* Override any GCC internal prototype to avoid an error.
10200 Use char because int might match the return type of a GCC
10201 builtin and then its argument prototype would still apply. */
10205 char XRenderQueryExtension ();
10209 return XRenderQueryExtension ();
10214 rm -f conftest.
$ac_objext conftest
$ac_exeext
10215 if { (ac_try
="$ac_link"
10216 case "(($ac_try" in
10217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10218 *) ac_try_echo=$ac_try;;
10220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10221 (eval "$ac_link") 2>conftest.er1
10223 grep -v '^ *+' conftest.er1 >conftest.err
10225 cat conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); } && {
10228 test -z "$ac_c_werror_flag" ||
10229 test ! -s conftest.err
10230 } && test -s conftest$ac_exeext &&
10231 $as_test_x conftest$ac_exeext; then
10234 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'` ;;
10235 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_soname_save_LIBS
10248 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10249 { echo "$as_me:$LINENO: result: not found" >&5
10250 echo "${ECHO_T}not found" >&6; }
10253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10254 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10256 cat >>confdefs.h <<_ACEOF
10257 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10260 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10261 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10262 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 ac_check_lib_save_LIBS=$LIBS
10266 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10267 cat >conftest.$ac_ext <<_ACEOF
10270 cat confdefs.h >>conftest.$ac_ext
10271 cat >>conftest.$ac_ext <<_ACEOF
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10280 char XRenderSetPictureTransform ();
10284 return XRenderSetPictureTransform ();
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (ac_try="$ac_link"
10291 case "(($ac_try" in
10292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10293 *) ac_try_echo
=$ac_try;;
10295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10296 (eval "$ac_link") 2>conftest.er1
10298 grep -v '^ *+' conftest.er1
>conftest.err
10300 cat conftest.err
>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } && {
10303 test -z "$ac_c_werror_flag" ||
10304 test ! -s conftest.err
10305 } && test -s conftest
$ac_exeext &&
10306 $as_test_x conftest
$ac_exeext; then
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.
$ac_ext >&5
10312 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10316 conftest
$ac_exeext conftest.
$ac_ext
10317 LIBS
=$ac_check_lib_save_LIBS
10319 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10320 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10321 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10323 cat >>confdefs.h
<<\_ACEOF
10324 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10333 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10334 case "x$with_xrender" in
10335 x
) wine_notices
="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10337 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10338 This is an error since --with-xrender was requested." >&5
10339 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10340 This is an error since --with-xrender was requested." >&2;}
10341 { (exit 1); exit 1; }; } ;;
10346 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10348 cat >conftest.
$ac_ext <<_ACEOF
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10359 static typeof(XRRSetScreenConfigAndRate) * func;
10364 rm -f conftest.
$ac_objext
10365 if { (ac_try
="$ac_compile"
10366 case "(($ac_try" in
10367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10368 *) ac_try_echo=$ac_try;;
10370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10371 (eval "$ac_compile") 2>conftest.er1
10373 grep -v '^ *+' conftest.er1 >conftest.err
10375 cat conftest.err >&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } && {
10378 test -z "$ac_c_werror_flag" ||
10379 test ! -s conftest.err
10380 } && test -s conftest.$ac_objext; then
10381 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10382 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10383 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 ac_check_soname_save_LIBS=$LIBS
10387 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10388 cat >conftest.$ac_ext <<_ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10401 char XRRQueryExtension ();
10405 return XRRQueryExtension ();
10410 rm -f conftest.$ac_objext conftest$ac_exeext
10411 if { (ac_try="$ac_link"
10412 case "(($ac_try" in
10413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10414 *) ac_try_echo
=$ac_try;;
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_link") 2>conftest.er1
10419 grep -v '^ *+' conftest.er1
>conftest.err
10421 cat conftest.err
>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } && {
10424 test -z "$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10426 } && test -s conftest
$ac_exeext &&
10427 $as_test_x conftest
$ac_exeext; then
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.
$ac_ext >&5
10440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10441 conftest
$ac_exeext conftest.
$ac_ext
10442 LIBS
=$ac_check_soname_save_LIBS
10444 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10445 { echo "$as_me:$LINENO: result: not found" >&5
10446 echo "${ECHO_T}not found" >&6; }
10449 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10450 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10452 cat >>confdefs.h
<<_ACEOF
10453 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10468 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10469 case "x$with_xrandr" in
10470 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10472 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10473 This is an error since --with-xrandr was requested." >&5
10474 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10475 This is an error since --with-xrandr was requested." >&2;}
10476 { (exit 1); exit 1; }; } ;;
10481 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10483 cat >conftest.
$ac_ext <<_ACEOF
10486 cat confdefs.h
>>conftest.
$ac_ext
10487 cat >>conftest.
$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10489 #include <X11/Xlib.h>
10490 #include <X11/extensions/Xinerama.h>
10494 static typeof(XineramaQueryScreens) * func;
10499 rm -f conftest.
$ac_objext
10500 if { (ac_try
="$ac_compile"
10501 case "(($ac_try" in
10502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10503 *) ac_try_echo=$ac_try;;
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_compile") 2>conftest.er1
10508 grep -v '^ *+' conftest.er1 >conftest.err
10510 cat conftest.err >&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); } && {
10513 test -z "$ac_c_werror_flag" ||
10514 test ! -s conftest.err
10515 } && test -s conftest.$ac_objext; then
10516 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10517 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10518 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 ac_check_soname_save_LIBS=$LIBS
10522 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10523 cat >conftest.$ac_ext <<_ACEOF
10526 cat confdefs.h >>conftest.$ac_ext
10527 cat >>conftest.$ac_ext <<_ACEOF
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10536 char XineramaQueryScreens ();
10540 return XineramaQueryScreens ();
10545 rm -f conftest.$ac_objext conftest$ac_exeext
10546 if { (ac_try="$ac_link"
10547 case "(($ac_try" in
10548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10549 *) ac_try_echo
=$ac_try;;
10551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10552 (eval "$ac_link") 2>conftest.er1
10554 grep -v '^ *+' conftest.er1
>conftest.err
10556 cat conftest.err
>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } && {
10559 test -z "$ac_c_werror_flag" ||
10560 test ! -s conftest.err
10561 } && test -s conftest
$ac_exeext &&
10562 $as_test_x conftest
$ac_exeext; then
10565 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'` ;;
10566 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.
$ac_ext >&5
10575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10576 conftest
$ac_exeext conftest.
$ac_ext
10577 LIBS
=$ac_check_soname_save_LIBS
10579 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10580 { echo "$as_me:$LINENO: result: not found" >&5
10581 echo "${ECHO_T}not found" >&6; }
10584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10585 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10587 cat >>confdefs.h
<<_ACEOF
10588 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.
$ac_ext >&5
10601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10603 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10604 case "x$with_xinerama" in
10605 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10607 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10608 This is an error since --with-xinerama was requested." >&5
10609 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10610 This is an error since --with-xinerama was requested." >&2;}
10611 { (exit 1); exit 1; }; } ;;
10616 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10618 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10619 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10620 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 ac_check_soname_save_LIBS
=$LIBS
10624 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10638 char XCompositeRedirectWindow ();
10642 return XCompositeRedirectWindow ();
10647 rm -f conftest.
$ac_objext conftest
$ac_exeext
10648 if { (ac_try
="$ac_link"
10649 case "(($ac_try" in
10650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10651 *) ac_try_echo=$ac_try;;
10653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10654 (eval "$ac_link") 2>conftest.er1
10656 grep -v '^ *+' conftest.er1 >conftest.err
10658 cat conftest.err >&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } && {
10661 test -z "$ac_c_werror_flag" ||
10662 test ! -s conftest.err
10663 } && test -s conftest$ac_exeext &&
10664 $as_test_x conftest$ac_exeext; then
10667 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'` ;;
10668 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_soname_save_LIBS
10681 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10682 { echo "$as_me:$LINENO: result: not found" >&5
10683 echo "${ECHO_T}not found" >&6; }
10686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10687 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10689 cat >>confdefs.h <<_ACEOF
10690 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10697 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10698 case "x$with_xcomposite" in
10699 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10701 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10702 This is an error since --with-xcomposite was requested." >&5
10703 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10704 This is an error since --with-xcomposite was requested." >&2;}
10705 { (exit 1); exit 1; }; } ;;
10712 if test "x$with_opengl" != "xno"
10718 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10720 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10724 echo $ECHO_N "(cached) $ECHO_C" >&6
10726 cat >conftest.$ac_ext <<_ACEOF
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10732 #ifdef HAVE_GL_GLX_H
10733 # include <GL/glx.h>
10736 #include <$ac_header>
10738 rm -f conftest.$ac_objext
10739 if { (ac_try="$ac_compile"
10740 case "(($ac_try" in
10741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10742 *) ac_try_echo
=$ac_try;;
10744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10745 (eval "$ac_compile") 2>conftest.er1
10747 grep -v '^ *+' conftest.er1
>conftest.err
10749 cat conftest.err
>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } && {
10752 test -z "$ac_c_werror_flag" ||
10753 test ! -s conftest.err
10754 } && test -s conftest.
$ac_objext; then
10755 eval "$as_ac_Header=yes"
10757 echo "$as_me: failed program was:" >&5
10758 sed 's/^/| /' conftest.
$ac_ext >&5
10760 eval "$as_ac_Header=no"
10763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10765 ac_res
=`eval echo '${'$as_ac_Header'}'`
10766 { echo "$as_me:$LINENO: result: $ac_res" >&5
10767 echo "${ECHO_T}$ac_res" >&6; }
10768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10769 cat >>confdefs.h
<<_ACEOF
10770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10777 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10779 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10780 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10781 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 cat >conftest.
$ac_ext <<_ACEOF
10787 cat confdefs.h
>>conftest.
$ac_ext
10788 cat >>conftest.
$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10794 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10799 rm -f conftest.
$ac_objext
10800 if { (ac_try
="$ac_compile"
10801 case "(($ac_try" in
10802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10803 *) ac_try_echo=$ac_try;;
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_compile") 2>conftest.er1
10808 grep -v '^ *+' conftest.er1 >conftest.err
10810 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } && {
10813 test -z "$ac_c_werror_flag" ||
10814 test ! -s conftest.err
10815 } && test -s conftest.$ac_objext; then
10816 wine_cv_opengl_header_version_OK="yes"
10818 echo "$as_me: failed program was:" >&5
10819 sed 's/^/| /' conftest.$ac_ext >&5
10821 wine_cv_opengl_header_version_OK="no"
10824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10826 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10827 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10829 if test "$wine_cv_opengl_header_version_OK" = "yes"
10831 { echo "$as_me:$LINENO: checking for -lGL" >&5
10832 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10833 if test "${ac_cv_lib_soname_GL+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 ac_check_soname_save_LIBS=$LIBS
10837 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10838 cat >conftest.$ac_ext <<_ACEOF
10841 cat confdefs.h >>conftest.$ac_ext
10842 cat >>conftest.$ac_ext <<_ACEOF
10843 /* end confdefs.h. */
10845 /* Override any GCC internal prototype to avoid an error.
10846 Use char because int might match the return type of a GCC
10847 builtin and then its argument prototype would still apply. */
10851 char glXCreateContext ();
10855 return glXCreateContext ();
10860 rm -f conftest.$ac_objext conftest$ac_exeext
10861 if { (ac_try="$ac_link"
10862 case "(($ac_try" in
10863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10864 *) ac_try_echo
=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_link") 2>conftest.er1
10869 grep -v '^ *+' conftest.er1
>conftest.err
10871 cat conftest.err
>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && {
10874 test -z "$ac_c_werror_flag" ||
10875 test ! -s conftest.err
10876 } && test -s conftest
$ac_exeext &&
10877 $as_test_x conftest
$ac_exeext; then
10880 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'` ;;
10881 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10884 echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.
$ac_ext >&5
10890 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10891 conftest
$ac_exeext conftest.
$ac_ext
10892 LIBS
=$ac_check_soname_save_LIBS
10894 if test "x$ac_cv_lib_soname_GL" = "x"; then
10895 { echo "$as_me:$LINENO: result: not found" >&5
10896 echo "${ECHO_T}not found" >&6; }
10897 { echo "$as_me:$LINENO: checking for -lGL" >&5
10898 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10899 if test "${ac_cv_lib_soname_GL+set}" = set; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 ac_check_soname_save_LIBS
=$LIBS
10903 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"
10904 cat >conftest.
$ac_ext <<_ACEOF
10907 cat confdefs.h
>>conftest.
$ac_ext
10908 cat >>conftest.
$ac_ext <<_ACEOF
10909 /* end confdefs.h. */
10911 /* Override any GCC internal prototype to avoid an error.
10912 Use char because int might match the return type of a GCC
10913 builtin and then its argument prototype would still apply. */
10917 char glXCreateContext ();
10921 return glXCreateContext ();
10926 rm -f conftest.
$ac_objext conftest
$ac_exeext
10927 if { (ac_try
="$ac_link"
10928 case "(($ac_try" in
10929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10930 *) ac_try_echo=$ac_try;;
10932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10933 (eval "$ac_link") 2>conftest.er1
10935 grep -v '^ *+' conftest.er1 >conftest.err
10937 cat conftest.err >&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } && {
10940 test -z "$ac_c_werror_flag" ||
10941 test ! -s conftest.err
10942 } && test -s conftest$ac_exeext &&
10943 $as_test_x conftest$ac_exeext; then
10946 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'` ;;
10947 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10950 echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.$ac_ext >&5
10956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_soname_save_LIBS
10960 if test "x$ac_cv_lib_soname_GL" = "x"; then
10961 { echo "$as_me:$LINENO: result: not found" >&5
10962 echo "${ECHO_T}not found" >&6; }
10963 if test -f /usr/X11R6/lib/libGL.a
10965 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10966 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10968 opengl_msg="No OpenGL library found on this system."
10971 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10972 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10974 cat >>confdefs.h <<_ACEOF
10975 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10978 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"
10979 OPENGLFILES='$(OPENGLFILES)'
10981 cat >>confdefs.h <<\_ACEOF
10982 #define HAVE_OPENGL 1
10988 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10989 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10991 cat >>confdefs.h <<_ACEOF
10992 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10996 OPENGLFILES='$(OPENGLFILES)'
10998 cat >>confdefs.h <<\_ACEOF
10999 #define HAVE_OPENGL 1
11005 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11006 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11007 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 ac_check_lib_save_LIBS=$LIBS
11011 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11012 cat >conftest.$ac_ext <<_ACEOF
11015 cat confdefs.h >>conftest.$ac_ext
11016 cat >>conftest.$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11029 return gluLookAt ();
11034 rm -f conftest.$ac_objext conftest$ac_exeext
11035 if { (ac_try="$ac_link"
11036 case "(($ac_try" in
11037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11038 *) ac_try_echo
=$ac_try;;
11040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11041 (eval "$ac_link") 2>conftest.er1
11043 grep -v '^ *+' conftest.er1
>conftest.err
11045 cat conftest.err
>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } && {
11048 test -z "$ac_c_werror_flag" ||
11049 test ! -s conftest.err
11050 } && test -s conftest
$ac_exeext &&
11051 $as_test_x conftest
$ac_exeext; then
11052 ac_cv_lib_GLU_gluLookAt
=yes
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.
$ac_ext >&5
11057 ac_cv_lib_GLU_gluLookAt
=no
11060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11061 conftest
$ac_exeext conftest.
$ac_ext
11062 LIBS
=$ac_check_lib_save_LIBS
11064 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11065 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11066 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11067 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
11068 GLU32FILES
='$(GLU32FILES)'
11073 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11076 opengl_msg
="OpenGL development headers not found."
11079 if test -n "$opengl_msg"; then
11080 case "x$with_opengl" in
11081 x
) wine_warnings
="$wine_warnings|$opengl_msg
11082 OpenGL and Direct3D won't be supported." ;;
11084 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11085 OpenGL and Direct3D won't be supported.
11086 This is an error since --with-opengl was requested." >&5
11087 echo "$as_me: error: $opengl_msg
11088 OpenGL and Direct3D won't be supported.
11089 This is an error since --with-opengl was requested." >&2;}
11090 { (exit 1); exit 1; }; } ;;
11098 for ac_header
in audio
/audiolib.h
11100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11101 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11102 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11104 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11105 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 ac_res
=`eval echo '${'$as_ac_Header'}'`
11108 { echo "$as_me:$LINENO: result: $ac_res" >&5
11109 echo "${ECHO_T}$ac_res" >&6; }
11111 # Is the header compilable?
11112 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11114 cat >conftest.
$ac_ext <<_ACEOF
11117 cat confdefs.h
>>conftest.
$ac_ext
11118 cat >>conftest.
$ac_ext <<_ACEOF
11119 /* end confdefs.h. */
11120 $ac_includes_default
11121 #include <$ac_header>
11123 rm -f conftest.
$ac_objext
11124 if { (ac_try
="$ac_compile"
11125 case "(($ac_try" in
11126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11127 *) ac_try_echo=$ac_try;;
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_compile") 2>conftest.er1
11132 grep -v '^ *+' conftest.er1 >conftest.err
11134 cat conftest.err >&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } && {
11137 test -z "$ac_c_werror_flag" ||
11138 test ! -s conftest.err
11139 } && test -s conftest.$ac_objext; then
11140 ac_header_compiler=yes
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11145 ac_header_compiler=no
11148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11149 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11150 echo "${ECHO_T}$ac_header_compiler" >&6; }
11152 # Is the header present?
11153 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11155 cat >conftest.$ac_ext <<_ACEOF
11158 cat confdefs.h >>conftest.$ac_ext
11159 cat >>conftest.$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11161 #include <$ac_header>
11163 if { (ac_try="$ac_cpp conftest.$ac_ext"
11164 case "(($ac_try" in
11165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11166 *) ac_try_echo
=$ac_try;;
11168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11171 grep -v '^ *+' conftest.er1
>conftest.err
11173 cat conftest.err
>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); } >/dev
/null
&& {
11176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11177 test ! -s conftest.err
11179 ac_header_preproc
=yes
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.
$ac_ext >&5
11184 ac_header_preproc
=no
11187 rm -f conftest.err conftest.
$ac_ext
11188 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11189 echo "${ECHO_T}$ac_header_preproc" >&6; }
11191 # So? What about this header?
11192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11198 ac_header_preproc
=yes
11201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11214 ## ------------------------------------ ##
11215 ## Report this to wine-devel@winehq.org ##
11216 ## ------------------------------------ ##
11218 ) |
sed "s/^/$as_me: WARNING: /" >&2
11221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11223 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 eval "$as_ac_Header=\$ac_header_preproc"
11228 ac_res
=`eval echo '${'$as_ac_Header'}'`
11229 { echo "$as_me:$LINENO: result: $ac_res" >&5
11230 echo "${ECHO_T}$ac_res" >&6; }
11233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11234 cat >>confdefs.h
<<_ACEOF
11235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11238 for ac_header
in audio
/soundlib.h
11240 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11243 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11244 echo $ECHO_N "(cached) $ECHO_C" >&6
11246 cat >conftest.
$ac_ext <<_ACEOF
11249 cat confdefs.h
>>conftest.
$ac_ext
11250 cat >>conftest.
$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11252 #include <audio/audiolib.h>
11254 #include <$ac_header>
11256 rm -f conftest.
$ac_objext
11257 if { (ac_try
="$ac_compile"
11258 case "(($ac_try" in
11259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11260 *) ac_try_echo=$ac_try;;
11262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11263 (eval "$ac_compile") 2>conftest.er1
11265 grep -v '^ *+' conftest.er1 >conftest.err
11267 cat conftest.err >&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && {
11270 test -z "$ac_c_werror_flag" ||
11271 test ! -s conftest.err
11272 } && test -s conftest.$ac_objext; then
11273 eval "$as_ac_Header=yes"
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11278 eval "$as_ac_Header=no"
11281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11283 ac_res=`eval echo '${'$as_ac_Header'}'`
11284 { echo "$as_me:$LINENO: result: $ac_res" >&5
11285 echo "${ECHO_T}$ac_res" >&6; }
11286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11287 cat >>confdefs.h <<_ACEOF
11288 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11295 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11296 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11297 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11298 echo $ECHO_N "(cached) $ECHO_C" >&6
11300 ac_check_lib_save_LIBS=$LIBS
11301 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11302 cat >conftest.$ac_ext <<_ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11315 char AuCreateFlow ();
11319 return AuCreateFlow ();
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (ac_try="$ac_link"
11326 case "(($ac_try" in
11327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11328 *) ac_try_echo
=$ac_try;;
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_link") 2>conftest.er1
11333 grep -v '^ *+' conftest.er1
>conftest.err
11335 cat conftest.err
>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } && {
11338 test -z "$ac_c_werror_flag" ||
11339 test ! -s conftest.err
11340 } && test -s conftest
$ac_exeext &&
11341 $as_test_x conftest
$ac_exeext; then
11342 ac_cv_lib_audio_AuCreateFlow
=yes
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.
$ac_ext >&5
11347 ac_cv_lib_audio_AuCreateFlow
=no
11350 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11351 conftest
$ac_exeext conftest.
$ac_ext
11352 LIBS
=$ac_check_lib_save_LIBS
11354 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11355 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11356 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11358 cat >>confdefs.h
<<\_ACEOF
11362 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11363 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11364 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 ac_check_lib_save_LIBS
=$LIBS
11368 LIBS
="-lXau $X_LIBS $LIBS"
11369 cat >conftest.
$ac_ext <<_ACEOF
11372 cat confdefs.h
>>conftest.
$ac_ext
11373 cat >>conftest.
$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11382 char XauGetBestAuthByAddr ();
11386 return XauGetBestAuthByAddr ();
11391 rm -f conftest.
$ac_objext conftest
$ac_exeext
11392 if { (ac_try
="$ac_link"
11393 case "(($ac_try" in
11394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11395 *) ac_try_echo=$ac_try;;
11397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11398 (eval "$ac_link") 2>conftest.er1
11400 grep -v '^ *+' conftest.er1 >conftest.err
11402 cat conftest.err >&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } && {
11405 test -z "$ac_c_werror_flag" ||
11406 test ! -s conftest.err
11407 } && test -s conftest$ac_exeext &&
11408 $as_test_x conftest$ac_exeext; then
11409 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11411 echo "$as_me: failed program was:" >&5
11412 sed 's/^/| /' conftest.$ac_ext >&5
11414 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11421 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11422 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11423 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11424 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11426 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11437 CPPFLAGS="$ac_save_CPPFLAGS"
11444 if test "x$XLIB" = "x"; then
11446 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11447 without X support, which probably isn't what you want. You will need to install
11448 development packages of Xlib/Xfree86 at the very least." ;;
11450 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11451 without X support, which probably isn't what you want. You will need to install
11452 development packages of Xlib/Xfree86 at the very least.
11453 This is an error since --with-x was requested." >&5
11454 echo "$as_me: error: X development files not found. Wine will be built
11455 without X support, which probably isn't what you want. You will need to install
11456 development packages of Xlib/Xfree86 at the very least.
11457 This is an error since --with-x was requested." >&2;}
11458 { (exit 1); exit 1; }; } ;;
11472 if test "x$with_xml" != "xno"
11474 ac_save_CPPFLAGS="$CPPFLAGS"
11475 if test "$PKG_CONFIG" != "false"
11477 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11478 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11480 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11481 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11483 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11485 for ac_header in libxml/parser.h
11487 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 ac_res=`eval echo '${'$as_ac_Header'}'`
11495 { echo "$as_me:$LINENO: result: $ac_res" >&5
11496 echo "${ECHO_T}$ac_res" >&6; }
11498 # Is the header compilable?
11499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11501 cat >conftest.$ac_ext <<_ACEOF
11504 cat confdefs.h >>conftest.$ac_ext
11505 cat >>conftest.$ac_ext <<_ACEOF
11506 /* end confdefs.h. */
11507 $ac_includes_default
11508 #include <$ac_header>
11510 rm -f conftest.$ac_objext
11511 if { (ac_try="$ac_compile"
11512 case "(($ac_try" in
11513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11514 *) ac_try_echo
=$ac_try;;
11516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11517 (eval "$ac_compile") 2>conftest.er1
11519 grep -v '^ *+' conftest.er1
>conftest.err
11521 cat conftest.err
>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } && {
11524 test -z "$ac_c_werror_flag" ||
11525 test ! -s conftest.err
11526 } && test -s conftest.
$ac_objext; then
11527 ac_header_compiler
=yes
11529 echo "$as_me: failed program was:" >&5
11530 sed 's/^/| /' conftest.
$ac_ext >&5
11532 ac_header_compiler
=no
11535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11537 echo "${ECHO_T}$ac_header_compiler" >&6; }
11539 # Is the header present?
11540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11542 cat >conftest.
$ac_ext <<_ACEOF
11545 cat confdefs.h
>>conftest.
$ac_ext
11546 cat >>conftest.
$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11548 #include <$ac_header>
11550 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11551 case "(($ac_try" in
11552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11553 *) ac_try_echo=$ac_try;;
11555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11558 grep -v '^ *+' conftest.er1 >conftest.err
11560 cat conftest.err >&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } >/dev/null && {
11563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11564 test ! -s conftest.err
11566 ac_header_preproc=yes
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.$ac_ext >&5
11571 ac_header_preproc=no
11574 rm -f conftest.err conftest.$ac_ext
11575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11576 echo "${ECHO_T}$ac_header_preproc" >&6; }
11578 # So? What about this header?
11579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11585 ac_header_preproc=yes
11588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11601 ## ------------------------------------ ##
11602 ## Report this to wine-devel@winehq.org ##
11603 ## ------------------------------------ ##
11605 ) | sed "s/^/$as_me: WARNING: /" >&2
11608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 eval "$as_ac_Header=\$ac_header_preproc"
11615 ac_res=`eval echo '${'$as_ac_Header'}'`
11616 { echo "$as_me:$LINENO: result: $ac_res" >&5
11617 echo "${ECHO_T}$ac_res" >&6; }
11620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11621 cat >>confdefs.h <<_ACEOF
11622 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11624 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11625 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11626 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 ac_check_lib_save_LIBS=$LIBS
11630 LIBS="-lxml2 $ac_xml_libs $LIBS"
11631 cat >conftest.$ac_ext <<_ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11644 char xmlParseMemory ();
11648 return xmlParseMemory ();
11653 rm -f conftest.$ac_objext conftest$ac_exeext
11654 if { (ac_try="$ac_link"
11655 case "(($ac_try" in
11656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11657 *) ac_try_echo
=$ac_try;;
11659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11660 (eval "$ac_link") 2>conftest.er1
11662 grep -v '^ *+' conftest.er1
>conftest.err
11664 cat conftest.err
>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); } && {
11667 test -z "$ac_c_werror_flag" ||
11668 test ! -s conftest.err
11669 } && test -s conftest
$ac_exeext &&
11670 $as_test_x conftest
$ac_exeext; then
11671 ac_cv_lib_xml2_xmlParseMemory
=yes
11673 echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.
$ac_ext >&5
11676 ac_cv_lib_xml2_xmlParseMemory
=no
11679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11680 conftest
$ac_exeext conftest.
$ac_ext
11681 LIBS
=$ac_check_lib_save_LIBS
11683 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11684 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11685 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11687 cat >>confdefs.h
<<\_ACEOF
11688 #define HAVE_LIBXML2 1
11691 XML2LIBS
="$ac_xml_libs"
11692 XML2INCL
="$ac_xml_cflags"
11695 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11696 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11697 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 ac_check_lib_save_LIBS
=$LIBS
11701 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11702 cat >conftest.
$ac_ext <<_ACEOF
11705 cat confdefs.h
>>conftest.
$ac_ext
11706 cat >>conftest.
$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11715 char xmlReadMemory ();
11719 return xmlReadMemory ();
11724 rm -f conftest.
$ac_objext conftest
$ac_exeext
11725 if { (ac_try
="$ac_link"
11726 case "(($ac_try" in
11727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11728 *) ac_try_echo=$ac_try;;
11730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11731 (eval "$ac_link") 2>conftest.er1
11733 grep -v '^ *+' conftest.er1 >conftest.err
11735 cat conftest.err >&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } && {
11738 test -z "$ac_c_werror_flag" ||
11739 test ! -s conftest.err
11740 } && test -s conftest$ac_exeext &&
11741 $as_test_x conftest$ac_exeext; then
11742 ac_cv_lib_xml2_xmlReadMemory=yes
11744 echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.$ac_ext >&5
11747 ac_cv_lib_xml2_xmlReadMemory=no
11750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_lib_save_LIBS
11754 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11755 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11756 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11758 cat >>confdefs.h <<\_ACEOF
11759 #define HAVE_XMLREADMEMORY 1
11764 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11765 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11766 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 ac_check_lib_save_LIBS=$LIBS
11770 LIBS="-lxml2 $ac_xml_libs $LIBS"
11771 cat >conftest.$ac_ext <<_ACEOF
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11784 char xmlNewDocPI ();
11788 return xmlNewDocPI ();
11793 rm -f conftest.$ac_objext conftest$ac_exeext
11794 if { (ac_try="$ac_link"
11795 case "(($ac_try" in
11796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11797 *) ac_try_echo
=$ac_try;;
11799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11800 (eval "$ac_link") 2>conftest.er1
11802 grep -v '^ *+' conftest.er1
>conftest.err
11804 cat conftest.err
>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); } && {
11807 test -z "$ac_c_werror_flag" ||
11808 test ! -s conftest.err
11809 } && test -s conftest
$ac_exeext &&
11810 $as_test_x conftest
$ac_exeext; then
11811 ac_cv_lib_xml2_xmlNewDocPI
=yes
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.
$ac_ext >&5
11816 ac_cv_lib_xml2_xmlNewDocPI
=no
11819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11820 conftest
$ac_exeext conftest.
$ac_ext
11821 LIBS
=$ac_check_lib_save_LIBS
11823 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11824 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11825 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11827 cat >>confdefs.h
<<\_ACEOF
11828 #define HAVE_XMLNEWDOCPI 1
11838 CPPFLAGS
="$ac_save_CPPFLAGS"
11840 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11841 case "x$with_xml" in
11842 x
) wine_notices
="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11844 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11845 This is an error since --with-xml was requested." >&5
11846 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11847 This is an error since --with-xml was requested." >&2;}
11848 { (exit 1); exit 1; }; } ;;
11853 if test "x$with_xslt" != "xno"
11855 if test "$PKG_CONFIG" != "false"
11857 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11858 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11860 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11861 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11863 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11866 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11868 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11871 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 cat >conftest.
$ac_ext <<_ACEOF
11877 cat confdefs.h
>>conftest.
$ac_ext
11878 cat >>conftest.
$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 #ifdef HAVE_LIBXSLT_PATTERN_H
11881 # include <libxslt/pattern.h>
11884 #include <$ac_header>
11886 rm -f conftest.
$ac_objext
11887 if { (ac_try
="$ac_compile"
11888 case "(($ac_try" in
11889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11890 *) ac_try_echo=$ac_try;;
11892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11893 (eval "$ac_compile") 2>conftest.er1
11895 grep -v '^ *+' conftest.er1 >conftest.err
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } && {
11900 test -z "$ac_c_werror_flag" ||
11901 test ! -s conftest.err
11902 } && test -s conftest.$ac_objext; then
11903 eval "$as_ac_Header=yes"
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.$ac_ext >&5
11908 eval "$as_ac_Header=no"
11911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11913 ac_res=`eval echo '${'$as_ac_Header'}'`
11914 { echo "$as_me:$LINENO: result: $ac_res" >&5
11915 echo "${ECHO_T}$ac_res" >&6; }
11916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11917 cat >>confdefs.h <<_ACEOF
11918 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11920 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11921 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11922 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lxslt $ac_xslt_libs $LIBS"
11927 cat >conftest.$ac_ext <<_ACEOF
11930 cat confdefs.h >>conftest.$ac_ext
11931 cat >>conftest.$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11940 char xsltCompilePattern ();
11944 return xsltCompilePattern ();
11949 rm -f conftest.$ac_objext conftest$ac_exeext
11950 if { (ac_try="$ac_link"
11951 case "(($ac_try" in
11952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11953 *) ac_try_echo
=$ac_try;;
11955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11956 (eval "$ac_link") 2>conftest.er1
11958 grep -v '^ *+' conftest.er1
>conftest.err
11960 cat conftest.err
>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } && {
11963 test -z "$ac_c_werror_flag" ||
11964 test ! -s conftest.err
11965 } && test -s conftest
$ac_exeext &&
11966 $as_test_x conftest
$ac_exeext; then
11967 ac_cv_lib_xslt_xsltCompilePattern
=yes
11969 echo "$as_me: failed program was:" >&5
11970 sed 's/^/| /' conftest.
$ac_ext >&5
11972 ac_cv_lib_xslt_xsltCompilePattern
=no
11975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11976 conftest
$ac_exeext conftest.
$ac_ext
11977 LIBS
=$ac_check_lib_save_LIBS
11979 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11980 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11981 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11983 cat >>confdefs.h
<<\_ACEOF
11984 #define HAVE_LIBXSLT 1
11987 XSLTLIBS
="$ac_xslt_libs"
11988 XSLTINCL
="$ac_xslt_cflags"
11996 CPPFLAGS
="$ac_save_CPPFLAGS"
11998 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11999 case "x$with_xslt" in
12000 x
) wine_notices
="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12002 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12003 This is an error since --with-xslt was requested." >&5
12004 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12005 This is an error since --with-xslt was requested." >&2;}
12006 { (exit 1); exit 1; }; } ;;
12013 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12015 ac_save_CPPFLAGS
="$CPPFLAGS"
12016 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
12017 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12018 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
12021 for ac_header
in dbus
/dbus.h hal
/libhal.h
12023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12024 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12027 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 ac_res
=`eval echo '${'$as_ac_Header'}'`
12031 { echo "$as_me:$LINENO: result: $ac_res" >&5
12032 echo "${ECHO_T}$ac_res" >&6; }
12034 # Is the header compilable?
12035 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12037 cat >conftest.
$ac_ext <<_ACEOF
12040 cat confdefs.h
>>conftest.
$ac_ext
12041 cat >>conftest.
$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12043 $ac_includes_default
12044 #include <$ac_header>
12046 rm -f conftest.
$ac_objext
12047 if { (ac_try
="$ac_compile"
12048 case "(($ac_try" in
12049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12050 *) ac_try_echo=$ac_try;;
12052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12053 (eval "$ac_compile") 2>conftest.er1
12055 grep -v '^ *+' conftest.er1 >conftest.err
12057 cat conftest.err >&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } && {
12060 test -z "$ac_c_werror_flag" ||
12061 test ! -s conftest.err
12062 } && test -s conftest.$ac_objext; then
12063 ac_header_compiler=yes
12065 echo "$as_me: failed program was:" >&5
12066 sed 's/^/| /' conftest.$ac_ext >&5
12068 ac_header_compiler=no
12071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12072 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12073 echo "${ECHO_T}$ac_header_compiler" >&6; }
12075 # Is the header present?
12076 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12078 cat >conftest.$ac_ext <<_ACEOF
12081 cat confdefs.h >>conftest.$ac_ext
12082 cat >>conftest.$ac_ext <<_ACEOF
12083 /* end confdefs.h. */
12084 #include <$ac_header>
12086 if { (ac_try="$ac_cpp conftest.$ac_ext"
12087 case "(($ac_try" in
12088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12089 *) ac_try_echo
=$ac_try;;
12091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12094 grep -v '^ *+' conftest.er1
>conftest.err
12096 cat conftest.err
>&5
12097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12098 (exit $ac_status); } >/dev
/null
&& {
12099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12100 test ! -s conftest.err
12102 ac_header_preproc
=yes
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.
$ac_ext >&5
12107 ac_header_preproc
=no
12110 rm -f conftest.err conftest.
$ac_ext
12111 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12112 echo "${ECHO_T}$ac_header_preproc" >&6; }
12114 # So? What about this header?
12115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12121 ac_header_preproc
=yes
12124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12137 ## ------------------------------------ ##
12138 ## Report this to wine-devel@winehq.org ##
12139 ## ------------------------------------ ##
12141 ) |
sed "s/^/$as_me: WARNING: /" >&2
12144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12146 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 eval "$as_ac_Header=\$ac_header_preproc"
12151 ac_res
=`eval echo '${'$as_ac_Header'}'`
12152 { echo "$as_me:$LINENO: result: $ac_res" >&5
12153 echo "${ECHO_T}$ac_res" >&6; }
12156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12157 cat >>confdefs.h
<<_ACEOF
12158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12165 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12167 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12168 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12169 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12172 ac_check_lib_save_LIBS
=$LIBS
12173 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
12174 cat >conftest.
$ac_ext <<_ACEOF
12177 cat confdefs.h
>>conftest.
$ac_ext
12178 cat >>conftest.
$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12187 char dbus_connection_close ();
12191 return dbus_connection_close ();
12196 rm -f conftest.
$ac_objext conftest
$ac_exeext
12197 if { (ac_try
="$ac_link"
12198 case "(($ac_try" in
12199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12200 *) ac_try_echo=$ac_try;;
12202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12203 (eval "$ac_link") 2>conftest.er1
12205 grep -v '^ *+' conftest.er1 >conftest.err
12207 cat conftest.err >&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); } && {
12210 test -z "$ac_c_werror_flag" ||
12211 test ! -s conftest.err
12212 } && test -s conftest$ac_exeext &&
12213 $as_test_x conftest$ac_exeext; then
12214 ac_cv_lib_dbus_1_dbus_connection_close=yes
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12219 ac_cv_lib_dbus_1_dbus_connection_close=no
12222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_lib_save_LIBS
12226 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12227 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12228 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12229 { echo "$as_me:$LINENO: checking for -lhal" >&5
12230 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12231 if test "${ac_cv_lib_soname_hal+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 ac_check_soname_save_LIBS=$LIBS
12235 LIBS="-lhal $ac_hal_libs $LIBS"
12236 cat >conftest.$ac_ext <<_ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12249 char libhal_ctx_new ();
12253 return libhal_ctx_new ();
12258 rm -f conftest.$ac_objext conftest$ac_exeext
12259 if { (ac_try="$ac_link"
12260 case "(($ac_try" in
12261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12262 *) ac_try_echo
=$ac_try;;
12264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12265 (eval "$ac_link") 2>conftest.er1
12267 grep -v '^ *+' conftest.er1
>conftest.err
12269 cat conftest.err
>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } && {
12272 test -z "$ac_c_werror_flag" ||
12273 test ! -s conftest.err
12274 } && test -s conftest
$ac_exeext &&
12275 $as_test_x conftest
$ac_exeext; then
12278 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'` ;;
12279 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.
$ac_ext >&5
12288 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12289 conftest
$ac_exeext conftest.
$ac_ext
12290 LIBS
=$ac_check_soname_save_LIBS
12292 if test "x$ac_cv_lib_soname_hal" = "x"; then
12293 { echo "$as_me:$LINENO: result: not found" >&5
12294 echo "${ECHO_T}not found" >&6; }
12297 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12298 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12300 cat >>confdefs.h
<<_ACEOF
12301 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12304 HALINCL
="$ac_hal_cflags"
12310 CPPFLAGS
="$ac_save_CPPFLAGS"
12312 if test "x$ac_cv_lib_soname_hal" = "x"; then
12313 case "x$with_hal" in
12314 x
) wine_notices
="$wine_notices|libhal development files not found, no dynamic device support." ;;
12316 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12317 This is an error since --with-hal was requested." >&5
12318 echo "$as_me: error: libhal development files not found, no dynamic device support.
12319 This is an error since --with-hal was requested." >&2;}
12320 { (exit 1); exit 1; }; } ;;
12326 if test "$ac_cv_header_ncurses_h" = "yes"
12328 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12329 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12330 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 ac_check_soname_save_LIBS
=$LIBS
12334 LIBS
="-lncurses $LIBS"
12335 cat >conftest.
$ac_ext <<_ACEOF
12338 cat confdefs.h
>>conftest.
$ac_ext
12339 cat >>conftest.
$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12357 rm -f conftest.
$ac_objext conftest
$ac_exeext
12358 if { (ac_try
="$ac_link"
12359 case "(($ac_try" in
12360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12361 *) ac_try_echo=$ac_try;;
12363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12364 (eval "$ac_link") 2>conftest.er1
12366 grep -v '^ *+' conftest.er1 >conftest.err
12368 cat conftest.err >&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } && {
12371 test -z "$ac_c_werror_flag" ||
12372 test ! -s conftest.err
12373 } && test -s conftest$ac_exeext &&
12374 $as_test_x conftest$ac_exeext; then
12377 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'` ;;
12378 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.$ac_ext >&5
12387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12388 conftest$ac_exeext conftest.$ac_ext
12389 LIBS=$ac_check_soname_save_LIBS
12391 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12392 { echo "$as_me:$LINENO: result: not found" >&5
12393 echo "${ECHO_T}not found" >&6; }
12396 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12397 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12399 cat >>confdefs.h <<_ACEOF
12400 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12403 CURSESLIBS="-lncurses"
12406 elif test "$ac_cv_header_curses_h" = "yes"
12408 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12409 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12410 if test "${ac_cv_lib_soname_curses+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 ac_check_soname_save_LIBS=$LIBS
12414 LIBS="-lcurses $LIBS"
12415 cat >conftest.$ac_ext <<_ACEOF
12418 cat confdefs.h >>conftest.$ac_ext
12419 cat >>conftest.$ac_ext <<_ACEOF
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12437 rm -f conftest.$ac_objext conftest$ac_exeext
12438 if { (ac_try="$ac_link"
12439 case "(($ac_try" in
12440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12441 *) ac_try_echo
=$ac_try;;
12443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12444 (eval "$ac_link") 2>conftest.er1
12446 grep -v '^ *+' conftest.er1
>conftest.err
12448 cat conftest.err
>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); } && {
12451 test -z "$ac_c_werror_flag" ||
12452 test ! -s conftest.err
12453 } && test -s conftest
$ac_exeext &&
12454 $as_test_x conftest
$ac_exeext; then
12457 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'` ;;
12458 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12461 echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.
$ac_ext >&5
12467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12468 conftest
$ac_exeext conftest.
$ac_ext
12469 LIBS
=$ac_check_soname_save_LIBS
12471 if test "x$ac_cv_lib_soname_curses" = "x"; then
12472 { echo "$as_me:$LINENO: result: not found" >&5
12473 echo "${ECHO_T}not found" >&6; }
12476 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12477 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12479 cat >>confdefs.h
<<_ACEOF
12480 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12483 CURSESLIBS
="-lcurses"
12487 ac_save_LIBS
="$LIBS"
12488 LIBS
="$LIBS $CURSESLIBS"
12490 for ac_func
in mousemask
12492 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12495 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 cat >conftest.
$ac_ext <<_ACEOF
12501 cat confdefs.h
>>conftest.
$ac_ext
12502 cat >>conftest.
$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12506 #define $ac_func innocuous_$ac_func
12508 /* System header to define __stub macros and hopefully few prototypes,
12509 which can conflict with char $ac_func (); below.
12510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12511 <limits.h> exists even on freestanding compilers. */
12514 # include <limits.h>
12516 # include <assert.h>
12521 /* Override any GCC internal prototype to avoid an error.
12522 Use char because int might match the return type of a GCC
12523 builtin and then its argument prototype would still apply. */
12528 /* The GNU C library defines this for functions which it implements
12529 to always fail with ENOSYS. Some functions are actually named
12530 something starting with __ and the normal name is an alias. */
12531 #if defined __stub_$ac_func || defined __stub___$ac_func
12538 return $ac_func ();
12543 rm -f conftest.
$ac_objext conftest
$ac_exeext
12544 if { (ac_try
="$ac_link"
12545 case "(($ac_try" in
12546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12547 *) ac_try_echo=$ac_try;;
12549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12550 (eval "$ac_link") 2>conftest.er1
12552 grep -v '^ *+' conftest.er1 >conftest.err
12554 cat conftest.err >&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); } && {
12557 test -z "$ac_c_werror_flag" ||
12558 test ! -s conftest.err
12559 } && test -s conftest$ac_exeext &&
12560 $as_test_x conftest$ac_exeext; then
12561 eval "$as_ac_var=yes"
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.$ac_ext >&5
12566 eval "$as_ac_var=no"
12569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12570 conftest$ac_exeext conftest.$ac_ext
12572 ac_res=`eval echo '${'$as_ac_var'}'`
12573 { echo "$as_me:$LINENO: result: $ac_res" >&5
12574 echo "${ECHO_T}$ac_res" >&6; }
12575 if test `eval echo '${'$as_ac_var'}'` = yes; then
12576 cat >>confdefs.h <<_ACEOF
12577 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12583 LIBS="$ac_save_LIBS"
12584 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12585 case "x$with_curses" in
12586 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12588 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12589 This is an error since --with-curses was requested." >&5
12590 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12591 This is an error since --with-curses was requested." >&2;}
12592 { (exit 1); exit 1; }; } ;;
12597 # Extract the first word of "sane-config", so it can be a program name with args.
12598 set dummy sane-config; ac_word=$2
12599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12601 if test "${ac_cv_prog_sane_devel+set}" = set; then
12602 echo $ECHO_N "(cached) $ECHO_C" >&6
12604 if test -n "$sane_devel"; then
12605 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12608 for as_dir in $PATH
12611 test -z "$as_dir" && as_dir=.
12612 for ac_exec_ext in '' $ac_executable_extensions; do
12613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614 ac_cv_prog_sane_devel="sane-config"
12615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12622 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12625 sane_devel=$ac_cv_prog_sane_devel
12626 if test -n "$sane_devel"; then
12627 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12628 echo "${ECHO_T}$sane_devel" >&6; }
12630 { echo "$as_me:$LINENO: result: no" >&5
12631 echo "${ECHO_T}no" >&6; }
12635 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12637 ac_sane_incl="`$sane_devel --cflags`"
12638 ac_save_CPPFLAGS="$CPPFLAGS"
12639 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12640 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12641 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12642 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12643 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12647 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12649 # Is the header compilable?
12650 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12651 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12652 cat >conftest.$ac_ext <<_ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 $ac_includes_default
12659 #include <sane/sane.h>
12661 rm -f conftest.$ac_objext
12662 if { (ac_try="$ac_compile"
12663 case "(($ac_try" in
12664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12665 *) ac_try_echo
=$ac_try;;
12667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668 (eval "$ac_compile") 2>conftest.er1
12670 grep -v '^ *+' conftest.er1
>conftest.err
12672 cat conftest.err
>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } && {
12675 test -z "$ac_c_werror_flag" ||
12676 test ! -s conftest.err
12677 } && test -s conftest.
$ac_objext; then
12678 ac_header_compiler
=yes
12680 echo "$as_me: failed program was:" >&5
12681 sed 's/^/| /' conftest.
$ac_ext >&5
12683 ac_header_compiler
=no
12686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12687 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12688 echo "${ECHO_T}$ac_header_compiler" >&6; }
12690 # Is the header present?
12691 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12692 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12693 cat >conftest.
$ac_ext <<_ACEOF
12696 cat confdefs.h
>>conftest.
$ac_ext
12697 cat >>conftest.
$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12699 #include <sane/sane.h>
12701 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12702 case "(($ac_try" in
12703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12704 *) ac_try_echo=$ac_try;;
12706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12709 grep -v '^ *+' conftest.er1 >conftest.err
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } >/dev/null && {
12714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12715 test ! -s conftest.err
12717 ac_header_preproc=yes
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.$ac_ext >&5
12722 ac_header_preproc=no
12725 rm -f conftest.err conftest.$ac_ext
12726 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12727 echo "${ECHO_T}$ac_header_preproc" >&6; }
12729 # So? What about this header?
12730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12732 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12733 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12735 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12736 ac_header_preproc=yes
12739 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12740 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12741 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12742 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12743 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12744 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12745 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12746 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12747 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12748 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12749 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12750 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12752 ## ------------------------------------ ##
12753 ## Report this to wine-devel@winehq.org ##
12754 ## ------------------------------------ ##
12756 ) | sed "s/^/$as_me: WARNING: /" >&2
12759 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12760 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12761 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 ac_cv_header_sane_sane_h=$ac_header_preproc
12766 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12767 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12770 if test $ac_cv_header_sane_sane_h = yes; then
12771 { echo "$as_me:$LINENO: checking for -lsane" >&5
12772 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12773 if test "${ac_cv_lib_soname_sane+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 ac_check_soname_save_LIBS=$LIBS
12777 LIBS="-lsane $LIBS"
12778 cat >conftest.$ac_ext <<_ACEOF
12781 cat confdefs.h >>conftest.$ac_ext
12782 cat >>conftest.$ac_ext <<_ACEOF
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12795 return sane_init ();
12800 rm -f conftest.$ac_objext conftest$ac_exeext
12801 if { (ac_try="$ac_link"
12802 case "(($ac_try" in
12803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12804 *) ac_try_echo
=$ac_try;;
12806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12807 (eval "$ac_link") 2>conftest.er1
12809 grep -v '^ *+' conftest.er1
>conftest.err
12811 cat conftest.err
>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } && {
12814 test -z "$ac_c_werror_flag" ||
12815 test ! -s conftest.err
12816 } && test -s conftest
$ac_exeext &&
12817 $as_test_x conftest
$ac_exeext; then
12820 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'` ;;
12821 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.
$ac_ext >&5
12830 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12831 conftest
$ac_exeext conftest.
$ac_ext
12832 LIBS
=$ac_check_soname_save_LIBS
12834 if test "x$ac_cv_lib_soname_sane" = "x"; then
12835 { echo "$as_me:$LINENO: result: not found" >&5
12836 echo "${ECHO_T}not found" >&6; }
12839 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12840 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12842 cat >>confdefs.h
<<_ACEOF
12843 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12846 SANEINCL
="$ac_sane_incl"
12853 CPPFLAGS
="$ac_save_CPPFLAGS"
12855 if test "x$ac_cv_lib_soname_sane" = "x"; then
12856 case "x$with_sane" in
12857 x
) wine_notices
="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12859 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12860 This is an error since --with-sane was requested." >&5
12861 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12862 This is an error since --with-sane was requested." >&2;}
12863 { (exit 1); exit 1; }; } ;;
12868 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12869 set dummy gphoto2-config
; ac_word
=$2
12870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12872 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 if test -n "$gphoto2_devel"; then
12876 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12879 for as_dir
in $PATH
12882 test -z "$as_dir" && as_dir
=.
12883 for ac_exec_ext
in '' $ac_executable_extensions; do
12884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12885 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12893 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12896 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12897 if test -n "$gphoto2_devel"; then
12898 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12899 echo "${ECHO_T}$gphoto2_devel" >&6; }
12901 { echo "$as_me:$LINENO: result: no" >&5
12902 echo "${ECHO_T}no" >&6; }
12906 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12907 set dummy gphoto2-port-config
; ac_word
=$2
12908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12910 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12913 if test -n "$gphoto2port_devel"; then
12914 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12917 for as_dir
in $PATH
12920 test -z "$as_dir" && as_dir
=.
12921 for ac_exec_ext
in '' $ac_executable_extensions; do
12922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12923 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12931 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12934 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12935 if test -n "$gphoto2port_devel"; then
12936 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12937 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12939 { echo "$as_me:$LINENO: result: no" >&5
12940 echo "${ECHO_T}no" >&6; }
12944 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12946 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12948 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12951 -L/usr
/lib|
-L/usr
/lib64
) ;;
12952 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12955 ac_save_CPPFLAGS
="$CPPFLAGS"
12956 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12957 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12958 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12959 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12960 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12964 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12966 # Is the header compilable?
12967 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12968 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12969 cat >conftest.
$ac_ext <<_ACEOF
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12975 $ac_includes_default
12976 #include <gphoto2-camera.h>
12978 rm -f conftest.
$ac_objext
12979 if { (ac_try
="$ac_compile"
12980 case "(($ac_try" in
12981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12982 *) ac_try_echo=$ac_try;;
12984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12985 (eval "$ac_compile") 2>conftest.er1
12987 grep -v '^ *+' conftest.er1 >conftest.err
12989 cat conftest.err >&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } && {
12992 test -z "$ac_c_werror_flag" ||
12993 test ! -s conftest.err
12994 } && test -s conftest.$ac_objext; then
12995 ac_header_compiler=yes
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.$ac_ext >&5
13000 ac_header_compiler=no
13003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13005 echo "${ECHO_T}$ac_header_compiler" >&6; }
13007 # Is the header present?
13008 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13009 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13010 cat >conftest.$ac_ext <<_ACEOF
13013 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 #include <gphoto2-camera.h>
13018 if { (ac_try="$ac_cpp conftest.$ac_ext"
13019 case "(($ac_try" in
13020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13021 *) ac_try_echo
=$ac_try;;
13023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev
/null
&& {
13031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13032 test ! -s conftest.err
13034 ac_header_preproc
=yes
13036 echo "$as_me: failed program was:" >&5
13037 sed 's/^/| /' conftest.
$ac_ext >&5
13039 ac_header_preproc
=no
13042 rm -f conftest.err conftest.
$ac_ext
13043 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13044 echo "${ECHO_T}$ac_header_preproc" >&6; }
13046 # So? What about this header?
13047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13049 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13050 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13051 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13052 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13053 ac_header_preproc
=yes
13056 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13057 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13058 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13059 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13061 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13062 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13063 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13065 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13067 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13069 ## ------------------------------------ ##
13070 ## Report this to wine-devel@winehq.org ##
13071 ## ------------------------------------ ##
13073 ) |
sed "s/^/$as_me: WARNING: /" >&2
13076 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13077 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13078 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13079 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
13083 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13084 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13087 if test $ac_cv_header_gphoto2_camera_h = yes; then
13088 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13089 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13090 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 ac_check_lib_save_LIBS
=$LIBS
13094 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
13095 cat >conftest.
$ac_ext <<_ACEOF
13098 cat confdefs.h
>>conftest.
$ac_ext
13099 cat >>conftest.
$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13108 char gp_camera_new ();
13112 return gp_camera_new ();
13117 rm -f conftest.
$ac_objext conftest
$ac_exeext
13118 if { (ac_try
="$ac_link"
13119 case "(($ac_try" in
13120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_link") 2>conftest.er1
13126 grep -v '^ *+' conftest.er1 >conftest.err
13128 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } && {
13131 test -z "$ac_c_werror_flag" ||
13132 test ! -s conftest.err
13133 } && test -s conftest$ac_exeext &&
13134 $as_test_x conftest$ac_exeext; then
13135 ac_cv_lib_gphoto2_gp_camera_new=yes
13137 echo "$as_me: failed program was:" >&5
13138 sed 's/^/| /' conftest.$ac_ext >&5
13140 ac_cv_lib_gphoto2_gp_camera_new=no
13143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13144 conftest$ac_exeext conftest.$ac_ext
13145 LIBS=$ac_check_lib_save_LIBS
13147 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13148 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13149 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13151 cat >>confdefs.h <<\_ACEOF
13152 #define HAVE_GPHOTO2 1
13155 GPHOTO2LIBS="$ac_gphoto2_libs"
13157 GPHOTO2INCL="$ac_gphoto2_incl"
13164 CPPFLAGS="$ac_save_CPPFLAGS"
13166 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13167 case "x$with_gphoto" in
13168 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13170 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13171 This is an error since --with-gphoto was requested." >&5
13172 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13173 This is an error since --with-gphoto was requested." >&2;}
13174 { (exit 1); exit 1; }; } ;;
13182 if test "$ac_cv_header_resolv_h" = "yes"
13184 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13185 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13186 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13189 ac_check_lib_save_LIBS=$LIBS
13190 LIBS="-lresolv $LIBS"
13191 cat >conftest.$ac_ext <<_ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13198 /* Override any GCC internal prototype to avoid an error.
13199 Use char because int might match the return type of a GCC
13200 builtin and then its argument prototype would still apply. */
13208 return res_query ();
13213 rm -f conftest.$ac_objext conftest$ac_exeext
13214 if { (ac_try="$ac_link"
13215 case "(($ac_try" in
13216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13217 *) ac_try_echo
=$ac_try;;
13219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13220 (eval "$ac_link") 2>conftest.er1
13222 grep -v '^ *+' conftest.er1
>conftest.err
13224 cat conftest.err
>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); } && {
13227 test -z "$ac_c_werror_flag" ||
13228 test ! -s conftest.err
13229 } && test -s conftest
$ac_exeext &&
13230 $as_test_x conftest
$ac_exeext; then
13231 ac_cv_lib_resolv_res_query
=yes
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.
$ac_ext >&5
13236 ac_cv_lib_resolv_res_query
=no
13239 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13240 conftest
$ac_exeext conftest.
$ac_ext
13241 LIBS
=$ac_check_lib_save_LIBS
13243 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13244 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13245 if test $ac_cv_lib_resolv_res_query = yes; then
13247 cat >>confdefs.h
<<\_ACEOF
13248 #define HAVE_RESOLV 1
13251 RESOLVLIBS
="-lresolv"
13258 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13260 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13261 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13262 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 ac_check_lib_save_LIBS
=$LIBS
13266 LIBS
="-llcms $LIBS"
13267 cat >conftest.
$ac_ext <<_ACEOF
13270 cat confdefs.h
>>conftest.
$ac_ext
13271 cat >>conftest.
$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13280 char cmsOpenProfileFromFile ();
13284 return cmsOpenProfileFromFile ();
13289 rm -f conftest.
$ac_objext conftest
$ac_exeext
13290 if { (ac_try
="$ac_link"
13291 case "(($ac_try" in
13292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13293 *) ac_try_echo=$ac_try;;
13295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13296 (eval "$ac_link") 2>conftest.er1
13298 grep -v '^ *+' conftest.er1 >conftest.err
13300 cat conftest.err >&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } && {
13303 test -z "$ac_c_werror_flag" ||
13304 test ! -s conftest.err
13305 } && test -s conftest$ac_exeext &&
13306 $as_test_x conftest$ac_exeext; then
13307 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.$ac_ext >&5
13312 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13316 conftest$ac_exeext conftest.$ac_ext
13317 LIBS=$ac_check_lib_save_LIBS
13319 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13320 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13321 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13323 cat >>confdefs.h <<\_ACEOF
13324 #define HAVE_LCMS 1
13331 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13332 case "x$with_cms" in
13333 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13335 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13336 This is an error since --with-cms was requested." >&5
13337 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13338 This is an error since --with-cms was requested." >&2;}
13339 { (exit 1); exit 1; }; } ;;
13346 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13348 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13349 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13350 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 ac_check_lib_save_LIBS=$LIBS
13354 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13355 cat >conftest.$ac_ext <<_ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13362 /* Override any GCC internal prototype to avoid an error.
13363 Use char because int might match the return type of a GCC
13364 builtin and then its argument prototype would still apply. */
13368 char ldap_initialize ();
13372 return ldap_initialize ();
13377 rm -f conftest.$ac_objext conftest$ac_exeext
13378 if { (ac_try="$ac_link"
13379 case "(($ac_try" in
13380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13381 *) ac_try_echo
=$ac_try;;
13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13384 (eval "$ac_link") 2>conftest.er1
13386 grep -v '^ *+' conftest.er1
>conftest.err
13388 cat conftest.err
>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } && {
13391 test -z "$ac_c_werror_flag" ||
13392 test ! -s conftest.err
13393 } && test -s conftest
$ac_exeext &&
13394 $as_test_x conftest
$ac_exeext; then
13395 ac_cv_lib_ldap_r_ldap_initialize
=yes
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.
$ac_ext >&5
13400 ac_cv_lib_ldap_r_ldap_initialize
=no
13403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13404 conftest
$ac_exeext conftest.
$ac_ext
13405 LIBS
=$ac_check_lib_save_LIBS
13407 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13408 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13409 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13410 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13411 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13412 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13413 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 ac_check_lib_save_LIBS
=$LIBS
13416 LIBS
="-llber $LIBPTHREAD $LIBS"
13417 cat >conftest.
$ac_ext <<_ACEOF
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13424 /* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13434 return ber_init ();
13439 rm -f conftest.
$ac_objext conftest
$ac_exeext
13440 if { (ac_try
="$ac_link"
13441 case "(($ac_try" in
13442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13443 *) ac_try_echo=$ac_try;;
13445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13446 (eval "$ac_link") 2>conftest.er1
13448 grep -v '^ *+' conftest.er1 >conftest.err
13450 cat conftest.err >&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } && {
13453 test -z "$ac_c_werror_flag" ||
13454 test ! -s conftest.err
13455 } && test -s conftest$ac_exeext &&
13456 $as_test_x conftest$ac_exeext; then
13457 ac_cv_lib_lber_ber_init=yes
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13462 ac_cv_lib_lber_ber_init=no
13465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_lib_save_LIBS
13469 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13470 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13471 if test $ac_cv_lib_lber_ber_init = yes; then
13473 cat >>confdefs.h <<\_ACEOF
13474 #define HAVE_LDAP 1
13477 LDAPLIBS="-lldap_r -llber"
13482 ac_wine_check_funcs_save_LIBS="$LIBS"
13483 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13493 ldap_count_references \
13494 ldap_first_reference \
13495 ldap_next_reference \
13496 ldap_parse_reference \
13497 ldap_parse_sort_control \
13498 ldap_parse_sortresponse_control \
13499 ldap_parse_vlv_control \
13500 ldap_parse_vlvresponse_control
13502 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 cat >conftest.$ac_ext <<_ACEOF
13511 cat confdefs.h >>conftest.$ac_ext
13512 cat >>conftest.$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13516 #define $ac_func innocuous_$ac_func
13518 /* System header to define __stub macros and hopefully few prototypes,
13519 which can conflict with char $ac_func (); below.
13520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13521 <limits.h> exists even on freestanding compilers. */
13524 # include <limits.h>
13526 # include <assert.h>
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13538 /* The GNU C library defines this for functions which it implements
13539 to always fail with ENOSYS. Some functions are actually named
13540 something starting with __ and the normal name is an alias. */
13541 #if defined __stub_$ac_func || defined __stub___$ac_func
13548 return $ac_func ();
13553 rm -f conftest.$ac_objext conftest$ac_exeext
13554 if { (ac_try="$ac_link"
13555 case "(($ac_try" in
13556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13557 *) ac_try_echo
=$ac_try;;
13559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13560 (eval "$ac_link") 2>conftest.er1
13562 grep -v '^ *+' conftest.er1
>conftest.err
13564 cat conftest.err
>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } && {
13567 test -z "$ac_c_werror_flag" ||
13568 test ! -s conftest.err
13569 } && test -s conftest
$ac_exeext &&
13570 $as_test_x conftest
$ac_exeext; then
13571 eval "$as_ac_var=yes"
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.
$ac_ext >&5
13576 eval "$as_ac_var=no"
13579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13580 conftest
$ac_exeext conftest.
$ac_ext
13582 ac_res
=`eval echo '${'$as_ac_var'}'`
13583 { echo "$as_me:$LINENO: result: $ac_res" >&5
13584 echo "${ECHO_T}$ac_res" >&6; }
13585 if test `eval echo '${'$as_ac_var'}'` = yes; then
13586 cat >>confdefs.h
<<_ACEOF
13587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13593 LIBS
="$ac_wine_check_funcs_save_LIBS"
13595 if test "x$LDAPLIBS" = "x"; then
13596 case "x$with_ldap" in
13597 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13599 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13600 This is an error since --with-ldap was requested." >&5
13601 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13602 This is an error since --with-ldap was requested." >&2;}
13603 { (exit 1); exit 1; }; } ;;
13608 for ac_prog
in freetype-config freetype2-config
13610 # Extract the first word of "$ac_prog", so it can be a program name with args.
13611 set dummy
$ac_prog; ac_word
=$2
13612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13614 if test "${ac_cv_prog_ft_devel+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13617 if test -n "$ft_devel"; then
13618 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13621 for as_dir
in $PATH
13624 test -z "$as_dir" && as_dir
=.
13625 for ac_exec_ext
in '' $ac_executable_extensions; do
13626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13627 ac_cv_prog_ft_devel
="$ac_prog"
13628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13637 ft_devel
=$ac_cv_prog_ft_devel
13638 if test -n "$ft_devel"; then
13639 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13640 echo "${ECHO_T}$ft_devel" >&6; }
13642 { echo "$as_me:$LINENO: result: no" >&5
13643 echo "${ECHO_T}no" >&6; }
13647 test -n "$ft_devel" && break
13649 test -n "$ft_devel" || ft_devel
="false"
13651 if test "$ft_devel" != "false"
13653 ac_freetype_libs
=`$ft_devel --libs`
13654 ac_freetype_incl
=`$ft_devel --cflags`
13655 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13656 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13657 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 ac_check_soname_save_LIBS
=$LIBS
13661 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13662 cat >conftest.
$ac_ext <<_ACEOF
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13675 char FT_Init_FreeType ();
13679 return FT_Init_FreeType ();
13684 rm -f conftest.
$ac_objext conftest
$ac_exeext
13685 if { (ac_try
="$ac_link"
13686 case "(($ac_try" in
13687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13688 *) ac_try_echo=$ac_try;;
13690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13691 (eval "$ac_link") 2>conftest.er1
13693 grep -v '^ *+' conftest.er1 >conftest.err
13695 cat conftest.err >&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } && {
13698 test -z "$ac_c_werror_flag" ||
13699 test ! -s conftest.err
13700 } && test -s conftest$ac_exeext &&
13701 $as_test_x conftest$ac_exeext; then
13704 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'` ;;
13705 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.$ac_ext >&5
13714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13715 conftest$ac_exeext conftest.$ac_ext
13716 LIBS=$ac_check_soname_save_LIBS
13718 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13719 { echo "$as_me:$LINENO: result: not found" >&5
13720 echo "${ECHO_T}not found" >&6; }
13723 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13724 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13726 cat >>confdefs.h <<_ACEOF
13727 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13733 if test "$ft_lib" = "yes"
13735 ac_save_CPPFLAGS="$CPPFLAGS"
13736 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13749 for ac_header in ft2build.h \
13750 freetype/freetype.h \
13751 freetype/ftglyph.h \
13752 freetype/fttypes.h \
13753 freetype/tttables.h \
13754 freetype/ftnames.h \
13755 freetype/ftsnames.h \
13756 freetype/ttnameid.h \
13757 freetype/ftoutln.h \
13758 freetype/ftwinfnt.h \
13759 freetype/ftmodapi.h \
13760 freetype/internal/sfnt.h
13762 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13768 cat >conftest.$ac_ext <<_ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 #ifdef HAVE_FT2BUILD_H
13775 # include <ft2build.h>
13778 #include <$ac_header>
13780 rm -f conftest.$ac_objext
13781 if { (ac_try="$ac_compile"
13782 case "(($ac_try" in
13783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13784 *) ac_try_echo
=$ac_try;;
13786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13787 (eval "$ac_compile") 2>conftest.er1
13789 grep -v '^ *+' conftest.er1
>conftest.err
13791 cat conftest.err
>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); } && {
13794 test -z "$ac_c_werror_flag" ||
13795 test ! -s conftest.err
13796 } && test -s conftest.
$ac_objext; then
13797 eval "$as_ac_Header=yes"
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.
$ac_ext >&5
13802 eval "$as_ac_Header=no"
13805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13807 ac_res
=`eval echo '${'$as_ac_Header'}'`
13808 { echo "$as_me:$LINENO: result: $ac_res" >&5
13809 echo "${ECHO_T}$ac_res" >&6; }
13810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13811 cat >>confdefs.h
<<_ACEOF
13812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13819 cat >conftest.
$ac_ext <<_ACEOF
13822 cat confdefs.h
>>conftest.
$ac_ext
13823 cat >>conftest.
$ac_ext <<_ACEOF
13824 /* end confdefs.h. */
13825 #include <ft2build.h>
13826 #include <freetype/fttrigon.h>
13828 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13829 case "(($ac_try" in
13830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13831 *) ac_try_echo=$ac_try;;
13833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13836 grep -v '^ *+' conftest.er1 >conftest.err
13838 cat conftest.err >&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); } >/dev/null && {
13841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13842 test ! -s conftest.err
13845 cat >>confdefs.h <<\_ACEOF
13846 #define HAVE_FREETYPE_FTTRIGON_H 1
13849 wine_cv_fttrigon=yes
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13854 wine_cv_fttrigon=no
13857 rm -f conftest.err conftest.$ac_ext
13858 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13859 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13860 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13863 cat >conftest.$ac_ext <<_ACEOF
13866 cat confdefs.h >>conftest.$ac_ext
13867 cat >>conftest.$ac_ext <<_ACEOF
13868 /* end confdefs.h. */
13869 #include <freetype/ftmodapi.h>
13871 typedef FT_TrueTypeEngineType ac__type_new_;
13875 if ((ac__type_new_ *) 0)
13877 if (sizeof (ac__type_new_))
13883 rm -f conftest.$ac_objext
13884 if { (ac_try="$ac_compile"
13885 case "(($ac_try" in
13886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13887 *) ac_try_echo
=$ac_try;;
13889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13890 (eval "$ac_compile") 2>conftest.er1
13892 grep -v '^ *+' conftest.er1
>conftest.err
13894 cat conftest.err
>&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); } && {
13897 test -z "$ac_c_werror_flag" ||
13898 test ! -s conftest.err
13899 } && test -s conftest.
$ac_objext; then
13900 ac_cv_type_FT_TrueTypeEngineType
=yes
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.
$ac_ext >&5
13905 ac_cv_type_FT_TrueTypeEngineType
=no
13908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13910 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13911 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13912 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13914 cat >>confdefs.h
<<_ACEOF
13915 #define HAVE_FT_TRUETYPEENGINETYPE 1
13921 ac_save_CFLAGS
="$CFLAGS"
13922 CFLAGS
="$CFLAGS $ac_freetype_libs"
13924 for ac_func
in FT_Load_Sfnt_Table
13926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13929 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 cat >conftest.
$ac_ext <<_ACEOF
13935 cat confdefs.h
>>conftest.
$ac_ext
13936 cat >>conftest.
$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13940 #define $ac_func innocuous_$ac_func
13942 /* System header to define __stub macros and hopefully few prototypes,
13943 which can conflict with char $ac_func (); below.
13944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13945 <limits.h> exists even on freestanding compilers. */
13948 # include <limits.h>
13950 # include <assert.h>
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13962 /* The GNU C library defines this for functions which it implements
13963 to always fail with ENOSYS. Some functions are actually named
13964 something starting with __ and the normal name is an alias. */
13965 #if defined __stub_$ac_func || defined __stub___$ac_func
13972 return $ac_func ();
13977 rm -f conftest.
$ac_objext conftest
$ac_exeext
13978 if { (ac_try
="$ac_link"
13979 case "(($ac_try" in
13980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13981 *) ac_try_echo=$ac_try;;
13983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13984 (eval "$ac_link") 2>conftest.er1
13986 grep -v '^ *+' conftest.er1 >conftest.err
13988 cat conftest.err >&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } && {
13991 test -z "$ac_c_werror_flag" ||
13992 test ! -s conftest.err
13993 } && test -s conftest$ac_exeext &&
13994 $as_test_x conftest$ac_exeext; then
13995 eval "$as_ac_var=yes"
13997 echo "$as_me: failed program was:" >&5
13998 sed 's/^/| /' conftest.$ac_ext >&5
14000 eval "$as_ac_var=no"
14003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14004 conftest$ac_exeext conftest.$ac_ext
14006 ac_res=`eval echo '${'$as_ac_var'}'`
14007 { echo "$as_me:$LINENO: result: $ac_res" >&5
14008 echo "${ECHO_T}$ac_res" >&6; }
14009 if test `eval echo '${'$as_ac_var'}'` = yes; then
14010 cat >>confdefs.h <<_ACEOF
14011 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14017 CFLAGS="$ac_save_CFLAGS"
14018 CPPFLAGS="$ac_save_CPPFLAGS"
14019 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14022 cat >>confdefs.h <<\_ACEOF
14023 #define HAVE_FREETYPE 1
14026 FREETYPELIBS="$ac_freetype_libs"
14028 FREETYPEINCL="$ac_freetype_incl"
14034 if test "x$FREETYPELIBS" = "x"
14036 wine_warnings="$wine_warnings|FreeType development files not found.
14037 Fonts will not be built. Dialog text may be invisible or unaligned."
14039 FONTSSUBDIRS="fonts"
14043 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14044 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14045 if test "${ac_cv_c_ppdev+set}" = set; then
14046 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 cat >conftest.$ac_ext <<_ACEOF
14051 cat confdefs.h >>conftest.$ac_ext
14052 cat >>conftest.$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 #include <linux/ppdev.h>
14058 ioctl (1,PPCLAIM,0)
14063 rm -f conftest.$ac_objext
14064 if { (ac_try="$ac_compile"
14065 case "(($ac_try" in
14066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14067 *) ac_try_echo
=$ac_try;;
14069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14070 (eval "$ac_compile") 2>conftest.er1
14072 grep -v '^ *+' conftest.er1
>conftest.err
14074 cat conftest.err
>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } && {
14077 test -z "$ac_c_werror_flag" ||
14078 test ! -s conftest.err
14079 } && test -s conftest.
$ac_objext; then
14080 ac_cv_c_ppdev
="yes"
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.
$ac_ext >&5
14088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14090 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14091 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14092 if test "$ac_cv_c_ppdev" = "yes"
14095 cat >>confdefs.h
<<\_ACEOF
14096 #define HAVE_PPDEV 1
14101 { echo "$as_me:$LINENO: checking for va_copy" >&5
14102 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14103 if test "${ac_cv_c_va_copy+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 cat >conftest.
$ac_ext <<_ACEOF
14109 cat confdefs.h
>>conftest.
$ac_ext
14110 cat >>conftest.
$ac_ext <<_ACEOF
14111 /* end confdefs.h. */
14112 #include <stdarg.h>
14116 va_list ap1, ap2; va_copy(ap1,ap2);
14121 rm -f conftest.
$ac_objext conftest
$ac_exeext
14122 if { (ac_try
="$ac_link"
14123 case "(($ac_try" in
14124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14125 *) ac_try_echo=$ac_try;;
14127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14128 (eval "$ac_link") 2>conftest.er1
14130 grep -v '^ *+' conftest.er1 >conftest.err
14132 cat conftest.err >&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } && {
14135 test -z "$ac_c_werror_flag" ||
14136 test ! -s conftest.err
14137 } && test -s conftest$ac_exeext &&
14138 $as_test_x conftest$ac_exeext; then
14139 ac_cv_c_va_copy="yes"
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.$ac_ext >&5
14144 ac_cv_c_va_copy="no"
14147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14148 conftest$ac_exeext conftest.$ac_ext
14151 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14152 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14153 if test "$ac_cv_c_va_copy" = "yes"
14156 cat >>confdefs.h <<\_ACEOF
14157 #define HAVE_VA_COPY 1
14161 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14162 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14163 if test "${ac_cv_c___va_copy+set}" = set; then
14164 echo $ECHO_N "(cached) $ECHO_C" >&6
14166 cat >conftest.$ac_ext <<_ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 #include <stdarg.h>
14176 va_list ap1, ap2; __va_copy(ap1,ap2);
14181 rm -f conftest.$ac_objext conftest$ac_exeext
14182 if { (ac_try="$ac_link"
14183 case "(($ac_try" in
14184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14185 *) ac_try_echo
=$ac_try;;
14187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14188 (eval "$ac_link") 2>conftest.er1
14190 grep -v '^ *+' conftest.er1
>conftest.err
14192 cat conftest.err
>&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); } && {
14195 test -z "$ac_c_werror_flag" ||
14196 test ! -s conftest.err
14197 } && test -s conftest
$ac_exeext &&
14198 $as_test_x conftest
$ac_exeext; then
14199 ac_cv_c___va_copy
="yes"
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.
$ac_ext >&5
14204 ac_cv_c___va_copy
="no"
14207 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14208 conftest
$ac_exeext conftest.
$ac_ext
14211 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14212 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14213 if test "$ac_cv_c___va_copy" = "yes"
14216 cat >>confdefs.h
<<\_ACEOF
14217 #define HAVE___VA_COPY 1
14222 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14223 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14224 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 cat >conftest.
$ac_ext <<_ACEOF
14230 cat confdefs.h
>>conftest.
$ac_ext
14231 cat >>conftest.
$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14233 #include <setjmp.h>
14238 sigsetjmp( buf, 1 );
14239 siglongjmp( buf, 1 );
14244 rm -f conftest.
$ac_objext conftest
$ac_exeext
14245 if { (ac_try
="$ac_link"
14246 case "(($ac_try" in
14247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14248 *) ac_try_echo=$ac_try;;
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_link") 2>conftest.er1
14253 grep -v '^ *+' conftest.er1 >conftest.err
14255 cat conftest.err >&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); } && {
14258 test -z "$ac_c_werror_flag" ||
14259 test ! -s conftest.err
14260 } && test -s conftest$ac_exeext &&
14261 $as_test_x conftest$ac_exeext; then
14262 ac_cv_c_sigsetjmp="yes"
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14267 ac_cv_c_sigsetjmp="no"
14270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14271 conftest$ac_exeext conftest.$ac_ext
14274 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14275 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14276 if test "$ac_cv_c_sigsetjmp" = "yes"
14279 cat >>confdefs.h <<\_ACEOF
14280 #define HAVE_SIGSETJMP 1
14285 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14286 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14287 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 cat >conftest.$ac_ext <<_ACEOF
14293 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14296 #define _GNU_SOURCE
14297 #include <pthread.h>
14299 typedef pthread_rwlock_t ac__type_new_;
14303 if ((ac__type_new_ *) 0)
14305 if (sizeof (ac__type_new_))
14311 rm -f conftest.$ac_objext
14312 if { (ac_try="$ac_compile"
14313 case "(($ac_try" in
14314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14315 *) ac_try_echo
=$ac_try;;
14317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14318 (eval "$ac_compile") 2>conftest.er1
14320 grep -v '^ *+' conftest.er1
>conftest.err
14322 cat conftest.err
>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); } && {
14325 test -z "$ac_c_werror_flag" ||
14326 test ! -s conftest.err
14327 } && test -s conftest.
$ac_objext; then
14328 ac_cv_type_pthread_rwlock_t
=yes
14330 echo "$as_me: failed program was:" >&5
14331 sed 's/^/| /' conftest.
$ac_ext >&5
14333 ac_cv_type_pthread_rwlock_t
=no
14336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14338 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14339 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14340 if test $ac_cv_type_pthread_rwlock_t = yes; then
14342 cat >>confdefs.h
<<_ACEOF
14343 #define HAVE_PTHREAD_RWLOCK_T 1
14348 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14349 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14350 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 cat >conftest.
$ac_ext <<_ACEOF
14356 cat confdefs.h
>>conftest.
$ac_ext
14357 cat >>conftest.
$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14359 #define _GNU_SOURCE
14360 #include <pthread.h>
14362 typedef pthread_rwlockattr_t ac__type_new_;
14366 if ((ac__type_new_ *) 0)
14368 if (sizeof (ac__type_new_))
14374 rm -f conftest.
$ac_objext
14375 if { (ac_try
="$ac_compile"
14376 case "(($ac_try" in
14377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_compile") 2>conftest.er1
14383 grep -v '^ *+' conftest.er1 >conftest.err
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest.$ac_objext; then
14391 ac_cv_type_pthread_rwlockattr_t=yes
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14396 ac_cv_type_pthread_rwlockattr_t=no
14399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14402 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14403 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14405 cat >>confdefs.h <<_ACEOF
14406 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14413 ac_wine_check_funcs_save_LIBS="$LIBS"
14414 LIBS="$LIBS $LIBPTHREAD"
14420 pthread_attr_get_np \
14421 pthread_getattr_np \
14422 pthread_get_stackaddr_np \
14423 pthread_get_stacksize_np
14425 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 cat >conftest.$ac_ext <<_ACEOF
14434 cat confdefs.h >>conftest.$ac_ext
14435 cat >>conftest.$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14439 #define $ac_func innocuous_$ac_func
14441 /* System header to define __stub macros and hopefully few prototypes,
14442 which can conflict with char $ac_func (); below.
14443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14444 <limits.h> exists even on freestanding compilers. */
14447 # include <limits.h>
14449 # include <assert.h>
14454 /* Override any GCC internal prototype to avoid an error.
14455 Use char because int might match the return type of a GCC
14456 builtin and then its argument prototype would still apply. */
14461 /* The GNU C library defines this for functions which it implements
14462 to always fail with ENOSYS. Some functions are actually named
14463 something starting with __ and the normal name is an alias. */
14464 #if defined __stub_$ac_func || defined __stub___$ac_func
14471 return $ac_func ();
14476 rm -f conftest.$ac_objext conftest$ac_exeext
14477 if { (ac_try="$ac_link"
14478 case "(($ac_try" in
14479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14480 *) ac_try_echo
=$ac_try;;
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 (eval "$ac_link") 2>conftest.er1
14485 grep -v '^ *+' conftest.er1
>conftest.err
14487 cat conftest.err
>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } && {
14490 test -z "$ac_c_werror_flag" ||
14491 test ! -s conftest.err
14492 } && test -s conftest
$ac_exeext &&
14493 $as_test_x conftest
$ac_exeext; then
14494 eval "$as_ac_var=yes"
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.
$ac_ext >&5
14499 eval "$as_ac_var=no"
14502 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14503 conftest
$ac_exeext conftest.
$ac_ext
14505 ac_res
=`eval echo '${'$as_ac_var'}'`
14506 { echo "$as_me:$LINENO: result: $ac_res" >&5
14507 echo "${ECHO_T}$ac_res" >&6; }
14508 if test `eval echo '${'$as_ac_var'}'` = yes; then
14509 cat >>confdefs.h
<<_ACEOF
14510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14516 LIBS
="$ac_wine_check_funcs_save_LIBS"
14518 # Extract the first word of "esd-config", so it can be a program name with args.
14519 set dummy esd-config
; ac_word
=$2
14520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14522 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14531 for as_dir
in $PATH
14534 test -z "$as_dir" && as_dir
=.
14535 for ac_exec_ext
in '' $ac_executable_extensions; do
14536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14537 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14548 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14549 if test -n "$ESDCONFIG"; then
14550 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14551 echo "${ECHO_T}$ESDCONFIG" >&6; }
14553 { echo "$as_me:$LINENO: result: no" >&5
14554 echo "${ECHO_T}no" >&6; }
14558 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14561 for i
in `$ESDCONFIG --cflags`
14564 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14567 ESD_LIBS
=`$ESDCONFIG --libs`
14568 save_CFLAGS
="$CFLAGS"
14569 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14570 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14571 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14572 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14575 ac_check_lib_save_LIBS
=$LIBS
14577 cat >conftest.
$ac_ext <<_ACEOF
14580 cat confdefs.h
>>conftest.
$ac_ext
14581 cat >>conftest.
$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14590 char esd_open_sound ();
14594 return esd_open_sound ();
14599 rm -f conftest.
$ac_objext conftest
$ac_exeext
14600 if { (ac_try
="$ac_link"
14601 case "(($ac_try" in
14602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14603 *) ac_try_echo=$ac_try;;
14605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14606 (eval "$ac_link") 2>conftest.er1
14608 grep -v '^ *+' conftest.er1 >conftest.err
14610 cat conftest.err >&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } && {
14613 test -z "$ac_c_werror_flag" ||
14614 test ! -s conftest.err
14615 } && test -s conftest$ac_exeext &&
14616 $as_test_x conftest$ac_exeext; then
14617 ac_cv_lib_esd_esd_open_sound=yes
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14622 ac_cv_lib_esd_esd_open_sound=no
14625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LIBS=$ac_check_lib_save_LIBS
14629 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14630 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14631 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14634 ESDINCL=$ESD_CFLAGS
14637 cat >>confdefs.h <<\_ACEOF
14643 CFLAGS="$save_CFLAGS"
14648 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14650 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14651 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14652 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14653 echo $ECHO_N "(cached) $ECHO_C" >&6
14655 ac_check_lib_save_LIBS=$LIBS
14656 LIBS="-lasound $LIBS"
14657 cat >conftest.$ac_ext <<_ACEOF
14660 cat confdefs.h >>conftest.$ac_ext
14661 cat >>conftest.$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14670 char snd_pcm_hw_params_get_access ();
14674 return snd_pcm_hw_params_get_access ();
14679 rm -f conftest.$ac_objext conftest$ac_exeext
14680 if { (ac_try="$ac_link"
14681 case "(($ac_try" in
14682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14683 *) ac_try_echo
=$ac_try;;
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_link") 2>conftest.er1
14688 grep -v '^ *+' conftest.er1
>conftest.err
14690 cat conftest.err
>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest
$ac_exeext &&
14696 $as_test_x conftest
$ac_exeext; then
14697 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.
$ac_ext >&5
14702 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14706 conftest
$ac_exeext conftest.
$ac_ext
14707 LIBS
=$ac_check_lib_save_LIBS
14709 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14710 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14711 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14712 cat >conftest.
$ac_ext <<_ACEOF
14715 cat confdefs.h
>>conftest.
$ac_ext
14716 cat >>conftest.
$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14718 #ifdef HAVE_ALSA_ASOUNDLIB_H
14719 #include <alsa/asoundlib.h>
14720 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14721 #include <sys/asoundlib.h>
14726 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14731 rm -f conftest.
$ac_objext
14732 if { (ac_try
="$ac_compile"
14733 case "(($ac_try" in
14734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compile") 2>conftest.er1
14740 grep -v '^ *+' conftest.er1 >conftest.err
14742 cat conftest.err >&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } && {
14745 test -z "$ac_c_werror_flag" ||
14746 test ! -s conftest.err
14747 } && test -s conftest.$ac_objext; then
14749 cat >>confdefs.h <<\_ACEOF
14750 #define HAVE_ALSA 1
14753 ALSALIBS="-lasound"
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 if test "$ac_cv_header_libaudioio_h" = "yes"
14770 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14771 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14772 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 ac_check_lib_save_LIBS=$LIBS
14776 LIBS="-laudioio $LIBS"
14777 cat >conftest.$ac_ext <<_ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14784 /* Override any GCC internal prototype to avoid an error.
14785 Use char because int might match the return type of a GCC
14786 builtin and then its argument prototype would still apply. */
14790 char AudioIOGetVersion ();
14794 return AudioIOGetVersion ();
14799 rm -f conftest.$ac_objext conftest$ac_exeext
14800 if { (ac_try="$ac_link"
14801 case "(($ac_try" in
14802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14803 *) ac_try_echo
=$ac_try;;
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806 (eval "$ac_link") 2>conftest.er1
14808 grep -v '^ *+' conftest.er1
>conftest.err
14810 cat conftest.err
>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } && {
14813 test -z "$ac_c_werror_flag" ||
14814 test ! -s conftest.err
14815 } && test -s conftest
$ac_exeext &&
14816 $as_test_x conftest
$ac_exeext; then
14817 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.
$ac_ext >&5
14822 ac_cv_lib_audioio_AudioIOGetVersion
=no
14825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14826 conftest
$ac_exeext conftest.
$ac_ext
14827 LIBS
=$ac_check_lib_save_LIBS
14829 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14830 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14831 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14832 AUDIOIOLIBS
="-laudioio"
14834 cat >>confdefs.h
<<\_ACEOF
14835 #define HAVE_LIBAUDIOIO 1
14843 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14845 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14846 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14847 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 ac_check_soname_save_LIBS
=$LIBS
14851 LIBS
="-lcapi20 $LIBS"
14852 cat >conftest.
$ac_ext <<_ACEOF
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14865 char capi20_register ();
14869 return capi20_register ();
14874 rm -f conftest.
$ac_objext conftest
$ac_exeext
14875 if { (ac_try
="$ac_link"
14876 case "(($ac_try" in
14877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14878 *) ac_try_echo=$ac_try;;
14880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14881 (eval "$ac_link") 2>conftest.er1
14883 grep -v '^ *+' conftest.er1 >conftest.err
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } && {
14888 test -z "$ac_c_werror_flag" ||
14889 test ! -s conftest.err
14890 } && test -s conftest$ac_exeext &&
14891 $as_test_x conftest$ac_exeext; then
14894 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'` ;;
14895 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14905 conftest$ac_exeext conftest.$ac_ext
14906 LIBS=$ac_check_soname_save_LIBS
14908 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14909 { echo "$as_me:$LINENO: result: not found" >&5
14910 echo "${ECHO_T}not found" >&6; }
14913 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14914 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14916 cat >>confdefs.h <<_ACEOF
14917 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14924 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14925 case "x$with_capi" in
14926 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14928 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14929 This is an error since --with-capi was requested." >&5
14930 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14931 This is an error since --with-capi was requested." >&2;}
14932 { (exit 1); exit 1; }; } ;;
14937 if test "$ac_cv_header_cups_cups_h" = "yes"
14939 { echo "$as_me:$LINENO: checking for -lcups" >&5
14940 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14941 if test "${ac_cv_lib_soname_cups+set}" = set; then
14942 echo $ECHO_N "(cached) $ECHO_C" >&6
14944 ac_check_soname_save_LIBS=$LIBS
14945 LIBS="-lcups $LIBS"
14946 cat >conftest.$ac_ext <<_ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14959 char cupsGetDefault ();
14963 return cupsGetDefault ();
14968 rm -f conftest.$ac_objext conftest$ac_exeext
14969 if { (ac_try="$ac_link"
14970 case "(($ac_try" in
14971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14972 *) ac_try_echo
=$ac_try;;
14974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14975 (eval "$ac_link") 2>conftest.er1
14977 grep -v '^ *+' conftest.er1
>conftest.err
14979 cat conftest.err
>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } && {
14982 test -z "$ac_c_werror_flag" ||
14983 test ! -s conftest.err
14984 } && test -s conftest
$ac_exeext &&
14985 $as_test_x conftest
$ac_exeext; then
14988 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'` ;;
14989 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14992 echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.
$ac_ext >&5
14998 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14999 conftest
$ac_exeext conftest.
$ac_ext
15000 LIBS
=$ac_check_soname_save_LIBS
15002 if test "x$ac_cv_lib_soname_cups" = "x"; then
15003 { echo "$as_me:$LINENO: result: not found" >&5
15004 echo "${ECHO_T}not found" >&6; }
15007 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15008 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15010 cat >>confdefs.h
<<_ACEOF
15011 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15018 if test "x$ac_cv_lib_soname_cups" = "x"; then
15019 case "x$with_cups" in
15020 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15022 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15023 This is an error since --with-cups was requested." >&5
15024 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15025 This is an error since --with-cups was requested." >&2;}
15026 { (exit 1); exit 1; }; } ;;
15031 if test "$ac_cv_header_jack_jack_h" = "yes"
15033 { echo "$as_me:$LINENO: checking for -ljack" >&5
15034 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15035 if test "${ac_cv_lib_soname_jack+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 ac_check_soname_save_LIBS
=$LIBS
15039 LIBS
="-ljack $LIBS"
15040 cat >conftest.
$ac_ext <<_ACEOF
15043 cat confdefs.h
>>conftest.
$ac_ext
15044 cat >>conftest.
$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15047 /* Override any GCC internal prototype to avoid an error.
15048 Use char because int might match the return type of a GCC
15049 builtin and then its argument prototype would still apply. */
15053 char jack_client_new ();
15057 return jack_client_new ();
15062 rm -f conftest.
$ac_objext conftest
$ac_exeext
15063 if { (ac_try
="$ac_link"
15064 case "(($ac_try" in
15065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069 (eval "$ac_link") 2>conftest.er1
15071 grep -v '^ *+' conftest.er1 >conftest.err
15073 cat conftest.err >&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } && {
15076 test -z "$ac_c_werror_flag" ||
15077 test ! -s conftest.err
15078 } && test -s conftest$ac_exeext &&
15079 $as_test_x conftest$ac_exeext; then
15082 dylib) ac_cv_lib_soname_jack=`otool
-L conftest
$ac_exeext |
grep "libjack\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15083 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15086 echo "$as_me: failed program was:" >&5
15087 sed 's/^/| /' conftest.$ac_ext >&5
15092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15093 conftest$ac_exeext conftest.$ac_ext
15094 LIBS=$ac_check_soname_save_LIBS
15096 if test "x$ac_cv_lib_soname_jack" = "x"; then
15097 { echo "$as_me:$LINENO: result: not found" >&5
15098 echo "${ECHO_T}not found" >&6; }
15101 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15102 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15104 cat >>confdefs.h <<_ACEOF
15105 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15113 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15115 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15116 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15117 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 ac_check_soname_save_LIBS=$LIBS
15121 LIBS="-lfontconfig $LIBS"
15122 cat >conftest.$ac_ext <<_ACEOF
15125 cat confdefs.h >>conftest.$ac_ext
15126 cat >>conftest.$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15144 rm -f conftest.$ac_objext conftest$ac_exeext
15145 if { (ac_try="$ac_link"
15146 case "(($ac_try" in
15147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15148 *) ac_try_echo
=$ac_try;;
15150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15151 (eval "$ac_link") 2>conftest.er1
15153 grep -v '^ *+' conftest.er1
>conftest.err
15155 cat conftest.err
>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } && {
15158 test -z "$ac_c_werror_flag" ||
15159 test ! -s conftest.err
15160 } && test -s conftest
$ac_exeext &&
15161 $as_test_x conftest
$ac_exeext; then
15164 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'` ;;
15165 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.
$ac_ext >&5
15174 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15175 conftest
$ac_exeext conftest.
$ac_ext
15176 LIBS
=$ac_check_soname_save_LIBS
15178 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15179 { echo "$as_me:$LINENO: result: not found" >&5
15180 echo "${ECHO_T}not found" >&6; }
15183 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15184 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15186 cat >>confdefs.h
<<_ACEOF
15187 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15193 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15195 ac_save_CPPFLAGS
="$CPPFLAGS"
15196 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15197 $as_unset ac_cv_header_fontconfig_fontconfig_h
15199 for ac_header
in fontconfig
/fontconfig.h
15201 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15202 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15205 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 ac_res
=`eval echo '${'$as_ac_Header'}'`
15209 { echo "$as_me:$LINENO: result: $ac_res" >&5
15210 echo "${ECHO_T}$ac_res" >&6; }
15212 # Is the header compilable?
15213 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15215 cat >conftest.
$ac_ext <<_ACEOF
15218 cat confdefs.h
>>conftest.
$ac_ext
15219 cat >>conftest.
$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221 $ac_includes_default
15222 #include <$ac_header>
15224 rm -f conftest.
$ac_objext
15225 if { (ac_try
="$ac_compile"
15226 case "(($ac_try" in
15227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15228 *) ac_try_echo=$ac_try;;
15230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15231 (eval "$ac_compile") 2>conftest.er1
15233 grep -v '^ *+' conftest.er1 >conftest.err
15235 cat conftest.err >&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); } && {
15238 test -z "$ac_c_werror_flag" ||
15239 test ! -s conftest.err
15240 } && test -s conftest.$ac_objext; then
15241 ac_header_compiler=yes
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.$ac_ext >&5
15246 ac_header_compiler=no
15249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15251 echo "${ECHO_T}$ac_header_compiler" >&6; }
15253 # Is the header present?
15254 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15256 cat >conftest.$ac_ext <<_ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 #include <$ac_header>
15264 if { (ac_try="$ac_cpp conftest.$ac_ext"
15265 case "(($ac_try" in
15266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15267 *) ac_try_echo
=$ac_try;;
15269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15272 grep -v '^ *+' conftest.er1
>conftest.err
15274 cat conftest.err
>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); } >/dev
/null
&& {
15277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15278 test ! -s conftest.err
15280 ac_header_preproc
=yes
15282 echo "$as_me: failed program was:" >&5
15283 sed 's/^/| /' conftest.
$ac_ext >&5
15285 ac_header_preproc
=no
15288 rm -f conftest.err conftest.
$ac_ext
15289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15290 echo "${ECHO_T}$ac_header_preproc" >&6; }
15292 # So? What about this header?
15293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15299 ac_header_preproc
=yes
15302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15315 ## ------------------------------------ ##
15316 ## Report this to wine-devel@winehq.org ##
15317 ## ------------------------------------ ##
15319 ) |
sed "s/^/$as_me: WARNING: /" >&2
15322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15324 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 eval "$as_ac_Header=\$ac_header_preproc"
15329 ac_res
=`eval echo '${'$as_ac_Header'}'`
15330 { echo "$as_me:$LINENO: result: $ac_res" >&5
15331 echo "${ECHO_T}$ac_res" >&6; }
15334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15335 cat >>confdefs.h
<<_ACEOF
15336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15343 CPPFLAGS
="$ac_save_CPPFLAGS"
15344 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15346 FONTCONFIGINCL
="$X_CFLAGS"
15348 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15349 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15350 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 ac_check_soname_save_LIBS
=$LIBS
15354 LIBS
="-lfontconfig $X_LIBS $LIBS"
15355 cat >conftest.
$ac_ext <<_ACEOF
15358 cat confdefs.h
>>conftest.
$ac_ext
15359 cat >>conftest.
$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15377 rm -f conftest.
$ac_objext conftest
$ac_exeext
15378 if { (ac_try
="$ac_link"
15379 case "(($ac_try" in
15380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15381 *) ac_try_echo=$ac_try;;
15383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15384 (eval "$ac_link") 2>conftest.er1
15386 grep -v '^ *+' conftest.er1 >conftest.err
15388 cat conftest.err >&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } && {
15391 test -z "$ac_c_werror_flag" ||
15392 test ! -s conftest.err
15393 } && test -s conftest$ac_exeext &&
15394 $as_test_x conftest$ac_exeext; then
15397 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'` ;;
15398 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15412 { echo "$as_me:$LINENO: result: not found" >&5
15413 echo "${ECHO_T}not found" >&6; }
15416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15417 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15419 cat >>confdefs.h <<_ACEOF
15420 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15428 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15429 case "x$with_fontconfig" in
15430 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15432 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15433 This is an error since --with-fontconfig was requested." >&5
15434 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15435 This is an error since --with-fontconfig was requested." >&2;}
15436 { (exit 1); exit 1; }; } ;;
15441 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15443 { echo "$as_me:$LINENO: checking for -lssl" >&5
15444 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15445 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 ac_check_soname_save_LIBS=$LIBS
15450 cat >conftest.$ac_ext <<_ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15463 char SSL_library_init ();
15467 return SSL_library_init ();
15472 rm -f conftest.$ac_objext conftest$ac_exeext
15473 if { (ac_try="$ac_link"
15474 case "(($ac_try" in
15475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15476 *) ac_try_echo
=$ac_try;;
15478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_link") 2>conftest.er1
15481 grep -v '^ *+' conftest.er1
>conftest.err
15483 cat conftest.err
>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_c_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest
$ac_exeext &&
15489 $as_test_x conftest
$ac_exeext; then
15492 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'` ;;
15493 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.
$ac_ext >&5
15502 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15503 conftest
$ac_exeext conftest.
$ac_ext
15504 LIBS
=$ac_check_soname_save_LIBS
15506 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15507 { echo "$as_me:$LINENO: result: not found" >&5
15508 echo "${ECHO_T}not found" >&6; }
15511 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15512 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15514 cat >>confdefs.h
<<_ACEOF
15515 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15521 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15522 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15523 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 ac_check_soname_save_LIBS
=$LIBS
15527 LIBS
="-lcrypto $LIBS"
15528 cat >conftest.
$ac_ext <<_ACEOF
15531 cat confdefs.h
>>conftest.
$ac_ext
15532 cat >>conftest.
$ac_ext <<_ACEOF
15533 /* end confdefs.h. */
15535 /* Override any GCC internal prototype to avoid an error.
15536 Use char because int might match the return type of a GCC
15537 builtin and then its argument prototype would still apply. */
15541 char BIO_new_socket ();
15545 return BIO_new_socket ();
15550 rm -f conftest.
$ac_objext conftest
$ac_exeext
15551 if { (ac_try
="$ac_link"
15552 case "(($ac_try" in
15553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_link") 2>conftest.er1
15559 grep -v '^ *+' conftest.er1 >conftest.err
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest$ac_exeext &&
15567 $as_test_x conftest$ac_exeext; then
15570 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'` ;;
15571 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15574 echo "$as_me: failed program was:" >&5
15575 sed 's/^/| /' conftest.$ac_ext >&5
15580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15581 conftest$ac_exeext conftest.$ac_ext
15582 LIBS=$ac_check_soname_save_LIBS
15584 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15585 { echo "$as_me:$LINENO: result: not found" >&5
15586 echo "${ECHO_T}not found" >&6; }
15589 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15590 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15592 cat >>confdefs.h <<_ACEOF
15593 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15600 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15601 case "x$with_openssl" in
15602 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15604 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15605 This is an error since --with-openssl was requested." >&5
15606 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15607 This is an error since --with-openssl was requested." >&2;}
15608 { (exit 1); exit 1; }; } ;;
15613 if test "$ac_cv_header_jpeglib_h" = "yes"
15615 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15616 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15617 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 ac_check_soname_save_LIBS=$LIBS
15621 LIBS="-ljpeg $LIBS"
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15635 char jpeg_start_decompress ();
15639 return jpeg_start_decompress ();
15644 rm -f conftest.$ac_objext conftest$ac_exeext
15645 if { (ac_try="$ac_link"
15646 case "(($ac_try" in
15647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15648 *) ac_try_echo
=$ac_try;;
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_link") 2>conftest.er1
15653 grep -v '^ *+' conftest.er1
>conftest.err
15655 cat conftest.err
>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_c_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest
$ac_exeext &&
15661 $as_test_x conftest
$ac_exeext; then
15664 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'` ;;
15665 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.
$ac_ext >&5
15674 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15675 conftest
$ac_exeext conftest.
$ac_ext
15676 LIBS
=$ac_check_soname_save_LIBS
15678 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15679 { echo "$as_me:$LINENO: result: not found" >&5
15680 echo "${ECHO_T}not found" >&6; }
15683 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15684 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15686 cat >>confdefs.h
<<_ACEOF
15687 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15694 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15695 case "x$with_jpeg" in
15696 x
) wine_notices
="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15698 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15699 This is an error since --with-jpeg was requested." >&5
15700 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15701 This is an error since --with-jpeg was requested." >&2;}
15702 { (exit 1); exit 1; }; } ;;
15707 if test "$ac_cv_header_png_h" = "yes"
15709 { echo "$as_me:$LINENO: checking for -lpng" >&5
15710 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15711 if test "${ac_cv_lib_soname_png+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 ac_check_soname_save_LIBS
=$LIBS
15716 cat >conftest.
$ac_ext <<_ACEOF
15719 cat confdefs.h
>>conftest.
$ac_ext
15720 cat >>conftest.
$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15729 char png_create_read_struct ();
15733 return png_create_read_struct ();
15738 rm -f conftest.
$ac_objext conftest
$ac_exeext
15739 if { (ac_try
="$ac_link"
15740 case "(($ac_try" in
15741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_link") 2>conftest.er1
15747 grep -v '^ *+' conftest.er1 >conftest.err
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest$ac_exeext &&
15755 $as_test_x conftest$ac_exeext; then
15758 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'` ;;
15759 *) 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'` ;;
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15769 conftest$ac_exeext conftest.$ac_ext
15770 LIBS=$ac_check_soname_save_LIBS
15772 if test "x$ac_cv_lib_soname_png" = "x"; then
15773 { echo "$as_me:$LINENO: result: not found" >&5
15774 echo "${ECHO_T}not found" >&6; }
15777 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15778 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15780 cat >>confdefs.h <<_ACEOF
15781 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15788 if test "x$ac_cv_lib_soname_png" = "x"; then
15789 case "x$with_png" in
15790 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15792 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15793 This is an error since --with-png was requested." >&5
15794 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15795 This is an error since --with-png was requested." >&2;}
15796 { (exit 1); exit 1; }; } ;;
15801 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15802 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15803 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15806 ac_check_soname_save_LIBS=$LIBS
15807 LIBS="-lodbc $LIBS"
15808 cat >conftest.$ac_ext <<_ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15815 /* Override any GCC internal prototype to avoid an error.
15816 Use char because int might match the return type of a GCC
15817 builtin and then its argument prototype would still apply. */
15821 char SQLConnect ();
15825 return SQLConnect ();
15830 rm -f conftest.$ac_objext conftest$ac_exeext
15831 if { (ac_try="$ac_link"
15832 case "(($ac_try" in
15833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15834 *) ac_try_echo
=$ac_try;;
15836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15837 (eval "$ac_link") 2>conftest.er1
15839 grep -v '^ *+' conftest.er1
>conftest.err
15841 cat conftest.err
>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); } && {
15844 test -z "$ac_c_werror_flag" ||
15845 test ! -s conftest.err
15846 } && test -s conftest
$ac_exeext &&
15847 $as_test_x conftest
$ac_exeext; then
15850 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'` ;;
15851 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.
$ac_ext >&5
15860 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15861 conftest
$ac_exeext conftest.
$ac_ext
15862 LIBS
=$ac_check_soname_save_LIBS
15864 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15865 { echo "$as_me:$LINENO: result: not found" >&5
15866 echo "${ECHO_T}not found" >&6; }
15867 cat >>confdefs.h
<<_ACEOF
15868 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15873 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15875 cat >>confdefs.h
<<_ACEOF
15876 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15883 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15884 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15885 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15886 "$ac_cv_header_soundcard_h" != "yes" -a \
15887 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15889 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15895 if test "x${GCC}" = "xyes"
15897 EXTRACFLAGS
="-Wall -pipe"
15899 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15900 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15901 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15902 echo $ECHO_N "(cached) $ECHO_C" >&6
15904 if test "$cross_compiling" = yes; then
15905 ac_cv_c_gcc_strength_bug
="yes"
15907 cat >conftest.
$ac_ext <<_ACEOF
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 int L[4] = {0,1,2,3};
15917 static int Array[3];
15918 unsigned int B = 3;
15920 for(i=0; i<B; i++) Array[i] = i - 3;
15921 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15923 exit( Array[1] != -2 || L[2] != 3)
15928 rm -f conftest
$ac_exeext
15929 if { (ac_try
="$ac_link"
15930 case "(($ac_try" in
15931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15932 *) ac_try_echo=$ac_try;;
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_link") 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15939 { (case "(($ac_try" in
15940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15941 *) ac_try_echo
=$ac_try;;
15943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15944 (eval "$ac_try") 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; }; then
15948 ac_cv_c_gcc_strength_bug
="no"
15950 echo "$as_me: program exited with status $ac_status" >&5
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.
$ac_ext >&5
15954 ( exit $ac_status )
15955 ac_cv_c_gcc_strength_bug
="yes"
15957 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15962 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15963 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15964 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15966 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15970 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15971 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15972 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15975 ac_wine_try_cflags_saved
=$CFLAGS
15976 CFLAGS
="$CFLAGS -fshort-wchar"
15977 cat >conftest.
$ac_ext <<_ACEOF
15980 cat confdefs.h
>>conftest.
$ac_ext
15981 cat >>conftest.
$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15992 rm -f conftest.
$ac_objext conftest
$ac_exeext
15993 if { (ac_try
="$ac_link"
15994 case "(($ac_try" in
15995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15996 *) ac_try_echo=$ac_try;;
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_link") 2>conftest.er1
16001 grep -v '^ *+' conftest.er1 >conftest.err
16003 cat conftest.err >&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } && {
16006 test -z "$ac_c_werror_flag" ||
16007 test ! -s conftest.err
16008 } && test -s conftest$ac_exeext &&
16009 $as_test_x conftest$ac_exeext; then
16010 ac_cv_cflags__fshort_wchar=yes
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.$ac_ext >&5
16015 ac_cv_cflags__fshort_wchar=no
16018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16019 conftest$ac_exeext conftest.$ac_ext
16020 CFLAGS=$ac_wine_try_cflags_saved
16022 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16023 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16024 if test $ac_cv_cflags__fshort_wchar = yes; then
16026 cat >>confdefs.h <<\_ACEOF
16027 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16032 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16033 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16034 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16035 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 ac_wine_try_cflags_saved=$CFLAGS
16038 CFLAGS="$CFLAGS -fno-strict-aliasing"
16039 cat >conftest.$ac_ext <<_ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16054 rm -f conftest.$ac_objext conftest$ac_exeext
16055 if { (ac_try="$ac_link"
16056 case "(($ac_try" in
16057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16058 *) ac_try_echo
=$ac_try;;
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_link") 2>conftest.er1
16063 grep -v '^ *+' conftest.er1
>conftest.err
16065 cat conftest.err
>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } && {
16068 test -z "$ac_c_werror_flag" ||
16069 test ! -s conftest.err
16070 } && test -s conftest
$ac_exeext &&
16071 $as_test_x conftest
$ac_exeext; then
16072 ac_cv_cflags__fno_strict_aliasing
=yes
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.
$ac_ext >&5
16077 ac_cv_cflags__fno_strict_aliasing
=no
16080 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16081 conftest
$ac_exeext conftest.
$ac_ext
16082 CFLAGS
=$ac_wine_try_cflags_saved
16084 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16085 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16086 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16087 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
16090 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16091 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16092 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 ac_wine_try_cflags_saved
=$CFLAGS
16096 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
16097 cat >conftest.
$ac_ext <<_ACEOF
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16112 rm -f conftest.
$ac_objext conftest
$ac_exeext
16113 if { (ac_try
="$ac_link"
16114 case "(($ac_try" in
16115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16116 *) ac_try_echo=$ac_try;;
16118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16119 (eval "$ac_link") 2>conftest.er1
16121 grep -v '^ *+' conftest.er1 >conftest.err
16123 cat conftest.err >&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } && {
16126 test -z "$ac_c_werror_flag" ||
16127 test ! -s conftest.err
16128 } && test -s conftest$ac_exeext &&
16129 $as_test_x conftest$ac_exeext; then
16130 ac_cv_cflags__Wdeclaration_after_statement=yes
16132 echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.$ac_ext >&5
16135 ac_cv_cflags__Wdeclaration_after_statement=no
16138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16139 conftest$ac_exeext conftest.$ac_ext
16140 CFLAGS=$ac_wine_try_cflags_saved
16142 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16143 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16144 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16145 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16148 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16149 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16150 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6
16153 ac_wine_try_cflags_saved=$CFLAGS
16154 CFLAGS="$CFLAGS -Wwrite-strings"
16155 cat >conftest.$ac_ext <<_ACEOF
16158 cat confdefs.h >>conftest.$ac_ext
16159 cat >>conftest.$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16170 rm -f conftest.$ac_objext conftest$ac_exeext
16171 if { (ac_try="$ac_link"
16172 case "(($ac_try" in
16173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16174 *) ac_try_echo
=$ac_try;;
16176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16177 (eval "$ac_link") 2>conftest.er1
16179 grep -v '^ *+' conftest.er1
>conftest.err
16181 cat conftest.err
>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } && {
16184 test -z "$ac_c_werror_flag" ||
16185 test ! -s conftest.err
16186 } && test -s conftest
$ac_exeext &&
16187 $as_test_x conftest
$ac_exeext; then
16188 ac_cv_cflags__Wwrite_strings
=yes
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.
$ac_ext >&5
16193 ac_cv_cflags__Wwrite_strings
=no
16196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16197 conftest
$ac_exeext conftest.
$ac_ext
16198 CFLAGS
=$ac_wine_try_cflags_saved
16200 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16201 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16202 if test $ac_cv_cflags__Wwrite_strings = yes; then
16203 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16206 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16207 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16208 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 ac_wine_try_cflags_saved
=$CFLAGS
16212 CFLAGS
="$CFLAGS -Wtype-limits"
16213 cat >conftest.
$ac_ext <<_ACEOF
16216 cat confdefs.h
>>conftest.
$ac_ext
16217 cat >>conftest.
$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16228 rm -f conftest.
$ac_objext conftest
$ac_exeext
16229 if { (ac_try
="$ac_link"
16230 case "(($ac_try" in
16231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16232 *) ac_try_echo=$ac_try;;
16234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16235 (eval "$ac_link") 2>conftest.er1
16237 grep -v '^ *+' conftest.er1 >conftest.err
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } && {
16242 test -z "$ac_c_werror_flag" ||
16243 test ! -s conftest.err
16244 } && test -s conftest$ac_exeext &&
16245 $as_test_x conftest$ac_exeext; then
16246 ac_cv_cflags__Wtype_limits=yes
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.$ac_ext >&5
16251 ac_cv_cflags__Wtype_limits=no
16254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16255 conftest$ac_exeext conftest.$ac_ext
16256 CFLAGS=$ac_wine_try_cflags_saved
16258 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16259 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16260 if test $ac_cv_cflags__Wtype_limits = yes; then
16261 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16265 saved_CFLAGS="$CFLAGS"
16266 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16267 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16268 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16269 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16270 echo $ECHO_N "(cached) $ECHO_C" >&6
16272 cat >conftest.$ac_ext <<_ACEOF
16275 cat confdefs.h >>conftest.$ac_ext
16276 cat >>conftest.$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 #include <string.h>
16287 rm -f conftest.$ac_objext
16288 if { (ac_try="$ac_compile"
16289 case "(($ac_try" in
16290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16291 *) ac_try_echo
=$ac_try;;
16293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16294 (eval "$ac_compile") 2>conftest.er1
16296 grep -v '^ *+' conftest.er1
>conftest.err
16298 cat conftest.err
>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } && {
16301 test -z "$ac_c_werror_flag" ||
16302 test ! -s conftest.err
16303 } && test -s conftest.
$ac_objext; then
16304 ac_cv_c_string_h_warnings
=no
16306 echo "$as_me: failed program was:" >&5
16307 sed 's/^/| /' conftest.
$ac_ext >&5
16309 ac_cv_c_string_h_warnings
=yes
16312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16314 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16315 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16316 CFLAGS
="$saved_CFLAGS"
16317 if test "$ac_cv_c_string_h_warnings" = "no"
16319 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16324 saved_CFLAGS
="$CFLAGS"
16325 CFLAGS
="$CFLAGS -Werror"
16326 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16327 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16328 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 cat >conftest.
$ac_ext <<_ACEOF
16334 cat confdefs.h
>>conftest.
$ac_ext
16335 cat >>conftest.
$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16341 int iswlower(unsigned short);
16346 rm -f conftest.
$ac_objext
16347 if { (ac_try
="$ac_compile"
16348 case "(($ac_try" in
16349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16353 (eval "$ac_compile") 2>conftest.er1
16355 grep -v '^ *+' conftest.er1 >conftest.err
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } && {
16360 test -z "$ac_c_werror_flag" ||
16361 test ! -s conftest.err
16362 } && test -s conftest.$ac_objext; then
16363 ac_cv_c_builtin_wchar_ctype=no
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.$ac_ext >&5
16368 ac_cv_c_builtin_wchar_ctype=yes
16371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16373 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16374 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16375 CFLAGS="$saved_CFLAGS"
16376 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16378 BUILTINFLAG="-fno-builtin"
16383 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16384 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16385 if test "${ac_cv_asm_func_def+set}" = set; then
16386 echo $ECHO_N "(cached) $ECHO_C" >&6
16388 cat >conftest.$ac_ext <<_ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16398 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16403 rm -f conftest.$ac_objext conftest$ac_exeext
16404 if { (ac_try="$ac_link"
16405 case "(($ac_try" in
16406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16407 *) ac_try_echo
=$ac_try;;
16409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16410 (eval "$ac_link") 2>conftest.er1
16412 grep -v '^ *+' conftest.er1
>conftest.err
16414 cat conftest.err
>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); } && {
16417 test -z "$ac_c_werror_flag" ||
16418 test ! -s conftest.err
16419 } && test -s conftest
$ac_exeext &&
16420 $as_test_x conftest
$ac_exeext; then
16421 ac_cv_asm_func_def
=".def"
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.
$ac_ext >&5
16426 cat >conftest.
$ac_ext <<_ACEOF
16429 cat confdefs.h
>>conftest.
$ac_ext
16430 cat >>conftest.
$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16436 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16441 rm -f conftest.
$ac_objext conftest
$ac_exeext
16442 if { (ac_try
="$ac_link"
16443 case "(($ac_try" in
16444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16445 *) ac_try_echo=$ac_try;;
16447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16448 (eval "$ac_link") 2>conftest.er1
16450 grep -v '^ *+' conftest.er1 >conftest.err
16452 cat conftest.err >&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } && {
16455 test -z "$ac_c_werror_flag" ||
16456 test ! -s conftest.err
16457 } && test -s conftest$ac_exeext &&
16458 $as_test_x conftest$ac_exeext; then
16459 ac_cv_asm_func_def=".type @function"
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16464 cat >conftest.$ac_ext <<_ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16474 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16479 rm -f conftest.$ac_objext conftest$ac_exeext
16480 if { (ac_try="$ac_link"
16481 case "(($ac_try" in
16482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16483 *) ac_try_echo
=$ac_try;;
16485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16486 (eval "$ac_link") 2>conftest.er1
16488 grep -v '^ *+' conftest.er1
>conftest.err
16490 cat conftest.err
>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); } && {
16493 test -z "$ac_c_werror_flag" ||
16494 test ! -s conftest.err
16495 } && test -s conftest
$ac_exeext &&
16496 $as_test_x conftest
$ac_exeext; then
16497 ac_cv_asm_func_def
=".type 2"
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16502 ac_cv_asm_func_def
="unknown"
16505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16506 conftest
$ac_exeext conftest.
$ac_ext
16509 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16510 conftest
$ac_exeext conftest.
$ac_ext
16513 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16514 conftest
$ac_exeext conftest.
$ac_ext
16516 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16517 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16521 case "$ac_cv_asm_func_def" in
16523 cat >>confdefs.h
<<\_ACEOF
16524 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16528 cat >>confdefs.h
<<\_ACEOF
16529 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16533 cat >>confdefs.h
<<\_ACEOF
16534 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16538 cat >>confdefs.h
<<\_ACEOF
16539 #define __ASM_FUNC(name) ""
16545 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16546 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16547 if test "${ac_cv_c_extern_prefix+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16550 cat >conftest.
$ac_ext <<_ACEOF
16553 cat confdefs.h
>>conftest.
$ac_ext
16554 cat >>conftest.
$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16556 extern int ac_test;
16560 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16565 rm -f conftest.
$ac_objext conftest
$ac_exeext
16566 if { (ac_try
="$ac_link"
16567 case "(($ac_try" in
16568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16569 *) ac_try_echo=$ac_try;;
16571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16572 (eval "$ac_link") 2>conftest.er1
16574 grep -v '^ *+' conftest.er1 >conftest.err
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } && {
16579 test -z "$ac_c_werror_flag" ||
16580 test ! -s conftest.err
16581 } && test -s conftest$ac_exeext &&
16582 $as_test_x conftest$ac_exeext; then
16583 ac_cv_c_extern_prefix="yes"
16585 echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.$ac_ext >&5
16588 ac_cv_c_extern_prefix="no"
16591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16592 conftest$ac_exeext conftest.$ac_ext
16594 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16595 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16599 if test "$ac_cv_c_extern_prefix" = "yes"
16601 cat >>confdefs.h <<\_ACEOF
16602 #define __ASM_NAME(name) "_" name
16606 cat >>confdefs.h <<\_ACEOF
16607 #define __ASM_NAME(name) name
16617 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16621 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16623 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16627 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16635 SOCKETLIBS="-lws2_32"
16640 MAIN_BINARY="wine-pthread"
16644 linux* | k*bsd*-gnu)
16645 MAIN_BINARY="wine-glibc"
16647 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16650 MAIN_BINARY="wine-freebsd"
16652 EXTRA_BINARIES="wine-pthread"
16800 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 cat >conftest.$ac_ext <<_ACEOF
16809 cat confdefs.h >>conftest.$ac_ext
16810 cat >>conftest.$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16814 #define $ac_func innocuous_$ac_func
16816 /* System header to define __stub macros and hopefully few prototypes,
16817 which can conflict with char $ac_func (); below.
16818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16819 <limits.h> exists even on freestanding compilers. */
16822 # include <limits.h>
16824 # include <assert.h>
16829 /* Override any GCC internal prototype to avoid an error.
16830 Use char because int might match the return type of a GCC
16831 builtin and then its argument prototype would still apply. */
16836 /* The GNU C library defines this for functions which it implements
16837 to always fail with ENOSYS. Some functions are actually named
16838 something starting with __ and the normal name is an alias. */
16839 #if defined __stub_$ac_func || defined __stub___$ac_func
16846 return $ac_func ();
16851 rm -f conftest.$ac_objext conftest$ac_exeext
16852 if { (ac_try="$ac_link"
16853 case "(($ac_try" in
16854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16855 *) ac_try_echo
=$ac_try;;
16857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16858 (eval "$ac_link") 2>conftest.er1
16860 grep -v '^ *+' conftest.er1
>conftest.err
16862 cat conftest.err
>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } && {
16865 test -z "$ac_c_werror_flag" ||
16866 test ! -s conftest.err
16867 } && test -s conftest
$ac_exeext &&
16868 $as_test_x conftest
$ac_exeext; then
16869 eval "$as_ac_var=yes"
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.
$ac_ext >&5
16874 eval "$as_ac_var=no"
16877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16878 conftest
$ac_exeext conftest.
$ac_ext
16880 ac_res
=`eval echo '${'$as_ac_var'}'`
16881 { echo "$as_me:$LINENO: result: $ac_res" >&5
16882 echo "${ECHO_T}$ac_res" >&6; }
16883 if test `eval echo '${'$as_ac_var'}'` = yes; then
16884 cat >>confdefs.h
<<_ACEOF
16885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16892 if test "$ac_cv_func_dlopen" = no
16894 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16897 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 ac_check_lib_save_LIBS
=$LIBS
16901 cat >conftest.
$ac_ext <<_ACEOF
16904 cat confdefs.h
>>conftest.
$ac_ext
16905 cat >>conftest.
$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16908 /* Override any GCC internal prototype to avoid an error.
16909 Use char because int might match the return type of a GCC
16910 builtin and then its argument prototype would still apply. */
16923 rm -f conftest.
$ac_objext conftest
$ac_exeext
16924 if { (ac_try
="$ac_link"
16925 case "(($ac_try" in
16926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16927 *) ac_try_echo=$ac_try;;
16929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16930 (eval "$ac_link") 2>conftest.er1
16932 grep -v '^ *+' conftest.er1 >conftest.err
16934 cat conftest.err >&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } && {
16937 test -z "$ac_c_werror_flag" ||
16938 test ! -s conftest.err
16939 } && test -s conftest$ac_exeext &&
16940 $as_test_x conftest$ac_exeext; then
16941 ac_cv_lib_dl_dlopen=yes
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.$ac_ext >&5
16946 ac_cv_lib_dl_dlopen=no
16949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16950 conftest$ac_exeext conftest.$ac_ext
16951 LIBS=$ac_check_lib_save_LIBS
16953 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16954 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16955 if test $ac_cv_lib_dl_dlopen = yes; then
16956 cat >>confdefs.h <<\_ACEOF
16957 #define HAVE_DLOPEN 1
16964 ac_wine_check_funcs_save_LIBS="$LIBS"
16965 LIBS="$LIBS $LIBDL"
16967 for ac_func in dladdr
16969 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16973 echo $ECHO_N "(cached) $ECHO_C" >&6
16975 cat >conftest.$ac_ext <<_ACEOF
16978 cat confdefs.h >>conftest.$ac_ext
16979 cat >>conftest.$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16983 #define $ac_func innocuous_$ac_func
16985 /* System header to define __stub macros and hopefully few prototypes,
16986 which can conflict with char $ac_func (); below.
16987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16988 <limits.h> exists even on freestanding compilers. */
16991 # include <limits.h>
16993 # include <assert.h>
16998 /* Override any GCC internal prototype to avoid an error.
16999 Use char because int might match the return type of a GCC
17000 builtin and then its argument prototype would still apply. */
17005 /* The GNU C library defines this for functions which it implements
17006 to always fail with ENOSYS. Some functions are actually named
17007 something starting with __ and the normal name is an alias. */
17008 #if defined __stub_$ac_func || defined __stub___$ac_func
17015 return $ac_func ();
17020 rm -f conftest.$ac_objext conftest$ac_exeext
17021 if { (ac_try="$ac_link"
17022 case "(($ac_try" in
17023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17024 *) ac_try_echo
=$ac_try;;
17026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17027 (eval "$ac_link") 2>conftest.er1
17029 grep -v '^ *+' conftest.er1
>conftest.err
17031 cat conftest.err
>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } && {
17034 test -z "$ac_c_werror_flag" ||
17035 test ! -s conftest.err
17036 } && test -s conftest
$ac_exeext &&
17037 $as_test_x conftest
$ac_exeext; then
17038 eval "$as_ac_var=yes"
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.
$ac_ext >&5
17043 eval "$as_ac_var=no"
17046 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17047 conftest
$ac_exeext conftest.
$ac_ext
17049 ac_res
=`eval echo '${'$as_ac_var'}'`
17050 { echo "$as_me:$LINENO: result: $ac_res" >&5
17051 echo "${ECHO_T}$ac_res" >&6; }
17052 if test `eval echo '${'$as_ac_var'}'` = yes; then
17053 cat >>confdefs.h
<<_ACEOF
17054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17060 LIBS
="$ac_wine_check_funcs_save_LIBS"
17062 if test "$ac_cv_func_poll" = no
17064 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17065 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17066 if test "${ac_cv_lib_poll_poll+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 ac_check_lib_save_LIBS
=$LIBS
17070 LIBS
="-lpoll $LIBS"
17071 cat >conftest.
$ac_ext <<_ACEOF
17074 cat confdefs.h
>>conftest.
$ac_ext
17075 cat >>conftest.
$ac_ext <<_ACEOF
17076 /* end confdefs.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. */
17093 rm -f conftest.
$ac_objext conftest
$ac_exeext
17094 if { (ac_try
="$ac_link"
17095 case "(($ac_try" in
17096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_link") 2>conftest.er1
17102 grep -v '^ *+' conftest.er1 >conftest.err
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } && {
17107 test -z "$ac_c_werror_flag" ||
17108 test ! -s conftest.err
17109 } && test -s conftest$ac_exeext &&
17110 $as_test_x conftest$ac_exeext; then
17111 ac_cv_lib_poll_poll=yes
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17116 ac_cv_lib_poll_poll=no
17119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17120 conftest$ac_exeext conftest.$ac_ext
17121 LIBS=$ac_check_lib_save_LIBS
17123 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17124 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17125 if test $ac_cv_lib_poll_poll = yes; then
17126 cat >>confdefs.h <<\_ACEOF
17127 #define HAVE_POLL 1
17135 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17136 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17137 if test "${ac_cv_search_gethostbyname+set}" = set; then
17138 echo $ECHO_N "(cached) $ECHO_C" >&6
17140 ac_func_search_save_LIBS=$LIBS
17141 cat >conftest.$ac_ext <<_ACEOF
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17148 /* Override any GCC internal prototype to avoid an error.
17149 Use char because int might match the return type of a GCC
17150 builtin and then its argument prototype would still apply. */
17154 char gethostbyname ();
17158 return gethostbyname ();
17163 for ac_lib in '' nsl; do
17164 if test -z "$ac_lib"; then
17165 ac_res="none required"
17168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17170 rm -f conftest.$ac_objext conftest$ac_exeext
17171 if { (ac_try="$ac_link"
17172 case "(($ac_try" in
17173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17174 *) ac_try_echo
=$ac_try;;
17176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17177 (eval "$ac_link") 2>conftest.er1
17179 grep -v '^ *+' conftest.er1
>conftest.err
17181 cat conftest.err
>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } && {
17184 test -z "$ac_c_werror_flag" ||
17185 test ! -s conftest.err
17186 } && test -s conftest
$ac_exeext &&
17187 $as_test_x conftest
$ac_exeext; then
17188 ac_cv_search_gethostbyname
=$ac_res
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.
$ac_ext >&5
17196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17198 if test "${ac_cv_search_gethostbyname+set}" = set; then
17202 if test "${ac_cv_search_gethostbyname+set}" = set; then
17205 ac_cv_search_gethostbyname
=no
17207 rm conftest.
$ac_ext
17208 LIBS
=$ac_func_search_save_LIBS
17210 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17211 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17212 ac_res
=$ac_cv_search_gethostbyname
17213 if test "$ac_res" != no
; then
17214 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17219 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17220 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17221 if test "${ac_cv_search_connect+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 ac_func_search_save_LIBS
=$LIBS
17225 cat >conftest.
$ac_ext <<_ACEOF
17228 cat confdefs.h
>>conftest.
$ac_ext
17229 cat >>conftest.
$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17232 /* Override any GCC internal prototype to avoid an error.
17233 Use char because int might match the return type of a GCC
17234 builtin and then its argument prototype would still apply. */
17247 for ac_lib
in '' socket
; do
17248 if test -z "$ac_lib"; then
17249 ac_res
="none required"
17252 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17254 rm -f conftest.
$ac_objext conftest
$ac_exeext
17255 if { (ac_try
="$ac_link"
17256 case "(($ac_try" in
17257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17258 *) ac_try_echo=$ac_try;;
17260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17261 (eval "$ac_link") 2>conftest.er1
17263 grep -v '^ *+' conftest.er1 >conftest.err
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } && {
17268 test -z "$ac_c_werror_flag" ||
17269 test ! -s conftest.err
17270 } && test -s conftest$ac_exeext &&
17271 $as_test_x conftest$ac_exeext; then
17272 ac_cv_search_connect=$ac_res
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17282 if test "${ac_cv_search_connect+set}" = set; then
17286 if test "${ac_cv_search_connect+set}" = set; then
17289 ac_cv_search_connect=no
17291 rm conftest.$ac_ext
17292 LIBS=$ac_func_search_save_LIBS
17294 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17295 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17296 ac_res=$ac_cv_search_connect
17297 if test "$ac_res" != no; then
17298 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17303 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17304 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17305 if test "${ac_cv_search_inet_aton+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 ac_func_search_save_LIBS=$LIBS
17309 cat >conftest.$ac_ext <<_ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17316 /* Override any GCC internal prototype to avoid an error.
17317 Use char because int might match the return type of a GCC
17318 builtin and then its argument prototype would still apply. */
17326 return inet_aton ();
17331 for ac_lib in '' resolv; do
17332 if test -z "$ac_lib"; then
17333 ac_res="none required"
17336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17338 rm -f conftest.$ac_objext conftest$ac_exeext
17339 if { (ac_try="$ac_link"
17340 case "(($ac_try" in
17341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17342 *) ac_try_echo
=$ac_try;;
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>conftest.er1
17347 grep -v '^ *+' conftest.er1
>conftest.err
17349 cat conftest.err
>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && {
17352 test -z "$ac_c_werror_flag" ||
17353 test ! -s conftest.err
17354 } && test -s conftest
$ac_exeext &&
17355 $as_test_x conftest
$ac_exeext; then
17356 ac_cv_search_inet_aton
=$ac_res
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.
$ac_ext >&5
17364 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17366 if test "${ac_cv_search_inet_aton+set}" = set; then
17370 if test "${ac_cv_search_inet_aton+set}" = set; then
17373 ac_cv_search_inet_aton
=no
17375 rm conftest.
$ac_ext
17376 LIBS
=$ac_func_search_save_LIBS
17378 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17379 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17380 ac_res
=$ac_cv_search_inet_aton
17381 if test "$ac_res" != no
; then
17382 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17409 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 cat >conftest.
$ac_ext <<_ACEOF
17415 cat confdefs.h
>>conftest.
$ac_ext
17416 cat >>conftest.
$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17420 #define $ac_func innocuous_$ac_func
17422 /* System header to define __stub macros and hopefully few prototypes,
17423 which can conflict with char $ac_func (); below.
17424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17425 <limits.h> exists even on freestanding compilers. */
17428 # include <limits.h>
17430 # include <assert.h>
17435 /* Override any GCC internal prototype to avoid an error.
17436 Use char because int might match the return type of a GCC
17437 builtin and then its argument prototype would still apply. */
17442 /* The GNU C library defines this for functions which it implements
17443 to always fail with ENOSYS. Some functions are actually named
17444 something starting with __ and the normal name is an alias. */
17445 #if defined __stub_$ac_func || defined __stub___$ac_func
17452 return $ac_func ();
17457 rm -f conftest.
$ac_objext conftest
$ac_exeext
17458 if { (ac_try
="$ac_link"
17459 case "(($ac_try" in
17460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17466 grep -v '^ *+' conftest.er1 >conftest.err
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest$ac_exeext &&
17474 $as_test_x conftest$ac_exeext; then
17475 eval "$as_ac_var=yes"
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 eval "$as_ac_var=no"
17483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17484 conftest$ac_exeext conftest.$ac_ext
17486 ac_res=`eval echo '${'$as_ac_var'}'`
17487 { echo "$as_me:$LINENO: result: $ac_res" >&5
17488 echo "${ECHO_T}$ac_res" >&6; }
17489 if test `eval echo '${'$as_ac_var'}'` = yes; then
17490 cat >>confdefs.h <<_ACEOF
17491 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17499 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17500 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17501 if test "${ac_cv_c_const+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 cat >conftest.$ac_ext <<_ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17514 /* FIXME: Include the comments suggested by Paul. */
17515 #ifndef __cplusplus
17516 /* Ultrix mips cc rejects this. */
17517 typedef int charset[2];
17519 /* SunOS 4.1.1 cc rejects this. */
17520 char const *const *pcpcc;
17522 /* NEC SVR4.0.2 mips cc rejects this. */
17523 struct point {int x, y;};
17524 static struct point const zero = {0,0};
17525 /* AIX XL C 1.02.0.0 rejects this.
17526 It does not let you subtract one const X* pointer from another in
17527 an arm of an if-expression whose if-part is not a constant
17529 const char *g = "string";
17530 pcpcc = &g + (g ? g-g : 0);
17531 /* HPUX 7.0 cc rejects these. */
17533 ppc = (char**) pcpcc;
17534 pcpcc = (char const *const *) ppc;
17535 { /* SCO 3.2v4 cc rejects this. */
17537 char const *s = 0 ? (char *) 0 : (char const *) 0;
17542 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17543 int x[] = {25, 17};
17544 const int *foo = &x[0];
17547 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17548 typedef const int *iptr;
17552 { /* AIX XL C 1.02.0.0 rejects this saying
17553 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17554 struct s { int j; const int *ap[3]; };
17555 struct s *b; b->j = 5;
17557 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17558 const int foo = 10;
17559 if (!foo) return 0;
17561 return !cs[0] && !zero.x;
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17572 *) ac_try_echo
=$ac_try;;
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1
>conftest.err
17579 cat conftest.err
>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.
$ac_objext; then
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.
$ac_ext >&5
17593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17595 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17596 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17597 if test $ac_cv_c_const = no
; then
17599 cat >>confdefs.h
<<\_ACEOF
17605 { echo "$as_me:$LINENO: checking for inline" >&5
17606 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17607 if test "${ac_cv_c_inline+set}" = set; then
17608 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 for ac_kw
in inline __inline__ __inline
; do
17612 cat >conftest.
$ac_ext <<_ACEOF
17615 cat confdefs.h
>>conftest.
$ac_ext
17616 cat >>conftest.
$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 #ifndef __cplusplus
17620 static $ac_kw foo_t static_foo () {return 0; }
17621 $ac_kw foo_t foo () {return 0; }
17625 rm -f conftest.
$ac_objext
17626 if { (ac_try
="$ac_compile"
17627 case "(($ac_try" in
17628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17629 *) ac_try_echo=$ac_try;;
17631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17632 (eval "$ac_compile") 2>conftest.er1
17634 grep -v '^ *+' conftest.er1 >conftest.err
17636 cat conftest.err >&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } && {
17639 test -z "$ac_c_werror_flag" ||
17640 test ! -s conftest.err
17641 } && test -s conftest.$ac_objext; then
17642 ac_cv_c_inline=$ac_kw
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 test "$ac_cv_c_inline" != no && break
17655 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17656 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17659 case $ac_cv_c_inline in
17662 case $ac_cv_c_inline in
17664 *) ac_val=$ac_cv_c_inline;;
17666 cat >>confdefs.h <<_ACEOF
17667 #ifndef __cplusplus
17668 #define inline $ac_val
17674 { echo "$as_me:$LINENO: checking for mode_t" >&5
17675 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17676 if test "${ac_cv_type_mode_t+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 cat >conftest.$ac_ext <<_ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17686 typedef mode_t ac__type_new_;
17690 if ((ac__type_new_ *) 0)
17692 if (sizeof (ac__type_new_))
17698 rm -f conftest.$ac_objext
17699 if { (ac_try="$ac_compile"
17700 case "(($ac_try" in
17701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17702 *) ac_try_echo
=$ac_try;;
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_compile") 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && {
17712 test -z "$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17714 } && test -s conftest.
$ac_objext; then
17715 ac_cv_type_mode_t
=yes
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.
$ac_ext >&5
17720 ac_cv_type_mode_t
=no
17723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17725 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17726 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17727 if test $ac_cv_type_mode_t = yes; then
17729 cat >>confdefs.h
<<_ACEOF
17730 #define HAVE_MODE_T 1
17735 { echo "$as_me:$LINENO: checking for off_t" >&5
17736 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17737 if test "${ac_cv_type_off_t+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 cat >conftest.
$ac_ext <<_ACEOF
17743 cat confdefs.h
>>conftest.
$ac_ext
17744 cat >>conftest.
$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 $ac_includes_default
17747 typedef off_t ac__type_new_;
17751 if ((ac__type_new_ *) 0)
17753 if (sizeof (ac__type_new_))
17759 rm -f conftest.
$ac_objext
17760 if { (ac_try
="$ac_compile"
17761 case "(($ac_try" in
17762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17763 *) ac_try_echo=$ac_try;;
17765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17766 (eval "$ac_compile") 2>conftest.er1
17768 grep -v '^ *+' conftest.er1 >conftest.err
17770 cat conftest.err >&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } && {
17773 test -z "$ac_c_werror_flag" ||
17774 test ! -s conftest.err
17775 } && test -s conftest.$ac_objext; then
17776 ac_cv_type_off_t=yes
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.$ac_ext >&5
17781 ac_cv_type_off_t=no
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17787 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17788 if test $ac_cv_type_off_t = yes; then
17790 cat >>confdefs.h <<_ACEOF
17791 #define HAVE_OFF_T 1
17796 { echo "$as_me:$LINENO: checking for pid_t" >&5
17797 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17798 if test "${ac_cv_type_pid_t+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 cat >conftest.$ac_ext <<_ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 $ac_includes_default
17808 typedef pid_t ac__type_new_;
17812 if ((ac__type_new_ *) 0)
17814 if (sizeof (ac__type_new_))
17820 rm -f conftest.$ac_objext
17821 if { (ac_try="$ac_compile"
17822 case "(($ac_try" in
17823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17824 *) ac_try_echo
=$ac_try;;
17826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 (eval "$ac_compile") 2>conftest.er1
17829 grep -v '^ *+' conftest.er1
>conftest.err
17831 cat conftest.err
>&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } && {
17834 test -z "$ac_c_werror_flag" ||
17835 test ! -s conftest.err
17836 } && test -s conftest.
$ac_objext; then
17837 ac_cv_type_pid_t
=yes
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.
$ac_ext >&5
17842 ac_cv_type_pid_t
=no
17845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17847 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17848 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17849 if test $ac_cv_type_pid_t = yes; then
17851 cat >>confdefs.h
<<_ACEOF
17852 #define HAVE_PID_T 1
17857 { echo "$as_me:$LINENO: checking for size_t" >&5
17858 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17859 if test "${ac_cv_type_size_t+set}" = set; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17862 cat >conftest.
$ac_ext <<_ACEOF
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 $ac_includes_default
17869 typedef size_t ac__type_new_;
17873 if ((ac__type_new_ *) 0)
17875 if (sizeof (ac__type_new_))
17881 rm -f conftest.
$ac_objext
17882 if { (ac_try
="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17890 grep -v '^ *+' conftest.er1 >conftest.err
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 ac_cv_type_size_t=yes
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17903 ac_cv_type_size_t=no
17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17908 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17909 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17910 if test $ac_cv_type_size_t = yes; then
17912 cat >>confdefs.h <<_ACEOF
17913 #define HAVE_SIZE_T 1
17918 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17919 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17920 if test "${ac_cv_type_ssize_t+set}" = set; then
17921 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 cat >conftest.$ac_ext <<_ACEOF
17926 cat confdefs.h >>conftest.$ac_ext
17927 cat >>conftest.$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17929 $ac_includes_default
17930 typedef ssize_t ac__type_new_;
17934 if ((ac__type_new_ *) 0)
17936 if (sizeof (ac__type_new_))
17942 rm -f conftest.$ac_objext
17943 if { (ac_try="$ac_compile"
17944 case "(($ac_try" in
17945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17946 *) ac_try_echo
=$ac_try;;
17948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17949 (eval "$ac_compile") 2>conftest.er1
17951 grep -v '^ *+' conftest.er1
>conftest.err
17953 cat conftest.err
>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); } && {
17956 test -z "$ac_c_werror_flag" ||
17957 test ! -s conftest.err
17958 } && test -s conftest.
$ac_objext; then
17959 ac_cv_type_ssize_t
=yes
17961 echo "$as_me: failed program was:" >&5
17962 sed 's/^/| /' conftest.
$ac_ext >&5
17964 ac_cv_type_ssize_t
=no
17967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17969 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17970 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17971 if test $ac_cv_type_ssize_t = yes; then
17973 cat >>confdefs.h
<<_ACEOF
17974 #define HAVE_SSIZE_T 1
17979 { echo "$as_me:$LINENO: checking for long long" >&5
17980 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17981 if test "${ac_cv_type_long_long+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 cat >conftest.
$ac_ext <<_ACEOF
17987 cat confdefs.h
>>conftest.
$ac_ext
17988 cat >>conftest.
$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 typedef long long ac__type_new_;
17995 if ((ac__type_new_ *) 0)
17997 if (sizeof (ac__type_new_))
18003 rm -f conftest.
$ac_objext
18004 if { (ac_try
="$ac_compile"
18005 case "(($ac_try" in
18006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18007 *) ac_try_echo=$ac_try;;
18009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18010 (eval "$ac_compile") 2>conftest.er1
18012 grep -v '^ *+' conftest.er1 >conftest.err
18014 cat conftest.err >&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } && {
18017 test -z "$ac_c_werror_flag" ||
18018 test ! -s conftest.err
18019 } && test -s conftest.$ac_objext; then
18020 ac_cv_type_long_long=yes
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18025 ac_cv_type_long_long=no
18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18030 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18031 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18032 if test $ac_cv_type_long_long = yes; then
18034 cat >>confdefs.h <<_ACEOF
18035 #define HAVE_LONG_LONG 1
18040 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18041 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18042 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.$ac_ext <<_ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 $ac_includes_default
18052 typedef fsblkcnt_t ac__type_new_;
18056 if ((ac__type_new_ *) 0)
18058 if (sizeof (ac__type_new_))
18064 rm -f conftest.$ac_objext
18065 if { (ac_try="$ac_compile"
18066 case "(($ac_try" in
18067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18068 *) ac_try_echo
=$ac_try;;
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18071 (eval "$ac_compile") 2>conftest.er1
18073 grep -v '^ *+' conftest.er1
>conftest.err
18075 cat conftest.err
>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } && {
18078 test -z "$ac_c_werror_flag" ||
18079 test ! -s conftest.err
18080 } && test -s conftest.
$ac_objext; then
18081 ac_cv_type_fsblkcnt_t
=yes
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.
$ac_ext >&5
18086 ac_cv_type_fsblkcnt_t
=no
18089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18091 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18092 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18093 if test $ac_cv_type_fsblkcnt_t = yes; then
18095 cat >>confdefs.h
<<_ACEOF
18096 #define HAVE_FSBLKCNT_T 1
18101 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18102 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18103 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 cat >conftest.
$ac_ext <<_ACEOF
18109 cat confdefs.h
>>conftest.
$ac_ext
18110 cat >>conftest.
$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 $ac_includes_default
18113 typedef fsfilcnt_t ac__type_new_;
18117 if ((ac__type_new_ *) 0)
18119 if (sizeof (ac__type_new_))
18125 rm -f conftest.
$ac_objext
18126 if { (ac_try
="$ac_compile"
18127 case "(($ac_try" in
18128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_compile") 2>conftest.er1
18134 grep -v '^ *+' conftest.er1 >conftest.err
18136 cat conftest.err >&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } && {
18139 test -z "$ac_c_werror_flag" ||
18140 test ! -s conftest.err
18141 } && test -s conftest.$ac_objext; then
18142 ac_cv_type_fsfilcnt_t=yes
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18147 ac_cv_type_fsfilcnt_t=no
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18153 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18154 if test $ac_cv_type_fsfilcnt_t = yes; then
18156 cat >>confdefs.h <<_ACEOF
18157 #define HAVE_FSFILCNT_T 1
18163 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18164 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18165 if test "${ac_cv_type_sigset_t+set}" = set; then
18166 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 cat >conftest.$ac_ext <<_ACEOF
18171 cat confdefs.h >>conftest.$ac_ext
18172 cat >>conftest.$ac_ext <<_ACEOF
18173 /* end confdefs.h. */
18174 #include <signal.h>
18176 typedef sigset_t ac__type_new_;
18180 if ((ac__type_new_ *) 0)
18182 if (sizeof (ac__type_new_))
18188 rm -f conftest.$ac_objext
18189 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in
18191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18192 *) ac_try_echo
=$ac_try;;
18194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 (eval "$ac_compile") 2>conftest.er1
18197 grep -v '^ *+' conftest.er1
>conftest.err
18199 cat conftest.err
>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } && {
18202 test -z "$ac_c_werror_flag" ||
18203 test ! -s conftest.err
18204 } && test -s conftest.
$ac_objext; then
18205 ac_cv_type_sigset_t
=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.
$ac_ext >&5
18210 ac_cv_type_sigset_t
=no
18213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18215 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18216 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18217 if test $ac_cv_type_sigset_t = yes; then
18219 cat >>confdefs.h
<<_ACEOF
18220 #define HAVE_SIGSET_T 1
18226 { echo "$as_me:$LINENO: checking for request_sense" >&5
18227 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18228 if test "${ac_cv_type_request_sense+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 cat >conftest.
$ac_ext <<_ACEOF
18234 cat confdefs.h
>>conftest.
$ac_ext
18235 cat >>conftest.
$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18237 #include <linux/cdrom.h>
18239 typedef request_sense ac__type_new_;
18243 if ((ac__type_new_ *) 0)
18245 if (sizeof (ac__type_new_))
18251 rm -f conftest.
$ac_objext
18252 if { (ac_try
="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18260 grep -v '^ *+' conftest.er1 >conftest.err
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_c_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 ac_cv_type_request_sense=yes
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18273 ac_cv_type_request_sense=no
18276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18279 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18280 if test $ac_cv_type_request_sense = yes; then
18282 cat >>confdefs.h <<_ACEOF
18283 #define HAVE_REQUEST_SENSE 1
18290 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18291 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18292 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18293 echo $ECHO_N "(cached) $ECHO_C" >&6
18295 cat >conftest.$ac_ext <<_ACEOF
18298 cat confdefs.h >>conftest.$ac_ext
18299 cat >>conftest.$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 #ifdef HAVE_LINUX_INPUT_H
18302 #include <linux/input.h>
18308 static struct ff_effect ac_aggr;
18309 if (ac_aggr.direction)
18315 rm -f conftest.$ac_objext
18316 if { (ac_try="$ac_compile"
18317 case "(($ac_try" in
18318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18319 *) ac_try_echo
=$ac_try;;
18321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18322 (eval "$ac_compile") 2>conftest.er1
18324 grep -v '^ *+' conftest.er1
>conftest.err
18326 cat conftest.err
>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } && {
18329 test -z "$ac_c_werror_flag" ||
18330 test ! -s conftest.err
18331 } && test -s conftest.
$ac_objext; then
18332 ac_cv_member_struct_ff_effect_direction
=yes
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.
$ac_ext >&5
18337 cat >conftest.
$ac_ext <<_ACEOF
18340 cat confdefs.h
>>conftest.
$ac_ext
18341 cat >>conftest.
$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 #ifdef HAVE_LINUX_INPUT_H
18344 #include <linux/input.h>
18350 static struct ff_effect ac_aggr;
18351 if (sizeof ac_aggr.direction)
18357 rm -f conftest.
$ac_objext
18358 if { (ac_try
="$ac_compile"
18359 case "(($ac_try" in
18360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18361 *) ac_try_echo=$ac_try;;
18363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18364 (eval "$ac_compile") 2>conftest.er1
18366 grep -v '^ *+' conftest.er1 >conftest.err
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } && {
18371 test -z "$ac_c_werror_flag" ||
18372 test ! -s conftest.err
18373 } && test -s conftest.$ac_objext; then
18374 ac_cv_member_struct_ff_effect_direction=yes
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 ac_cv_member_struct_ff_effect_direction=no
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18388 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18389 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18391 cat >>confdefs.h <<_ACEOF
18392 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18399 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18400 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18401 if test "${wine_cv_have_sigaddset+set}" = set; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6
18404 cat >conftest.$ac_ext <<_ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 #include <signal.h>
18414 sigset_t set; sigaddset(&set,SIGTERM);
18419 rm -f conftest.$ac_objext conftest$ac_exeext
18420 if { (ac_try="$ac_link"
18421 case "(($ac_try" in
18422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18423 *) ac_try_echo
=$ac_try;;
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_link") 2>conftest.er1
18428 grep -v '^ *+' conftest.er1
>conftest.err
18430 cat conftest.err
>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest
$ac_exeext &&
18436 $as_test_x conftest
$ac_exeext; then
18437 wine_cv_have_sigaddset
=yes
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.
$ac_ext >&5
18442 wine_cv_have_sigaddset
=no
18445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18446 conftest
$ac_exeext conftest.
$ac_ext
18448 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18449 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18450 if test "$wine_cv_have_sigaddset" = "yes"
18453 cat >>confdefs.h
<<\_ACEOF
18454 #define HAVE_SIGADDSET 1
18460 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18461 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18462 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 cat >conftest.
$ac_ext <<_ACEOF
18468 cat confdefs.h
>>conftest.
$ac_ext
18469 cat >>conftest.
$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18478 struct hostent *result;
18485 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18486 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18492 rm -f conftest.
$ac_objext conftest
$ac_exeext
18493 if { (ac_try
="$ac_link"
18494 case "(($ac_try" in
18495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18496 *) ac_try_echo=$ac_try;;
18498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18499 (eval "$ac_link") 2>conftest.er1
18501 grep -v '^ *+' conftest.er1 >conftest.err
18503 cat conftest.err >&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); } && {
18506 test -z "$ac_c_werror_flag" ||
18507 test ! -s conftest.err
18508 } && test -s conftest$ac_exeext &&
18509 $as_test_x conftest$ac_exeext; then
18510 wine_cv_linux_gethostbyname_r_6=yes
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18515 wine_cv_linux_gethostbyname_r_6=no
18519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18520 conftest$ac_exeext conftest.$ac_ext
18523 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18524 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18525 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18528 cat >>confdefs.h <<\_ACEOF
18529 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18534 if test "$ac_cv_header_linux_joystick_h" = "yes"
18536 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18537 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18538 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 cat >conftest.$ac_ext <<_ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18548 #include <sys/ioctl.h>
18549 #include <sys/types.h>
18550 #include <linux/joystick.h>
18552 struct js_event blub;
18553 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18554 #error "no 2.2 header"
18565 rm -f conftest.$ac_objext
18566 if { (ac_try="$ac_compile"
18567 case "(($ac_try" in
18568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18569 *) ac_try_echo
=$ac_try;;
18571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18572 (eval "$ac_compile") 2>conftest.er1
18574 grep -v '^ *+' conftest.er1
>conftest.err
18576 cat conftest.err
>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } && {
18579 test -z "$ac_c_werror_flag" ||
18580 test ! -s conftest.err
18581 } && test -s conftest.
$ac_objext; then
18582 wine_cv_linux_joystick_22_api
=yes
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.
$ac_ext >&5
18587 wine_cv_linux_joystick_22_api
=no
18590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18593 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18594 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18595 if test "$wine_cv_linux_joystick_22_api" = "yes"
18598 cat >>confdefs.h
<<\_ACEOF
18599 #define HAVE_LINUX_22_JOYSTICK_API 1
18606 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18607 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18608 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 cat >conftest.
$ac_ext <<_ACEOF
18614 cat confdefs.h
>>conftest.
$ac_ext
18615 cat >>conftest.
$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 #include <sys/types.h>
18618 #ifdef HAVE_SYS_PARAM_H
18619 # include <sys/param.h>
18621 #ifdef HAVE_SYS_MOUNT_H
18622 # include <sys/mount.h>
18624 #ifdef HAVE_SYS_VFS_H
18625 # include <sys/vfs.h>
18627 #ifdef HAVE_SYS_STATFS_H
18628 # include <sys/statfs.h>
18634 static struct statfs ac_aggr;
18635 if (ac_aggr.f_bfree)
18641 rm -f conftest.
$ac_objext
18642 if { (ac_try
="$ac_compile"
18643 case "(($ac_try" in
18644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18645 *) ac_try_echo=$ac_try;;
18647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18648 (eval "$ac_compile") 2>conftest.er1
18650 grep -v '^ *+' conftest.er1 >conftest.err
18652 cat conftest.err >&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); } && {
18655 test -z "$ac_c_werror_flag" ||
18656 test ! -s conftest.err
18657 } && test -s conftest.$ac_objext; then
18658 ac_cv_member_struct_statfs_f_bfree=yes
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.$ac_ext >&5
18663 cat >conftest.$ac_ext <<_ACEOF
18666 cat confdefs.h >>conftest.$ac_ext
18667 cat >>conftest.$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18669 #include <sys/types.h>
18670 #ifdef HAVE_SYS_PARAM_H
18671 # include <sys/param.h>
18673 #ifdef HAVE_SYS_MOUNT_H
18674 # include <sys/mount.h>
18676 #ifdef HAVE_SYS_VFS_H
18677 # include <sys/vfs.h>
18679 #ifdef HAVE_SYS_STATFS_H
18680 # include <sys/statfs.h>
18686 static struct statfs ac_aggr;
18687 if (sizeof ac_aggr.f_bfree)
18693 rm -f conftest.$ac_objext
18694 if { (ac_try="$ac_compile"
18695 case "(($ac_try" in
18696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18697 *) ac_try_echo
=$ac_try;;
18699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18700 (eval "$ac_compile") 2>conftest.er1
18702 grep -v '^ *+' conftest.er1
>conftest.err
18704 cat conftest.err
>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); } && {
18707 test -z "$ac_c_werror_flag" ||
18708 test ! -s conftest.err
18709 } && test -s conftest.
$ac_objext; then
18710 ac_cv_member_struct_statfs_f_bfree
=yes
18712 echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.
$ac_ext >&5
18715 ac_cv_member_struct_statfs_f_bfree
=no
18718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18724 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18725 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18727 cat >>confdefs.h
<<_ACEOF
18728 #define HAVE_STRUCT_STATFS_F_BFREE 1
18733 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18734 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18735 if test "${ac_cv_member_struct_statfs_f_bavail+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 <sys/types.h>
18745 #ifdef HAVE_SYS_PARAM_H
18746 # include <sys/param.h>
18748 #ifdef HAVE_SYS_MOUNT_H
18749 # include <sys/mount.h>
18751 #ifdef HAVE_SYS_VFS_H
18752 # include <sys/vfs.h>
18754 #ifdef HAVE_SYS_STATFS_H
18755 # include <sys/statfs.h>
18761 static struct statfs ac_aggr;
18762 if (ac_aggr.f_bavail)
18768 rm -f conftest.
$ac_objext
18769 if { (ac_try
="$ac_compile"
18770 case "(($ac_try" in
18771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_compile") 2>conftest.er1
18777 grep -v '^ *+' conftest.er1 >conftest.err
18779 cat conftest.err >&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && {
18782 test -z "$ac_c_werror_flag" ||
18783 test ! -s conftest.err
18784 } && test -s conftest.$ac_objext; then
18785 ac_cv_member_struct_statfs_f_bavail=yes
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.$ac_ext >&5
18790 cat >conftest.$ac_ext <<_ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 #include <sys/types.h>
18797 #ifdef HAVE_SYS_PARAM_H
18798 # include <sys/param.h>
18800 #ifdef HAVE_SYS_MOUNT_H
18801 # include <sys/mount.h>
18803 #ifdef HAVE_SYS_VFS_H
18804 # include <sys/vfs.h>
18806 #ifdef HAVE_SYS_STATFS_H
18807 # include <sys/statfs.h>
18813 static struct statfs ac_aggr;
18814 if (sizeof ac_aggr.f_bavail)
18820 rm -f conftest.$ac_objext
18821 if { (ac_try="$ac_compile"
18822 case "(($ac_try" in
18823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18824 *) ac_try_echo
=$ac_try;;
18826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18827 (eval "$ac_compile") 2>conftest.er1
18829 grep -v '^ *+' conftest.er1
>conftest.err
18831 cat conftest.err
>&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); } && {
18834 test -z "$ac_c_werror_flag" ||
18835 test ! -s conftest.err
18836 } && test -s conftest.
$ac_objext; then
18837 ac_cv_member_struct_statfs_f_bavail
=yes
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.
$ac_ext >&5
18842 ac_cv_member_struct_statfs_f_bavail
=no
18845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18850 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18851 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18852 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18854 cat >>confdefs.h
<<_ACEOF
18855 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18860 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18861 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18862 if test "${ac_cv_member_struct_statfs_f_frsize+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 #include <sys/types.h>
18872 #ifdef HAVE_SYS_PARAM_H
18873 # include <sys/param.h>
18875 #ifdef HAVE_SYS_MOUNT_H
18876 # include <sys/mount.h>
18878 #ifdef HAVE_SYS_VFS_H
18879 # include <sys/vfs.h>
18881 #ifdef HAVE_SYS_STATFS_H
18882 # include <sys/statfs.h>
18888 static struct statfs ac_aggr;
18889 if (ac_aggr.f_frsize)
18895 rm -f conftest.
$ac_objext
18896 if { (ac_try
="$ac_compile"
18897 case "(($ac_try" in
18898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18899 *) ac_try_echo=$ac_try;;
18901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18902 (eval "$ac_compile") 2>conftest.er1
18904 grep -v '^ *+' conftest.er1 >conftest.err
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } && {
18909 test -z "$ac_c_werror_flag" ||
18910 test ! -s conftest.err
18911 } && test -s conftest.$ac_objext; then
18912 ac_cv_member_struct_statfs_f_frsize=yes
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18917 cat >conftest.$ac_ext <<_ACEOF
18920 cat confdefs.h >>conftest.$ac_ext
18921 cat >>conftest.$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 #include <sys/types.h>
18924 #ifdef HAVE_SYS_PARAM_H
18925 # include <sys/param.h>
18927 #ifdef HAVE_SYS_MOUNT_H
18928 # include <sys/mount.h>
18930 #ifdef HAVE_SYS_VFS_H
18931 # include <sys/vfs.h>
18933 #ifdef HAVE_SYS_STATFS_H
18934 # include <sys/statfs.h>
18940 static struct statfs ac_aggr;
18941 if (sizeof ac_aggr.f_frsize)
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18951 *) ac_try_echo
=$ac_try;;
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18956 grep -v '^ *+' conftest.er1
>conftest.err
18958 cat conftest.err
>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.
$ac_objext; then
18964 ac_cv_member_struct_statfs_f_frsize
=yes
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 ac_cv_member_struct_statfs_f_frsize
=no
18972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18977 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18978 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18979 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18981 cat >>confdefs.h
<<_ACEOF
18982 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18987 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18988 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18989 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 cat >conftest.
$ac_ext <<_ACEOF
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 #include <sys/types.h>
18999 #ifdef HAVE_SYS_PARAM_H
19000 # include <sys/param.h>
19002 #ifdef HAVE_SYS_MOUNT_H
19003 # include <sys/mount.h>
19005 #ifdef HAVE_SYS_VFS_H
19006 # include <sys/vfs.h>
19008 #ifdef HAVE_SYS_STATFS_H
19009 # include <sys/statfs.h>
19015 static struct statfs ac_aggr;
19016 if (ac_aggr.f_ffree)
19022 rm -f conftest.
$ac_objext
19023 if { (ac_try
="$ac_compile"
19024 case "(($ac_try" in
19025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19026 *) ac_try_echo=$ac_try;;
19028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19029 (eval "$ac_compile") 2>conftest.er1
19031 grep -v '^ *+' conftest.er1 >conftest.err
19033 cat conftest.err >&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } && {
19036 test -z "$ac_c_werror_flag" ||
19037 test ! -s conftest.err
19038 } && test -s conftest.$ac_objext; then
19039 ac_cv_member_struct_statfs_f_ffree=yes
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19044 cat >conftest.$ac_ext <<_ACEOF
19047 cat confdefs.h >>conftest.$ac_ext
19048 cat >>conftest.$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19050 #include <sys/types.h>
19051 #ifdef HAVE_SYS_PARAM_H
19052 # include <sys/param.h>
19054 #ifdef HAVE_SYS_MOUNT_H
19055 # include <sys/mount.h>
19057 #ifdef HAVE_SYS_VFS_H
19058 # include <sys/vfs.h>
19060 #ifdef HAVE_SYS_STATFS_H
19061 # include <sys/statfs.h>
19067 static struct statfs ac_aggr;
19068 if (sizeof ac_aggr.f_ffree)
19074 rm -f conftest.$ac_objext
19075 if { (ac_try="$ac_compile"
19076 case "(($ac_try" in
19077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19078 *) ac_try_echo
=$ac_try;;
19080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19081 (eval "$ac_compile") 2>conftest.er1
19083 grep -v '^ *+' conftest.er1
>conftest.err
19085 cat conftest.err
>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } && {
19088 test -z "$ac_c_werror_flag" ||
19089 test ! -s conftest.err
19090 } && test -s conftest.
$ac_objext; then
19091 ac_cv_member_struct_statfs_f_ffree
=yes
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.
$ac_ext >&5
19096 ac_cv_member_struct_statfs_f_ffree
=no
19099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19104 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19105 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19106 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19108 cat >>confdefs.h
<<_ACEOF
19109 #define HAVE_STRUCT_STATFS_F_FFREE 1
19114 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19115 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19116 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 cat >conftest.
$ac_ext <<_ACEOF
19122 cat confdefs.h
>>conftest.
$ac_ext
19123 cat >>conftest.
$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 #include <sys/types.h>
19126 #ifdef HAVE_SYS_PARAM_H
19127 # include <sys/param.h>
19129 #ifdef HAVE_SYS_MOUNT_H
19130 # include <sys/mount.h>
19132 #ifdef HAVE_SYS_VFS_H
19133 # include <sys/vfs.h>
19135 #ifdef HAVE_SYS_STATFS_H
19136 # include <sys/statfs.h>
19142 static struct statfs ac_aggr;
19143 if (ac_aggr.f_favail)
19149 rm -f conftest.
$ac_objext
19150 if { (ac_try
="$ac_compile"
19151 case "(($ac_try" in
19152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_compile") 2>conftest.er1
19158 grep -v '^ *+' conftest.er1 >conftest.err
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } && {
19163 test -z "$ac_c_werror_flag" ||
19164 test ! -s conftest.err
19165 } && test -s conftest.$ac_objext; then
19166 ac_cv_member_struct_statfs_f_favail=yes
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19171 cat >conftest.$ac_ext <<_ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 #include <sys/types.h>
19178 #ifdef HAVE_SYS_PARAM_H
19179 # include <sys/param.h>
19181 #ifdef HAVE_SYS_MOUNT_H
19182 # include <sys/mount.h>
19184 #ifdef HAVE_SYS_VFS_H
19185 # include <sys/vfs.h>
19187 #ifdef HAVE_SYS_STATFS_H
19188 # include <sys/statfs.h>
19194 static struct statfs ac_aggr;
19195 if (sizeof ac_aggr.f_favail)
19201 rm -f conftest.$ac_objext
19202 if { (ac_try="$ac_compile"
19203 case "(($ac_try" in
19204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19205 *) ac_try_echo
=$ac_try;;
19207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_compile") 2>conftest.er1
19210 grep -v '^ *+' conftest.er1
>conftest.err
19212 cat conftest.err
>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } && {
19215 test -z "$ac_c_werror_flag" ||
19216 test ! -s conftest.err
19217 } && test -s conftest.
$ac_objext; then
19218 ac_cv_member_struct_statfs_f_favail
=yes
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.
$ac_ext >&5
19223 ac_cv_member_struct_statfs_f_favail
=no
19226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19231 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19232 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19233 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19235 cat >>confdefs.h
<<_ACEOF
19236 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19241 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19242 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19243 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19244 echo $ECHO_N "(cached) $ECHO_C" >&6
19246 cat >conftest.
$ac_ext <<_ACEOF
19249 cat confdefs.h
>>conftest.
$ac_ext
19250 cat >>conftest.
$ac_ext <<_ACEOF
19251 /* end confdefs.h. */
19252 #include <sys/types.h>
19253 #ifdef HAVE_SYS_PARAM_H
19254 # include <sys/param.h>
19256 #ifdef HAVE_SYS_MOUNT_H
19257 # include <sys/mount.h>
19259 #ifdef HAVE_SYS_VFS_H
19260 # include <sys/vfs.h>
19262 #ifdef HAVE_SYS_STATFS_H
19263 # include <sys/statfs.h>
19269 static struct statfs ac_aggr;
19270 if (ac_aggr.f_namelen)
19276 rm -f conftest.
$ac_objext
19277 if { (ac_try
="$ac_compile"
19278 case "(($ac_try" in
19279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_compile") 2>conftest.er1
19285 grep -v '^ *+' conftest.er1 >conftest.err
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest.$ac_objext; then
19293 ac_cv_member_struct_statfs_f_namelen=yes
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19298 cat >conftest.$ac_ext <<_ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 #include <sys/types.h>
19305 #ifdef HAVE_SYS_PARAM_H
19306 # include <sys/param.h>
19308 #ifdef HAVE_SYS_MOUNT_H
19309 # include <sys/mount.h>
19311 #ifdef HAVE_SYS_VFS_H
19312 # include <sys/vfs.h>
19314 #ifdef HAVE_SYS_STATFS_H
19315 # include <sys/statfs.h>
19321 static struct statfs ac_aggr;
19322 if (sizeof ac_aggr.f_namelen)
19328 rm -f conftest.$ac_objext
19329 if { (ac_try="$ac_compile"
19330 case "(($ac_try" in
19331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19332 *) ac_try_echo
=$ac_try;;
19334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19335 (eval "$ac_compile") 2>conftest.er1
19337 grep -v '^ *+' conftest.er1
>conftest.err
19339 cat conftest.err
>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } && {
19342 test -z "$ac_c_werror_flag" ||
19343 test ! -s conftest.err
19344 } && test -s conftest.
$ac_objext; then
19345 ac_cv_member_struct_statfs_f_namelen
=yes
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.
$ac_ext >&5
19350 ac_cv_member_struct_statfs_f_namelen
=no
19353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19358 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19359 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19360 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19362 cat >>confdefs.h
<<_ACEOF
19363 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19370 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19371 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19372 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19375 cat >conftest.
$ac_ext <<_ACEOF
19378 cat confdefs.h
>>conftest.
$ac_ext
19379 cat >>conftest.
$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19381 #ifdef HAVE_SYS_STATVFS_H
19382 #include <sys/statvfs.h>
19388 static struct statvfs ac_aggr;
19389 if (ac_aggr.f_blocks)
19395 rm -f conftest.
$ac_objext
19396 if { (ac_try
="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19404 grep -v '^ *+' conftest.er1 >conftest.err
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } && {
19409 test -z "$ac_c_werror_flag" ||
19410 test ! -s conftest.err
19411 } && test -s conftest.$ac_objext; then
19412 ac_cv_member_struct_statvfs_f_blocks=yes
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #ifdef HAVE_SYS_STATVFS_H
19424 #include <sys/statvfs.h>
19430 static struct statvfs ac_aggr;
19431 if (sizeof ac_aggr.f_blocks)
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19441 *) ac_try_echo
=$ac_try;;
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19446 grep -v '^ *+' conftest.er1
>conftest.err
19448 cat conftest.err
>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } && {
19451 test -z "$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19453 } && test -s conftest.
$ac_objext; then
19454 ac_cv_member_struct_statvfs_f_blocks
=yes
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.
$ac_ext >&5
19459 ac_cv_member_struct_statvfs_f_blocks
=no
19462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19467 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19468 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19469 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19471 cat >>confdefs.h
<<_ACEOF
19472 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19479 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19480 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19481 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <sys/types.h>
19491 #ifdef HAVE_SYS_SOCKET_H
19492 # include <sys/socket.h>
19494 #ifdef HAVE_SYS_UN_H
19495 # include <sys/un.h>
19501 static struct msghdr ac_aggr;
19502 if (ac_aggr.msg_accrights)
19508 rm -f conftest.
$ac_objext
19509 if { (ac_try
="$ac_compile"
19510 case "(($ac_try" in
19511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19512 *) ac_try_echo=$ac_try;;
19514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19515 (eval "$ac_compile") 2>conftest.er1
19517 grep -v '^ *+' conftest.er1 >conftest.err
19519 cat conftest.err >&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } && {
19522 test -z "$ac_c_werror_flag" ||
19523 test ! -s conftest.err
19524 } && test -s conftest.$ac_objext; then
19525 ac_cv_member_struct_msghdr_msg_accrights=yes
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.$ac_ext >&5
19530 cat >conftest.$ac_ext <<_ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <sys/types.h>
19537 #ifdef HAVE_SYS_SOCKET_H
19538 # include <sys/socket.h>
19540 #ifdef HAVE_SYS_UN_H
19541 # include <sys/un.h>
19547 static struct msghdr ac_aggr;
19548 if (sizeof ac_aggr.msg_accrights)
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19558 *) ac_try_echo
=$ac_try;;
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19563 grep -v '^ *+' conftest.er1
>conftest.err
19565 cat conftest.err
>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.
$ac_objext; then
19571 ac_cv_member_struct_msghdr_msg_accrights
=yes
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.
$ac_ext >&5
19576 ac_cv_member_struct_msghdr_msg_accrights
=no
19579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19584 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19585 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19586 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19588 cat >>confdefs.h
<<_ACEOF
19589 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19594 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19595 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19596 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 cat >conftest.
$ac_ext <<_ACEOF
19602 cat confdefs.h
>>conftest.
$ac_ext
19603 cat >>conftest.
$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 #include <sys/types.h>
19606 #ifdef HAVE_SYS_SOCKET_H
19607 # include <sys/socket.h>
19609 #ifdef HAVE_SYS_UN_H
19610 # include <sys/un.h>
19616 static struct sockaddr ac_aggr;
19617 if (ac_aggr.sa_len)
19623 rm -f conftest.
$ac_objext
19624 if { (ac_try
="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1 >conftest.err
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_cv_member_struct_sockaddr_sa_len=yes
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 cat >conftest.$ac_ext <<_ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <sys/types.h>
19652 #ifdef HAVE_SYS_SOCKET_H
19653 # include <sys/socket.h>
19655 #ifdef HAVE_SYS_UN_H
19656 # include <sys/un.h>
19662 static struct sockaddr ac_aggr;
19663 if (sizeof ac_aggr.sa_len)
19669 rm -f conftest.$ac_objext
19670 if { (ac_try="$ac_compile"
19671 case "(($ac_try" in
19672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19673 *) ac_try_echo
=$ac_try;;
19675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19676 (eval "$ac_compile") 2>conftest.er1
19678 grep -v '^ *+' conftest.er1
>conftest.err
19680 cat conftest.err
>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } && {
19683 test -z "$ac_c_werror_flag" ||
19684 test ! -s conftest.err
19685 } && test -s conftest.
$ac_objext; then
19686 ac_cv_member_struct_sockaddr_sa_len
=yes
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.
$ac_ext >&5
19691 ac_cv_member_struct_sockaddr_sa_len
=no
19694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19699 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19700 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19701 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19703 cat >>confdefs.h
<<_ACEOF
19704 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19709 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19710 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19711 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 #include <sys/types.h>
19721 #ifdef HAVE_SYS_SOCKET_H
19722 # include <sys/socket.h>
19724 #ifdef HAVE_SYS_UN_H
19725 # include <sys/un.h>
19731 static struct sockaddr_un ac_aggr;
19732 if (ac_aggr.sun_len)
19738 rm -f conftest.
$ac_objext
19739 if { (ac_try
="$ac_compile"
19740 case "(($ac_try" in
19741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19742 *) ac_try_echo=$ac_try;;
19744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19745 (eval "$ac_compile") 2>conftest.er1
19747 grep -v '^ *+' conftest.er1 >conftest.err
19749 cat conftest.err >&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); } && {
19752 test -z "$ac_c_werror_flag" ||
19753 test ! -s conftest.err
19754 } && test -s conftest.$ac_objext; then
19755 ac_cv_member_struct_sockaddr_un_sun_len=yes
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19760 cat >conftest.$ac_ext <<_ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 #include <sys/types.h>
19767 #ifdef HAVE_SYS_SOCKET_H
19768 # include <sys/socket.h>
19770 #ifdef HAVE_SYS_UN_H
19771 # include <sys/un.h>
19777 static struct sockaddr_un ac_aggr;
19778 if (sizeof ac_aggr.sun_len)
19784 rm -f conftest.$ac_objext
19785 if { (ac_try="$ac_compile"
19786 case "(($ac_try" in
19787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19788 *) ac_try_echo
=$ac_try;;
19790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19791 (eval "$ac_compile") 2>conftest.er1
19793 grep -v '^ *+' conftest.er1
>conftest.err
19795 cat conftest.err
>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } && {
19798 test -z "$ac_c_werror_flag" ||
19799 test ! -s conftest.err
19800 } && test -s conftest.
$ac_objext; then
19801 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.
$ac_ext >&5
19806 ac_cv_member_struct_sockaddr_un_sun_len
=no
19809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19814 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19815 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19816 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19818 cat >>confdefs.h
<<_ACEOF
19819 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19826 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19827 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19828 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19831 cat >conftest.
$ac_ext <<_ACEOF
19834 cat confdefs.h
>>conftest.
$ac_ext
19835 cat >>conftest.
$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 #include <sys/types.h>
19838 #ifdef HAVE_SCSI_SG_H
19839 #include <scsi/sg.h>
19845 static scsireq_t ac_aggr;
19852 rm -f conftest.
$ac_objext
19853 if { (ac_try
="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19861 grep -v '^ *+' conftest.er1 >conftest.err
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19869 ac_cv_member_scsireq_t_cmd=yes
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 cat >conftest.$ac_ext <<_ACEOF
19877 cat confdefs.h >>conftest.$ac_ext
19878 cat >>conftest.$ac_ext <<_ACEOF
19879 /* end confdefs.h. */
19880 #include <sys/types.h>
19881 #ifdef HAVE_SCSI_SG_H
19882 #include <scsi/sg.h>
19888 static scsireq_t ac_aggr;
19889 if (sizeof ac_aggr.cmd)
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19899 *) ac_try_echo
=$ac_try;;
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19904 grep -v '^ *+' conftest.er1
>conftest.err
19906 cat conftest.err
>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } && {
19909 test -z "$ac_c_werror_flag" ||
19910 test ! -s conftest.err
19911 } && test -s conftest.
$ac_objext; then
19912 ac_cv_member_scsireq_t_cmd
=yes
19914 echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.
$ac_ext >&5
19917 ac_cv_member_scsireq_t_cmd
=no
19920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19925 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19926 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19927 if test $ac_cv_member_scsireq_t_cmd = yes; then
19929 cat >>confdefs.h
<<_ACEOF
19930 #define HAVE_SCSIREQ_T_CMD 1
19935 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19936 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19937 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 cat >conftest.
$ac_ext <<_ACEOF
19943 cat confdefs.h
>>conftest.
$ac_ext
19944 cat >>conftest.
$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 #include <sys/types.h>
19947 #ifdef HAVE_SCSI_SG_H
19948 #include <scsi/sg.h>
19954 static sg_io_hdr_t ac_aggr;
19955 if (ac_aggr.interface_id)
19961 rm -f conftest.
$ac_objext
19962 if { (ac_try
="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19970 grep -v '^ *+' conftest.er1 >conftest.err
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19978 ac_cv_member_sg_io_hdr_t_interface_id=yes
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19983 cat >conftest.$ac_ext <<_ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 #include <sys/types.h>
19990 #ifdef HAVE_SCSI_SG_H
19991 #include <scsi/sg.h>
19997 static sg_io_hdr_t ac_aggr;
19998 if (sizeof ac_aggr.interface_id)
20004 rm -f conftest.$ac_objext
20005 if { (ac_try="$ac_compile"
20006 case "(($ac_try" in
20007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20008 *) ac_try_echo
=$ac_try;;
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_compile") 2>conftest.er1
20013 grep -v '^ *+' conftest.er1
>conftest.err
20015 cat conftest.err
>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && {
20018 test -z "$ac_c_werror_flag" ||
20019 test ! -s conftest.err
20020 } && test -s conftest.
$ac_objext; then
20021 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.
$ac_ext >&5
20026 ac_cv_member_sg_io_hdr_t_interface_id
=no
20029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20034 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20035 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20036 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20038 cat >>confdefs.h
<<_ACEOF
20039 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20046 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20047 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20048 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 cat >conftest.
$ac_ext <<_ACEOF
20054 cat confdefs.h
>>conftest.
$ac_ext
20055 cat >>conftest.
$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 #include <signal.h>
20062 static siginfo_t ac_aggr;
20069 rm -f conftest.
$ac_objext
20070 if { (ac_try
="$ac_compile"
20071 case "(($ac_try" in
20072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_compile") 2>conftest.er1
20078 grep -v '^ *+' conftest.er1 >conftest.err
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } && {
20083 test -z "$ac_c_werror_flag" ||
20084 test ! -s conftest.err
20085 } && test -s conftest.$ac_objext; then
20086 ac_cv_member_siginfo_t_si_fd=yes
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.$ac_ext >&5
20091 cat >conftest.$ac_ext <<_ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 #include <signal.h>
20102 static siginfo_t ac_aggr;
20103 if (sizeof ac_aggr.si_fd)
20109 rm -f conftest.$ac_objext
20110 if { (ac_try="$ac_compile"
20111 case "(($ac_try" in
20112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20113 *) ac_try_echo
=$ac_try;;
20115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20116 (eval "$ac_compile") 2>conftest.er1
20118 grep -v '^ *+' conftest.er1
>conftest.err
20120 cat conftest.err
>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } && {
20123 test -z "$ac_c_werror_flag" ||
20124 test ! -s conftest.err
20125 } && test -s conftest.
$ac_objext; then
20126 ac_cv_member_siginfo_t_si_fd
=yes
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.
$ac_ext >&5
20131 ac_cv_member_siginfo_t_si_fd
=no
20134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20139 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20140 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20141 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20143 cat >>confdefs.h
<<_ACEOF
20144 #define HAVE_SIGINFO_T_SI_FD 1
20151 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20152 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20153 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 cat >conftest.
$ac_ext <<_ACEOF
20159 cat confdefs.h
>>conftest.
$ac_ext
20160 cat >>conftest.
$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 #include <sys/types.h>
20163 #ifdef HAVE_SYS_MTIO_H
20164 #include <sys/mtio.h>
20170 static struct mtget ac_aggr;
20171 if (ac_aggr.mt_blksiz)
20177 rm -f conftest.
$ac_objext
20178 if { (ac_try
="$ac_compile"
20179 case "(($ac_try" in
20180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20181 *) ac_try_echo=$ac_try;;
20183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20184 (eval "$ac_compile") 2>conftest.er1
20186 grep -v '^ *+' conftest.er1 >conftest.err
20188 cat conftest.err >&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } && {
20191 test -z "$ac_c_werror_flag" ||
20192 test ! -s conftest.err
20193 } && test -s conftest.$ac_objext; then
20194 ac_cv_member_struct_mtget_mt_blksiz=yes
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20199 cat >conftest.$ac_ext <<_ACEOF
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 #include <sys/types.h>
20206 #ifdef HAVE_SYS_MTIO_H
20207 #include <sys/mtio.h>
20213 static struct mtget ac_aggr;
20214 if (sizeof ac_aggr.mt_blksiz)
20220 rm -f conftest.$ac_objext
20221 if { (ac_try="$ac_compile"
20222 case "(($ac_try" in
20223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20224 *) ac_try_echo
=$ac_try;;
20226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 (eval "$ac_compile") 2>conftest.er1
20229 grep -v '^ *+' conftest.er1
>conftest.err
20231 cat conftest.err
>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } && {
20234 test -z "$ac_c_werror_flag" ||
20235 test ! -s conftest.err
20236 } && test -s conftest.
$ac_objext; then
20237 ac_cv_member_struct_mtget_mt_blksiz
=yes
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20242 ac_cv_member_struct_mtget_mt_blksiz
=no
20245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20250 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20251 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20252 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20254 cat >>confdefs.h
<<_ACEOF
20255 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20260 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20261 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20262 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20265 cat >conftest.
$ac_ext <<_ACEOF
20268 cat confdefs.h
>>conftest.
$ac_ext
20269 cat >>conftest.
$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 #include <sys/types.h>
20272 #ifdef HAVE_SYS_MTIO_H
20273 #include <sys/mtio.h>
20279 static struct mtget ac_aggr;
20280 if (ac_aggr.mt_gstat)
20286 rm -f conftest.
$ac_objext
20287 if { (ac_try
="$ac_compile"
20288 case "(($ac_try" in
20289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20290 *) ac_try_echo=$ac_try;;
20292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20293 (eval "$ac_compile") 2>conftest.er1
20295 grep -v '^ *+' conftest.er1 >conftest.err
20297 cat conftest.err >&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } && {
20300 test -z "$ac_c_werror_flag" ||
20301 test ! -s conftest.err
20302 } && test -s conftest.$ac_objext; then
20303 ac_cv_member_struct_mtget_mt_gstat=yes
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20308 cat >conftest.$ac_ext <<_ACEOF
20311 cat confdefs.h >>conftest.$ac_ext
20312 cat >>conftest.$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20314 #include <sys/types.h>
20315 #ifdef HAVE_SYS_MTIO_H
20316 #include <sys/mtio.h>
20322 static struct mtget ac_aggr;
20323 if (sizeof ac_aggr.mt_gstat)
20329 rm -f conftest.$ac_objext
20330 if { (ac_try="$ac_compile"
20331 case "(($ac_try" in
20332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20333 *) ac_try_echo
=$ac_try;;
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_compile") 2>conftest.er1
20338 grep -v '^ *+' conftest.er1
>conftest.err
20340 cat conftest.err
>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } && {
20343 test -z "$ac_c_werror_flag" ||
20344 test ! -s conftest.err
20345 } && test -s conftest.
$ac_objext; then
20346 ac_cv_member_struct_mtget_mt_gstat
=yes
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.
$ac_ext >&5
20351 ac_cv_member_struct_mtget_mt_gstat
=no
20354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20359 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20360 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20361 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20363 cat >>confdefs.h
<<_ACEOF
20364 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20369 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20370 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20371 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20374 cat >conftest.
$ac_ext <<_ACEOF
20377 cat confdefs.h
>>conftest.
$ac_ext
20378 cat >>conftest.
$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20380 #include <sys/types.h>
20381 #ifdef HAVE_SYS_MTIO_H
20382 #include <sys/mtio.h>
20388 static struct mtget ac_aggr;
20389 if (ac_aggr.mt_blkno)
20395 rm -f conftest.
$ac_objext
20396 if { (ac_try
="$ac_compile"
20397 case "(($ac_try" in
20398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20399 *) ac_try_echo=$ac_try;;
20401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20402 (eval "$ac_compile") 2>conftest.er1
20404 grep -v '^ *+' conftest.er1 >conftest.err
20406 cat conftest.err >&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } && {
20409 test -z "$ac_c_werror_flag" ||
20410 test ! -s conftest.err
20411 } && test -s conftest.$ac_objext; then
20412 ac_cv_member_struct_mtget_mt_blkno=yes
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20417 cat >conftest.$ac_ext <<_ACEOF
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 #include <sys/types.h>
20424 #ifdef HAVE_SYS_MTIO_H
20425 #include <sys/mtio.h>
20431 static struct mtget ac_aggr;
20432 if (sizeof ac_aggr.mt_blkno)
20438 rm -f conftest.$ac_objext
20439 if { (ac_try="$ac_compile"
20440 case "(($ac_try" in
20441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20442 *) ac_try_echo
=$ac_try;;
20444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20445 (eval "$ac_compile") 2>conftest.er1
20447 grep -v '^ *+' conftest.er1
>conftest.err
20449 cat conftest.err
>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } && {
20452 test -z "$ac_c_werror_flag" ||
20453 test ! -s conftest.err
20454 } && test -s conftest.
$ac_objext; then
20455 ac_cv_member_struct_mtget_mt_blkno
=yes
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.
$ac_ext >&5
20460 ac_cv_member_struct_mtget_mt_blkno
=no
20463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20468 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20469 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20470 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20472 cat >>confdefs.h
<<_ACEOF
20473 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20480 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20481 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20482 if test "${ac_cv_member_struct_option_name+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20485 cat >conftest.
$ac_ext <<_ACEOF
20488 cat confdefs.h
>>conftest.
$ac_ext
20489 cat >>conftest.
$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 #ifdef HAVE_GETOPT_H
20492 #include <getopt.h>
20498 static struct option ac_aggr;
20505 rm -f conftest.
$ac_objext
20506 if { (ac_try
="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20509 *) ac_try_echo=$ac_try;;
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20514 grep -v '^ *+' conftest.er1 >conftest.err
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.$ac_objext; then
20522 ac_cv_member_struct_option_name=yes
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.$ac_ext >&5
20527 cat >conftest.$ac_ext <<_ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533 #ifdef HAVE_GETOPT_H
20534 #include <getopt.h>
20540 static struct option ac_aggr;
20541 if (sizeof ac_aggr.name)
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20551 *) ac_try_echo
=$ac_try;;
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20556 grep -v '^ *+' conftest.er1
>conftest.err
20558 cat conftest.err
>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.
$ac_objext; then
20564 ac_cv_member_struct_option_name
=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.
$ac_ext >&5
20569 ac_cv_member_struct_option_name
=no
20572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20577 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20578 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20579 if test $ac_cv_member_struct_option_name = yes; then
20581 cat >>confdefs.h
<<_ACEOF
20582 #define HAVE_STRUCT_OPTION_NAME 1
20589 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20590 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20591 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20594 cat >conftest.
$ac_ext <<_ACEOF
20597 cat confdefs.h
>>conftest.
$ac_ext
20598 cat >>conftest.
$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 $ac_includes_default
20604 static struct stat ac_aggr;
20605 if (ac_aggr.st_blocks)
20611 rm -f conftest.
$ac_objext
20612 if { (ac_try
="$ac_compile"
20613 case "(($ac_try" in
20614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20615 *) ac_try_echo=$ac_try;;
20617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_compile") 2>conftest.er1
20620 grep -v '^ *+' conftest.er1 >conftest.err
20622 cat conftest.err >&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } && {
20625 test -z "$ac_c_werror_flag" ||
20626 test ! -s conftest.err
20627 } && test -s conftest.$ac_objext; then
20628 ac_cv_member_struct_stat_st_blocks=yes
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20633 cat >conftest.$ac_ext <<_ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 $ac_includes_default
20643 static struct stat ac_aggr;
20644 if (sizeof ac_aggr.st_blocks)
20650 rm -f conftest.$ac_objext
20651 if { (ac_try="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20654 *) ac_try_echo
=$ac_try;;
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20659 grep -v '^ *+' conftest.er1
>conftest.err
20661 cat conftest.err
>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.
$ac_objext; then
20667 ac_cv_member_struct_stat_st_blocks
=yes
20669 echo "$as_me: failed program was:" >&5
20670 sed 's/^/| /' conftest.
$ac_ext >&5
20672 ac_cv_member_struct_stat_st_blocks
=no
20675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20680 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20681 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20682 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20684 cat >>confdefs.h
<<_ACEOF
20685 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20692 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20693 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20694 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20697 cat >conftest.
$ac_ext <<_ACEOF
20700 cat confdefs.h
>>conftest.
$ac_ext
20701 cat >>conftest.
$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20703 #ifdef HAVE_SYS_TYPES_H
20704 #include <sys/types.h>
20706 #ifdef HAVE_NETINET_IN_H
20707 #include <netinet/in.h>
20713 static struct sockaddr_in6 ac_aggr;
20714 if (ac_aggr.sin6_scope_id)
20720 rm -f conftest.
$ac_objext
20721 if { (ac_try
="$ac_compile"
20722 case "(($ac_try" in
20723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_compile") 2>conftest.er1
20729 grep -v '^ *+' conftest.er1 >conftest.err
20731 cat conftest.err >&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } && {
20734 test -z "$ac_c_werror_flag" ||
20735 test ! -s conftest.err
20736 } && test -s conftest.$ac_objext; then
20737 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.$ac_ext >&5
20742 cat >conftest.$ac_ext <<_ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 #ifdef HAVE_SYS_TYPES_H
20749 #include <sys/types.h>
20751 #ifdef HAVE_NETINET_IN_H
20752 #include <netinet/in.h>
20758 static struct sockaddr_in6 ac_aggr;
20759 if (sizeof ac_aggr.sin6_scope_id)
20765 rm -f conftest.$ac_objext
20766 if { (ac_try="$ac_compile"
20767 case "(($ac_try" in
20768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20769 *) ac_try_echo
=$ac_try;;
20771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20772 (eval "$ac_compile") 2>conftest.er1
20774 grep -v '^ *+' conftest.er1
>conftest.err
20776 cat conftest.err
>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); } && {
20779 test -z "$ac_c_werror_flag" ||
20780 test ! -s conftest.err
20781 } && test -s conftest.
$ac_objext; then
20782 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.
$ac_ext >&5
20787 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20795 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20796 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20797 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20799 cat >>confdefs.h
<<_ACEOF
20800 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20807 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20808 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20809 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 cat >conftest.
$ac_ext <<_ACEOF
20815 cat confdefs.h
>>conftest.
$ac_ext
20816 cat >>conftest.
$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 #ifdef HAVE_SYS_TYPES_H
20819 #include <sys/types.h>
20821 #ifdef HAVE_NETINET_IN_H
20822 # include <netinet/in.h>
20824 #ifdef HAVE_ARPA_NAMESER_H
20825 # include <arpa/nameser.h>
20831 static ns_msg ac_aggr;
20832 if (ac_aggr._msg_ptr)
20838 rm -f conftest.
$ac_objext
20839 if { (ac_try
="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^ *+' conftest.er1 >conftest.err
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_cv_member_ns_msg__msg_ptr=yes
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20860 cat >conftest.$ac_ext <<_ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 #ifdef HAVE_SYS_TYPES_H
20867 #include <sys/types.h>
20869 #ifdef HAVE_NETINET_IN_H
20870 # include <netinet/in.h>
20872 #ifdef HAVE_ARPA_NAMESER_H
20873 # include <arpa/nameser.h>
20879 static ns_msg ac_aggr;
20880 if (sizeof ac_aggr._msg_ptr)
20886 rm -f conftest.$ac_objext
20887 if { (ac_try="$ac_compile"
20888 case "(($ac_try" in
20889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20890 *) ac_try_echo
=$ac_try;;
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_compile") 2>conftest.er1
20895 grep -v '^ *+' conftest.er1
>conftest.err
20897 cat conftest.err
>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } && {
20900 test -z "$ac_c_werror_flag" ||
20901 test ! -s conftest.err
20902 } && test -s conftest.
$ac_objext; then
20903 ac_cv_member_ns_msg__msg_ptr
=yes
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.
$ac_ext >&5
20908 ac_cv_member_ns_msg__msg_ptr
=no
20911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20916 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20917 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20918 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20920 cat >>confdefs.h
<<_ACEOF
20921 #define HAVE_NS_MSG__MSG_PTR 1
20928 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20929 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20930 if test "${ac_cv_have_timezone+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 cat >conftest.
$ac_ext <<_ACEOF
20936 cat confdefs.h
>>conftest.
$ac_ext
20937 cat >>conftest.
$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20948 rm -f conftest.
$ac_objext conftest
$ac_exeext
20949 if { (ac_try
="$ac_link"
20950 case "(($ac_try" in
20951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_link") 2>conftest.er1
20957 grep -v '^ *+' conftest.er1 >conftest.err
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && {
20962 test -z "$ac_c_werror_flag" ||
20963 test ! -s conftest.err
20964 } && test -s conftest$ac_exeext &&
20965 $as_test_x conftest$ac_exeext; then
20966 ac_cv_have_timezone="yes"
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20971 ac_cv_have_timezone="no"
20974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20975 conftest$ac_exeext conftest.$ac_ext
20977 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20978 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20979 if test "$ac_cv_have_timezone" = "yes"
20982 cat >>confdefs.h <<\_ACEOF
20983 #define HAVE_TIMEZONE 1
20987 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20988 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20989 if test "${ac_cv_have_daylight+set}" = set; then
20990 echo $ECHO_N "(cached) $ECHO_C" >&6
20992 cat >conftest.$ac_ext <<_ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
21007 rm -f conftest.$ac_objext conftest$ac_exeext
21008 if { (ac_try="$ac_link"
21009 case "(($ac_try" in
21010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21011 *) ac_try_echo
=$ac_try;;
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_link") 2>conftest.er1
21016 grep -v '^ *+' conftest.er1
>conftest.err
21018 cat conftest.err
>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest
$ac_exeext &&
21024 $as_test_x conftest
$ac_exeext; then
21025 ac_cv_have_daylight
="yes"
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.
$ac_ext >&5
21030 ac_cv_have_daylight
="no"
21033 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21034 conftest
$ac_exeext conftest.
$ac_ext
21036 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21037 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21038 if test "$ac_cv_have_daylight" = "yes"
21041 cat >>confdefs.h
<<\_ACEOF
21042 #define HAVE_DAYLIGHT 1
21049 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21050 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21051 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 cat >conftest.
$ac_ext <<_ACEOF
21057 cat confdefs.h
>>conftest.
$ac_ext
21058 cat >>conftest.
$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21065 $EGREP "yes" >/dev
/null
2>&1; then
21066 ac_cv_cpp_def___i386__
=yes
21068 ac_cv_cpp_def___i386__
=no
21073 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21074 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21075 if test $ac_cv_cpp_def___i386__ = yes; then
21076 CFLAGS
="$CFLAGS -D__i386__"
21077 LINTFLAGS
="$LINTFLAGS -D__i386__"
21080 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21081 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21082 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21083 echo $ECHO_N "(cached) $ECHO_C" >&6
21085 cat >conftest.
$ac_ext <<_ACEOF
21088 cat confdefs.h
>>conftest.
$ac_ext
21089 cat >>conftest.
$ac_ext <<_ACEOF
21090 /* end confdefs.h. */
21095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21096 $EGREP "yes" >/dev
/null
2>&1; then
21097 ac_cv_cpp_def___x86_64__
=yes
21099 ac_cv_cpp_def___x86_64__
=no
21104 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21105 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21106 if test $ac_cv_cpp_def___x86_64__ = yes; then
21107 CFLAGS
="$CFLAGS -D__x86_64__"
21108 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21111 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21112 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21113 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21116 cat >conftest.
$ac_ext <<_ACEOF
21119 cat confdefs.h
>>conftest.
$ac_ext
21120 cat >>conftest.
$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21127 $EGREP "yes" >/dev
/null
2>&1; then
21128 ac_cv_cpp_def___ALPHA__
=yes
21130 ac_cv_cpp_def___ALPHA__
=no
21135 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21136 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21137 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21138 CFLAGS
="$CFLAGS -D__ALPHA__"
21139 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21142 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21143 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21144 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21145 echo $ECHO_N "(cached) $ECHO_C" >&6
21147 cat >conftest.
$ac_ext <<_ACEOF
21150 cat confdefs.h
>>conftest.
$ac_ext
21151 cat >>conftest.
$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21158 $EGREP "yes" >/dev
/null
2>&1; then
21159 ac_cv_cpp_def___sparc__
=yes
21161 ac_cv_cpp_def___sparc__
=no
21166 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21167 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21168 if test $ac_cv_cpp_def___sparc__ = yes; then
21169 CFLAGS
="$CFLAGS -D__sparc__"
21170 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21173 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21174 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21175 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21176 echo $ECHO_N "(cached) $ECHO_C" >&6
21178 cat >conftest.
$ac_ext <<_ACEOF
21181 cat confdefs.h
>>conftest.
$ac_ext
21182 cat >>conftest.
$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 #ifndef __powerpc__
21188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21189 $EGREP "yes" >/dev
/null
2>&1; then
21190 ac_cv_cpp_def___powerpc__
=yes
21192 ac_cv_cpp_def___powerpc__
=no
21197 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21198 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21199 if test $ac_cv_cpp_def___powerpc__ = yes; then
21200 CFLAGS
="$CFLAGS -D__powerpc__"
21201 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21206 case $host_vendor in
21207 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21208 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21209 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21210 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 cat >conftest.
$ac_ext <<_ACEOF
21215 cat confdefs.h
>>conftest.
$ac_ext
21216 cat >>conftest.
$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21223 $EGREP "yes" >/dev
/null
2>&1; then
21224 ac_cv_cpp_def___sun__
=yes
21226 ac_cv_cpp_def___sun__
=no
21231 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21232 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21233 if test $ac_cv_cpp_def___sun__ = yes; then
21234 CFLAGS
="$CFLAGS -D__sun__"
21235 LINTFLAGS
="$LINTFLAGS -D__sun__"
21241 DEPENDENCIES
="### Dependencies:
21246 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21248 \$(OBJS): \$(IDL_GEN_HEADERS)
21249 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21250 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21251 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21257 ac_config_commands
="$ac_config_commands include/stamp-h"
21260 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21262 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21264 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21266 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21268 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21270 ac_config_commands
="$ac_config_commands include/wine"
21273 MAKE_RULES
=Make.rules
21276 MAKE_DLL_RULES
=dlls
/Makedll.rules
21279 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21282 MAKE_TEST_RULES
=dlls
/Maketest.rules
21285 MAKE_PROG_RULES
=programs
/Makeprog.rules
21288 ac_config_files
="$ac_config_files Make.rules"
21290 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21292 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21294 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21296 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21298 ac_config_files
="$ac_config_files Makefile"
21300 ac_config_files
="$ac_config_files dlls/Makefile"
21302 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21304 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21306 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21308 ac_config_files
="$ac_config_files dlls/adsiid/Makefile"
21310 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21312 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21314 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21316 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21318 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21320 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21322 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21324 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21326 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21328 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21330 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21332 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21334 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21336 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21338 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21340 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21342 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21344 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21346 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21348 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21350 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21352 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21354 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21356 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21358 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21360 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21362 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21364 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21366 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
21368 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
21370 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
21372 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
21374 ac_config_files
="$ac_config_files dlls/cryptui/Makefile"
21376 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
21378 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
21380 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
21382 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
21384 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
21386 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
21388 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
21390 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
21392 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
21394 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
21396 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
21398 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
21400 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
21402 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
21404 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
21406 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
21408 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
21410 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
21412 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
21414 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
21416 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
21418 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
21420 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
21422 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
21424 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
21426 ac_config_files
="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21428 ac_config_files
="$ac_config_files dlls/d3dx9_37/Makefile"
21430 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
21432 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
21434 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
21436 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
21438 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
21440 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
21442 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
21444 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
21446 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
21448 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
21450 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
21452 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
21454 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
21456 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
21458 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
21460 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
21462 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
21464 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
21466 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
21468 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
21470 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
21472 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
21474 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
21476 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
21478 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
21480 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
21482 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
21484 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
21486 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
21488 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
21490 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
21492 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
21494 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
21496 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
21498 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
21500 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
21502 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
21504 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
21506 ac_config_files
="$ac_config_files dlls/fusion/Makefile"
21508 ac_config_files
="$ac_config_files dlls/fusion/tests/Makefile"
21510 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
21512 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
21514 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
21516 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
21518 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
21520 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
21522 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
21524 ac_config_files
="$ac_config_files dlls/hal/Makefile"
21526 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
21528 ac_config_files
="$ac_config_files dlls/hid/Makefile"
21530 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
21532 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
21534 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
21536 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
21538 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
21540 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21542 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
21544 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
21546 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
21548 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
21550 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
21552 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
21554 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
21556 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
21558 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
21560 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
21562 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
21564 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
21566 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
21568 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
21570 ac_config_files
="$ac_config_files dlls/itss/Makefile"
21572 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
21574 ac_config_files
="$ac_config_files dlls/jscript/Makefile"
21576 ac_config_files
="$ac_config_files dlls/jscript/tests/Makefile"
21578 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
21580 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
21582 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
21584 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
21586 ac_config_files
="$ac_config_files dlls/localui/Makefile"
21588 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
21590 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
21592 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
21594 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
21596 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
21598 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
21600 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
21602 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
21604 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
21606 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
21608 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
21610 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
21612 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21614 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
21616 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
21618 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
21620 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
21622 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
21624 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
21626 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
21628 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
21630 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
21632 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
21634 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
21636 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
21638 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
21640 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
21642 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
21644 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
21646 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
21648 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
21650 ac_config_files
="$ac_config_files dlls/msi/Makefile"
21652 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
21654 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
21656 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
21658 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
21660 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
21662 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
21664 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
21666 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
21668 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
21670 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
21672 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
21674 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
21676 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
21678 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
21680 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
21682 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
21684 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
21686 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
21688 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
21690 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
21692 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
21694 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
21696 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
21698 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
21700 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
21702 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
21704 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
21706 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
21708 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21710 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
21712 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
21714 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
21716 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
21718 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
21720 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
21722 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
21724 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
21726 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
21728 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
21730 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
21732 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
21734 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
21736 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
21738 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
21740 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
21742 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
21744 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
21746 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
21748 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
21750 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
21752 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21754 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
21756 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21758 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21760 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21762 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21764 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
21766 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
21768 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21770 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
21772 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21774 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21776 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21778 ac_config_files
="$ac_config_files dlls/query/Makefile"
21780 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21782 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21784 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21786 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21788 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21790 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21792 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21794 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21796 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21798 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21800 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21802 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21804 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
21806 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21808 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21810 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21812 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21814 ac_config_files
="$ac_config_files dlls/security/Makefile"
21816 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21818 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21820 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21822 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21824 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21826 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21828 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21830 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21832 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21834 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21836 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21838 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21840 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21842 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21844 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21846 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
21848 ac_config_files
="$ac_config_files dlls/slc/Makefile"
21850 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21852 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21854 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
21856 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21858 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21860 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21862 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21864 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21866 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21868 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21870 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21872 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21874 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21876 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21878 ac_config_files
="$ac_config_files dlls/url/Makefile"
21880 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21882 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21884 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21886 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21888 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21890 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21892 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21894 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21896 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21898 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21900 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21902 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21904 ac_config_files
="$ac_config_files dlls/version/Makefile"
21906 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21908 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21910 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21912 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21914 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21916 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21918 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21920 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21922 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21924 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21926 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21928 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21930 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21932 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21934 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21936 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21938 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21940 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21942 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21944 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21946 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21948 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21950 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21952 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21954 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21956 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21958 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21960 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21962 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21964 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21966 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21968 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21970 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21972 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21974 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21976 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21978 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
21980 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21982 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21984 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21986 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21988 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21990 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21992 ac_config_files
="$ac_config_files documentation/Makefile"
21994 ac_config_files
="$ac_config_files fonts/Makefile"
21996 ac_config_files
="$ac_config_files include/Makefile"
21998 ac_config_files
="$ac_config_files libs/Makefile"
22000 ac_config_files
="$ac_config_files libs/port/Makefile"
22002 ac_config_files
="$ac_config_files libs/wine/Makefile"
22004 ac_config_files
="$ac_config_files libs/wpp/Makefile"
22006 ac_config_files
="$ac_config_files loader/Makefile"
22008 ac_config_files
="$ac_config_files programs/Makefile"
22010 ac_config_files
="$ac_config_files programs/clock/Makefile"
22012 ac_config_files
="$ac_config_files programs/cmd/Makefile"
22014 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
22016 ac_config_files
="$ac_config_files programs/control/Makefile"
22018 ac_config_files
="$ac_config_files programs/eject/Makefile"
22020 ac_config_files
="$ac_config_files programs/expand/Makefile"
22022 ac_config_files
="$ac_config_files programs/explorer/Makefile"
22024 ac_config_files
="$ac_config_files programs/hh/Makefile"
22026 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
22028 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
22030 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
22032 ac_config_files
="$ac_config_files programs/net/Makefile"
22034 ac_config_files
="$ac_config_files programs/notepad/Makefile"
22036 ac_config_files
="$ac_config_files programs/oleview/Makefile"
22038 ac_config_files
="$ac_config_files programs/progman/Makefile"
22040 ac_config_files
="$ac_config_files programs/reg/Makefile"
22042 ac_config_files
="$ac_config_files programs/regedit/Makefile"
22044 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
22046 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
22048 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
22050 ac_config_files
="$ac_config_files programs/secedit/Makefile"
22052 ac_config_files
="$ac_config_files programs/services/Makefile"
22054 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
22056 ac_config_files
="$ac_config_files programs/start/Makefile"
22058 ac_config_files
="$ac_config_files programs/svchost/Makefile"
22060 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
22062 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
22064 ac_config_files
="$ac_config_files programs/view/Makefile"
22066 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
22068 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
22070 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
22072 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
22074 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
22076 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
22078 ac_config_files
="$ac_config_files programs/winefile/Makefile"
22080 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
22082 ac_config_files
="$ac_config_files programs/winemine/Makefile"
22084 ac_config_files
="$ac_config_files programs/winepath/Makefile"
22086 ac_config_files
="$ac_config_files programs/winetest/Makefile"
22088 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
22090 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
22092 ac_config_files
="$ac_config_files programs/winver/Makefile"
22094 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
22096 ac_config_files
="$ac_config_files programs/write/Makefile"
22098 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
22100 ac_config_files
="$ac_config_files server/Makefile"
22102 ac_config_files
="$ac_config_files tools/Makefile"
22104 ac_config_files
="$ac_config_files tools/widl/Makefile"
22106 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
22108 ac_config_files
="$ac_config_files tools/winedump/Makefile"
22110 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
22112 ac_config_files
="$ac_config_files tools/wmc/Makefile"
22114 ac_config_files
="$ac_config_files tools/wrc/Makefile"
22117 cat >confcache
<<\_ACEOF
22118 # This file is a shell script that caches the results of configure
22119 # tests run on this system so they can be shared between configure
22120 # scripts and configure runs, see configure's option --config-cache.
22121 # It is not useful on other systems. If it contains results you don't
22122 # want to keep, you may remove or edit it.
22124 # config.status only pays attention to the cache file if you give it
22125 # the --recheck option to rerun configure.
22127 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22128 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22129 # following values.
22133 # The following way of writing the cache mishandles newlines in values,
22134 # but we know of no workaround that is simple, portable, and efficient.
22135 # So, we kill variables containing newlines.
22136 # Ultrix sh set writes to stderr and can't be redirected directly,
22137 # and sets the high bit in the cache file unless we assign to the vars.
22139 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22140 eval ac_val
=\$
$ac_var
22144 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22145 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22148 _ | IFS | as_nl
) ;; #(
22149 *) $as_unset $ac_var ;;
22155 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22156 *${as_nl}ac_space
=\
*)
22157 # `set' does not quote correctly, so add quotes (double-quote
22158 # substitution turns \\\\ into \\, and sed turns \\ into \).
22161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22164 # `set' quotes correctly as required by POSIX, so do not add quotes.
22165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22176 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22178 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22179 if test -w "$cache_file"; then
22180 test "x$cache_file" != "x/dev/null" &&
22181 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22182 echo "$as_me: updating cache $cache_file" >&6;}
22183 cat confcache
>$cache_file
22185 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22186 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22191 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22192 # Let make expand exec_prefix.
22193 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22195 DEFS
=-DHAVE_CONFIG_H
22199 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22200 # 1. Remove the extension, and $U if already installed.
22201 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22202 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22204 # will be set to the directory where LIBOBJS objects are built.
22205 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22206 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22208 LIBOBJS
=$ac_libobjs
22210 LTLIBOBJS
=$ac_ltlibobjs
22214 : ${CONFIG_STATUS=./config.status}
22215 ac_clean_files_save
=$ac_clean_files
22216 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22217 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22218 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22219 cat >$CONFIG_STATUS <<_ACEOF
22221 # Generated by $as_me.
22222 # Run this file to recreate the current configuration.
22223 # Compiler output produced by configure, useful for debugging
22224 # configure, is in config.log if it exists.
22227 ac_cs_recheck=false
22229 SHELL=\${CONFIG_SHELL-$SHELL}
22232 cat >>$CONFIG_STATUS <<\_ACEOF
22233 ## --------------------- ##
22234 ## M4sh Initialization. ##
22235 ## --------------------- ##
22237 # Be more Bourne compatible
22238 DUALCASE
=1; export DUALCASE
# for MKS sh
22239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22243 # is contrary to our usage. Disable this feature.
22244 alias -g '${1+"$@"}'='"$@"'
22245 setopt NO_GLOB_SUBST
22247 case `(set -o) 2>/dev/null` in
22248 *posix
*) set -o posix
;;
22257 # Avoid depending upon Character Ranges.
22258 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22259 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22260 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22261 as_cr_digits
='0123456789'
22262 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22264 # The user is always right.
22265 if test "${PATH_SEPARATOR+set}" != set; then
22266 echo "#! /bin/sh" >conf$$.sh
22267 echo "exit 0" >>conf$$.sh
22269 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22277 # Support unset when possible.
22278 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22286 # We need space, tab and new line, in precisely that order. Quoting is
22287 # there to prevent editors from complaining about space-tab.
22288 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22289 # splitting by setting IFS to empty value.)
22294 # Find who we are. Look in the path if we contain no directory separator.
22296 *[\\/]* ) as_myself
=$0 ;;
22297 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22298 for as_dir
in $PATH
22301 test -z "$as_dir" && as_dir
=.
22302 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22308 # We did not find ourselves, most probably we were run as `sh COMMAND'
22309 # in which case we are not to be found in the path.
22310 if test "x$as_myself" = x
; then
22313 if test ! -f "$as_myself"; then
22314 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22315 { (exit 1); exit 1; }
22318 # Work around bugs in pre-3.0 UWIN ksh.
22319 for as_var
in ENV MAIL MAILPATH
22320 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22328 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22329 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22330 LC_TELEPHONE LC_TIME
22332 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22333 eval $as_var=C
; export $as_var
22335 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22339 # Required to use basename.
22340 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22341 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22347 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22348 as_basename
=basename
22354 # Name of the executable.
22355 as_me
=`$as_basename -- "$0" ||
22356 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22357 X"$0" : 'X\(//\)$' \| \
22358 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22360 sed '/^.*\/\([^/][^/]*\)\/*$/{
22379 as_lineno_1
=$LINENO
22380 as_lineno_2
=$LINENO
22381 test "x$as_lineno_1" != "x$as_lineno_2" &&
22382 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22384 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22385 # uniformly replaced by the line number. The first 'sed' inserts a
22386 # line-number line after each line using $LINENO; the second 'sed'
22387 # does the real work. The second script uses 'N' to pair each
22388 # line-number line with the line containing $LINENO, and appends
22389 # trailing '-' during substitution so that $LINENO is not a special
22390 # case at line end.
22391 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22392 # scripts with optimization help from Paolo Bonzini. Blame Lee
22393 # E. McMahon (1931-1989) for sed's syntax. :-)
22405 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22408 ' >$as_me.lineno
&&
22409 chmod +x
"$as_me.lineno" ||
22410 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22411 { (exit 1); exit 1; }; }
22413 # Don't try to exec as it changes $[0], causing all sort of problems
22414 # (the dirname of $[0] is not the place where we might find the
22415 # original and so on. Autoconf is especially sensitive to this).
22416 .
"./$as_me.lineno"
22417 # Exit status is that of the last command.
22422 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22428 ECHO_C
= ECHO_N
= ECHO_T
=
22429 case `echo -n x` in
22431 case `echo 'x\c'` in
22432 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22439 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22440 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22446 rm -f conf$$ conf$$.exe conf$$.
file
22447 if test -d conf$$.dir
; then
22448 rm -f conf$$.dir
/conf$$.
file
22454 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22456 # ... but there are two gotchas:
22457 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22458 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22459 # In both cases, we have to default to `cp -p'.
22460 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22462 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22467 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22468 rmdir conf$$.dir
2>/dev
/null
22470 if mkdir
-p .
2>/dev
/null
; then
22473 test -d .
/-p && rmdir .
/-p
22477 if test -x / >/dev
/null
2>&1; then
22478 as_test_x
='test -x'
22480 if ls -dL / >/dev
/null
2>&1; then
22487 if test -d "$1"; then
22493 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22494 ???[sx]*):;;*)false;;esac;fi
22498 as_executable_p
=$as_test_x
22500 # Sed expression to map a string onto a valid CPP name.
22501 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22503 # Sed expression to map a string onto a valid variable name.
22504 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22509 # Save the log message, to keep $[0] and so on meaningful, and to
22510 # report actual input values of CONFIG_FILES etc. instead of their
22511 # values after options handling.
22513 This file was extended by Wine $as_me 0.9.59, which was
22514 generated by GNU Autoconf 2.61. Invocation command line was
22516 CONFIG_FILES = $CONFIG_FILES
22517 CONFIG_HEADERS = $CONFIG_HEADERS
22518 CONFIG_LINKS = $CONFIG_LINKS
22519 CONFIG_COMMANDS = $CONFIG_COMMANDS
22522 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22527 cat >>$CONFIG_STATUS <<_ACEOF
22528 # Files that config.status was made for.
22529 config_files="$ac_config_files"
22530 config_headers="$ac_config_headers"
22531 config_commands="$ac_config_commands"
22535 cat >>$CONFIG_STATUS <<\_ACEOF
22537 \`$as_me' instantiates files from templates according to the
22538 current configuration.
22540 Usage: $0 [OPTIONS] [FILE]...
22542 -h, --help print this help, then exit
22543 -V, --version print version number and configuration settings, then exit
22544 -q, --quiet do not print progress messages
22545 -d, --debug don't remove temporary files
22546 --recheck update $as_me by reconfiguring in the same conditions
22547 --file=FILE[:TEMPLATE]
22548 instantiate the configuration file FILE
22549 --header=FILE[:TEMPLATE]
22550 instantiate the configuration header FILE
22552 Configuration files:
22555 Configuration headers:
22558 Configuration commands:
22561 Report bugs to <bug-autoconf@gnu.org>."
22564 cat >>$CONFIG_STATUS <<_ACEOF
22566 Wine config.status 0.9.59
22567 configured by $0, generated by GNU Autoconf 2.61,
22568 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22570 Copyright (C) 2006 Free Software Foundation, Inc.
22571 This config.status script is free software; the Free Software Foundation
22572 gives unlimited permission to copy, distribute and modify it."
22579 cat >>$CONFIG_STATUS <<\_ACEOF
22580 # If no file are specified by the user, then we need to provide default
22581 # value. By we need to know if files were specified by the user.
22587 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22588 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22599 # Handling of the options.
22600 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22602 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22603 echo "$ac_cs_version"; exit ;;
22604 --debug |
--debu |
--deb |
--de |
--d |
-d )
22606 --file |
--fil |
--fi |
--f )
22608 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22609 ac_need_defaults
=false
;;
22610 --header |
--heade |
--head |
--hea )
22612 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22613 ac_need_defaults
=false
;;
22615 # Conflict between --help and --header
22616 { echo "$as_me: error: ambiguous option: $1
22617 Try \`$0 --help' for more information." >&2
22618 { (exit 1); exit 1; }; };;
22619 --help |
--hel |
-h )
22620 echo "$ac_cs_usage"; exit ;;
22621 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22622 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22625 # This is an error.
22626 -*) { echo "$as_me: error: unrecognized option: $1
22627 Try \`$0 --help' for more information." >&2
22628 { (exit 1); exit 1; }; } ;;
22630 *) ac_config_targets
="$ac_config_targets $1"
22631 ac_need_defaults
=false
;;
22637 ac_configure_extra_args
=
22639 if $ac_cs_silent; then
22641 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22645 cat >>$CONFIG_STATUS <<_ACEOF
22646 if \$ac_cs_recheck; then
22647 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22648 CONFIG_SHELL=$SHELL
22649 export CONFIG_SHELL
22650 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22654 cat >>$CONFIG_STATUS <<\_ACEOF
22658 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22659 ## Running $as_me. ##
22665 cat >>$CONFIG_STATUS <<_ACEOF
22668 cat >>$CONFIG_STATUS <<\_ACEOF
22670 # Handling of arguments.
22671 for ac_config_target
in $ac_config_targets
22673 case $ac_config_target in
22674 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22675 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22676 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22677 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22678 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22679 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22680 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22681 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22682 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22683 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22684 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22685 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22686 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22687 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22688 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22689 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22690 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22691 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22692 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22693 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22694 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22695 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22696 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22697 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22698 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22699 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22700 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22701 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22702 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22703 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22704 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22705 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22706 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22707 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22708 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22709 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22710 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22711 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22712 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22713 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22714 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22715 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22716 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22717 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22718 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22719 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22720 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22721 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22722 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22723 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22724 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22725 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22726 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22727 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22728 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22729 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22730 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22731 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22732 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22733 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22734 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22735 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22736 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22737 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22738 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22739 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22740 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22741 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22742 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22743 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22744 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22745 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22746 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22747 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22748 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22749 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22750 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22751 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22752 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22753 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22754 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22755 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22756 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22757 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22758 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22759 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22760 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22761 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22762 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22763 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22764 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22765 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22766 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22767 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22768 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22769 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22770 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22771 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22772 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22773 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22774 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22775 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22776 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22777 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22778 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22779 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22780 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22781 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22782 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22783 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22784 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22785 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22786 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22787 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22788 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22789 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22790 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22791 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
22792 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
22793 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22794 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22795 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22796 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22797 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22798 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22799 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22800 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22801 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22802 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22803 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22804 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22805 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22806 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22807 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22808 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22809 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22810 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22811 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22812 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22813 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22814 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22815 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22816 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22817 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
22818 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22819 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22820 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22821 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22822 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
22823 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22824 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22825 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
22826 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
22827 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22828 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22829 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22830 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22831 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22832 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22833 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22834 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22835 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22836 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22837 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22838 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22839 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22840 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22841 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22842 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22843 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22844 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22845 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22846 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22847 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22848 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22849 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22850 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22851 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22852 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22853 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22854 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22855 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22856 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22857 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22858 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22859 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22860 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22861 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22862 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22863 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22864 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22865 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22866 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22867 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22868 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22869 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22870 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22871 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22872 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22873 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22874 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22875 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22876 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22877 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22878 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22879 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22880 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22881 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22882 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22883 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22884 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22885 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22886 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22887 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22888 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22889 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22890 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22891 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22892 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22893 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22894 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22895 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22896 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22897 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22898 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22899 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22900 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22901 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22902 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22903 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22904 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22905 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22906 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22907 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22908 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22909 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22910 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22911 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22912 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22913 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22914 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22915 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
22916 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22917 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22918 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22919 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22920 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
22921 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22922 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22923 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22924 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22925 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22926 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22927 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22928 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22929 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22930 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22931 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22932 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22933 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22934 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22935 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22936 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22937 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22938 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22939 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22940 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22941 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22942 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22943 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22944 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22945 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22946 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22947 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22948 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22949 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22950 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22951 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22952 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22953 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22954 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22955 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22956 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22957 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22958 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22959 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22960 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22961 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22962 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
22963 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22964 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22965 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
22966 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22967 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22968 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22969 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22970 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22971 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22972 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22973 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22974 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22975 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22976 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22977 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22978 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22979 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22980 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22981 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22982 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22983 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22984 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22985 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22986 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22987 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22988 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22989 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22990 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22991 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22992 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22993 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22994 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22995 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22996 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22997 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22998 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22999 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23000 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23001 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23002 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23003 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23004 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23005 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23006 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23007 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23008 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23009 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23010 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23011 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23012 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23013 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23014 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23015 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23016 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23017 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23018 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23019 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23020 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23021 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23022 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23023 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23024 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23025 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23026 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23027 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23028 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23029 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23030 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23031 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23032 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23033 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23034 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23035 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23036 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23037 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23038 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23039 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23040 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23041 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23042 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23043 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23044 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23045 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23046 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23047 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23048 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23049 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23050 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23051 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23052 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23053 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23054 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23055 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23056 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23057 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23058 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23059 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23060 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23061 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23062 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23063 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23064 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23065 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23066 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23067 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23068 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23069 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23070 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23071 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23072 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23073 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23074 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23075 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23076 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23077 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23078 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23079 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23080 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23081 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23082 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23083 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
23084 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23085 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23086 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23087 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23088 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23089 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23090 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23091 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23092 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23093 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23094 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23095 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23097 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23098 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23099 { (exit 1); exit 1; }; };;
23104 # If the user did not use the arguments to specify the items to instantiate,
23105 # then the envvar interface is used. Set only those that are not.
23106 # We use the long form for the default assignment because of an extremely
23107 # bizarre bug on SunOS 4.1.3.
23108 if $ac_need_defaults; then
23109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23110 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23111 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23114 # Have a temporary directory for convenience. Make it in the build tree
23115 # simply because there is no reason against having it here, and in addition,
23116 # creating and moving files from /tmp can sometimes cause problems.
23117 # Hook for its removal unless debugging.
23118 # Note that there is a small window in which the directory will not be cleaned:
23119 # after its creation but before its name has been assigned to `$tmp'.
23123 trap 'exit_status=$?
23124 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23126 trap '{ (exit 1); exit 1; }' 1 2 13 15
23128 # Create a (secure) tmp directory for tmp files.
23131 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23132 test -n "$tmp" && test -d "$tmp"
23135 tmp
=.
/conf$$
-$RANDOM
23136 (umask 077 && mkdir
"$tmp")
23139 echo "$me: cannot create a temporary directory in ." >&2
23140 { (exit 1); exit 1; }
23144 # Set up the sed scripts for CONFIG_FILES section.
23147 # No need to generate the scripts if there are no CONFIG_FILES.
23148 # This happens for instance when ./config.status config.h
23149 if test -n "$CONFIG_FILES"; then
23153 # Create sed commands to just substitute file output variables.
23155 # Remaining file output variables are in a fragment that also has non-file
23161 for ac_last_try
in false false false false false
:; do
23162 cat >conf$
$subs.
sed <<_ACEOF
23163 SHELL!$SHELL$ac_delim
23164 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23165 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23166 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23167 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23168 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23169 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23170 exec_prefix!$exec_prefix$ac_delim
23171 prefix!$prefix$ac_delim
23172 program_transform_name!$program_transform_name$ac_delim
23173 bindir!$bindir$ac_delim
23174 sbindir!$sbindir$ac_delim
23175 libexecdir!$libexecdir$ac_delim
23176 datarootdir!$datarootdir$ac_delim
23177 datadir!$datadir$ac_delim
23178 sysconfdir!$sysconfdir$ac_delim
23179 sharedstatedir!$sharedstatedir$ac_delim
23180 localstatedir!$localstatedir$ac_delim
23181 includedir!$includedir$ac_delim
23182 oldincludedir!$oldincludedir$ac_delim
23183 docdir!$docdir$ac_delim
23184 infodir!$infodir$ac_delim
23185 htmldir!$htmldir$ac_delim
23186 dvidir!$dvidir$ac_delim
23187 pdfdir!$pdfdir$ac_delim
23188 psdir!$psdir$ac_delim
23189 libdir!$libdir$ac_delim
23190 localedir!$localedir$ac_delim
23191 mandir!$mandir$ac_delim
23192 DEFS!$DEFS$ac_delim
23193 ECHO_C!$ECHO_C$ac_delim
23194 ECHO_N!$ECHO_N$ac_delim
23195 ECHO_T!$ECHO_T$ac_delim
23196 LIBS!$LIBS$ac_delim
23197 build_alias!$build_alias$ac_delim
23198 host_alias!$host_alias$ac_delim
23199 target_alias!$target_alias$ac_delim
23200 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23201 build!$build$ac_delim
23202 build_cpu!$build_cpu$ac_delim
23203 build_vendor!$build_vendor$ac_delim
23204 build_os!$build_os$ac_delim
23205 host!$host$ac_delim
23206 host_cpu!$host_cpu$ac_delim
23207 host_vendor!$host_vendor$ac_delim
23208 host_os!$host_os$ac_delim
23209 WIN16_FILES!$WIN16_FILES$ac_delim
23210 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23211 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23212 WINETEST!$WINETEST$ac_delim
23213 SET_MAKE!$SET_MAKE$ac_delim
23215 CFLAGS!$CFLAGS$ac_delim
23216 LDFLAGS!$LDFLAGS$ac_delim
23217 CPPFLAGS!$CPPFLAGS$ac_delim
23218 ac_ct_CC!$ac_ct_CC$ac_delim
23219 EXEEXT!$EXEEXT$ac_delim
23220 OBJEXT!$OBJEXT$ac_delim
23222 CXXFLAGS!$CXXFLAGS$ac_delim
23223 ac_ct_CXX!$ac_ct_CXX$ac_delim
23224 CPPBIN!$CPPBIN$ac_delim
23225 TOOLSDIR!$TOOLSDIR$ac_delim
23226 XMKMF!$XMKMF$ac_delim
23228 X_CFLAGS!$X_CFLAGS$ac_delim
23229 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23230 X_LIBS!$X_LIBS$ac_delim
23231 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23232 FLEX!$FLEX$ac_delim
23233 BISON!$BISON$ac_delim
23235 ac_ct_AS!$ac_ct_AS$ac_delim
23238 ARFLAGS!$ARFLAGS$ac_delim
23239 RANLIB!$RANLIB$ac_delim
23240 STRIP!$STRIP$ac_delim
23241 WINDRES!$WINDRES$ac_delim
23242 LN_S!$LN_S$ac_delim
23244 GREP!$GREP$ac_delim
23247 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23249 elif $ac_last_try; then
23250 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23251 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23252 { (exit 1); exit 1; }; }
23254 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23258 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23259 if test -n "$ac_eof"; then
23260 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23261 ac_eof
=`expr $ac_eof + 1`
23264 cat >>$CONFIG_STATUS <<_ACEOF
23265 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23266 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23267 /^[ ]*@MAKE_RULES@[ ]*$/{
23271 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23275 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23276 r $MAKE_IMPLIB_RULES
23279 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23283 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23289 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23290 s/^/s,@/; s/!/@,|#_!!_#|/
23293 s/'"$ac_delim"'$/,g/; t
23295 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23296 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23297 rm -f conf$
$subs.
sed
23298 cat >>$CONFIG_STATUS <<_ACEOF
23304 for ac_last_try
in false false false false false
:; do
23305 cat >conf$
$subs.
sed <<_ACEOF
23306 EGREP!$EGREP$ac_delim
23307 LDCONFIG!$LDCONFIG$ac_delim
23308 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23309 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23310 INSTALL_DATA!$INSTALL_DATA$ac_delim
23311 LINT!$LINT$ac_delim
23312 LINTFLAGS!$LINTFLAGS$ac_delim
23313 FONTFORGE!$FONTFORGE$ac_delim
23314 PKG_CONFIG!$PKG_CONFIG$ac_delim
23315 RSVG!$RSVG$ac_delim
23316 ICOTOOL!$ICOTOOL$ac_delim
23317 PRELINK!$PRELINK$ac_delim
23318 LIBPTHREAD!$LIBPTHREAD$ac_delim
23319 XLIB!$XLIB$ac_delim
23320 XFILES!$XFILES$ac_delim
23321 OPENGLFILES!$OPENGLFILES$ac_delim
23322 GLU32FILES!$GLU32FILES$ac_delim
23323 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23324 QUARTZFILES!$QUARTZFILES$ac_delim
23325 DLLEXT!$DLLEXT$ac_delim
23326 DLLFLAGS!$DLLFLAGS$ac_delim
23327 LDSHARED!$LDSHARED$ac_delim
23328 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23329 LIBEXT!$LIBEXT$ac_delim
23330 IMPLIBEXT!$IMPLIBEXT$ac_delim
23331 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23332 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23334 DLLTOOL!$DLLTOOL$ac_delim
23335 DLLWRAP!$DLLWRAP$ac_delim
23336 MINGWAR!$MINGWAR$ac_delim
23337 SECURITYLIB!$SECURITYLIB$ac_delim
23338 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23339 IOKITLIB!$IOKITLIB$ac_delim
23340 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23341 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23342 COREAUDIO!$COREAUDIO$ac_delim
23343 CARBONLIB!$CARBONLIB$ac_delim
23344 CROSSTEST!$CROSSTEST$ac_delim
23345 CROSSCC!$CROSSCC$ac_delim
23346 CROSSWINDRES!$CROSSWINDRES$ac_delim
23347 NASLIBS!$NASLIBS$ac_delim
23348 XML2LIBS!$XML2LIBS$ac_delim
23349 XML2INCL!$XML2INCL$ac_delim
23350 XSLTLIBS!$XSLTLIBS$ac_delim
23351 XSLTINCL!$XSLTINCL$ac_delim
23352 HALINCL!$HALINCL$ac_delim
23353 sane_devel!$sane_devel$ac_delim
23354 SANEINCL!$SANEINCL$ac_delim
23355 gphoto2_devel!$gphoto2_devel$ac_delim
23356 gphoto2port_devel!$gphoto2port_devel$ac_delim
23357 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23358 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23359 RESOLVLIBS!$RESOLVLIBS$ac_delim
23360 LCMSLIBS!$LCMSLIBS$ac_delim
23361 LDAPLIBS!$LDAPLIBS$ac_delim
23362 ft_devel!$ft_devel$ac_delim
23363 FREETYPELIBS!$FREETYPELIBS$ac_delim
23364 FREETYPEINCL!$FREETYPEINCL$ac_delim
23365 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23366 ESDCONFIG!$ESDCONFIG$ac_delim
23367 ESDLIBS!$ESDLIBS$ac_delim
23368 ESDINCL!$ESDINCL$ac_delim
23369 ALSALIBS!$ALSALIBS$ac_delim
23370 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23371 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23372 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23373 BUILTINFLAG!$BUILTINFLAG$ac_delim
23374 LDPATH!$LDPATH$ac_delim
23375 CRTLIBS!$CRTLIBS$ac_delim
23376 SOCKETLIBS!$SOCKETLIBS$ac_delim
23377 MAIN_BINARY!$MAIN_BINARY$ac_delim
23378 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23379 LIBDL!$LIBDL$ac_delim
23380 LIBPOLL!$LIBPOLL$ac_delim
23381 DEPENDENCIES!$DEPENDENCIES$ac_delim
23382 LIBOBJS!$LIBOBJS$ac_delim
23383 LTLIBOBJS!$LTLIBOBJS$ac_delim
23386 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
23388 elif $ac_last_try; then
23389 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23390 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23391 { (exit 1); exit 1; }; }
23393 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23397 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23398 if test -n "$ac_eof"; then
23399 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23400 ac_eof
=`expr $ac_eof + 1`
23403 cat >>$CONFIG_STATUS <<_ACEOF
23404 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23405 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23408 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23409 s/^/s,@/; s/!/@,|#_!!_#|/
23412 s/'"$ac_delim"'$/,g/; t
23414 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23415 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23416 rm -f conf$
$subs.
sed
23417 cat >>$CONFIG_STATUS <<_ACEOF
23424 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23425 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23426 # trailing colons and then remove the whole line if VPATH becomes empty
23427 # (actually we leave an empty line to preserve line numbers).
23428 if test "x$srcdir" = x.
; then
23429 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23430 s/:*\$(srcdir):*/:/
23431 s/:*\${srcdir}:*/:/
23433 s/^\([^=]*=[ ]*\):*/\1/
23439 cat >>$CONFIG_STATUS <<\_ACEOF
23440 fi # test -n "$CONFIG_FILES"
23443 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23446 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23448 case $ac_mode$ac_tag in
23450 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23451 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23452 { (exit 1); exit 1; }; };;
23453 :[FH
]-) ac_tag
=-:-;;
23454 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23471 -) ac_f
="$tmp/stdin";;
23472 *) # Look for the file first in the build tree, then in the source tree
23473 # (if the path is not absolute). The absolute path cannot be DOS-style,
23474 # because $ac_f cannot contain `:'.
23478 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23480 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23481 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23482 { (exit 1); exit 1; }; };;
23484 ac_file_inputs
="$ac_file_inputs $ac_f"
23487 # Let's still pretend it is `configure' which instantiates (i.e., don't
23488 # use $as_me), people would be surprised to read:
23489 # /* config.h. Generated by config.status. */
23490 configure_input
="Generated from "`IFS=:
23491 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23492 if test x
"$ac_file" != x-
; then
23493 configure_input
="$ac_file. $configure_input"
23494 { echo "$as_me:$LINENO: creating $ac_file" >&5
23495 echo "$as_me: creating $ac_file" >&6;}
23499 *:-:* |
*:-) cat >"$tmp/stdin";;
23504 ac_dir
=`$as_dirname -- "$ac_file" ||
23505 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23506 X"$ac_file" : 'X\(//\)[^/]' \| \
23507 X"$ac_file" : 'X\(//\)$' \| \
23508 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23514 /^X\(\/\/\)[^/].*/{
23529 -*) as_dir
=.
/$as_dir;;
23531 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23535 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23536 *) as_qdir
=$as_dir;;
23538 as_dirs
="'$as_qdir' $as_dirs"
23539 as_dir
=`$as_dirname -- "$as_dir" ||
23540 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23541 X"$as_dir" : 'X\(//\)[^/]' \| \
23542 X"$as_dir" : 'X\(//\)$' \| \
23543 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23549 /^X\(\/\/\)[^/].*/{
23562 test -d "$as_dir" && break
23564 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23565 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23566 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23567 { (exit 1); exit 1; }; }; }
23571 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23573 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23574 # A ".." for each directory in $ac_dir_suffix.
23575 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23576 case $ac_top_builddir_sub in
23577 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23578 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23581 ac_abs_top_builddir
=$ac_pwd
23582 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23583 # for backward compatibility:
23584 ac_top_builddir
=$ac_top_build_prefix
23587 .
) # We are building in place.
23589 ac_top_srcdir
=$ac_top_builddir_sub
23590 ac_abs_top_srcdir
=$ac_pwd ;;
23591 [\\/]* | ?
:[\\/]* ) # Absolute name.
23592 ac_srcdir
=$srcdir$ac_dir_suffix;
23593 ac_top_srcdir
=$srcdir
23594 ac_abs_top_srcdir
=$srcdir ;;
23595 *) # Relative name.
23596 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23597 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23598 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23600 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23610 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23611 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23615 cat >>$CONFIG_STATUS <<\_ACEOF
23616 # If the template does not know about datarootdir, expand it.
23617 # FIXME: This hack should be removed a few years after 2.60.
23618 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23620 case `sed -n '/datarootdir/ {
23629 ' $ac_file_inputs` in
23630 *datarootdir
*) ac_datarootdir_seen
=yes;;
23631 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23632 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23633 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23635 cat >>$CONFIG_STATUS <<_ACEOF
23636 ac_datarootdir_hack='
23637 s&@datadir@&$datadir&g
23638 s&@docdir@&$docdir&g
23639 s&@infodir@&$infodir&g
23640 s&@localedir@&$localedir&g
23641 s&@mandir@&$mandir&g
23642 s&\\\${datarootdir}&$datarootdir&g' ;;
23646 # Neutralize VPATH when `$srcdir' = `.'.
23647 # Shell code in configure.ac might set extrasub.
23648 # FIXME: do we really want to maintain this feature?
23649 cat >>$CONFIG_STATUS <<_ACEOF
23653 cat >>$CONFIG_STATUS <<\_ACEOF
23655 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23656 s
&@configure_input@
&$configure_input&;t t
23657 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23658 s
&@srcdir@
&$ac_srcdir&;t t
23659 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23660 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23661 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23662 s
&@builddir@
&$ac_builddir&;t t
23663 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23664 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23665 s
&@INSTALL@
&$ac_INSTALL&;t t
23666 $ac_datarootdir_hack
23667 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23669 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23670 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23671 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23672 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23673 which seems to be undefined. Please make sure it is defined." >&5
23674 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23675 which seems to be undefined. Please make sure it is defined." >&2;}
23679 -) cat "$tmp/out"; rm -f "$tmp/out";;
23680 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23689 # Transform confdefs.h into a sed script `conftest.defines', that
23690 # substitutes the proper values into config.h.in to produce config.h.
23691 rm -f conftest.defines conftest.
tail
23692 # First, append a space to every undef/define line, to ease matching.
23693 echo 's/$/ /' >conftest.defines
23694 # Then, protect against being on the right side of a sed subst, or in
23695 # an unquoted here document, in config.status. If some macros were
23696 # called several times there might be several #defines for the same
23697 # symbol, which is useless. But do not sort them, since the last
23698 # AC_DEFINE must be honored.
23699 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23700 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23701 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23702 # PARAMS is the parameter list in the macro definition--in most cases, it's
23703 # just an empty string.
23704 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23705 ac_dB
='\\)[ (].*,\\1define\\2'
23713 s/^[ ]*#[ ]*define[ ][ ]*//
23718 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23719 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23720 ' >>conftest.defines
23722 # Remove the space that was appended to ease matching.
23723 # Then replace #undef with comments. This is necessary, for
23724 # example, in the case of _POSIX_SOURCE, which is predefined and required
23725 # on some systems where configure will not decide to define it.
23726 # (The regexp can be short, since the line contains either #define or #undef.)
23728 s,^[ #]*u.*,/* & */,' >>conftest.defines
23730 # Break up conftest.defines:
23731 ac_max_sed_lines
=50
23733 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23734 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23735 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23737 ac_in
='$ac_file_inputs'
23738 ac_out
='"$tmp/out1"'
23739 ac_nxt
='"$tmp/out2"'
23743 # Write a here document:
23744 cat >>$CONFIG_STATUS <<_ACEOF
23745 # First, check the format of the line:
23746 cat >"\$tmp/defines.sed" <<\\CEOF
23747 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23748 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23752 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23754 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23755 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23756 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23757 grep . conftest.
tail >/dev
/null ||
break
23758 rm -f conftest.defines
23759 mv conftest.
tail conftest.defines
23761 rm -f conftest.defines conftest.
tail
23763 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23764 cat >>$CONFIG_STATUS <<\_ACEOF
23765 if test x
"$ac_file" != x-
; then
23766 echo "/* $configure_input */" >"$tmp/config.h"
23767 cat "$ac_result" >>"$tmp/config.h"
23768 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23769 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23770 echo "$as_me: $ac_file is unchanged" >&6;}
23773 mv "$tmp/config.h" $ac_file
23776 echo "/* $configure_input */"
23782 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23783 echo "$as_me: executing $ac_file commands" >&6;}
23788 case $ac_file$ac_mode in
23789 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23790 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23791 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
23792 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23793 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
23794 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23795 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
23796 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23797 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
23798 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23799 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
23800 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
23801 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23807 { (exit 0); exit 0; }
23809 chmod +x
$CONFIG_STATUS
23810 ac_clean_files
=$ac_clean_files_save
23813 # configure is writing to config.log, and then calls config.status.
23814 # config.status does its own redirection, appending to config.log.
23815 # Unfortunately, on DOS this fails, as config.log is still kept open
23816 # by configure, so config.status won't be able to write to it; its
23817 # output is simply discarded. So we exec the FD to /dev/null,
23818 # effectively closing config.log, so it can be properly (re)opened and
23819 # appended to by config.status. When coming back to configure, we
23820 # need to make the FD available again.
23821 if test "$no_create" != yes; then
23823 ac_config_status_args
=
23824 test "$silent" = yes &&
23825 ac_config_status_args
="$ac_config_status_args --quiet"
23827 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23829 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23830 # would make configure fail if this is the last instruction.
23831 $ac_cs_success ||
{ (exit 1); exit 1; }
23835 if test "$no_create" = "yes"
23842 if test "x$wine_notices != "x
; then
23844 for msg
in $wine_notices; do
23845 if test -n "$msg"; then
23846 { echo "$as_me:$LINENO: $msg" >&5
23847 echo "$as_me: $msg" >&6;}
23851 for msg
in $wine_warnings; do
23852 if test -n "$msg"; then
23854 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23855 echo "$as_me: WARNING: $msg" >&2;}
23861 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.