2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='0.9.57'
578 PACKAGE_STRING
='Wine 0.9.57'
579 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
581 ac_unique_file
="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
775 ac_subst_files
='MAKE_RULES
780 ac_precious_vars
='build_alias
795 # Initialize some variables set by options.
797 ac_init_version
=false
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
899 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
900 { (exit 1); exit 1; }; }
901 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
902 eval enable_
$ac_feature=no
;;
904 -docdir |
--docdir |
--docdi |
--doc |
--do)
906 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
909 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
911 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
914 -enable-* |
--enable-*)
915 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
918 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
919 { (exit 1); exit 1; }; }
920 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
921 eval enable_
$ac_feature=\
$ac_optarg ;;
923 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
924 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
925 |
--exec |
--exe |
--ex)
926 ac_prev
=exec_prefix
;;
927 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
928 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
929 |
--exec=* |
--exe=* |
--ex=*)
930 exec_prefix
=$ac_optarg ;;
932 -gas |
--gas |
--ga |
--g)
933 # Obsolete; use --with-gas.
936 -help |
--help |
--hel |
--he |
-h)
938 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
939 ac_init_help
=recursive
;;
940 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
941 ac_init_help
=short
;;
943 -host |
--host |
--hos |
--ho)
944 ac_prev
=host_alias
;;
945 -host=* |
--host=* |
--hos=* |
--ho=*)
946 host_alias
=$ac_optarg ;;
948 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
950 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
952 htmldir
=$ac_optarg ;;
954 -includedir |
--includedir |
--includedi |
--included |
--include \
955 |
--includ |
--inclu |
--incl |
--inc)
956 ac_prev
=includedir
;;
957 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
958 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
959 includedir
=$ac_optarg ;;
961 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
963 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
964 infodir
=$ac_optarg ;;
966 -libdir |
--libdir |
--libdi |
--libd)
968 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
971 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
972 |
--libexe |
--libex |
--libe)
973 ac_prev
=libexecdir
;;
974 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
975 |
--libexe=* |
--libex=* |
--libe=*)
976 libexecdir
=$ac_optarg ;;
978 -localedir |
--localedir |
--localedi |
--localed |
--locale)
980 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
981 localedir
=$ac_optarg ;;
983 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
984 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
985 ac_prev
=localstatedir
;;
986 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
987 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
988 localstatedir
=$ac_optarg ;;
990 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
992 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
996 # Obsolete; use --without-fp.
999 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1000 |
--no-cr |
--no-c |
-n)
1003 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1004 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1007 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1008 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1009 |
--oldin |
--oldi |
--old |
--ol |
--o)
1010 ac_prev
=oldincludedir
;;
1011 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1012 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1013 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1014 oldincludedir
=$ac_optarg ;;
1016 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1018 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1019 prefix
=$ac_optarg ;;
1021 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1022 |
--program-pre |
--program-pr |
--program-p)
1023 ac_prev
=program_prefix
;;
1024 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1025 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1026 program_prefix
=$ac_optarg ;;
1028 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1029 |
--program-suf |
--program-su |
--program-s)
1030 ac_prev
=program_suffix
;;
1031 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1032 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1033 program_suffix
=$ac_optarg ;;
1035 -program-transform-name |
--program-transform-name \
1036 |
--program-transform-nam |
--program-transform-na \
1037 |
--program-transform-n |
--program-transform- \
1038 |
--program-transform |
--program-transfor \
1039 |
--program-transfo |
--program-transf \
1040 |
--program-trans |
--program-tran \
1041 |
--progr-tra |
--program-tr |
--program-t)
1042 ac_prev
=program_transform_name
;;
1043 -program-transform-name=* |
--program-transform-name=* \
1044 |
--program-transform-nam=* |
--program-transform-na=* \
1045 |
--program-transform-n=* |
--program-transform-=* \
1046 |
--program-transform=* |
--program-transfor=* \
1047 |
--program-transfo=* |
--program-transf=* \
1048 |
--program-trans=* |
--program-tran=* \
1049 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1050 program_transform_name
=$ac_optarg ;;
1052 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1054 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1055 pdfdir
=$ac_optarg ;;
1057 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1059 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1062 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1063 |
-silent |
--silent |
--silen |
--sile |
--sil)
1066 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1068 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1070 sbindir
=$ac_optarg ;;
1072 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1073 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1074 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1076 ac_prev
=sharedstatedir
;;
1077 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1078 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1079 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1081 sharedstatedir
=$ac_optarg ;;
1083 -site |
--site |
--sit)
1085 -site=* |
--site=* |
--sit=*)
1088 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1090 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1091 srcdir
=$ac_optarg ;;
1093 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1094 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1095 ac_prev
=sysconfdir
;;
1096 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1097 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1098 sysconfdir
=$ac_optarg ;;
1100 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1101 ac_prev
=target_alias
;;
1102 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1103 target_alias
=$ac_optarg ;;
1105 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1108 -version |
--version |
--versio |
--versi |
--vers |
-V)
1109 ac_init_version
=: ;;
1112 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1115 { echo "$as_me: error: invalid package name: $ac_package" >&2
1116 { (exit 1); exit 1; }; }
1117 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1118 eval with_
$ac_package=\
$ac_optarg ;;
1120 -without-* |
--without-*)
1121 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1124 { echo "$as_me: error: invalid package name: $ac_package" >&2
1125 { (exit 1); exit 1; }; }
1126 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1127 eval with_
$ac_package=no
;;
1130 # Obsolete; use --with-x.
1133 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1134 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1135 ac_prev
=x_includes
;;
1136 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1137 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1138 x_includes
=$ac_optarg ;;
1140 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1141 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1142 ac_prev
=x_libraries
;;
1143 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1144 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1145 x_libraries
=$ac_optarg ;;
1147 -*) { echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149 { (exit 1); exit 1; }; }
1153 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1156 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157 { (exit 1); exit 1; }; }
1158 eval $ac_envvar=\
$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1165 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 if test -n "$ac_prev"; then
1173 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1174 { echo "$as_me: error: missing argument to $ac_option" >&2
1175 { (exit 1); exit 1; }; }
1178 # Be sure to have absolute directory names.
1179 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1184 eval ac_val
=\$
$ac_var
1186 [\\/$
]* | ?
:[\\/]* ) continue;;
1187 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1189 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1190 { (exit 1); exit 1; }; }
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target
=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x
; then
1202 if test "x$build_alias" = x
; then
1203 cross_compiling
=maybe
1204 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used." >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1212 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1214 test "$silent" = yes && exec 6>/dev
/null
1217 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di
=`ls -di .` &&
1219 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1220 { echo "$as_me: error: Working directory cannot be determined" >&2
1221 { (exit 1); exit 1; }; }
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 { echo "$as_me: error: pwd does not report name of working directory" >&2
1224 { (exit 1); exit 1; }; }
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted
=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir
=`$as_dirname -- "$0" ||
1232 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$0" : 'X\(//\)[^/]' \| \
1234 X"$0" : 'X\(//\)$' \| \
1235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted
=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1263 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1264 { (exit 1); exit 1; }; }
1266 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1269 { (exit 1); exit 1; }; }
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1279 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 for ac_var
in $ac_precious_vars; do
1282 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1284 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1285 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1295 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1353 --x-includes=DIR X include files are
in DIR
1354 --x-libraries=DIR X library files are
in DIR
1357 --build=BUILD configure
for building on BUILD
[guessed
]
1358 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive
) echo "Configuration of Wine 0.9.57:";;
1369 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1370 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1371 --disable-win16 do not include Win16 support
1372 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1374 --disable-tests do not build the testsuites
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1379 --without-alsa do not use the Alsa sound support
1380 --without-audioio do not use the AudioIO sound support
1381 --without-capi do not use CAPI (ISDN support)
1382 --without-cms do not use CMS (color management support)
1383 --without-coreaudio do not use the CoreAudio sound support
1384 --without-cups do not use CUPS
1385 --without-curses do not use (n)curses
1386 --without-esd do not use the EsounD sound support
1387 --without-fontconfig do not use fontconfig
1388 --without-gphoto do not use gphoto (Digital Camera support)
1389 --without-hal do not use HAL (dynamic device support)
1390 --without-jack do not use the Jack sound support
1391 --without-jpeg do not use JPEG
1392 --without-ldap do not use LDAP
1393 --without-nas do not use the NAS sound support
1394 --without-opengl do not use OpenGL
1395 --without-openssl do not use OpenSSL
1396 --without-oss do not use the OSS sound support
1397 --without-png do not use PNG
1398 --without-sane do not use SANE (scanner support)
1399 --without-xcomposite do not use the Xcomposite extension
1400 --without-xcursor do not use the Xcursor extension
1401 --without-xinerama do not use Xinerama (multi-monitor support)
1402 --without-xinput do not use the Xinput extension
1403 --without-xml do not use XML
1404 --without-xrandr do not use Xrandr (resolution changes)
1405 --without-xrender do not use the Xrender extension
1406 --without-xshape do not use the Xshape extension
1407 --without-xshm do not use XShm (shared memory extension)
1408 --without-xslt do not use XSLT
1409 --without-xvidmode do not use XFree video mode extension
1410 --with-wine-tools=DIR use Wine tools from directory DIR
1411 --with-x use the X Window System
1413 Some influential environment variables:
1414 CC C compiler command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1417 nonstandard directory <lib dir>
1418 LIBS libraries to pass to the linker, e.g. -l<library>
1419 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1420 you have headers in a nonstandard directory <include dir>
1421 CXX C++ compiler command
1422 CXXFLAGS C++ compiler flags
1423 XMKMF Path to xmkmf, Makefile generator for X Window System
1426 Use these variables to override the choices made by `configure' or to
help
1427 it to
find libraries and programs with nonstandard names
/locations.
1429 Report bugs to
<wine-devel@winehq.org
>.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1437 test -d "$ac_dir" ||
continue
1441 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1443 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1448 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir
=$ac_pwd
1452 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir
=$ac_top_build_prefix
1457 .
) # We are building in place.
1459 ac_top_srcdir
=$ac_top_builddir_sub
1460 ac_abs_top_srcdir
=$ac_pwd ;;
1461 [\\/]* | ?
:[\\/]* ) # Absolute name.
1462 ac_srcdir
=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir
=$srcdir
1464 ac_abs_top_srcdir
=$srcdir ;;
1466 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1490 Wine configure
0.9.57
1491 generated by GNU Autoconf
2.61
1493 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1494 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1495 This configure
script is free software
; the Free Software Foundation
1496 gives unlimited permission to copy
, distribute and modify it.
1500 cat >config.log
<<_ACEOF
1501 This file contains any messages produced by compilers while
1502 running configure, to aid debugging if configure makes a mistake.
1504 It was created by Wine $as_me 0.9.57, which was
1505 generated by GNU Autoconf 2.61. Invocation command line was
1517 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1518 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1519 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1520 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1521 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1523 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1524 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1526 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1527 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1528 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1529 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1530 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1531 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1532 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir
=.
1541 echo "PATH: $as_dir"
1557 # Keep a trace of the command line.
1558 # Strip out --no-create and --no-recursion so they do not pile up.
1559 # Strip out --silent because we don't want to record it for future runs.
1560 # Also quote any args containing shell meta-characters.
1561 # Make two passes to allow for proper duplicate-argument suppression.
1565 ac_must_keep_next
=false
1571 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1572 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1573 |
-silent |
--silent |
--silen |
--sile |
--sil)
1576 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1581 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1582 if test $ac_must_keep_next = true
; then
1583 ac_must_keep_next
=false
# Got value, back to normal.
1586 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1587 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1588 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1589 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1590 case "$ac_configure_args0 " in
1591 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594 -* ) ac_must_keep_next
=true
;;
1597 ac_configure_args
="$ac_configure_args '$ac_arg'"
1602 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1603 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1605 # When interrupted or exit'd, cleanup temporary files, and complete
1606 # config.log. We remove comments because anyway the quotes in there
1607 # would cause problems or look ugly.
1608 # WARNING: Use '\'' to represent an apostrophe within the trap.
1609 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1610 trap 'exit_status=$?
1611 # Save into config.log some information that might help in debugging.
1616 ## ---------------- ##
1617 ## Cache variables. ##
1618 ## ---------------- ##
1621 # The following way of writing the cache mishandles newlines in values,
1623 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1624 eval ac_val=\$$ac_var
1628 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1629 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1632 _ | IFS | as_nl) ;; #(
1633 *) $as_unset $ac_var ;;
1638 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1639 *${as_nl}ac_space=\ *)
1641 "s/'\''/'\''\\\\'\'''\''/g;
1642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1653 ## ----------------- ##
1654 ## Output variables. ##
1655 ## ----------------- ##
1658 for ac_var in $ac_subst_vars
1660 eval ac_val=\$$ac_var
1662 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1664 echo "$ac_var='\''$ac_val'\''"
1668 if test -n "$ac_subst_files"; then
1670 ## ------------------- ##
1671 ## File substitutions. ##
1672 ## ------------------- ##
1675 for ac_var
in $ac_subst_files
1677 eval ac_val
=\$
$ac_var
1679 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 echo "$ac_var='\''$ac_val'\''"
1686 if test -s confdefs.h; then
1696 test "$ac_signal" != 0 &&
1697 echo "$as_me: caught signal $ac_signal"
1698 echo "$as_me: exit $exit_status"
1700 rm -f core *.core core.conftest.* &&
1701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704 for ac_signal
in 1 2 13 15; do
1705 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1710 rm -f -r conftest
* confdefs.h
1712 # Predefined preprocessor variables.
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE_STRING "$PACKAGE_STRING"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 # Let the site file select an alternate cache file if it wants to.
1740 # Prefer explicitly selected file to automatically selected ones.
1741 if test -n "$CONFIG_SITE"; then
1742 set x
"$CONFIG_SITE"
1743 elif test "x$prefix" != xNONE
; then
1744 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1746 set x
"$ac_default_prefix/share/config.site" \
1747 "$ac_default_prefix/etc/config.site"
1752 if test -r "$ac_site_file"; then
1753 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1754 echo "$as_me: loading site script $ac_site_file" >&6;}
1755 sed 's/^/| /' "$ac_site_file" >&5
1760 if test -r "$cache_file"; then
1761 # Some versions of bash will fail to source /dev/null (special
1762 # files actually), so we avoid doing that.
1763 if test -f "$cache_file"; then
1764 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1765 echo "$as_me: loading cache $cache_file" >&6;}
1767 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1768 *) .
"./$cache_file";;
1772 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1773 echo "$as_me: creating cache $cache_file" >&6;}
1777 # Check that the precious variables saved in the cache have kept the same
1779 ac_cache_corrupted
=false
1780 for ac_var
in $ac_precious_vars; do
1781 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1782 eval ac_new_set
=\
$ac_env_${ac_var}_set
1783 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1784 eval ac_new_val
=\
$ac_env_${ac_var}_value
1785 case $ac_old_set,$ac_new_set in
1787 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1788 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1789 ac_cache_corrupted
=: ;;
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1793 ac_cache_corrupted
=: ;;
1796 if test "x$ac_old_val" != "x$ac_new_val"; then
1797 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1798 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1799 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1800 echo "$as_me: former value: $ac_old_val" >&2;}
1801 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1802 echo "$as_me: current value: $ac_new_val" >&2;}
1803 ac_cache_corrupted
=:
1806 # Pass precious variables to config.status.
1807 if test "$ac_new_set" = set; then
1809 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1810 *) ac_arg
=$ac_var=$ac_new_val ;;
1812 case " $ac_configure_args " in
1813 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1814 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1818 if $ac_cache_corrupted; then
1819 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1820 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1822 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1823 { (exit 1); exit 1; }; }
1851 ac_cpp
='$CPP $CPPFLAGS'
1852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1858 ac_config_headers
="$ac_config_headers include/config.h"
1861 for ac_dir
in tools
"$srcdir"/tools
; do
1862 if test -f "$ac_dir/install-sh"; then
1864 ac_install_sh
="$ac_aux_dir/install-sh -c"
1866 elif test -f "$ac_dir/install.sh"; then
1868 ac_install_sh
="$ac_aux_dir/install.sh -c"
1870 elif test -f "$ac_dir/shtool"; then
1872 ac_install_sh
="$ac_aux_dir/shtool install -c"
1876 if test -z "$ac_aux_dir"; then
1877 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1878 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1879 { (exit 1); exit 1; }; }
1882 # These three variables are undocumented and unsupported,
1883 # and are intended to be withdrawn in a future Autoconf release.
1884 # They can cause serious problems if a builder's source tree is in a directory
1885 # whose full name contains unusual characters.
1886 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1887 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1888 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1893 # Check whether --enable-win16 was given.
1894 if test "${enable_win16+set}" = set; then
1895 enableval
=$enable_win16;
1898 # Check whether --enable-win64 was given.
1899 if test "${enable_win64+set}" = set; then
1900 enableval
=$enable_win64;
1905 # Check whether --with-alsa was given.
1906 if test "${with_alsa+set}" = set; then
1907 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1911 # Check whether --with-audioio was given.
1912 if test "${with_audioio+set}" = set; then
1913 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1917 # Check whether --with-capi was given.
1918 if test "${with_capi+set}" = set; then
1919 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1923 # Check whether --with-cms was given.
1924 if test "${with_cms+set}" = set; then
1925 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1929 # Check whether --with-coreaudio was given.
1930 if test "${with_coreaudio+set}" = set; then
1931 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1935 # Check whether --with-cups was given.
1936 if test "${with_cups+set}" = set; then
1937 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1941 # Check whether --with-curses was given.
1942 if test "${with_curses+set}" = set; then
1943 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1947 # Check whether --with-esd was given.
1948 if test "${with_esd+set}" = set; then
1953 # Check whether --with-fontconfig was given.
1954 if test "${with_fontconfig+set}" = set; then
1955 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1959 # Check whether --with-gphoto was given.
1960 if test "${with_gphoto+set}" = set; then
1961 withval
=$with_gphoto;
1965 # Check whether --with-hal was given.
1966 if test "${with_hal+set}" = set; then
1971 # Check whether --with-jack was given.
1972 if test "${with_jack+set}" = set; then
1973 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
1977 # Check whether --with-jpeg was given.
1978 if test "${with_jpeg+set}" = set; then
1979 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
1983 # Check whether --with-ldap was given.
1984 if test "${with_ldap+set}" = set; then
1985 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
1989 # Check whether --with-nas was given.
1990 if test "${with_nas+set}" = set; then
1991 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
1995 # Check whether --with-opengl was given.
1996 if test "${with_opengl+set}" = set; then
1997 withval
=$with_opengl;
2001 # Check whether --with-openssl was given.
2002 if test "${with_openssl+set}" = set; then
2003 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2007 # Check whether --with-oss was given.
2008 if test "${with_oss+set}" = set; then
2009 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
2013 # Check whether --with-png was given.
2014 if test "${with_png+set}" = set; then
2015 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2019 # Check whether --with-sane was given.
2020 if test "${with_sane+set}" = set; then
2025 # Check whether --with-xcomposite was given.
2026 if test "${with_xcomposite+set}" = set; then
2027 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2031 # Check whether --with-xcursor was given.
2032 if test "${with_xcursor+set}" = set; then
2033 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2037 # Check whether --with-xinerama was given.
2038 if test "${with_xinerama+set}" = set; then
2039 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2043 # Check whether --with-xinput was given.
2044 if test "${with_xinput+set}" = set; then
2045 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2049 # Check whether --with-xml was given.
2050 if test "${with_xml+set}" = set; then
2055 # Check whether --with-xrandr was given.
2056 if test "${with_xrandr+set}" = set; then
2057 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2061 # Check whether --with-xrender was given.
2062 if test "${with_xrender+set}" = set; then
2063 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2067 # Check whether --with-xshape was given.
2068 if test "${with_xshape+set}" = set; then
2069 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2073 # Check whether --with-xshm was given.
2074 if test "${with_xshm+set}" = set; then
2075 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2079 # Check whether --with-xslt was given.
2080 if test "${with_xslt+set}" = set; then
2085 # Check whether --with-xvidmode was given.
2086 if test "${with_xvidmode+set}" = set; then
2087 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2092 # Check whether --with-wine-tools was given.
2093 if test "${with_wine_tools+set}" = set; then
2094 withval
=$with_wine_tools;
2097 # Check whether --enable-tests was given.
2098 if test "${enable_tests+set}" = set; then
2099 enableval
=$enable_tests;
2103 # Make sure we can run config.sub.
2104 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2105 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2106 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2107 { (exit 1); exit 1; }; }
2109 { echo "$as_me:$LINENO: checking build system type" >&5
2110 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2111 if test "${ac_cv_build+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 ac_build_alias
=$build_alias
2115 test "x$ac_build_alias" = x
&&
2116 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2117 test "x$ac_build_alias" = x
&&
2118 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2119 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2120 { (exit 1); exit 1; }; }
2121 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2122 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2123 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2124 { (exit 1); exit 1; }; }
2127 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2128 echo "${ECHO_T}$ac_cv_build" >&6; }
2129 case $ac_cv_build in
2131 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2132 echo "$as_me: error: invalid value of canonical build" >&2;}
2133 { (exit 1); exit 1; }; };;
2136 ac_save_IFS
=$IFS; IFS
='-'
2142 # Remember, the first character of IFS is used to create $*,
2143 # except with old shells:
2146 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2149 { echo "$as_me:$LINENO: checking host system type" >&5
2150 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2151 if test "${ac_cv_host+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 if test "x$host_alias" = x
; then
2155 ac_cv_host
=$ac_cv_build
2157 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2158 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2159 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2160 { (exit 1); exit 1; }; }
2164 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2165 echo "${ECHO_T}$ac_cv_host" >&6; }
2168 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2169 echo "$as_me: error: invalid value of canonical host" >&2;}
2170 { (exit 1); exit 1; }; };;
2173 ac_save_IFS
=$IFS; IFS
='-'
2179 # Remember, the first character of IFS is used to create $*,
2180 # except with old shells:
2183 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2188 if test "x$enable_win64" != "xyes"
2190 test -n "$CC" || CC
="gcc -m32"
2191 test -n "$CXX"|| CXX
="g++ -m32"
2192 test -n "$LD" || LD
="ld -m elf_i386"
2193 test -n "$AS" || AS
="as --32"
2201 if test "x$enable_win16" != "xno"
2208 WIN16_FILES
="\$(WIN16_FILES)"
2210 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2212 if test "x$enable_win16" != "xyes"
2218 if test "x$enable_tests" == "xno"
2225 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2233 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2234 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2235 You need to run 'make distclean' in the source tree first." >&5
2236 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2237 You need to run 'make distclean' in the source tree first." >&2;}
2238 { (exit 1); exit 1; }; }
2243 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2244 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2245 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2246 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 cat >conftest.
make <<\_ACEOF
2252 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2255 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2257 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2259 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2263 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2264 { echo "$as_me:$LINENO: result: yes" >&5
2265 echo "${ECHO_T}yes" >&6; }
2268 { echo "$as_me:$LINENO: result: no" >&5
2269 echo "${ECHO_T}no" >&6; }
2270 SET_MAKE
="MAKE=${MAKE-make}"
2274 ac_cpp
='$CPP $CPPFLAGS'
2275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2278 if test -n "$ac_tool_prefix"; then
2279 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2280 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC
="$CC" # Let the user override the test.
2289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir
=.
2294 for ac_exec_ext
in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 if test -n "$CC"; then
2308 { echo "$as_me:$LINENO: result: $CC" >&5
2309 echo "${ECHO_T}$CC" >&6; }
2311 { echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6; }
2317 if test -z "$ac_cv_prog_CC"; then
2319 # Extract the first word of "gcc", so it can be a program name with args.
2320 set dummy gcc
; ac_word
=$2
2321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 if test -n "$ac_ct_CC"; then
2327 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir
=.
2334 for ac_exec_ext
in '' $ac_executable_extensions; do
2335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336 ac_cv_prog_ac_ct_CC
="gcc"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6; }
2351 { echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6; }
2355 if test "x$ac_ct_CC" = x
; then
2358 case $cross_compiling:$ac_tool_warned in
2360 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2361 whose name does not start with the host triplet. If you think this
2362 configuration is useful to you, please write to autoconf@gnu.org." >&5
2363 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2364 whose name does not start with the host triplet. If you think this
2365 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2366 ac_tool_warned
=yes ;;
2374 if test -z "$CC"; then
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2377 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2380 if test "${ac_cv_prog_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC
="$CC" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test -n "$CC"; then
2405 { echo "$as_me:$LINENO: result: $CC" >&5
2406 echo "${ECHO_T}$CC" >&6; }
2408 { echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6; }
2415 if test -z "$CC"; then
2416 # Extract the first word of "cc", so it can be a program name with args.
2417 set dummy cc
; ac_word
=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_CC+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test -n "$CC"; then
2424 ac_cv_prog_CC
="$CC" # Let the user override the test.
2427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir
=.
2432 for ac_exec_ext
in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2435 ac_prog_rejected
=yes
2439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 if test $ac_prog_rejected = yes; then
2447 # We found a bogon in the path, so make sure we never use it.
2448 set dummy
$ac_cv_prog_CC
2450 if test $# != 0; then
2451 # We chose a different compiler from the bogus one.
2452 # However, it has the same basename, so the bogon will be chosen
2453 # first if we set CC to just the basename; use the full file name.
2455 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2461 if test -n "$CC"; then
2462 { echo "$as_me:$LINENO: result: $CC" >&5
2463 echo "${ECHO_T}$CC" >&6; }
2465 { echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6; }
2471 if test -z "$CC"; then
2472 if test -n "$ac_tool_prefix"; then
2473 for ac_prog
in cl.exe
2475 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2476 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479 if test "${ac_cv_prog_CC+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$CC"; then
2483 ac_cv_prog_CC
="$CC" # Let the user override the test.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 if test -n "$CC"; then
2504 { echo "$as_me:$LINENO: result: $CC" >&5
2505 echo "${ECHO_T}$CC" >&6; }
2507 { echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6; }
2512 test -n "$CC" && break
2515 if test -z "$CC"; then
2517 for ac_prog
in cl.exe
2519 # Extract the first word of "$ac_prog", so it can be a program name with args.
2520 set dummy
$ac_prog; ac_word
=$2
2521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2523 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$ac_ct_CC"; then
2527 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536 ac_cv_prog_ac_ct_CC
="$ac_prog"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2547 if test -n "$ac_ct_CC"; then
2548 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2549 echo "${ECHO_T}$ac_ct_CC" >&6; }
2551 { echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6; }
2556 test -n "$ac_ct_CC" && break
2559 if test "x$ac_ct_CC" = x
; then
2562 case $cross_compiling:$ac_tool_warned in
2564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2565 whose name does not start with the host triplet. If you think this
2566 configuration is useful to you, please write to autoconf@gnu.org." >&5
2567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2568 whose name does not start with the host triplet. If you think this
2569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2570 ac_tool_warned
=yes ;;
2579 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: no acceptable C compiler found in \$PATH
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2585 # Provide some information about the compiler.
2586 echo "$as_me:$LINENO: checking for C compiler version" >&5
2587 ac_compiler
=`set X $ac_compile; echo $2`
2588 { (ac_try
="$ac_compiler --version >&5"
2590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_compiler --version >&5") 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }
2598 { (ac_try="$ac_compiler -v >&5"
2600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2601 *) ac_try_echo
=$ac_try;;
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler -v >&5") 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2608 { (ac_try
="$ac_compiler -V >&5"
2610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_compiler -V >&5") 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }
2619 cat >conftest.$ac_ext <<_ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2634 ac_clean_files_save=$ac_clean_files
2635 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2636 # Try to create an executable without -o first, disregard a.out.
2637 # It will help us diagnose broken compilers, and finding out an intuition
2639 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2640 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2641 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2643 # List of possible output files, starting from the most likely.
2644 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2645 # only as a last resort. b.out is created by i960 compilers.
2646 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2648 # The IRIX 6 linker writes into existing files which may not be
2649 # executable, retaining their permissions. Remove them first so a
2650 # subsequent execution test works.
2652 for ac_file in $ac_files
2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2656 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2661 if { (ac_try="$ac_link_default"
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_link_default") 2>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; then
2671 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2672 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2673 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2674 # so that the user can short-circuit this test for compilers unknown to
2676 for ac_file
in $ac_files ''
2678 test -f "$ac_file" ||
continue
2680 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2683 # We found the default executable, but exeext='' is most
2687 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2689 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2691 # We set ac_cv_exeext here because the later test for it is not
2692 # safe: cross compilers may not add the suffix if given an `-o'
2693 # argument, so we may need to know it at that point already.
2694 # Even if this section looks crufty: it has the advantage of
2701 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2707 { echo "$as_me:$LINENO: result: $ac_file" >&5
2708 echo "${ECHO_T}$ac_file" >&6; }
2709 if test -z "$ac_file"; then
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.
$ac_ext >&5
2713 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2714 See \`config.log' for more details." >&5
2715 echo "$as_me: error: C compiler cannot create executables
2716 See \`config.log' for more details." >&2;}
2717 { (exit 77); exit 77; }; }
2720 ac_exeext
=$ac_cv_exeext
2722 # Check that the compiler produces executables we can run. If not, either
2723 # the compiler is broken, or we cross compile.
2724 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2725 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2726 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2727 # If not cross compiling, check that we can run a simple program.
2728 if test "$cross_compiling" != yes; then
2729 if { ac_try
='./$ac_file'
2730 { (case "(($ac_try" in
2731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2741 if test "$cross_compiling" = maybe; then
2744 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2745 If you meant to cross compile, use \`--host'.
2746 See \`config.log' for more details.
" >&5
2747 echo "$as_me: error
: cannot run C compiled programs.
2748 If you meant to cross compile
, use \
`--host'.
2749 See \`config.log
' for more details." >&2;}
2750 { (exit 1); exit 1; }; }
2754 { echo "$as_me:$LINENO: result: yes" >&5
2755 echo "${ECHO_T}yes" >&6; }
2757 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2758 ac_clean_files=$ac_clean_files_save
2759 # Check that the compiler produces executables we can run. If not, either
2760 # the compiler is broken, or we cross compile.
2761 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2762 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2763 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2764 echo "${ECHO_T}$cross_compiling" >&6; }
2766 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2767 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2768 if { (ac_try="$ac_link"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_link") 2>&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; then
2778 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2779 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2780 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2782 for ac_file
in conftest.exe conftest conftest.
*; do
2783 test -f "$ac_file" ||
continue
2785 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2786 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2793 See \`config.log' for more details." >&5
2794 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2795 See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2799 rm -f conftest
$ac_cv_exeext
2800 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2801 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2803 rm -f conftest.
$ac_ext
2804 EXEEXT
=$ac_cv_exeext
2806 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2807 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2808 if test "${ac_cv_objext+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 cat >conftest.
$ac_ext <<_ACEOF
2814 cat confdefs.h
>>conftest.
$ac_ext
2815 cat >>conftest.
$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2826 rm -f conftest.o conftest.obj
2827 if { (ac_try
="$ac_compile"
2829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2833 (eval "$ac_compile") 2>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; then
2837 for ac_file in conftest.o conftest.obj conftest.*; do
2838 test -f "$ac_file" || continue;
2840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2841 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2846 echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2849 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2850 See \`config.log
' for more details." >&5
2851 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2852 See \`config.log' for more details.
" >&2;}
2853 { (exit 1); exit 1; }; }
2856 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2858 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2859 echo "${ECHO_T}$ac_cv_objext" >&6; }
2860 OBJEXT=$ac_cv_objext
2862 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2863 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2864 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2865 echo $ECHO_N "(cached
) $ECHO_C" >&6
2867 cat >conftest.$ac_ext <<_ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2885 rm -f conftest.$ac_objext
2886 if { (ac_try="$ac_compile"
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2892 (eval "$ac_compile") 2>conftest.er1
2894 grep -v '^ *+' conftest.er1 >conftest.err
2896 cat conftest.err >&5
2897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2898 (exit $ac_status); } && {
2899 test -z "$ac_c_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.$ac_objext; then
2904 echo "$as_me: failed program was
:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2914 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2915 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2916 GCC=`test $ac_compiler_gnu = yes && echo yes`
2917 ac_test_CFLAGS=${CFLAGS+set}
2918 ac_save_CFLAGS=$CFLAGS
2919 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2920 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2921 if test "${ac_cv_prog_cc_g+set}" = set; then
2922 echo $ECHO_N "(cached
) $ECHO_C" >&6
2924 ac_save_c_werror_flag=$ac_c_werror_flag
2925 ac_c_werror_flag=yes
2928 cat >conftest.$ac_ext <<_ACEOF
2931 cat confdefs.h >>conftest.$ac_ext
2932 cat >>conftest.$ac_ext <<_ACEOF
2933 /* end confdefs.h. */
2943 rm -f conftest.$ac_objext
2944 if { (ac_try="$ac_compile"
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2949 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2950 (eval "$ac_compile") 2>conftest.er1
2952 grep -v '^ *+' conftest.er1 >conftest.err
2954 cat conftest.err >&5
2955 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2956 (exit $ac_status); } && {
2957 test -z "$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2959 } && test -s conftest.$ac_objext; then
2962 echo "$as_me: failed program was
:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2966 cat >conftest.$ac_ext <<_ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2981 rm -f conftest.$ac_objext
2982 if { (ac_try="$ac_compile"
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_compile") 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2994 (exit $ac_status); } && {
2995 test -z "$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2997 } && test -s conftest.$ac_objext; then
3000 echo "$as_me: failed program was
:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 ac_c_werror_flag=$ac_save_c_werror_flag
3005 cat >conftest.$ac_ext <<_ACEOF
3008 cat confdefs.h >>conftest.$ac_ext
3009 cat >>conftest.$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3020 rm -f conftest.$ac_objext
3021 if { (ac_try="$ac_compile"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3027 (eval "$ac_compile") 2>conftest.er1
3029 grep -v '^ *+' conftest.er1 >conftest.err
3031 cat conftest.err >&5
3032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3033 (exit $ac_status); } && {
3034 test -z "$ac_c_werror_flag" ||
3035 test ! -s conftest.err
3036 } && test -s conftest.$ac_objext; then
3039 echo "$as_me: failed program was
:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 ac_c_werror_flag=$ac_save_c_werror_flag
3054 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3055 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3056 if test "$ac_test_CFLAGS" = set; then
3057 CFLAGS=$ac_save_CFLAGS
3058 elif test $ac_cv_prog_cc_g = yes; then
3059 if test "$GCC" = yes; then
3065 if test "$GCC" = yes; then
3071 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3072 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3073 if test "${ac_cv_prog_cc_c89+set}" = set; then
3074 echo $ECHO_N "(cached
) $ECHO_C" >&6
3076 ac_cv_prog_cc_c89=no
3078 cat >conftest.$ac_ext <<_ACEOF
3081 cat confdefs.h >>conftest.$ac_ext
3082 cat >>conftest.$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3086 #include <sys/types.h>
3087 #include <sys/stat.h>
3088 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3089 struct buf { int x; };
3090 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3091 static char *e (p, i)
3097 static char *f (char * (*g) (char **, int), char **p, ...)
3102 s = g (p, va_arg (v,int));
3107 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3108 function prototypes and stuff, but not '\xHH' hex character constants.
3109 These don't provoke an error unfortunately, instead are silently treated
3110 as 'x'. The following induces an error, until -std is added to get
3111 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3112 array size at least. It's necessary to write '\x00'==0 to get something
3113 that's true only with -std. */
3114 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3116 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3117 inside strings and character constants. */
3119 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3121 int test (int i, double x);
3122 struct s1 {int (*f) (int a);};
3123 struct s2 {int (*f) (double a);};
3124 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3130 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3135 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3136 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3138 CC="$ac_save_CC $ac_arg"
3139 rm -f conftest.$ac_objext
3140 if { (ac_try="$ac_compile"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_compile") 2>conftest.er1
3148 grep -v '^ *+' conftest.er1 >conftest.err
3150 cat conftest.err >&5
3151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3152 (exit $ac_status); } && {
3153 test -z "$ac_c_werror_flag" ||
3154 test ! -s conftest.err
3155 } && test -s conftest.$ac_objext; then
3156 ac_cv_prog_cc_c89=$ac_arg
3158 echo "$as_me: failed program was
:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3164 rm -f core conftest.err conftest.$ac_objext
3165 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3167 rm -f conftest.$ac_ext
3172 case "x
$ac_cv_prog_cc_c89" in
3174 { echo "$as_me:$LINENO: result
: none needed
" >&5
3175 echo "${ECHO_T}none needed
" >&6; } ;;
3177 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3178 echo "${ECHO_T}unsupported
" >&6; } ;;
3180 CC="$CC $ac_cv_prog_cc_c89"
3181 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3182 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3187 ac_cpp='$CPP $CPPFLAGS'
3188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3193 ac_cpp='$CXXCPP $CPPFLAGS'
3194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3197 if test -z "$CXX"; then
3198 if test -n "$CCC"; then
3201 if test -n "$ac_tool_prefix"; then
3202 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3206 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3207 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3208 if test "${ac_cv_prog_CXX+set}" = set; then
3209 echo $ECHO_N "(cached
) $ECHO_C" >&6
3211 if test -n "$CXX"; then
3212 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3222 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3232 if test -n "$CXX"; then
3233 { echo "$as_me:$LINENO: result
: $CXX" >&5
3234 echo "${ECHO_T}$CXX" >&6; }
3236 { echo "$as_me:$LINENO: result
: no
" >&5
3237 echo "${ECHO_T}no
" >&6; }
3241 test -n "$CXX" && break
3244 if test -z "$CXX"; then
3246 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3248 # Extract the first word of "$ac_prog", so it can be a program name with args.
3249 set dummy $ac_prog; ac_word=$2
3250 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3251 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3252 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3253 echo $ECHO_N "(cached
) $ECHO_C" >&6
3255 if test -n "$ac_ct_CXX"; then
3256 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_ac_ct_CXX="$ac_prog"
3266 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3275 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3276 if test -n "$ac_ct_CXX"; then
3277 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3278 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3280 { echo "$as_me:$LINENO: result
: no
" >&5
3281 echo "${ECHO_T}no
" >&6; }
3285 test -n "$ac_ct_CXX" && break
3288 if test "x
$ac_ct_CXX" = x; then
3291 case $cross_compiling:$ac_tool_warned in
3293 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3294 whose name does not start with the
host triplet. If you think this
3295 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3296 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3297 whose name does not start with the
host triplet. If you think this
3298 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3299 ac_tool_warned=yes ;;
3307 # Provide some information about the compiler.
3308 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3309 ac_compiler=`set X $ac_compile; echo $2`
3310 { (ac_try="$ac_compiler --version >&5"
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3316 (eval "$ac_compiler --version >&5") 2>&5
3318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3319 (exit $ac_status); }
3320 { (ac_try="$ac_compiler -v >&5"
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compiler -v >&5") 2>&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); }
3330 { (ac_try="$ac_compiler -V >&5"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compiler -V >&5") 2>&5
3338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3339 (exit $ac_status); }
3341 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3342 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3343 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3344 echo $ECHO_N "(cached
) $ECHO_C" >&6
3346 cat >conftest.$ac_ext <<_ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3364 rm -f conftest.$ac_objext
3365 if { (ac_try="$ac_compile"
3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3371 (eval "$ac_compile") 2>conftest.er1
3373 grep -v '^ *+' conftest.er1 >conftest.err
3375 cat conftest.err >&5
3376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3377 (exit $ac_status); } && {
3378 test -z "$ac_cxx_werror_flag" ||
3379 test ! -s conftest.err
3380 } && test -s conftest.$ac_objext; then
3383 echo "$as_me: failed program was
:" >&5
3384 sed 's/^/| /' conftest.$ac_ext >&5
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3393 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3394 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3395 GXX=`test $ac_compiler_gnu = yes && echo yes`
3396 ac_test_CXXFLAGS=${CXXFLAGS+set}
3397 ac_save_CXXFLAGS=$CXXFLAGS
3398 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3399 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3400 if test "${ac_cv_prog_cxx_g+set}" = set; then
3401 echo $ECHO_N "(cached
) $ECHO_C" >&6
3403 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3404 ac_cxx_werror_flag=yes
3407 cat >conftest.$ac_ext <<_ACEOF
3410 cat confdefs.h >>conftest.$ac_ext
3411 cat >>conftest.$ac_ext <<_ACEOF
3412 /* end confdefs.h. */
3422 rm -f conftest.$ac_objext
3423 if { (ac_try="$ac_compile"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_compile") 2>conftest.er1
3431 grep -v '^ *+' conftest.er1 >conftest.err
3433 cat conftest.err >&5
3434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3435 (exit $ac_status); } && {
3436 test -z "$ac_cxx_werror_flag" ||
3437 test ! -s conftest.err
3438 } && test -s conftest.$ac_objext; then
3439 ac_cv_prog_cxx_g=yes
3441 echo "$as_me: failed program was
:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3445 cat >conftest.$ac_ext <<_ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
3449 cat >>conftest.$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3460 rm -f conftest.$ac_objext
3461 if { (ac_try="$ac_compile"
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3467 (eval "$ac_compile") 2>conftest.er1
3469 grep -v '^ *+' conftest.er1 >conftest.err
3471 cat conftest.err >&5
3472 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3473 (exit $ac_status); } && {
3474 test -z "$ac_cxx_werror_flag" ||
3475 test ! -s conftest.err
3476 } && test -s conftest.$ac_objext; then
3479 echo "$as_me: failed program was
:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3484 cat >conftest.$ac_ext <<_ACEOF
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3499 rm -f conftest.$ac_objext
3500 if { (ac_try="$ac_compile"
3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503 *) ac_try_echo=$ac_try;;
3505 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3506 (eval "$ac_compile") 2>conftest.er1
3508 grep -v '^ *+' conftest.er1 >conftest.err
3510 cat conftest.err >&5
3511 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3512 (exit $ac_status); } && {
3513 test -z "$ac_cxx_werror_flag" ||
3514 test ! -s conftest.err
3515 } && test -s conftest.$ac_objext; then
3516 ac_cv_prog_cxx_g=yes
3518 echo "$as_me: failed program was
:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3533 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3534 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3535 if test "$ac_test_CXXFLAGS" = set; then
3536 CXXFLAGS=$ac_save_CXXFLAGS
3537 elif test $ac_cv_prog_cxx_g = yes; then
3538 if test "$GXX" = yes; then
3544 if test "$GXX" = yes; then
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3559 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3560 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3561 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3562 echo $ECHO_N "(cached
) $ECHO_C" >&6
3564 if test -n "$CPPBIN"; then
3565 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3575 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3584 CPPBIN=$ac_cv_prog_CPPBIN
3585 if test -n "$CPPBIN"; then
3586 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3587 echo "${ECHO_T}$CPPBIN" >&6; }
3589 { echo "$as_me:$LINENO: result
: no
" >&5
3590 echo "${ECHO_T}no
" >&6; }
3595 if test -z "$ac_cv_prog_CPPBIN"; then
3596 ac_ct_CPPBIN=$CPPBIN
3597 # Extract the first word of "cpp
", so it can be a program name with args.
3598 set dummy cpp; ac_word=$2
3599 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3600 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3601 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3602 echo $ECHO_N "(cached
) $ECHO_C" >&6
3604 if test -n "$ac_ct_CPPBIN"; then
3605 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3615 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3624 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3625 if test -n "$ac_ct_CPPBIN"; then
3626 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3627 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3629 { echo "$as_me:$LINENO: result
: no
" >&5
3630 echo "${ECHO_T}no
" >&6; }
3633 if test "x
$ac_ct_CPPBIN" = x; then
3636 case $cross_compiling:$ac_tool_warned in
3638 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3639 whose name does not start with the
host triplet. If you think this
3640 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3641 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3642 whose name does not start with the
host triplet. If you think this
3643 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3644 ac_tool_warned=yes ;;
3646 CPPBIN=$ac_ct_CPPBIN
3649 CPPBIN="$ac_cv_prog_CPPBIN"
3653 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3654 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3655 if test "${wine_cv_toolsdir+set}" = set; then
3656 echo $ECHO_N "(cached
) $ECHO_C" >&6
3658 if test -z "$with_wine_tools"; then
3659 if test "$cross_compiling" = "yes"; then
3660 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3661 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3662 { (exit 1); exit 1; }; }
3664 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3666 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3667 case $with_wine_tools in
3668 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3669 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3672 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3673 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3674 { (exit 1); exit 1; }; }
3677 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3678 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3679 TOOLSDIR=$wine_cv_toolsdir
3684 ac_cpp='$CPP $CPPFLAGS'
3685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3689 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3690 # On Suns, sometimes $CPP names a directory.
3691 if test -n "$CPP" && test -d "$CPP"; then
3694 if test -z "$CPP"; then
3695 if test "${ac_cv_prog_CPP+set}" = set; then
3696 echo $ECHO_N "(cached
) $ECHO_C" >&6
3698 # Double quotes because CPP needs to be expanded
3699 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3702 for ac_c_preproc_warn_flag in '' yes
3704 # Use a header file that comes with gcc, so configuring glibc
3705 # with a fresh cross-compiler works.
3706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3707 # <limits.h> exists even on freestanding compilers.
3708 # On the NeXT, cc -E runs the code through the compiler's parser,
3709 # not just through cpp. "Syntax error
" is here to catch this case.
3710 cat >conftest.$ac_ext <<_ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3717 # include <limits.h>
3719 # include <assert.h>
3723 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3729 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3731 grep -v '^ *+' conftest.er1 >conftest.err
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3735 (exit $ac_status); } >/dev/null && {
3736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3737 test ! -s conftest.err
3741 echo "$as_me: failed program was
:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3744 # Broken: fails on valid input.
3748 rm -f conftest.err conftest.$ac_ext
3750 # OK, works on sane cases. Now check whether nonexistent headers
3751 # can be detected and how.
3752 cat >conftest.$ac_ext <<_ACEOF
3755 cat confdefs.h >>conftest.$ac_ext
3756 cat >>conftest.$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3758 #include <ac_nonexistent.h>
3760 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3766 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3768 grep -v '^ *+' conftest.er1 >conftest.err
3770 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3772 (exit $ac_status); } >/dev/null && {
3773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3776 # Broken: success on invalid input.
3779 echo "$as_me: failed program was
:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3782 # Passes both tests.
3787 rm -f conftest.err conftest.$ac_ext
3790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3791 rm -f conftest.err conftest.$ac_ext
3792 if $ac_preproc_ok; then
3804 { echo "$as_me:$LINENO: result
: $CPP" >&5
3805 echo "${ECHO_T}$CPP" >&6; }
3807 for ac_c_preproc_warn_flag in '' yes
3809 # Use a header file that comes with gcc, so configuring glibc
3810 # with a fresh cross-compiler works.
3811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3812 # <limits.h> exists even on freestanding compilers.
3813 # On the NeXT, cc -E runs the code through the compiler's parser,
3814 # not just through cpp. "Syntax error
" is here to catch this case.
3815 cat >conftest.$ac_ext <<_ACEOF
3818 cat confdefs.h >>conftest.$ac_ext
3819 cat >>conftest.$ac_ext <<_ACEOF
3820 /* end confdefs.h. */
3822 # include <limits.h>
3824 # include <assert.h>
3828 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3834 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3836 grep -v '^ *+' conftest.er1 >conftest.err
3838 cat conftest.err >&5
3839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3840 (exit $ac_status); } >/dev/null && {
3841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3842 test ! -s conftest.err
3846 echo "$as_me: failed program was
:" >&5
3847 sed 's/^/| /' conftest.$ac_ext >&5
3849 # Broken: fails on valid input.
3853 rm -f conftest.err conftest.$ac_ext
3855 # OK, works on sane cases. Now check whether nonexistent headers
3856 # can be detected and how.
3857 cat >conftest.$ac_ext <<_ACEOF
3860 cat confdefs.h >>conftest.$ac_ext
3861 cat >>conftest.$ac_ext <<_ACEOF
3862 /* end confdefs.h. */
3863 #include <ac_nonexistent.h>
3865 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3873 grep -v '^ *+' conftest.er1 >conftest.err
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3877 (exit $ac_status); } >/dev/null && {
3878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3881 # Broken: success on invalid input.
3884 echo "$as_me: failed program was
:" >&5
3885 sed 's/^/| /' conftest.$ac_ext >&5
3887 # Passes both tests.
3892 rm -f conftest.err conftest.$ac_ext
3895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3896 rm -f conftest.err conftest.$ac_ext
3897 if $ac_preproc_ok; then
3900 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3901 See \
`config.log' for more details." >&5
3902 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3903 See \`config.log
' for more details." >&2;}
3904 { (exit 1); exit 1; }; }
3908 ac_cpp='$CPP $CPPFLAGS'
3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3910 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3914 { echo "$as_me:$LINENO: checking for X" >&5
3915 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3918 # Check whether --with-x was given.
3919 if test "${with_x+set}" = set; then
3923 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3924 if test "x$with_x" = xno; then
3925 # The user explicitly disabled X.
3928 case $x_includes,$x_libraries in #(
3929 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3930 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3931 { (exit 1); exit 1; }; };; #(
3932 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 # One or both of the vars are not set, and there is no cached value.
3936 ac_x_includes=no ac_x_libraries=no
3937 rm -f -r conftest.dir
3938 if mkdir conftest.dir; then
3940 cat >Imakefile <<'_ACEOF'
3942 @echo incroot='${INCROOT}'
3944 @echo usrlibdir='${USRLIBDIR}'
3946 @echo libdir='${LIBDIR}'
3948 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3949 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3950 for ac_var in incroot usrlibdir libdir; do
3951 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3953 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3954 for ac_extension in a so sl; do
3955 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3956 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3957 ac_im_usrlibdir=$ac_im_libdir; break
3960 # Screen out bogus values from the imake configuration. They are
3961 # bogus both because they are the default anyway, and because
3962 # using them would break gcc on systems where it needs fixed includes.
3963 case $ac_im_incroot in
3964 /usr/include) ac_x_includes= ;;
3965 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3967 case $ac_im_usrlibdir in
3969 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3973 rm -f -r conftest.dir
3976 # Standard set of common directories for X headers.
3977 # Check X11 before X11Rn because it is often a symlink to the current release.
3989 /usr
/local
/X11
/include
3990 /usr
/local
/X11R
6/include
3991 /usr
/local
/X11R
5/include
3992 /usr
/local
/X11R
4/include
3994 /usr
/local
/include
/X11
3995 /usr
/local
/include
/X11R6
3996 /usr
/local
/include
/X11R5
3997 /usr
/local
/include
/X11R4
4001 /usr
/XFree86
/include
/X11
4005 /usr
/unsupported
/include
4007 /usr
/local
/x11r
5/include
4008 /usr
/lpp
/Xamples
/include
4010 /usr
/openwin
/include
4011 /usr
/openwin
/share
/include
'
4013 if test "$ac_x_includes" = no; then
4014 # Guess where to find include files, by looking for Xlib.h.
4015 # First, try using that file with no special directory specified.
4016 cat >conftest.$ac_ext <<_ACEOF
4019 cat confdefs.h >>conftest.$ac_ext
4020 cat >>conftest.$ac_ext <<_ACEOF
4021 /* end confdefs.h. */
4022 #include <X11/Xlib.h>
4024 if { (ac_try="$ac_cpp conftest.$ac_ext"
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4032 grep -v '^
*+' conftest.er1 >conftest.err
4034 cat conftest.err >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); } >/dev/null && {
4037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4038 test ! -s conftest.err
4040 # We can compile using X headers with no special include directory.
4043 echo "$as_me: failed program was:" >&5
4044 sed 's
/^
/|
/' conftest.$ac_ext >&5
4046 for ac_dir in $ac_x_header_dirs; do
4047 if test -r "$ac_dir/X11/Xlib.h"; then
4048 ac_x_includes=$ac_dir
4054 rm -f conftest.err conftest.$ac_ext
4055 fi # $ac_x_includes = no
4057 if test "$ac_x_libraries" = no; then
4058 # Check for the libraries.
4059 # See if we find them without any special options.
4060 # Don't add to
$LIBS permanently.
4063 cat >conftest.
$ac_ext <<_ACEOF
4066 cat confdefs.h
>>conftest.
$ac_ext
4067 cat >>conftest.
$ac_ext <<_ACEOF
4068 /* end confdefs.h. */
4069 #include <X11/Xlib.h>
4078 rm -f conftest.
$ac_objext conftest
$ac_exeext
4079 if { (ac_try
="$ac_link"
4081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_link") 2>conftest.er1
4087 grep -v '^ *+' conftest.er1 >conftest.err
4089 cat conftest.err >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } && {
4092 test -z "$ac_c_werror_flag" ||
4093 test ! -s conftest.err
4094 } && test -s conftest$ac_exeext &&
4095 $as_test_x conftest$ac_exeext; then
4097 # We can link X programs with no special library path.
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.$ac_ext >&5
4104 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4106 # Don't even attempt the hair of trying to link an X program!
4107 for ac_extension in a so sl; do
4108 if test -r "$ac_dir/libX11.$ac_extension"; then
4109 ac_x_libraries=$ac_dir
4116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4117 conftest$ac_exeext conftest.$ac_ext
4118 fi # $ac_x_libraries = no
4120 case $ac_x_includes,$ac_x_libraries in #(
4122 # Didn't find X, or a directory has "'" in its name.
4123 ac_cv_have_x="have_x=no";; #(
4125 # Record where we found X for the cache.
4126 ac_cv_have_x="have_x=yes\
4127 ac_x_includes='$ac_x_includes'\
4128 ac_x_libraries='$ac_x_libraries'"
4134 eval "$ac_cv_have_x"
4137 if test "$have_x" != yes; then
4138 { echo "$as_me:$LINENO: result: $have_x" >&5
4139 echo "${ECHO_T}$have_x" >&6; }
4142 # If each of the values was on the command line, it overrides each guess.
4143 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4144 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4145 # Update the cache value to reflect the command line values.
4146 ac_cv_have_x="have_x=yes\
4147 ac_x_includes='$x_includes'\
4148 ac_x_libraries='$x_libraries'"
4149 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4150 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4153 if test "$no_x" = yes; then
4154 # Not all programs may use this symbol, but it does not hurt to define it.
4156 cat >>confdefs.h <<\_ACEOF
4157 #define X_DISPLAY_MISSING 1
4160 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4162 if test -n "$x_includes"; then
4163 X_CFLAGS="$X_CFLAGS -I$x_includes"
4166 # It would also be nice to do this for all -L options, not just this one.
4167 if test -n "$x_libraries"; then
4168 X_LIBS="$X_LIBS -L$x_libraries"
4169 # For Solaris; some versions of Sun CC require a space after -R and
4170 # others require no space. Words are not sufficient . . . .
4171 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4172 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4173 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4174 ac_xsave_c_werror_flag=$ac_c_werror_flag
4175 ac_c_werror_flag=yes
4176 cat >conftest.$ac_ext <<_ACEOF
4179 cat confdefs.h >>conftest.$ac_ext
4180 cat >>conftest.$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4191 rm -f conftest.$ac_objext conftest$ac_exeext
4192 if { (ac_try="$ac_link"
4194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4195 *) ac_try_echo
=$ac_try;;
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_link") 2>conftest.er1
4200 grep -v '^ *+' conftest.er1
>conftest.err
4202 cat conftest.err
>&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); } && {
4205 test -z "$ac_c_werror_flag" ||
4206 test ! -s conftest.err
4207 } && test -s conftest
$ac_exeext &&
4208 $as_test_x conftest
$ac_exeext; then
4209 { echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6; }
4211 X_LIBS
="$X_LIBS -R$x_libraries"
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.
$ac_ext >&5
4216 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4217 cat >conftest.
$ac_ext <<_ACEOF
4220 cat confdefs.h
>>conftest.
$ac_ext
4221 cat >>conftest.
$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4232 rm -f conftest.
$ac_objext conftest
$ac_exeext
4233 if { (ac_try
="$ac_link"
4235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4239 (eval "$ac_link") 2>conftest.er1
4241 grep -v '^ *+' conftest.er1 >conftest.err
4243 cat conftest.err >&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); } && {
4246 test -z "$ac_c_werror_flag" ||
4247 test ! -s conftest.err
4248 } && test -s conftest$ac_exeext &&
4249 $as_test_x conftest$ac_exeext; then
4250 { echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6; }
4252 X_LIBS="$X_LIBS -R $x_libraries"
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.$ac_ext >&5
4257 { echo "$as_me:$LINENO: result: neither works" >&5
4258 echo "${ECHO_T}neither works" >&6; }
4261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4262 conftest$ac_exeext conftest.$ac_ext
4265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4266 conftest$ac_exeext conftest.$ac_ext
4267 ac_c_werror_flag=$ac_xsave_c_werror_flag
4271 # Check for system-dependent libraries X programs must link with.
4272 # Do this before checking for the system-independent R6 libraries
4273 # (-lICE), since we may need -lsocket or whatever for X linking.
4275 if test "$ISC" = yes; then
4276 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4278 # Martyn Johnson says this is needed for Ultrix, if the X
4279 # libraries were built with DECnet support. And Karl Berry says
4280 # the Alpha needs dnet_stub (dnet does not exist).
4281 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4282 cat >conftest.$ac_ext <<_ACEOF
4285 cat confdefs.h >>conftest.$ac_ext
4286 cat >>conftest.$ac_ext <<_ACEOF
4287 /* end confdefs.h. */
4289 /* Override any GCC internal prototype to avoid an error.
4290 Use char because int might match the return type of a GCC
4291 builtin and then its argument prototype would still apply. */
4295 char XOpenDisplay ();
4299 return XOpenDisplay ();
4304 rm -f conftest.$ac_objext conftest$ac_exeext
4305 if { (ac_try="$ac_link"
4307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4308 *) ac_try_echo
=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_link") 2>conftest.er1
4313 grep -v '^ *+' conftest.er1
>conftest.err
4315 cat conftest.err
>&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); } && {
4318 test -z "$ac_c_werror_flag" ||
4319 test ! -s conftest.err
4320 } && test -s conftest
$ac_exeext &&
4321 $as_test_x conftest
$ac_exeext; then
4324 echo "$as_me: failed program was:" >&5
4325 sed 's/^/| /' conftest.
$ac_ext >&5
4327 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4328 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4329 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 ac_check_lib_save_LIBS
=$LIBS
4334 cat >conftest.
$ac_ext <<_ACEOF
4337 cat confdefs.h
>>conftest.
$ac_ext
4338 cat >>conftest.
$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4341 /* Override any GCC internal prototype to avoid an error.
4342 Use char because int might match the return type of a GCC
4343 builtin and then its argument prototype would still apply. */
4351 return dnet_ntoa ();
4356 rm -f conftest.
$ac_objext conftest
$ac_exeext
4357 if { (ac_try
="$ac_link"
4359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4360 *) ac_try_echo=$ac_try;;
4362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4363 (eval "$ac_link") 2>conftest.er1
4365 grep -v '^ *+' conftest.er1 >conftest.err
4367 cat conftest.err >&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } && {
4370 test -z "$ac_c_werror_flag" ||
4371 test ! -s conftest.err
4372 } && test -s conftest$ac_exeext &&
4373 $as_test_x conftest$ac_exeext; then
4374 ac_cv_lib_dnet_dnet_ntoa=yes
4376 echo "$as_me: failed program was:" >&5
4377 sed 's/^/| /' conftest.$ac_ext >&5
4379 ac_cv_lib_dnet_dnet_ntoa=no
4382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4383 conftest$ac_exeext conftest.$ac_ext
4384 LIBS=$ac_check_lib_save_LIBS
4386 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4387 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4388 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4389 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4392 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4393 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4394 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4395 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 ac_check_lib_save_LIBS=$LIBS
4399 LIBS="-ldnet_stub $LIBS"
4400 cat >conftest.$ac_ext <<_ACEOF
4403 cat confdefs.h >>conftest.$ac_ext
4404 cat >>conftest.$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4407 /* Override any GCC internal prototype to avoid an error.
4408 Use char because int might match the return type of a GCC
4409 builtin and then its argument prototype would still apply. */
4417 return dnet_ntoa ();
4422 rm -f conftest.$ac_objext conftest$ac_exeext
4423 if { (ac_try="$ac_link"
4425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4426 *) ac_try_echo
=$ac_try;;
4428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4429 (eval "$ac_link") 2>conftest.er1
4431 grep -v '^ *+' conftest.er1
>conftest.err
4433 cat conftest.err
>&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } && {
4436 test -z "$ac_c_werror_flag" ||
4437 test ! -s conftest.err
4438 } && test -s conftest
$ac_exeext &&
4439 $as_test_x conftest
$ac_exeext; then
4440 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4442 echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.
$ac_ext >&5
4445 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4449 conftest
$ac_exeext conftest.
$ac_ext
4450 LIBS
=$ac_check_lib_save_LIBS
4452 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4453 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4454 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4455 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4462 conftest
$ac_exeext conftest.
$ac_ext
4463 LIBS
="$ac_xsave_LIBS"
4465 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4466 # to get the SysV transport functions.
4467 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4469 # The nsl library prevents programs from opening the X display
4470 # on Irix 5.2, according to T.E. Dickey.
4471 # The functions gethostbyname, getservbyname, and inet_addr are
4472 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4473 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4474 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4475 if test "${ac_cv_func_gethostbyname+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 cat >conftest.
$ac_ext <<_ACEOF
4481 cat confdefs.h
>>conftest.
$ac_ext
4482 cat >>conftest.
$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4486 #define gethostbyname innocuous_gethostbyname
4488 /* System header to define __stub macros and hopefully few prototypes,
4489 which can conflict with char gethostbyname (); below.
4490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4491 <limits.h> exists even on freestanding compilers. */
4494 # include <limits.h>
4496 # include <assert.h>
4499 #undef gethostbyname
4501 /* Override any GCC internal prototype to avoid an error.
4502 Use char because int might match the return type of a GCC
4503 builtin and then its argument prototype would still apply. */
4507 char gethostbyname ();
4508 /* The GNU C library defines this for functions which it implements
4509 to always fail with ENOSYS. Some functions are actually named
4510 something starting with __ and the normal name is an alias. */
4511 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4518 return gethostbyname ();
4523 rm -f conftest.
$ac_objext conftest
$ac_exeext
4524 if { (ac_try
="$ac_link"
4526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4530 (eval "$ac_link") 2>conftest.er1
4532 grep -v '^ *+' conftest.er1 >conftest.err
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } && {
4537 test -z "$ac_c_werror_flag" ||
4538 test ! -s conftest.err
4539 } && test -s conftest$ac_exeext &&
4540 $as_test_x conftest$ac_exeext; then
4541 ac_cv_func_gethostbyname=yes
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4546 ac_cv_func_gethostbyname=no
4549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4550 conftest$ac_exeext conftest.$ac_ext
4552 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4553 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4555 if test $ac_cv_func_gethostbyname = no; then
4556 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4557 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4558 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 ac_check_lib_save_LIBS=$LIBS
4563 cat >conftest.$ac_ext <<_ACEOF
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4570 /* Override any GCC internal prototype to avoid an error.
4571 Use char because int might match the return type of a GCC
4572 builtin and then its argument prototype would still apply. */
4576 char gethostbyname ();
4580 return gethostbyname ();
4585 rm -f conftest.$ac_objext conftest$ac_exeext
4586 if { (ac_try="$ac_link"
4588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4589 *) ac_try_echo
=$ac_try;;
4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4592 (eval "$ac_link") 2>conftest.er1
4594 grep -v '^ *+' conftest.er1
>conftest.err
4596 cat conftest.err
>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } && {
4599 test -z "$ac_c_werror_flag" ||
4600 test ! -s conftest.err
4601 } && test -s conftest
$ac_exeext &&
4602 $as_test_x conftest
$ac_exeext; then
4603 ac_cv_lib_nsl_gethostbyname
=yes
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.
$ac_ext >&5
4608 ac_cv_lib_nsl_gethostbyname
=no
4611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4612 conftest
$ac_exeext conftest.
$ac_ext
4613 LIBS
=$ac_check_lib_save_LIBS
4615 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4616 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4617 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4618 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4621 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4622 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4623 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4624 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 ac_check_lib_save_LIBS
=$LIBS
4629 cat >conftest.
$ac_ext <<_ACEOF
4632 cat confdefs.h
>>conftest.
$ac_ext
4633 cat >>conftest.
$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4636 /* Override any GCC internal prototype to avoid an error.
4637 Use char because int might match the return type of a GCC
4638 builtin and then its argument prototype would still apply. */
4642 char gethostbyname ();
4646 return gethostbyname ();
4651 rm -f conftest.
$ac_objext conftest
$ac_exeext
4652 if { (ac_try
="$ac_link"
4654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4658 (eval "$ac_link") 2>conftest.er1
4660 grep -v '^ *+' conftest.er1 >conftest.err
4662 cat conftest.err >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } && {
4665 test -z "$ac_c_werror_flag" ||
4666 test ! -s conftest.err
4667 } && test -s conftest$ac_exeext &&
4668 $as_test_x conftest$ac_exeext; then
4669 ac_cv_lib_bsd_gethostbyname=yes
4671 echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4674 ac_cv_lib_bsd_gethostbyname=no
4677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4678 conftest$ac_exeext conftest.$ac_ext
4679 LIBS=$ac_check_lib_save_LIBS
4681 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4682 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4683 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4690 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4691 # socket/setsockopt and other routines are undefined under SCO ODT
4692 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4693 # on later versions), says Simon Leinen: it contains gethostby*
4694 # variants that don't use the name server (or something). -lsocket
4695 # must be given before -lnsl if both are needed. We assume that
4696 # if connect needs -lnsl, so does gethostbyname.
4697 { echo "$as_me:$LINENO: checking for connect" >&5
4698 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4699 if test "${ac_cv_func_connect+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 cat >conftest.$ac_ext <<_ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4710 #define connect innocuous_connect
4712 /* System header to define __stub macros and hopefully few prototypes,
4713 which can conflict with char connect (); below.
4714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4715 <limits.h> exists even on freestanding compilers. */
4718 # include <limits.h>
4720 # include <assert.h>
4725 /* Override any GCC internal prototype to avoid an error.
4726 Use char because int might match the return type of a GCC
4727 builtin and then its argument prototype would still apply. */
4732 /* The GNU C library defines this for functions which it implements
4733 to always fail with ENOSYS. Some functions are actually named
4734 something starting with __ and the normal name is an alias. */
4735 #if defined __stub_connect || defined __stub___connect
4747 rm -f conftest.$ac_objext conftest$ac_exeext
4748 if { (ac_try="$ac_link"
4750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4751 *) ac_try_echo
=$ac_try;;
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1
>conftest.err
4758 cat conftest.err
>&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest
$ac_exeext &&
4764 $as_test_x conftest
$ac_exeext; then
4765 ac_cv_func_connect
=yes
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4770 ac_cv_func_connect
=no
4773 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4774 conftest
$ac_exeext conftest.
$ac_ext
4776 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4777 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4779 if test $ac_cv_func_connect = no
; then
4780 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4781 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4782 if test "${ac_cv_lib_socket_connect+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 ac_check_lib_save_LIBS
=$LIBS
4786 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4787 cat >conftest.
$ac_ext <<_ACEOF
4790 cat confdefs.h
>>conftest.
$ac_ext
4791 cat >>conftest.
$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4809 rm -f conftest.
$ac_objext conftest
$ac_exeext
4810 if { (ac_try
="$ac_link"
4812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_link") 2>conftest.er1
4818 grep -v '^ *+' conftest.er1 >conftest.err
4820 cat conftest.err >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } && {
4823 test -z "$ac_c_werror_flag" ||
4824 test ! -s conftest.err
4825 } && test -s conftest$ac_exeext &&
4826 $as_test_x conftest$ac_exeext; then
4827 ac_cv_lib_socket_connect=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 ac_cv_lib_socket_connect=no
4835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4836 conftest$ac_exeext conftest.$ac_ext
4837 LIBS=$ac_check_lib_save_LIBS
4839 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4840 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4841 if test $ac_cv_lib_socket_connect = yes; then
4842 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4847 # Guillermo Gomez says -lposix is necessary on A/UX.
4848 { echo "$as_me:$LINENO: checking for remove" >&5
4849 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4850 if test "${ac_cv_func_remove+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 cat >conftest.$ac_ext <<_ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4861 #define remove innocuous_remove
4863 /* System header to define __stub macros and hopefully few prototypes,
4864 which can conflict with char remove (); below.
4865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4866 <limits.h> exists even on freestanding compilers. */
4869 # include <limits.h>
4871 # include <assert.h>
4876 /* Override any GCC internal prototype to avoid an error.
4877 Use char because int might match the return type of a GCC
4878 builtin and then its argument prototype would still apply. */
4883 /* The GNU C library defines this for functions which it implements
4884 to always fail with ENOSYS. Some functions are actually named
4885 something starting with __ and the normal name is an alias. */
4886 #if defined __stub_remove || defined __stub___remove
4898 rm -f conftest.$ac_objext conftest$ac_exeext
4899 if { (ac_try="$ac_link"
4901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4902 *) ac_try_echo
=$ac_try;;
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4907 grep -v '^ *+' conftest.er1
>conftest.err
4909 cat conftest.err
>&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest
$ac_exeext &&
4915 $as_test_x conftest
$ac_exeext; then
4916 ac_cv_func_remove
=yes
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4921 ac_cv_func_remove
=no
4924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4925 conftest
$ac_exeext conftest.
$ac_ext
4927 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4928 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4930 if test $ac_cv_func_remove = no
; then
4931 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4932 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4933 if test "${ac_cv_lib_posix_remove+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 ac_check_lib_save_LIBS
=$LIBS
4937 LIBS
="-lposix $LIBS"
4938 cat >conftest.
$ac_ext <<_ACEOF
4941 cat confdefs.h
>>conftest.
$ac_ext
4942 cat >>conftest.
$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4945 /* Override any GCC internal prototype to avoid an error.
4946 Use char because int might match the return type of a GCC
4947 builtin and then its argument prototype would still apply. */
4960 rm -f conftest.
$ac_objext conftest
$ac_exeext
4961 if { (ac_try
="$ac_link"
4963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_link") 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } && {
4974 test -z "$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4976 } && test -s conftest$ac_exeext &&
4977 $as_test_x conftest$ac_exeext; then
4978 ac_cv_lib_posix_remove=yes
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 ac_cv_lib_posix_remove=no
4986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4987 conftest$ac_exeext conftest.$ac_ext
4988 LIBS=$ac_check_lib_save_LIBS
4990 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4991 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4992 if test $ac_cv_lib_posix_remove = yes; then
4993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4998 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4999 { echo "$as_me:$LINENO: checking for shmat" >&5
5000 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5001 if test "${ac_cv_func_shmat+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 cat >conftest.$ac_ext <<_ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5010 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5012 #define shmat innocuous_shmat
5014 /* System header to define __stub macros and hopefully few prototypes,
5015 which can conflict with char shmat (); below.
5016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 <limits.h> exists even on freestanding compilers. */
5020 # include <limits.h>
5022 # include <assert.h>
5027 /* Override any GCC internal prototype to avoid an error.
5028 Use char because int might match the return type of a GCC
5029 builtin and then its argument prototype would still apply. */
5034 /* The GNU C library defines this for functions which it implements
5035 to always fail with ENOSYS. Some functions are actually named
5036 something starting with __ and the normal name is an alias. */
5037 #if defined __stub_shmat || defined __stub___shmat
5049 rm -f conftest.$ac_objext conftest$ac_exeext
5050 if { (ac_try="$ac_link"
5052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5053 *) ac_try_echo
=$ac_try;;
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$ac_link") 2>conftest.er1
5058 grep -v '^ *+' conftest.er1
>conftest.err
5060 cat conftest.err
>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } && {
5063 test -z "$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5065 } && test -s conftest
$ac_exeext &&
5066 $as_test_x conftest
$ac_exeext; then
5067 ac_cv_func_shmat
=yes
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.
$ac_ext >&5
5075 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5076 conftest
$ac_exeext conftest.
$ac_ext
5078 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5079 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5081 if test $ac_cv_func_shmat = no
; then
5082 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5083 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5084 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 ac_check_lib_save_LIBS
=$LIBS
5089 cat >conftest.
$ac_ext <<_ACEOF
5092 cat confdefs.h
>>conftest.
$ac_ext
5093 cat >>conftest.
$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5096 /* Override any GCC internal prototype to avoid an error.
5097 Use char because int might match the return type of a GCC
5098 builtin and then its argument prototype would still apply. */
5111 rm -f conftest.
$ac_objext conftest
$ac_exeext
5112 if { (ac_try
="$ac_link"
5114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5115 *) ac_try_echo=$ac_try;;
5117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5118 (eval "$ac_link") 2>conftest.er1
5120 grep -v '^ *+' conftest.er1 >conftest.err
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } && {
5125 test -z "$ac_c_werror_flag" ||
5126 test ! -s conftest.err
5127 } && test -s conftest$ac_exeext &&
5128 $as_test_x conftest$ac_exeext; then
5129 ac_cv_lib_ipc_shmat=yes
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.$ac_ext >&5
5134 ac_cv_lib_ipc_shmat=no
5137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5138 conftest$ac_exeext conftest.$ac_ext
5139 LIBS=$ac_check_lib_save_LIBS
5141 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5142 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5143 if test $ac_cv_lib_ipc_shmat = yes; then
5144 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5150 # Check for libraries that X11R6 Xt/Xaw programs need.
5151 ac_save_LDFLAGS=$LDFLAGS
5152 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5153 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5154 # check for ICE first), but we must link in the order -lSM -lICE or
5155 # we get undefined symbols. So assume we have SM if we have ICE.
5156 # These have to be linked with before -lX11, unlike the other
5157 # libraries we check for below, so use a different variable.
5158 # John Interrante, Karl Berry
5159 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5160 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5161 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 ac_check_lib_save_LIBS=$LIBS
5165 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5166 cat >conftest.$ac_ext <<_ACEOF
5169 cat confdefs.h >>conftest.$ac_ext
5170 cat >>conftest.$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5179 char IceConnectionNumber ();
5183 return IceConnectionNumber ();
5188 rm -f conftest.$ac_objext conftest$ac_exeext
5189 if { (ac_try="$ac_link"
5191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5192 *) ac_try_echo
=$ac_try;;
5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5195 (eval "$ac_link") 2>conftest.er1
5197 grep -v '^ *+' conftest.er1
>conftest.err
5199 cat conftest.err
>&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); } && {
5202 test -z "$ac_c_werror_flag" ||
5203 test ! -s conftest.err
5204 } && test -s conftest
$ac_exeext &&
5205 $as_test_x conftest
$ac_exeext; then
5206 ac_cv_lib_ICE_IceConnectionNumber
=yes
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.
$ac_ext >&5
5211 ac_cv_lib_ICE_IceConnectionNumber
=no
5214 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5215 conftest
$ac_exeext conftest.
$ac_ext
5216 LIBS
=$ac_check_lib_save_LIBS
5218 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5219 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5220 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5221 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5224 LDFLAGS
=$ac_save_LDFLAGS
5231 # Extract the first word of "$ac_prog", so it can be a program name with args.
5232 set dummy
$ac_prog; ac_word
=$2
5233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5235 if test "${ac_cv_prog_FLEX+set}" = set; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 if test -n "$FLEX"; then
5239 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5245 test -z "$as_dir" && as_dir
=.
5246 for ac_exec_ext
in '' $ac_executable_extensions; do
5247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5248 ac_cv_prog_FLEX
="$ac_prog"
5249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 FLEX
=$ac_cv_prog_FLEX
5259 if test -n "$FLEX"; then
5260 { echo "$as_me:$LINENO: result: $FLEX" >&5
5261 echo "${ECHO_T}$FLEX" >&6; }
5263 { echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6; }
5268 test -n "$FLEX" && break
5270 test -n "$FLEX" || FLEX
="none"
5272 if test "$FLEX" = "none"
5274 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5275 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5276 { (exit 1); exit 1; }; }
5279 for ac_prog
in bison
5281 # Extract the first word of "$ac_prog", so it can be a program name with args.
5282 set dummy
$ac_prog; ac_word
=$2
5283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5285 if test "${ac_cv_prog_BISON+set}" = set; then
5286 echo $ECHO_N "(cached) $ECHO_C" >&6
5288 if test -n "$BISON"; then
5289 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_BISON
="$ac_prog"
5299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 BISON
=$ac_cv_prog_BISON
5309 if test -n "$BISON"; then
5310 { echo "$as_me:$LINENO: result: $BISON" >&5
5311 echo "${ECHO_T}$BISON" >&6; }
5313 { echo "$as_me:$LINENO: result: no" >&5
5314 echo "${ECHO_T}no" >&6; }
5318 test -n "$BISON" && break
5320 test -n "$BISON" || BISON
="none"
5322 if test "$BISON" = "none"
5324 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5325 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5326 { (exit 1); exit 1; }; }
5329 if test -n "$ac_tool_prefix"; then
5330 for ac_prog
in gas as
5332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5333 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5336 if test "${ac_cv_prog_AS+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6
5339 if test -n "$AS"; then
5340 ac_cv_prog_AS
="$AS" # Let the user override the test.
5342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir
=.
5347 for ac_exec_ext
in '' $ac_executable_extensions; do
5348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 if test -n "$AS"; then
5361 { echo "$as_me:$LINENO: result: $AS" >&5
5362 echo "${ECHO_T}$AS" >&6; }
5364 { echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6; }
5369 test -n "$AS" && break
5372 if test -z "$AS"; then
5374 for ac_prog
in gas as
5376 # Extract the first word of "$ac_prog", so it can be a program name with args.
5377 set dummy
$ac_prog; ac_word
=$2
5378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5380 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 if test -n "$ac_ct_AS"; then
5384 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5390 test -z "$as_dir" && as_dir
=.
5391 for ac_exec_ext
in '' $ac_executable_extensions; do
5392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5393 ac_cv_prog_ac_ct_AS
="$ac_prog"
5394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5404 if test -n "$ac_ct_AS"; then
5405 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5406 echo "${ECHO_T}$ac_ct_AS" >&6; }
5408 { echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6; }
5413 test -n "$ac_ct_AS" && break
5416 if test "x$ac_ct_AS" = x
; then
5419 case $cross_compiling:$ac_tool_warned in
5421 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5422 whose name does not start with the host triplet. If you think this
5423 configuration is useful to you, please write to autoconf@gnu.org." >&5
5424 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5425 whose name does not start with the host triplet. If you think this
5426 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5427 ac_tool_warned
=yes ;;
5433 if test -n "$ac_tool_prefix"; then
5434 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5435 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_LD+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 if test -n "$LD"; then
5442 ac_cv_prog_LD
="$LD" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 if test -n "$LD"; then
5463 { echo "$as_me:$LINENO: result: $LD" >&5
5464 echo "${ECHO_T}$LD" >&6; }
5466 { echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6; }
5472 if test -z "$ac_cv_prog_LD"; then
5474 # Extract the first word of "ld", so it can be a program name with args.
5475 set dummy ld
; ac_word
=$2
5476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5478 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 if test -n "$ac_ct_LD"; then
5482 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491 ac_cv_prog_ac_ct_LD
="ld"
5492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5502 if test -n "$ac_ct_LD"; then
5503 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5504 echo "${ECHO_T}$ac_ct_LD" >&6; }
5506 { echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6; }
5510 if test "x$ac_ct_LD" = x
; then
5513 case $cross_compiling:$ac_tool_warned in
5515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5516 whose name does not start with the host triplet. If you think this
5517 configuration is useful to you, please write to autoconf@gnu.org." >&5
5518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5519 whose name does not start with the host triplet. If you think this
5520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5521 ac_tool_warned
=yes ;;
5529 if test -n "$ac_tool_prefix"; then
5530 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5531 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5534 if test "${ac_cv_prog_AR+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 if test -n "$AR"; then
5538 ac_cv_prog_AR
="$AR" # Let the user override the test.
5540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir
=.
5545 for ac_exec_ext
in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 if test -n "$AR"; then
5559 { echo "$as_me:$LINENO: result: $AR" >&5
5560 echo "${ECHO_T}$AR" >&6; }
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5568 if test -z "$ac_cv_prog_AR"; then
5570 # Extract the first word of "ar", so it can be a program name with args.
5571 set dummy
ar; ac_word
=$2
5572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5574 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 if test -n "$ac_ct_AR"; then
5578 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5584 test -z "$as_dir" && as_dir
=.
5585 for ac_exec_ext
in '' $ac_executable_extensions; do
5586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587 ac_cv_prog_ac_ct_AR
="ar"
5588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5598 if test -n "$ac_ct_AR"; then
5599 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5600 echo "${ECHO_T}$ac_ct_AR" >&6; }
5602 { echo "$as_me:$LINENO: result: no" >&5
5603 echo "${ECHO_T}no" >&6; }
5606 if test "x$ac_ct_AR" = x
; then
5609 case $cross_compiling:$ac_tool_warned in
5611 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5612 whose name does not start with the host triplet. If you think this
5613 configuration is useful to you, please write to autoconf@gnu.org." >&5
5614 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5615 whose name does not start with the host triplet. If you think this
5616 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5617 ac_tool_warned
=yes ;;
5627 if test -n "$ac_tool_prefix"; then
5628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5629 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5632 if test "${ac_cv_prog_RANLIB+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 if test -n "$RANLIB"; then
5636 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir
=.
5643 for ac_exec_ext
in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 RANLIB
=$ac_cv_prog_RANLIB
5656 if test -n "$RANLIB"; then
5657 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5658 echo "${ECHO_T}$RANLIB" >&6; }
5660 { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5666 if test -z "$ac_cv_prog_RANLIB"; then
5667 ac_ct_RANLIB
=$RANLIB
5668 # Extract the first word of "ranlib", so it can be a program name with args.
5669 set dummy ranlib
; ac_word
=$2
5670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 if test -n "$ac_ct_RANLIB"; then
5676 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_exec_ext
in '' $ac_executable_extensions; do
5684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5696 if test -n "$ac_ct_RANLIB"; then
5697 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5698 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5700 { echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6; }
5704 if test "x$ac_ct_RANLIB" = x
; then
5707 case $cross_compiling:$ac_tool_warned in
5709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5710 whose name does not start with the host triplet. If you think this
5711 configuration is useful to you, please write to autoconf@gnu.org." >&5
5712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5713 whose name does not start with the host triplet. If you think this
5714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5715 ac_tool_warned
=yes ;;
5717 RANLIB
=$ac_ct_RANLIB
5720 RANLIB
="$ac_cv_prog_RANLIB"
5723 if test -n "$ac_tool_prefix"; then
5724 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5725 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5728 if test "${ac_cv_prog_STRIP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 if test -n "$STRIP"; then
5732 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5738 test -z "$as_dir" && as_dir
=.
5739 for ac_exec_ext
in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 STRIP
=$ac_cv_prog_STRIP
5752 if test -n "$STRIP"; then
5753 { echo "$as_me:$LINENO: result: $STRIP" >&5
5754 echo "${ECHO_T}$STRIP" >&6; }
5756 { echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6; }
5762 if test -z "$ac_cv_prog_STRIP"; then
5764 # Extract the first word of "strip", so it can be a program name with args.
5765 set dummy strip
; ac_word
=$2
5766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5768 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 if test -n "$ac_ct_STRIP"; then
5772 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir
=.
5779 for ac_exec_ext
in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_prog_ac_ct_STRIP
="strip"
5782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5792 if test -n "$ac_ct_STRIP"; then
5793 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5794 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5796 { echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6; }
5800 if test "x$ac_ct_STRIP" = x
; then
5803 case $cross_compiling:$ac_tool_warned in
5805 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5806 whose name does not start with the host triplet. If you think this
5807 configuration is useful to you, please write to autoconf@gnu.org." >&5
5808 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5809 whose name does not start with the host triplet. If you think this
5810 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5811 ac_tool_warned
=yes ;;
5816 STRIP
="$ac_cv_prog_STRIP"
5819 if test -n "$ac_tool_prefix"; then
5820 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5821 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5824 if test "${ac_cv_prog_WINDRES+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 if test -n "$WINDRES"; then
5828 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5834 test -z "$as_dir" && as_dir
=.
5835 for ac_exec_ext
in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 WINDRES
=$ac_cv_prog_WINDRES
5848 if test -n "$WINDRES"; then
5849 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5850 echo "${ECHO_T}$WINDRES" >&6; }
5852 { echo "$as_me:$LINENO: result: no" >&5
5853 echo "${ECHO_T}no" >&6; }
5858 if test -z "$ac_cv_prog_WINDRES"; then
5859 ac_ct_WINDRES
=$WINDRES
5860 # Extract the first word of "windres", so it can be a program name with args.
5861 set dummy windres
; ac_word
=$2
5862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5864 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 if test -n "$ac_ct_WINDRES"; then
5868 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir
=.
5875 for ac_exec_ext
in '' $ac_executable_extensions; do
5876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5877 ac_cv_prog_ac_ct_WINDRES
="windres"
5878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5888 if test -n "$ac_ct_WINDRES"; then
5889 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5890 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5892 { echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6; }
5896 if test "x$ac_ct_WINDRES" = x
; then
5899 case $cross_compiling:$ac_tool_warned in
5901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5902 whose name does not start with the host triplet. If you think this
5903 configuration is useful to you, please write to autoconf@gnu.org." >&5
5904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5905 whose name does not start with the host triplet. If you think this
5906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5907 ac_tool_warned
=yes ;;
5909 WINDRES
=$ac_ct_WINDRES
5912 WINDRES
="$ac_cv_prog_WINDRES"
5915 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5916 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5918 if test "$LN_S" = "ln -s"; then
5919 { echo "$as_me:$LINENO: result: yes" >&5
5920 echo "${ECHO_T}yes" >&6; }
5922 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5923 echo "${ECHO_T}no, using $LN_S" >&6; }
5926 { echo "$as_me:$LINENO: checking whether ln works" >&5
5927 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5928 rm -f conf$$ conf$$.
file
5930 if ln conf$$.
file conf$$
2>/dev
/null
; then
5933 { echo "$as_me:$LINENO: result: yes" >&5
5934 echo "${ECHO_T}yes" >&6; }
5938 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5939 echo "${ECHO_T}no, using $LN" >&6; }
5941 rm -f conf$$ conf$$.
file
5942 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5943 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5944 if test "${ac_cv_path_GREP+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 # Extract the first word of "grep ggrep" to use in msg output
5948 if test -z "$GREP"; then
5949 set dummy
grep ggrep
; ac_prog_name
=$2
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 ac_path_GREP_found
=false
5954 # Loop through the user's path and test for each of PROGNAME-LIST
5955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5956 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5959 test -z "$as_dir" && as_dir
=.
5960 for ac_prog
in grep ggrep
; do
5961 for ac_exec_ext
in '' $ac_executable_extensions; do
5962 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5963 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5964 # Check for GNU ac_path_GREP and select it if it is found.
5965 # Check for GNU $ac_path_GREP
5966 case `"$ac_path_GREP" --version 2>&1` in
5968 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5971 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5974 cat "conftest.in" "conftest.in" >"conftest.tmp"
5975 mv "conftest.tmp" "conftest.in"
5976 cp "conftest.in" "conftest.nl"
5977 echo 'GREP' >> "conftest.nl"
5978 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5979 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5980 ac_count
=`expr $ac_count + 1`
5981 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5982 # Best one so far, save it but keep looking for a better one
5983 ac_cv_path_GREP
="$ac_path_GREP"
5984 ac_path_GREP_max
=$ac_count
5986 # 10*(2^10) chars as input seems more than enough
5987 test $ac_count -gt 10 && break
5989 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5993 $ac_path_GREP_found && break 3
6003 GREP
="$ac_cv_path_GREP"
6004 if test -z "$GREP"; then
6005 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6006 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6007 { (exit 1); exit 1; }; }
6011 ac_cv_path_GREP
=$GREP
6016 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6017 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6018 GREP
="$ac_cv_path_GREP"
6021 { echo "$as_me:$LINENO: checking for egrep" >&5
6022 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6023 if test "${ac_cv_path_EGREP+set}" = set; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6027 then ac_cv_path_EGREP
="$GREP -E"
6029 # Extract the first word of "egrep" to use in msg output
6030 if test -z "$EGREP"; then
6031 set dummy
egrep; ac_prog_name
=$2
6032 if test "${ac_cv_path_EGREP+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6035 ac_path_EGREP_found
=false
6036 # Loop through the user's path and test for each of PROGNAME-LIST
6037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6038 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6041 test -z "$as_dir" && as_dir
=.
6042 for ac_prog
in egrep; do
6043 for ac_exec_ext
in '' $ac_executable_extensions; do
6044 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6045 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6046 # Check for GNU ac_path_EGREP and select it if it is found.
6047 # Check for GNU $ac_path_EGREP
6048 case `"$ac_path_EGREP" --version 2>&1` in
6050 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6053 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6056 cat "conftest.in" "conftest.in" >"conftest.tmp"
6057 mv "conftest.tmp" "conftest.in"
6058 cp "conftest.in" "conftest.nl"
6059 echo 'EGREP' >> "conftest.nl"
6060 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6061 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6062 ac_count
=`expr $ac_count + 1`
6063 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6064 # Best one so far, save it but keep looking for a better one
6065 ac_cv_path_EGREP
="$ac_path_EGREP"
6066 ac_path_EGREP_max
=$ac_count
6068 # 10*(2^10) chars as input seems more than enough
6069 test $ac_count -gt 10 && break
6071 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6075 $ac_path_EGREP_found && break 3
6085 EGREP
="$ac_cv_path_EGREP"
6086 if test -z "$EGREP"; then
6087 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6088 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6089 { (exit 1); exit 1; }; }
6093 ac_cv_path_EGREP
=$EGREP
6099 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6100 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6101 EGREP
="$ac_cv_path_EGREP"
6104 # Extract the first word of "ldconfig", so it can be a program name with args.
6105 set dummy ldconfig
; ac_word
=$2
6106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6108 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6117 for as_dir
in /sbin
/usr
/sbin
$PATH
6120 test -z "$as_dir" && as_dir
=.
6121 for ac_exec_ext
in '' $ac_executable_extensions; do
6122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6123 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6135 LDCONFIG
=$ac_cv_path_LDCONFIG
6136 if test -n "$LDCONFIG"; then
6137 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6138 echo "${ECHO_T}$LDCONFIG" >&6; }
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 # Find a good install program. We prefer a C program (faster),
6146 # so one script is as good as another. But avoid the broken or
6147 # incompatible versions:
6148 # SysV /etc/install, /usr/sbin/install
6149 # SunOS /usr/etc/install
6150 # IRIX /sbin/install
6152 # AmigaOS /C/install, which installs bootblocks on floppy discs
6153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6156 # OS/2's system install, which has a completely different semantic
6157 # ./install, which can be erroneously created by make from ./install.sh.
6158 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6160 if test -z "$INSTALL"; then
6161 if test "${ac_cv_path_install+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir
=.
6169 # Account for people who put trailing slashes in PATH elements.
6171 .
/ | .
// |
/cC
/* | \
6172 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6173 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6176 # OSF1 and SCO ODT 3.0 have their own names for install.
6177 # Don't use installbsd from OSF since it installs stuff as root
6179 for ac_prog
in ginstall scoinst
install; do
6180 for ac_exec_ext
in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6182 if test $ac_prog = install &&
6183 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6184 # AIX install. It has an incompatible calling convention.
6186 elif test $ac_prog = install &&
6187 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6188 # program-specific install script used by HP pwplus--don't use.
6191 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6204 if test "${ac_cv_path_install+set}" = set; then
6205 INSTALL
=$ac_cv_path_install
6207 # As a last resort, use the slow shell script. Don't cache a
6208 # value for INSTALL within a source directory, because that will
6209 # break other packages using the cache if that directory is
6210 # removed, or if the value is a relative name.
6211 INSTALL
=$ac_install_sh
6214 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6215 echo "${ECHO_T}$INSTALL" >&6; }
6217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6218 # It thinks the first close brace ends the variable substitution.
6219 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6223 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6226 [\\/$
]* | ?
:[\\/]* ) ;;
6227 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6230 for ac_prog
in lclint lint
6232 # Extract the first word of "$ac_prog", so it can be a program name with args.
6233 set dummy
$ac_prog; ac_word
=$2
6234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6236 if test "${ac_cv_prog_LINT+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 if test -n "$LINT"; then
6240 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir
=.
6247 for ac_exec_ext
in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_LINT
="$ac_prog"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 LINT
=$ac_cv_prog_LINT
6260 if test -n "$LINT"; then
6261 { echo "$as_me:$LINENO: result: $LINT" >&5
6262 echo "${ECHO_T}$LINT" >&6; }
6264 { echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6; }
6269 test -n "$LINT" && break
6272 if test "$LINT" = "lint"
6274 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6279 for ac_prog
in fontforge
6281 # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy
$ac_prog; ac_word
=$2
6283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6285 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 if test -n "$FONTFORGE"; then
6289 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6295 test -z "$as_dir" && as_dir
=.
6296 for ac_exec_ext
in '' $ac_executable_extensions; do
6297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298 ac_cv_prog_FONTFORGE
="$ac_prog"
6299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6308 FONTFORGE
=$ac_cv_prog_FONTFORGE
6309 if test -n "$FONTFORGE"; then
6310 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6311 echo "${ECHO_T}$FONTFORGE" >&6; }
6313 { echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6; }
6318 test -n "$FONTFORGE" && break
6320 test -n "$FONTFORGE" || FONTFORGE
="false"
6322 for ac_prog
in pkg-config
6324 # Extract the first word of "$ac_prog", so it can be a program name with args.
6325 set dummy
$ac_prog; ac_word
=$2
6326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6328 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 if test -n "$PKG_CONFIG"; then
6332 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6338 test -z "$as_dir" && as_dir
=.
6339 for ac_exec_ext
in '' $ac_executable_extensions; do
6340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6352 if test -n "$PKG_CONFIG"; then
6353 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6354 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6356 { echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6; }
6361 test -n "$PKG_CONFIG" && break
6363 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6368 # Extract the first word of "prelink", so it can be a program name with args.
6369 set dummy prelink
; ac_word
=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_path_PRELINK+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6381 for as_dir
in /sbin
/usr
/sbin
$PATH
6384 test -z "$as_dir" && as_dir
=.
6385 for ac_exec_ext
in '' $ac_executable_extensions; do
6386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6387 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6399 PRELINK
=$ac_cv_path_PRELINK
6400 if test -n "$PRELINK"; then
6401 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6402 echo "${ECHO_T}$PRELINK" >&6; }
6404 { echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6; }
6414 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6415 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6416 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 ac_check_lib_save_LIBS
=$LIBS
6421 cat >conftest.
$ac_ext <<_ACEOF
6424 cat confdefs.h
>>conftest.
$ac_ext
6425 cat >>conftest.
$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6428 /* Override any GCC internal prototype to avoid an error.
6429 Use char because int might match the return type of a GCC
6430 builtin and then its argument prototype would still apply. */
6434 char i386_set_ldt ();
6438 return i386_set_ldt ();
6443 rm -f conftest.
$ac_objext conftest
$ac_exeext
6444 if { (ac_try
="$ac_link"
6446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6447 *) ac_try_echo=$ac_try;;
6449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450 (eval "$ac_link") 2>conftest.er1
6452 grep -v '^ *+' conftest.er1 >conftest.err
6454 cat conftest.err >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } && {
6457 test -z "$ac_c_werror_flag" ||
6458 test ! -s conftest.err
6459 } && test -s conftest$ac_exeext &&
6460 $as_test_x conftest$ac_exeext; then
6461 ac_cv_lib_i386_i386_set_ldt=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 ac_cv_lib_i386_i386_set_ldt=no
6469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6470 conftest$ac_exeext conftest.$ac_ext
6471 LIBS=$ac_check_lib_save_LIBS
6473 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6474 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6475 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6476 cat >>confdefs.h <<_ACEOF
6477 #define HAVE_LIBI386 1
6485 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6486 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6487 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 ac_check_lib_save_LIBS=$LIBS
6491 LIBS="-lossaudio $LIBS"
6492 cat >conftest.$ac_ext <<_ACEOF
6495 cat confdefs.h >>conftest.$ac_ext
6496 cat >>conftest.$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6499 /* Override any GCC internal prototype to avoid an error.
6500 Use char because int might match the return type of a GCC
6501 builtin and then its argument prototype would still apply. */
6509 return _oss_ioctl ();
6514 rm -f conftest.$ac_objext conftest$ac_exeext
6515 if { (ac_try="$ac_link"
6517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6518 *) ac_try_echo
=$ac_try;;
6520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6521 (eval "$ac_link") 2>conftest.er1
6523 grep -v '^ *+' conftest.er1
>conftest.err
6525 cat conftest.err
>&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } && {
6528 test -z "$ac_c_werror_flag" ||
6529 test ! -s conftest.err
6530 } && test -s conftest
$ac_exeext &&
6531 $as_test_x conftest
$ac_exeext; then
6532 ac_cv_lib_ossaudio__oss_ioctl
=yes
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.
$ac_ext >&5
6537 ac_cv_lib_ossaudio__oss_ioctl
=no
6540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6541 conftest
$ac_exeext conftest.
$ac_ext
6542 LIBS
=$ac_check_lib_save_LIBS
6544 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6545 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6546 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6547 cat >>confdefs.h
<<_ACEOF
6548 #define HAVE_LIBOSSAUDIO 1
6551 LIBS
="-lossaudio $LIBS"
6555 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6556 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6557 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 ac_check_lib_save_LIBS
=$LIBS
6561 LIBS
="-lpthread $LIBS"
6562 cat >conftest.
$ac_ext <<_ACEOF
6565 cat confdefs.h
>>conftest.
$ac_ext
6566 cat >>conftest.
$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6569 /* Override any GCC internal prototype to avoid an error.
6570 Use char because int might match the return type of a GCC
6571 builtin and then its argument prototype would still apply. */
6575 char pthread_create ();
6579 return pthread_create ();
6584 rm -f conftest.
$ac_objext conftest
$ac_exeext
6585 if { (ac_try
="$ac_link"
6587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6588 *) ac_try_echo=$ac_try;;
6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6591 (eval "$ac_link") 2>conftest.er1
6593 grep -v '^ *+' conftest.er1 >conftest.err
6595 cat conftest.err >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } && {
6598 test -z "$ac_c_werror_flag" ||
6599 test ! -s conftest.err
6600 } && test -s conftest$ac_exeext &&
6601 $as_test_x conftest$ac_exeext; then
6602 ac_cv_lib_pthread_pthread_create=yes
6604 echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.$ac_ext >&5
6607 ac_cv_lib_pthread_pthread_create=no
6610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6611 conftest$ac_exeext conftest.$ac_ext
6612 LIBS=$ac_check_lib_save_LIBS
6614 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6615 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6616 if test $ac_cv_lib_pthread_pthread_create = yes; then
6617 LIBPTHREAD="-lpthread"
6636 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6637 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6638 if test "${ac_cv_header_stdc+set}" = set; then
6639 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 cat >conftest.$ac_ext <<_ACEOF
6644 cat confdefs.h >>conftest.$ac_ext
6645 cat >>conftest.$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6660 rm -f conftest.$ac_objext
6661 if { (ac_try="$ac_compile"
6663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6664 *) ac_try_echo
=$ac_try;;
6666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6667 (eval "$ac_compile") 2>conftest.er1
6669 grep -v '^ *+' conftest.er1
>conftest.err
6671 cat conftest.err
>&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } && {
6674 test -z "$ac_c_werror_flag" ||
6675 test ! -s conftest.err
6676 } && test -s conftest.
$ac_objext; then
6677 ac_cv_header_stdc
=yes
6679 echo "$as_me: failed program was:" >&5
6680 sed 's/^/| /' conftest.
$ac_ext >&5
6682 ac_cv_header_stdc
=no
6685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6687 if test $ac_cv_header_stdc = yes; then
6688 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6689 cat >conftest.
$ac_ext <<_ACEOF
6692 cat confdefs.h
>>conftest.
$ac_ext
6693 cat >>conftest.
$ac_ext <<_ACEOF
6694 /* end confdefs.h. */
6698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6699 $EGREP "memchr" >/dev
/null
2>&1; then
6702 ac_cv_header_stdc
=no
6708 if test $ac_cv_header_stdc = yes; then
6709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6710 cat >conftest.
$ac_ext <<_ACEOF
6713 cat confdefs.h
>>conftest.
$ac_ext
6714 cat >>conftest.
$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6720 $EGREP "free" >/dev
/null
2>&1; then
6723 ac_cv_header_stdc
=no
6729 if test $ac_cv_header_stdc = yes; then
6730 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6731 if test "$cross_compiling" = yes; then
6734 cat >conftest.
$ac_ext <<_ACEOF
6737 cat confdefs.h
>>conftest.
$ac_ext
6738 cat >>conftest.
$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6742 #if ((' ' & 0x0FF) == 0x020)
6743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6746 # define ISLOWER(c) \
6747 (('a' <= (c) && (c) <= 'i') \
6748 || ('j' <= (c) && (c) <= 'r') \
6749 || ('s' <= (c) && (c) <= 'z'))
6750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6758 for (i = 0; i < 256; i++)
6759 if (XOR (islower (i), ISLOWER (i))
6760 || toupper (i) != TOUPPER (i))
6765 rm -f conftest
$ac_exeext
6766 if { (ac_try
="$ac_link"
6768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6769 *) ac_try_echo=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_link") 2>&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6776 { (case "(($ac_try" in
6777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6778 *) ac_try_echo
=$ac_try;;
6780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6781 (eval "$ac_try") 2>&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; }; then
6787 echo "$as_me: program exited with status $ac_status" >&5
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.
$ac_ext >&5
6792 ac_cv_header_stdc
=no
6794 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6800 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6801 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6802 if test $ac_cv_header_stdc = yes; then
6804 cat >>confdefs.h
<<\_ACEOF
6805 #define STDC_HEADERS 1
6810 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6820 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6821 inttypes.h stdint.h unistd.h
6823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6824 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6826 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 cat >conftest.
$ac_ext <<_ACEOF
6832 cat confdefs.h
>>conftest.
$ac_ext
6833 cat >>conftest.
$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6835 $ac_includes_default
6837 #include <$ac_header>
6839 rm -f conftest.
$ac_objext
6840 if { (ac_try
="$ac_compile"
6842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6843 *) ac_try_echo=$ac_try;;
6845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 (eval "$ac_compile") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1 >conftest.err
6850 cat conftest.err >&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest.$ac_objext; then
6856 eval "$as_ac_Header=yes"
6858 echo "$as_me: failed program was:" >&5
6859 sed 's/^/| /' conftest.$ac_ext >&5
6861 eval "$as_ac_Header=no"
6864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6866 ac_res=`eval echo '${'$as_ac_Header'}'`
6867 { echo "$as_me:$LINENO: result: $ac_res" >&5
6868 echo "${ECHO_T}$ac_res" >&6; }
6869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6870 cat >>confdefs.h <<_ACEOF
6871 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6990 AudioUnit/AudioUnit.h \
6992 CoreAudio/CoreAudio.h \
6993 DiskArbitration/DiskArbitration.h \
7006 fontconfig/fontconfig.h \
7032 machine/soundcard.h \
7037 netinet/in_systm.h \
7102 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 ac_res=`eval echo '${'$as_ac_Header'}'`
7110 { echo "$as_me:$LINENO: result: $ac_res" >&5
7111 echo "${ECHO_T}$ac_res" >&6; }
7113 # Is the header compilable?
7114 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7116 cat >conftest.$ac_ext <<_ACEOF
7119 cat confdefs.h >>conftest.$ac_ext
7120 cat >>conftest.$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7122 $ac_includes_default
7123 #include <$ac_header>
7125 rm -f conftest.$ac_objext
7126 if { (ac_try="$ac_compile"
7128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7129 *) ac_try_echo
=$ac_try;;
7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7132 (eval "$ac_compile") 2>conftest.er1
7134 grep -v '^ *+' conftest.er1
>conftest.err
7136 cat conftest.err
>&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } && {
7139 test -z "$ac_c_werror_flag" ||
7140 test ! -s conftest.err
7141 } && test -s conftest.
$ac_objext; then
7142 ac_header_compiler
=yes
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.
$ac_ext >&5
7147 ac_header_compiler
=no
7150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7152 echo "${ECHO_T}$ac_header_compiler" >&6; }
7154 # Is the header present?
7155 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7157 cat >conftest.
$ac_ext <<_ACEOF
7160 cat confdefs.h
>>conftest.
$ac_ext
7161 cat >>conftest.
$ac_ext <<_ACEOF
7162 /* end confdefs.h. */
7163 #include <$ac_header>
7165 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7168 *) ac_try_echo=$ac_try;;
7170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7173 grep -v '^ *+' conftest.er1 >conftest.err
7175 cat conftest.err >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); } >/dev/null && {
7178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7179 test ! -s conftest.err
7181 ac_header_preproc=yes
7183 echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.$ac_ext >&5
7186 ac_header_preproc=no
7189 rm -f conftest.err conftest.$ac_ext
7190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7191 echo "${ECHO_T}$ac_header_preproc" >&6; }
7193 # So? What about this header?
7194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7200 ac_header_preproc=yes
7203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7216 ## ------------------------------------ ##
7217 ## Report this to wine-devel@winehq.org ##
7218 ## ------------------------------------ ##
7220 ) | sed "s/^/$as_me: WARNING: /" >&2
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 eval "$as_ac_Header=\$ac_header_preproc"
7230 ac_res=`eval echo '${'$as_ac_Header'}'`
7231 { echo "$as_me:$LINENO: result: $ac_res" >&5
7232 echo "${ECHO_T}$ac_res" >&6; }
7235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7236 cat >>confdefs.h <<_ACEOF
7237 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7244 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7245 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7246 if test "${ac_cv_header_stat_broken+set}" = set; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 cat >conftest.$ac_ext <<_ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <sys/types.h>
7256 #include <sys/stat.h>
7258 #if defined S_ISBLK && defined S_IFDIR
7259 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7262 #if defined S_ISBLK && defined S_IFCHR
7263 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7266 #if defined S_ISLNK && defined S_IFREG
7267 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7270 #if defined S_ISSOCK && defined S_IFREG
7271 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7275 rm -f conftest.$ac_objext
7276 if { (ac_try="$ac_compile"
7278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7279 *) ac_try_echo
=$ac_try;;
7281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7282 (eval "$ac_compile") 2>conftest.er1
7284 grep -v '^ *+' conftest.er1
>conftest.err
7286 cat conftest.err
>&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); } && {
7289 test -z "$ac_c_werror_flag" ||
7290 test ! -s conftest.err
7291 } && test -s conftest.
$ac_objext; then
7292 ac_cv_header_stat_broken
=no
7294 echo "$as_me: failed program was:" >&5
7295 sed 's/^/| /' conftest.
$ac_ext >&5
7297 ac_cv_header_stat_broken
=yes
7300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7302 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7303 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7304 if test $ac_cv_header_stat_broken = yes; then
7306 cat >>confdefs.h
<<\_ACEOF
7307 #define STAT_MACROS_BROKEN 1
7318 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7320 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7323 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 cat >conftest.
$ac_ext <<_ACEOF
7329 cat confdefs.h
>>conftest.
$ac_ext
7330 cat >>conftest.
$ac_ext <<_ACEOF
7331 /* end confdefs.h. */
7332 #include <sys/types.h>
7333 #ifdef HAVE_SYS_PARAM_H
7334 # include <sys/param.h>
7337 #include <$ac_header>
7339 rm -f conftest.
$ac_objext
7340 if { (ac_try
="$ac_compile"
7342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7343 *) ac_try_echo=$ac_try;;
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7346 (eval "$ac_compile") 2>conftest.er1
7348 grep -v '^ *+' conftest.er1 >conftest.err
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } && {
7353 test -z "$ac_c_werror_flag" ||
7354 test ! -s conftest.err
7355 } && test -s conftest.$ac_objext; then
7356 eval "$as_ac_Header=yes"
7358 echo "$as_me: failed program was:" >&5
7359 sed 's/^/| /' conftest.$ac_ext >&5
7361 eval "$as_ac_Header=no"
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366 ac_res=`eval echo '${'$as_ac_Header'}'`
7367 { echo "$as_me:$LINENO: result: $ac_res" >&5
7368 echo "${ECHO_T}$ac_res" >&6; }
7369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7370 cat >>confdefs.h <<_ACEOF
7371 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7387 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
7389 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7390 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7393 echo $ECHO_N "(cached) $ECHO_C" >&6
7395 cat >conftest.$ac_ext <<_ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 #include <sys/types.h>
7402 #ifdef HAVE_SYS_SOCKET_H
7403 # include <sys/socket.h>
7405 #ifdef HAVE_SYS_SOCKETVAR_H
7406 # include <sys/socketvar.h>
7408 #ifdef HAVE_NETINET_IN_H
7409 # include <netinet/in.h>
7412 #include <$ac_header>
7414 rm -f conftest.$ac_objext
7415 if { (ac_try="$ac_compile"
7417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7418 *) ac_try_echo
=$ac_try;;
7420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7421 (eval "$ac_compile") 2>conftest.er1
7423 grep -v '^ *+' conftest.er1
>conftest.err
7425 cat conftest.err
>&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && {
7428 test -z "$ac_c_werror_flag" ||
7429 test ! -s conftest.err
7430 } && test -s conftest.
$ac_objext; then
7431 eval "$as_ac_Header=yes"
7433 echo "$as_me: failed program was:" >&5
7434 sed 's/^/| /' conftest.
$ac_ext >&5
7436 eval "$as_ac_Header=no"
7439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7441 ac_res
=`eval echo '${'$as_ac_Header'}'`
7442 { echo "$as_me:$LINENO: result: $ac_res" >&5
7443 echo "${ECHO_T}$ac_res" >&6; }
7444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7445 cat >>confdefs.h
<<_ACEOF
7446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7455 for ac_header
in netinet
/tcp_var.h
7457 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7460 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7461 echo $ECHO_N "(cached) $ECHO_C" >&6
7463 cat >conftest.
$ac_ext <<_ACEOF
7466 cat confdefs.h
>>conftest.
$ac_ext
7467 cat >>conftest.
$ac_ext <<_ACEOF
7468 /* end confdefs.h. */
7469 #include <sys/types.h>
7470 #ifdef HAVE_SYS_SOCKET_H
7471 # include <sys/socket.h>
7473 #ifdef HAVE_SYS_SOCKETVAR_H
7474 # include <sys/socketvar.h>
7476 #ifdef HAVE_NETINET_IN_H
7477 # include <netinet/in.h>
7479 #ifdef HAVE_NETINET_TCP_H
7480 # include <netinet/tcp.h>
7483 #include <$ac_header>
7485 rm -f conftest.
$ac_objext
7486 if { (ac_try
="$ac_compile"
7488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7489 *) ac_try_echo=$ac_try;;
7491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7492 (eval "$ac_compile") 2>conftest.er1
7494 grep -v '^ *+' conftest.er1 >conftest.err
7496 cat conftest.err >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); } && {
7499 test -z "$ac_c_werror_flag" ||
7500 test ! -s conftest.err
7501 } && test -s conftest.$ac_objext; then
7502 eval "$as_ac_Header=yes"
7504 echo "$as_me: failed program was:" >&5
7505 sed 's/^/| /' conftest.$ac_ext >&5
7507 eval "$as_ac_Header=no"
7510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7512 ac_res=`eval echo '${'$as_ac_Header'}'`
7513 { echo "$as_me:$LINENO: result: $ac_res" >&5
7514 echo "${ECHO_T}$ac_res" >&6; }
7515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7516 cat >>confdefs.h <<_ACEOF
7517 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7526 for ac_header in linux/ipx.h
7528 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7532 echo $ECHO_N "(cached) $ECHO_C" >&6
7534 cat >conftest.$ac_ext <<_ACEOF
7537 cat confdefs.h >>conftest.$ac_ext
7538 cat >>conftest.$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7540 #include <sys/types.h>
7541 #ifdef HAVE_ASM_TYPES_H
7542 # include <asm/types.h>
7544 #ifdef HAVE_SYS_SOCKET_H
7545 # include <sys/socket.h>
7548 #include <$ac_header>
7550 rm -f conftest.$ac_objext
7551 if { (ac_try="$ac_compile"
7553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7554 *) ac_try_echo
=$ac_try;;
7556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7557 (eval "$ac_compile") 2>conftest.er1
7559 grep -v '^ *+' conftest.er1
>conftest.err
7561 cat conftest.err
>&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); } && {
7564 test -z "$ac_c_werror_flag" ||
7565 test ! -s conftest.err
7566 } && test -s conftest.
$ac_objext; then
7567 eval "$as_ac_Header=yes"
7569 echo "$as_me: failed program was:" >&5
7570 sed 's/^/| /' conftest.
$ac_ext >&5
7572 eval "$as_ac_Header=no"
7575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7577 ac_res
=`eval echo '${'$as_ac_Header'}'`
7578 { echo "$as_me:$LINENO: result: $ac_res" >&5
7579 echo "${ECHO_T}$ac_res" >&6; }
7580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7581 cat >>confdefs.h
<<_ACEOF
7582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7591 for ac_header
in resolv.h
7593 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7596 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7597 echo $ECHO_N "(cached) $ECHO_C" >&6
7599 cat >conftest.
$ac_ext <<_ACEOF
7602 cat confdefs.h
>>conftest.
$ac_ext
7603 cat >>conftest.
$ac_ext <<_ACEOF
7604 /* end confdefs.h. */
7605 #include <sys/types.h>
7606 #ifdef HAVE_SYS_SOCKET_H
7607 # include <sys/socket.h>
7609 #ifdef HAVE_NETINET_IN_H
7610 # include <netinet/in.h>
7612 #ifdef HAVE_ARPA_NAMESER_H
7613 # include <arpa/nameser.h>
7616 #include <$ac_header>
7618 rm -f conftest.
$ac_objext
7619 if { (ac_try
="$ac_compile"
7621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7627 grep -v '^ *+' conftest.er1 >conftest.err
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7659 for ac_header in ucontext.h
7661 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7662 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7665 echo $ECHO_N "(cached) $ECHO_C" >&6
7667 cat >conftest.$ac_ext <<_ACEOF
7670 cat confdefs.h >>conftest.$ac_ext
7671 cat >>conftest.$ac_ext <<_ACEOF
7672 /* end confdefs.h. */
7675 #include <$ac_header>
7677 rm -f conftest.$ac_objext
7678 if { (ac_try="$ac_compile"
7680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7681 *) ac_try_echo
=$ac_try;;
7683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7684 (eval "$ac_compile") 2>conftest.er1
7686 grep -v '^ *+' conftest.er1
>conftest.err
7688 cat conftest.err
>&5
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); } && {
7691 test -z "$ac_c_werror_flag" ||
7692 test ! -s conftest.err
7693 } && test -s conftest.
$ac_objext; then
7694 eval "$as_ac_Header=yes"
7696 echo "$as_me: failed program was:" >&5
7697 sed 's/^/| /' conftest.
$ac_ext >&5
7699 eval "$as_ac_Header=no"
7702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7704 ac_res
=`eval echo '${'$as_ac_Header'}'`
7705 { echo "$as_me:$LINENO: result: $ac_res" >&5
7706 echo "${ECHO_T}$ac_res" >&6; }
7707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7708 cat >>confdefs.h
<<_ACEOF
7709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7718 for ac_header
in sys
/thr.h
7720 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7723 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 cat >conftest.
$ac_ext <<_ACEOF
7729 cat confdefs.h
>>conftest.
$ac_ext
7730 cat >>conftest.
$ac_ext <<_ACEOF
7731 /* end confdefs.h. */
7732 #include <sys/types.h>
7733 #ifdef HAVE_UCONTEXT_H
7734 #include <ucontext.h>
7737 #include <$ac_header>
7739 rm -f conftest.
$ac_objext
7740 if { (ac_try
="$ac_compile"
7742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7743 *) ac_try_echo=$ac_try;;
7745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7746 (eval "$ac_compile") 2>conftest.er1
7748 grep -v '^ *+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } && {
7753 test -z "$ac_c_werror_flag" ||
7754 test ! -s conftest.err
7755 } && test -s conftest.$ac_objext; then
7756 eval "$as_ac_Header=yes"
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7761 eval "$as_ac_Header=no"
7764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7766 ac_res=`eval echo '${'$as_ac_Header'}'`
7767 { echo "$as_me:$LINENO: result: $ac_res" >&5
7768 echo "${ECHO_T}$ac_res" >&6; }
7769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7770 cat >>confdefs.h <<_ACEOF
7771 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7780 for ac_header in pthread_np.h
7782 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 cat >conftest.$ac_ext <<_ACEOF
7791 cat confdefs.h >>conftest.$ac_ext
7792 cat >>conftest.$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7794 #ifdef HAVE_PTHREAD_H
7795 #include <pthread.h>
7798 #include <$ac_header>
7800 rm -f conftest.$ac_objext
7801 if { (ac_try="$ac_compile"
7803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7804 *) ac_try_echo
=$ac_try;;
7806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7807 (eval "$ac_compile") 2>conftest.er1
7809 grep -v '^ *+' conftest.er1
>conftest.err
7811 cat conftest.err
>&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } && {
7814 test -z "$ac_c_werror_flag" ||
7815 test ! -s conftest.err
7816 } && test -s conftest.
$ac_objext; then
7817 eval "$as_ac_Header=yes"
7819 echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.
$ac_ext >&5
7822 eval "$as_ac_Header=no"
7825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7827 ac_res
=`eval echo '${'$as_ac_Header'}'`
7828 { echo "$as_me:$LINENO: result: $ac_res" >&5
7829 echo "${ECHO_T}$ac_res" >&6; }
7830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7831 cat >>confdefs.h
<<_ACEOF
7832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7841 for ac_header
in linux
/videodev.h
7843 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7844 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7846 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7849 cat >conftest.
$ac_ext <<_ACEOF
7852 cat confdefs.h
>>conftest.
$ac_ext
7853 cat >>conftest.
$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7855 #ifdef HAVE_SYS_TIME_H
7856 #include <sys/time.h>
7858 #include <sys/types.h>
7859 #ifdef HAVE_ASM_TYPES_H
7860 #include <asm/types.h>
7863 #include <$ac_header>
7865 rm -f conftest.
$ac_objext
7866 if { (ac_try
="$ac_compile"
7868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7869 *) ac_try_echo=$ac_try;;
7871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7872 (eval "$ac_compile") 2>conftest.er1
7874 grep -v '^ *+' conftest.er1 >conftest.err
7876 cat conftest.err >&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); } && {
7879 test -z "$ac_c_werror_flag" ||
7880 test ! -s conftest.err
7881 } && test -s conftest.$ac_objext; then
7882 eval "$as_ac_Header=yes"
7884 echo "$as_me: failed program was:" >&5
7885 sed 's/^/| /' conftest.$ac_ext >&5
7887 eval "$as_ac_Header=no"
7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7892 ac_res=`eval echo '${'$as_ac_Header'}'`
7893 { echo "$as_me:$LINENO: result: $ac_res" >&5
7894 echo "${ECHO_T}$ac_res" >&6; }
7895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7896 cat >>confdefs.h <<_ACEOF
7897 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7906 for ac_header in linux/capi.h
7908 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7914 cat >conftest.$ac_ext <<_ACEOF
7917 cat confdefs.h >>conftest.$ac_ext
7918 cat >>conftest.$ac_ext <<_ACEOF
7919 /* end confdefs.h. */
7922 #include <$ac_header>
7924 rm -f conftest.$ac_objext
7925 if { (ac_try="$ac_compile"
7927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7928 *) ac_try_echo
=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_compile") 2>conftest.er1
7933 grep -v '^ *+' conftest.er1
>conftest.err
7935 cat conftest.err
>&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest.
$ac_objext; then
7941 eval "$as_ac_Header=yes"
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.
$ac_ext >&5
7946 eval "$as_ac_Header=no"
7949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7951 ac_res
=`eval echo '${'$as_ac_Header'}'`
7952 { echo "$as_me:$LINENO: result: $ac_res" >&5
7953 echo "${ECHO_T}$ac_res" >&6; }
7954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7955 cat >>confdefs.h
<<_ACEOF
7956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7967 DLLFLAGS
="-D_REENTRANT"
7981 # Extract the first word of "ldd", so it can be a program name with args.
7982 set dummy ldd
; ac_word
=$2
7983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7985 if test "${ac_cv_path_LDD+set}" = set; then
7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7990 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7994 as_dummy
="/sbin:/usr/sbin:$PATH"
7995 for as_dir
in $as_dummy
7998 test -z "$as_dir" && as_dir
=.
7999 for ac_exec_ext
in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8009 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8014 if test -n "$LDD"; then
8015 { echo "$as_me:$LINENO: result: $LDD" >&5
8016 echo "${ECHO_T}$LDD" >&6; }
8018 { echo "$as_me:$LINENO: result: no" >&5
8019 echo "${ECHO_T}no" >&6; }
8026 if test -n "$ac_tool_prefix"; then
8027 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8028 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8031 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 if test -n "$DLLTOOL"; then
8035 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8041 test -z "$as_dir" && as_dir
=.
8042 for ac_exec_ext
in '' $ac_executable_extensions; do
8043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8044 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 DLLTOOL
=$ac_cv_prog_DLLTOOL
8055 if test -n "$DLLTOOL"; then
8056 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8057 echo "${ECHO_T}$DLLTOOL" >&6; }
8059 { echo "$as_me:$LINENO: result: no" >&5
8060 echo "${ECHO_T}no" >&6; }
8065 if test -z "$ac_cv_prog_DLLTOOL"; then
8066 ac_ct_DLLTOOL
=$DLLTOOL
8067 # Extract the first word of "dlltool", so it can be a program name with args.
8068 set dummy dlltool
; ac_word
=$2
8069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8071 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8074 if test -n "$ac_ct_DLLTOOL"; then
8075 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir
=.
8082 for ac_exec_ext
in '' $ac_executable_extensions; do
8083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8084 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8095 if test -n "$ac_ct_DLLTOOL"; then
8096 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8097 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8099 { echo "$as_me:$LINENO: result: no" >&5
8100 echo "${ECHO_T}no" >&6; }
8103 if test "x$ac_ct_DLLTOOL" = x
; then
8106 case $cross_compiling:$ac_tool_warned in
8108 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8109 whose name does not start with the host triplet. If you think this
8110 configuration is useful to you, please write to autoconf@gnu.org." >&5
8111 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8112 whose name does not start with the host triplet. If you think this
8113 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8114 ac_tool_warned
=yes ;;
8116 DLLTOOL
=$ac_ct_DLLTOOL
8119 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8122 if test -n "$ac_tool_prefix"; then
8123 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8124 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8127 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8130 if test -n "$DLLWRAP"; then
8131 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8137 test -z "$as_dir" && as_dir
=.
8138 for ac_exec_ext
in '' $ac_executable_extensions; do
8139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8140 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 DLLWRAP
=$ac_cv_prog_DLLWRAP
8151 if test -n "$DLLWRAP"; then
8152 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8153 echo "${ECHO_T}$DLLWRAP" >&6; }
8155 { echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6; }
8161 if test -z "$ac_cv_prog_DLLWRAP"; then
8162 ac_ct_DLLWRAP
=$DLLWRAP
8163 # Extract the first word of "dllwrap", so it can be a program name with args.
8164 set dummy dllwrap
; ac_word
=$2
8165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8167 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 if test -n "$ac_ct_DLLWRAP"; then
8171 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8177 test -z "$as_dir" && as_dir
=.
8178 for ac_exec_ext
in '' $ac_executable_extensions; do
8179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8180 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8190 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8191 if test -n "$ac_ct_DLLWRAP"; then
8192 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8193 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8195 { echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6; }
8199 if test "x$ac_ct_DLLWRAP" = x
; then
8202 case $cross_compiling:$ac_tool_warned in
8204 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8205 whose name does not start with the host triplet. If you think this
8206 configuration is useful to you, please write to autoconf@gnu.org." >&5
8207 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8208 whose name does not start with the host triplet. If you think this
8209 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8210 ac_tool_warned
=yes ;;
8212 DLLWRAP
=$ac_ct_DLLWRAP
8215 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8218 if test -n "$ac_tool_prefix"; then
8219 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8220 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8223 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8224 echo $ECHO_N "(cached) $ECHO_C" >&6
8226 if test -n "$MINGWAR"; then
8227 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8233 test -z "$as_dir" && as_dir
=.
8234 for ac_exec_ext
in '' $ac_executable_extensions; do
8235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8236 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 MINGWAR
=$ac_cv_prog_MINGWAR
8247 if test -n "$MINGWAR"; then
8248 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8249 echo "${ECHO_T}$MINGWAR" >&6; }
8251 { echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6; }
8257 if test -z "$ac_cv_prog_MINGWAR"; then
8258 ac_ct_MINGWAR
=$MINGWAR
8259 # Extract the first word of "ar", so it can be a program name with args.
8260 set dummy
ar; ac_word
=$2
8261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8263 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8264 echo $ECHO_N "(cached) $ECHO_C" >&6
8266 if test -n "$ac_ct_MINGWAR"; then
8267 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8273 test -z "$as_dir" && as_dir
=.
8274 for ac_exec_ext
in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_prog_ac_ct_MINGWAR
="ar"
8277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8287 if test -n "$ac_ct_MINGWAR"; then
8288 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8289 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8291 { echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6; }
8295 if test "x$ac_ct_MINGWAR" = x
; then
8298 case $cross_compiling:$ac_tool_warned in
8300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8301 whose name does not start with the host triplet. If you think this
8302 configuration is useful to you, please write to autoconf@gnu.org." >&5
8303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8304 whose name does not start with the host triplet. If you think this
8305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8306 ac_tool_warned
=yes ;;
8308 MINGWAR
=$ac_ct_MINGWAR
8311 MINGWAR
="$ac_cv_prog_MINGWAR"
8314 if test "$DLLWRAP" = "false"; then
8326 DLLFLAGS
="$DLLFLAGS -fPIC"
8327 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8328 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8329 LDSHARED
="\$(CC) -dynamiclib"
8331 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8332 SECURITYLIB
="-framework Security -framework CoreFoundation"
8334 COREFOUNDATIONLIB
="-framework CoreFoundation"
8336 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8338 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8340 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8342 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8345 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8347 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8352 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8354 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8356 CARBONLIB
="-framework Carbon"
8358 QUARTZFILES
='$(QUARTZFILES)'
8362 DLLFLAGS
="$DLLFLAGS -fPIC"
8364 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8365 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8366 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8367 echo $ECHO_N "(cached) $ECHO_C" >&6
8369 ac_wine_try_cflags_saved
=$CFLAGS
8370 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8371 cat >conftest.
$ac_ext <<_ACEOF
8374 rm -f conftest.
$ac_objext conftest
$ac_exeext
8375 if { (ac_try
="$ac_link"
8377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8381 (eval "$ac_link") 2>conftest.er1
8383 grep -v '^ *+' conftest.er1 >conftest.err
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } && {
8388 test -z "$ac_c_werror_flag" ||
8389 test ! -s conftest.err
8390 } && test -s conftest$ac_exeext &&
8391 $as_test_x conftest$ac_exeext; then
8392 ac_cv_c_dll_gnuelf="yes"
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_c_dll_gnuelf="no"
8400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8405 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8406 if test "$ac_cv_c_dll_gnuelf" = "yes"
8408 LDSHARED="\$(CC) -shared"
8409 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8410 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8411 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8412 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 ac_wine_try_cflags_saved=$CFLAGS
8416 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8417 cat >conftest.$ac_ext <<_ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8432 rm -f conftest.$ac_objext conftest$ac_exeext
8433 if { (ac_try="$ac_link"
8435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8436 *) ac_try_echo
=$ac_try;;
8438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8439 (eval "$ac_link") 2>conftest.er1
8441 grep -v '^ *+' conftest.er1
>conftest.err
8443 cat conftest.err
>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } && {
8446 test -z "$ac_c_werror_flag" ||
8447 test ! -s conftest.err
8448 } && test -s conftest
$ac_exeext &&
8449 $as_test_x conftest
$ac_exeext; then
8450 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8452 echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.
$ac_ext >&5
8455 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8458 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8459 conftest
$ac_exeext conftest.
$ac_ext
8460 CFLAGS
=$ac_wine_try_cflags_saved
8462 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8463 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8464 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8465 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8467 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8468 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8469 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 ac_wine_try_cflags_saved
=$CFLAGS
8473 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8474 cat >conftest.
$ac_ext <<_ACEOF
8477 cat confdefs.h
>>conftest.
$ac_ext
8478 cat >>conftest.
$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8489 rm -f conftest.
$ac_objext conftest
$ac_exeext
8490 if { (ac_try
="$ac_link"
8492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8493 *) ac_try_echo=$ac_try;;
8495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8496 (eval "$ac_link") 2>conftest.er1
8498 grep -v '^ *+' conftest.er1 >conftest.err
8500 cat conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } && {
8503 test -z "$ac_c_werror_flag" ||
8504 test ! -s conftest.err
8505 } && test -s conftest$ac_exeext &&
8506 $as_test_x conftest$ac_exeext; then
8507 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8509 echo "$as_me: failed program was:" >&5
8510 sed 's/^/| /' conftest.$ac_ext >&5
8512 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8520 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8521 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8522 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8528 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8529 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8530 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 ac_wine_try_cflags_saved=$CFLAGS
8534 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8535 cat >conftest.$ac_ext <<_ACEOF
8538 cat confdefs.h >>conftest.$ac_ext
8539 cat >>conftest.$ac_ext <<_ACEOF
8540 /* end confdefs.h. */
8550 rm -f conftest.$ac_objext conftest$ac_exeext
8551 if { (ac_try="$ac_link"
8553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8554 *) ac_try_echo
=$ac_try;;
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_link") 2>conftest.er1
8559 grep -v '^ *+' conftest.er1
>conftest.err
8561 cat conftest.err
>&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } && {
8564 test -z "$ac_c_werror_flag" ||
8565 test ! -s conftest.err
8566 } && test -s conftest
$ac_exeext &&
8567 $as_test_x conftest
$ac_exeext; then
8568 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.
$ac_ext >&5
8573 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8576 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8577 conftest
$ac_exeext conftest.
$ac_ext
8578 CFLAGS
=$ac_wine_try_cflags_saved
8580 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8581 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8582 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8583 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8587 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8588 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8589 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8592 ac_wine_try_cflags_saved
=$CFLAGS
8593 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8594 cat >conftest.
$ac_ext <<_ACEOF
8597 cat confdefs.h
>>conftest.
$ac_ext
8598 cat >>conftest.
$ac_ext <<_ACEOF
8599 /* end confdefs.h. */
8609 rm -f conftest.
$ac_objext conftest
$ac_exeext
8610 if { (ac_try
="$ac_link"
8612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8613 *) ac_try_echo=$ac_try;;
8615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8616 (eval "$ac_link") 2>conftest.er1
8618 grep -v '^ *+' conftest.er1 >conftest.err
8620 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && {
8623 test -z "$ac_c_werror_flag" ||
8624 test ! -s conftest.err
8625 } && test -s conftest$ac_exeext &&
8626 $as_test_x conftest$ac_exeext; then
8627 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.$ac_ext >&5
8632 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8640 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8641 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8642 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8646 echo '{ global: *; };' >conftest.map
8647 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8648 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8649 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8654 cat >conftest.$ac_ext <<_ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8669 rm -f conftest.$ac_objext conftest$ac_exeext
8670 if { (ac_try="$ac_link"
8672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8673 *) ac_try_echo
=$ac_try;;
8675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8676 (eval "$ac_link") 2>conftest.er1
8678 grep -v '^ *+' conftest.er1
>conftest.err
8680 cat conftest.err
>&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); } && {
8683 test -z "$ac_c_werror_flag" ||
8684 test ! -s conftest.err
8685 } && test -s conftest
$ac_exeext &&
8686 $as_test_x conftest
$ac_exeext; then
8687 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.
$ac_ext >&5
8692 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8696 conftest
$ac_exeext conftest.
$ac_ext
8697 CFLAGS
=$ac_wine_try_cflags_saved
8699 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8700 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8701 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8702 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8707 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8708 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8709 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8712 ac_wine_try_cflags_saved
=$CFLAGS
8713 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8714 cat >conftest.
$ac_ext <<_ACEOF
8717 cat confdefs.h
>>conftest.
$ac_ext
8718 cat >>conftest.
$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8729 rm -f conftest.
$ac_objext conftest
$ac_exeext
8730 if { (ac_try
="$ac_link"
8732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8733 *) ac_try_echo=$ac_try;;
8735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8736 (eval "$ac_link") 2>conftest.er1
8738 grep -v '^ *+' conftest.er1 >conftest.err
8740 cat conftest.err >&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); } && {
8743 test -z "$ac_c_werror_flag" ||
8744 test ! -s conftest.err
8745 } && test -s conftest$ac_exeext &&
8746 $as_test_x conftest$ac_exeext; then
8747 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.$ac_ext >&5
8752 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8760 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8761 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8762 LDEXECFLAGS="-Wl,--export-dynamic"
8767 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8768 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8769 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8770 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8775 cat >conftest.$ac_ext <<_ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8790 rm -f conftest.$ac_objext conftest$ac_exeext
8791 if { (ac_try="$ac_link"
8793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8794 *) ac_try_echo
=$ac_try;;
8796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8797 (eval "$ac_link") 2>conftest.er1
8799 grep -v '^ *+' conftest.er1
>conftest.err
8801 cat conftest.err
>&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); } && {
8804 test -z "$ac_c_werror_flag" ||
8805 test ! -s conftest.err
8806 } && test -s conftest
$ac_exeext &&
8807 $as_test_x conftest
$ac_exeext; then
8808 eval "$as_ac_var=yes"
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.
$ac_ext >&5
8813 eval "$as_ac_var=no"
8816 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8817 conftest
$ac_exeext conftest.
$ac_ext
8818 CFLAGS
=$ac_wine_try_cflags_saved
8820 ac_res
=`eval echo '${'$as_ac_var'}'`
8821 { echo "$as_me:$LINENO: result: $ac_res" >&5
8822 echo "${ECHO_T}$ac_res" >&6; }
8823 if test `eval echo '${'$as_ac_var'}'` = yes; then
8824 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8825 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8827 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8828 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8829 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8830 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8831 echo $ECHO_N "(cached) $ECHO_C" >&6
8833 ac_wine_try_cflags_saved
=$CFLAGS
8834 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8835 cat >conftest.
$ac_ext <<_ACEOF
8838 cat confdefs.h
>>conftest.
$ac_ext
8839 cat >>conftest.
$ac_ext <<_ACEOF
8840 /* end confdefs.h. */
8850 rm -f conftest.
$ac_objext conftest
$ac_exeext
8851 if { (ac_try
="$ac_link"
8853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8854 *) ac_try_echo=$ac_try;;
8856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8857 (eval "$ac_link") 2>conftest.er1
8859 grep -v '^ *+' conftest.er1 >conftest.err
8861 cat conftest.err >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); } && {
8864 test -z "$ac_c_werror_flag" ||
8865 test ! -s conftest.err
8866 } && test -s conftest$ac_exeext &&
8867 $as_test_x conftest$ac_exeext; then
8868 eval "$as_ac_var=yes"
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.$ac_ext >&5
8873 eval "$as_ac_var=no"
8876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 ac_res=`eval echo '${'$as_ac_var'}'`
8881 { echo "$as_me:$LINENO: result: $ac_res" >&5
8882 echo "${ECHO_T}$ac_res" >&6; }
8883 if test `eval echo '${'$as_ac_var'}'` = yes; then
8884 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8885 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8891 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8892 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8893 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8898 cat >conftest.$ac_ext <<_ACEOF
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8913 rm -f conftest.$ac_objext conftest$ac_exeext
8914 if { (ac_try="$ac_link"
8916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8917 *) ac_try_echo
=$ac_try;;
8919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8920 (eval "$ac_link") 2>conftest.er1
8922 grep -v '^ *+' conftest.er1
>conftest.err
8924 cat conftest.err
>&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); } && {
8927 test -z "$ac_c_werror_flag" ||
8928 test ! -s conftest.err
8929 } && test -s conftest
$ac_exeext &&
8930 $as_test_x conftest
$ac_exeext; then
8931 ac_cv_cflags__Wl___enable_new_dtags
=yes
8933 echo "$as_me: failed program was:" >&5
8934 sed 's/^/| /' conftest.
$ac_ext >&5
8936 ac_cv_cflags__Wl___enable_new_dtags
=no
8939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8940 conftest
$ac_exeext conftest.
$ac_ext
8941 CFLAGS
=$ac_wine_try_cflags_saved
8943 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8944 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8945 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8946 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8951 *i
[3456789]86* | x86_64
)
8952 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8953 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8954 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8955 echo $ECHO_N "(cached) $ECHO_C" >&6
8957 ac_wine_try_cflags_saved
=$CFLAGS
8958 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8959 cat >conftest.
$ac_ext <<_ACEOF
8962 cat confdefs.h
>>conftest.
$ac_ext
8963 cat >>conftest.
$ac_ext <<_ACEOF
8964 /* end confdefs.h. */
8974 rm -f conftest.
$ac_objext conftest
$ac_exeext
8975 if { (ac_try
="$ac_link"
8977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8978 *) ac_try_echo=$ac_try;;
8980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8981 (eval "$ac_link") 2>conftest.er1
8983 grep -v '^ *+' conftest.er1 >conftest.err
8985 cat conftest.err >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); } && {
8988 test -z "$ac_c_werror_flag" ||
8989 test ! -s conftest.err
8990 } && test -s conftest$ac_exeext &&
8991 $as_test_x conftest$ac_exeext; then
8992 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8994 echo "$as_me: failed program was:" >&5
8995 sed 's/^/| /' conftest.$ac_ext >&5
8997 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001 conftest$ac_exeext conftest.$ac_ext
9002 CFLAGS=$ac_wine_try_cflags_saved
9004 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9005 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9006 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9007 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9014 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9015 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9016 if test "${ac_cv_c_dll_unixware+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 ac_wine_try_cflags_saved=$CFLAGS
9020 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9021 cat >conftest.$ac_ext <<_ACEOF
9024 rm -f conftest.$ac_objext conftest$ac_exeext
9025 if { (ac_try="$ac_link"
9027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9028 *) ac_try_echo
=$ac_try;;
9030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9031 (eval "$ac_link") 2>conftest.er1
9033 grep -v '^ *+' conftest.er1
>conftest.err
9035 cat conftest.err
>&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } && {
9038 test -z "$ac_c_werror_flag" ||
9039 test ! -s conftest.err
9040 } && test -s conftest
$ac_exeext &&
9041 $as_test_x conftest
$ac_exeext; then
9042 ac_cv_c_dll_unixware
="yes"
9044 echo "$as_me: failed program was:" >&5
9045 sed 's/^/| /' conftest.
$ac_ext >&5
9047 ac_cv_c_dll_unixware
="no"
9050 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9051 conftest
$ac_exeext conftest.
$ac_ext
9052 CFLAGS
=$ac_wine_try_cflags_saved
9054 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9055 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9056 if test "$ac_cv_c_dll_unixware" = "yes"
9058 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9059 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9062 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9063 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9064 if test "${ac_cv_c_dll_hpux+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 ac_wine_try_cflags_saved
=$CFLAGS
9068 CFLAGS
="$CFLAGS -shared"
9069 cat >conftest.
$ac_ext <<_ACEOF
9072 rm -f conftest.
$ac_objext conftest
$ac_exeext
9073 if { (ac_try
="$ac_link"
9075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9076 *) ac_try_echo=$ac_try;;
9078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9079 (eval "$ac_link") 2>conftest.er1
9081 grep -v '^ *+' conftest.er1 >conftest.err
9083 cat conftest.err >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); } && {
9086 test -z "$ac_c_werror_flag" ||
9087 test ! -s conftest.err
9088 } && test -s conftest$ac_exeext &&
9089 $as_test_x conftest$ac_exeext; then
9090 ac_cv_c_dll_hpux="yes"
9092 echo "$as_me: failed program was:" >&5
9093 sed 's/^/| /' conftest.$ac_ext >&5
9095 ac_cv_c_dll_hpux="no"
9098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9099 conftest$ac_exeext conftest.$ac_ext
9100 CFLAGS=$ac_wine_try_cflags_saved
9102 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9103 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9104 if test "$ac_cv_c_dll_hpux" = "yes"
9108 LDDLLFLAGS="-shared -fPIC"
9109 LDSHARED="\$(CC) -shared"
9116 if test "$cross_compiling" = "no"
9118 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9120 # Extract the first word of "$ac_prog", so it can be a program name with args.
9121 set dummy $ac_prog; ac_word=$2
9122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9124 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9127 if test -n "$CROSSCC"; then
9128 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9134 test -z "$as_dir" && as_dir=.
9135 for ac_exec_ext in '' $ac_executable_extensions; do
9136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9137 ac_cv_prog_CROSSCC="$ac_prog"
9138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9147 CROSSCC=$ac_cv_prog_CROSSCC
9148 if test -n "$CROSSCC"; then
9149 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9150 echo "${ECHO_T}$CROSSCC" >&6; }
9152 { echo "$as_me:$LINENO: result: no" >&5
9153 echo "${ECHO_T}no" >&6; }
9157 test -n "$CROSSCC" && break
9159 test -n "$CROSSCC" || CROSSCC="false"
9161 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9163 # Extract the first word of "$ac_prog", so it can be a program name with args.
9164 set dummy $ac_prog; ac_word=$2
9165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9167 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9168 echo $ECHO_N "(cached) $ECHO_C" >&6
9170 if test -n "$DLLTOOL"; then
9171 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9177 test -z "$as_dir" && as_dir=.
9178 for ac_exec_ext in '' $ac_executable_extensions; do
9179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9180 ac_cv_prog_DLLTOOL="$ac_prog"
9181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9190 DLLTOOL=$ac_cv_prog_DLLTOOL
9191 if test -n "$DLLTOOL"; then
9192 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9193 echo "${ECHO_T}$DLLTOOL" >&6; }
9195 { echo "$as_me:$LINENO: result: no" >&5
9196 echo "${ECHO_T}no" >&6; }
9200 test -n "$DLLTOOL" && break
9202 test -n "$DLLTOOL" || DLLTOOL="false"
9204 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9206 # Extract the first word of "$ac_prog", so it can be a program name with args.
9207 set dummy $ac_prog; ac_word=$2
9208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9210 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 if test -n "$CROSSWINDRES"; then
9214 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir=.
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_prog_CROSSWINDRES="$ac_prog"
9224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9233 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9234 if test -n "$CROSSWINDRES"; then
9235 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9236 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9238 { echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6; }
9243 test -n "$CROSSWINDRES" && break
9245 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9247 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9249 # Extract the first word of "$ac_prog", so it can be a program name with args.
9250 set dummy $ac_prog; ac_word=$2
9251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9253 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6
9256 if test -n "$MINGWAR"; then
9257 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9263 test -z "$as_dir" && as_dir=.
9264 for ac_exec_ext in '' $ac_executable_extensions; do
9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9266 ac_cv_prog_MINGWAR="$ac_prog"
9267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9276 MINGWAR=$ac_cv_prog_MINGWAR
9277 if test -n "$MINGWAR"; then
9278 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9279 echo "${ECHO_T}$MINGWAR" >&6; }
9281 { echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6; }
9286 test -n "$MINGWAR" && break
9288 test -n "$MINGWAR" || MINGWAR="false"
9290 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9295 if test "$LIBEXT" = "a"; then
9296 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9297 It is currently not possible to build Wine without shared library
9298 (.so) support to allow transparent switch between .so and .dll files.
9299 If you are using Linux, you will need a newer binutils.
9301 echo "$as_me: error: could not find a way to build shared libraries.
9302 It is currently not possible to build Wine without shared library
9303 (.so) support to allow transparent switch between .so and .dll files.
9304 If you are using Linux, you will need a newer binutils.
9306 { (exit 1); exit 1; }; }
9310 if test "$have_x" = "yes"
9313 ac_save_CPPFLAGS="$CPPFLAGS"
9314 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9316 { echo "$as_me:$LINENO: checking for -lX11" >&5
9317 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9318 if test "${ac_cv_lib_soname_X11+set}" = set; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 ac_check_soname_save_LIBS=$LIBS
9322 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9323 cat >conftest.$ac_ext <<_ACEOF
9326 cat confdefs.h >>conftest.$ac_ext
9327 cat >>conftest.$ac_ext <<_ACEOF
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9336 char XCreateWindow ();
9340 return XCreateWindow ();
9345 rm -f conftest.$ac_objext conftest$ac_exeext
9346 if { (ac_try="$ac_link"
9348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9349 *) ac_try_echo
=$ac_try;;
9351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9352 (eval "$ac_link") 2>conftest.er1
9354 grep -v '^ *+' conftest.er1
>conftest.err
9356 cat conftest.err
>&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } && {
9359 test -z "$ac_c_werror_flag" ||
9360 test ! -s conftest.err
9361 } && test -s conftest
$ac_exeext &&
9362 $as_test_x conftest
$ac_exeext; then
9365 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'` ;;
9366 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9369 echo "$as_me: failed program was:" >&5
9370 sed 's/^/| /' conftest.
$ac_ext >&5
9375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9376 conftest
$ac_exeext conftest.
$ac_ext
9377 LIBS
=$ac_check_soname_save_LIBS
9379 if test "x$ac_cv_lib_soname_X11" = "x"; then
9380 { echo "$as_me:$LINENO: result: not found" >&5
9381 echo "${ECHO_T}not found" >&6; }
9384 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9385 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9387 cat >>confdefs.h
<<_ACEOF
9388 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9394 { echo "$as_me:$LINENO: checking for -lXext" >&5
9395 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9396 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 ac_check_soname_save_LIBS
=$LIBS
9400 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9401 cat >conftest.
$ac_ext <<_ACEOF
9404 cat confdefs.h
>>conftest.
$ac_ext
9405 cat >>conftest.
$ac_ext <<_ACEOF
9406 /* end confdefs.h. */
9408 /* Override any GCC internal prototype to avoid an error.
9409 Use char because int might match the return type of a GCC
9410 builtin and then its argument prototype would still apply. */
9414 char XextCreateExtension ();
9418 return XextCreateExtension ();
9423 rm -f conftest.
$ac_objext conftest
$ac_exeext
9424 if { (ac_try
="$ac_link"
9426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9427 *) ac_try_echo=$ac_try;;
9429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9430 (eval "$ac_link") 2>conftest.er1
9432 grep -v '^ *+' conftest.er1 >conftest.err
9434 cat conftest.err >&5
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); } && {
9437 test -z "$ac_c_werror_flag" ||
9438 test ! -s conftest.err
9439 } && test -s conftest$ac_exeext &&
9440 $as_test_x conftest$ac_exeext; then
9443 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'` ;;
9444 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.$ac_ext >&5
9453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_soname_save_LIBS
9457 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9458 { echo "$as_me:$LINENO: result: not found" >&5
9459 echo "${ECHO_T}not found" >&6; }
9462 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9463 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9465 cat >>confdefs.h <<_ACEOF
9466 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9485 for ac_header in X11/Xlib.h \
9488 X11/Xcursor/Xcursor.h \
9489 X11/extensions/shape.h \
9490 X11/extensions/XInput.h \
9491 X11/extensions/XShm.h \
9492 X11/extensions/Xcomposite.h \
9493 X11/extensions/Xinerama.h \
9494 X11/extensions/Xrandr.h \
9495 X11/extensions/Xrender.h \
9496 X11/extensions/xf86vmode.h
9498 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 cat >conftest.$ac_ext <<_ACEOF
9507 cat confdefs.h >>conftest.$ac_ext
9508 cat >>conftest.$ac_ext <<_ACEOF
9509 /* end confdefs.h. */
9510 #ifdef HAVE_X11_XLIB_H
9511 # include <X11/Xlib.h>
9513 #ifdef HAVE_X11_XUTIL_H
9514 # include <X11/Xutil.h>
9517 #include <$ac_header>
9519 rm -f conftest.$ac_objext
9520 if { (ac_try="$ac_compile"
9522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9523 *) ac_try_echo
=$ac_try;;
9525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9526 (eval "$ac_compile") 2>conftest.er1
9528 grep -v '^ *+' conftest.er1
>conftest.err
9530 cat conftest.err
>&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); } && {
9533 test -z "$ac_c_werror_flag" ||
9534 test ! -s conftest.err
9535 } && test -s conftest.
$ac_objext; then
9536 eval "$as_ac_Header=yes"
9538 echo "$as_me: failed program was:" >&5
9539 sed 's/^/| /' conftest.
$ac_ext >&5
9541 eval "$as_ac_Header=no"
9544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9546 ac_res
=`eval echo '${'$as_ac_Header'}'`
9547 { echo "$as_me:$LINENO: result: $ac_res" >&5
9548 echo "${ECHO_T}$ac_res" >&6; }
9549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9550 cat >>confdefs.h
<<_ACEOF
9551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9559 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9561 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9562 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9563 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 ac_check_lib_save_LIBS
=$LIBS
9567 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9568 cat >conftest.
$ac_ext <<_ACEOF
9571 cat confdefs.h
>>conftest.
$ac_ext
9572 cat >>conftest.
$ac_ext <<_ACEOF
9573 /* end confdefs.h. */
9575 /* Override any GCC internal prototype to avoid an error.
9576 Use char because int might match the return type of a GCC
9577 builtin and then its argument prototype would still apply. */
9581 char XkbQueryExtension ();
9585 return XkbQueryExtension ();
9590 rm -f conftest.
$ac_objext conftest
$ac_exeext
9591 if { (ac_try
="$ac_link"
9593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_link") 2>conftest.er1
9599 grep -v '^ *+' conftest.er1 >conftest.err
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } && {
9604 test -z "$ac_c_werror_flag" ||
9605 test ! -s conftest.err
9606 } && test -s conftest$ac_exeext &&
9607 $as_test_x conftest$ac_exeext; then
9608 ac_cv_lib_X11_XkbQueryExtension=yes
9610 echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9613 ac_cv_lib_X11_XkbQueryExtension=no
9616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9617 conftest$ac_exeext conftest.$ac_ext
9618 LIBS=$ac_check_lib_save_LIBS
9620 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9621 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9622 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9624 cat >>confdefs.h <<\_ACEOF
9632 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9634 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9635 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9636 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 ac_check_soname_save_LIBS=$LIBS
9640 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9641 cat >conftest.$ac_ext <<_ACEOF
9644 cat confdefs.h >>conftest.$ac_ext
9645 cat >>conftest.$ac_ext <<_ACEOF
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9654 char XcursorImageLoadCursor ();
9658 return XcursorImageLoadCursor ();
9663 rm -f conftest.$ac_objext conftest$ac_exeext
9664 if { (ac_try="$ac_link"
9666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9667 *) ac_try_echo
=$ac_try;;
9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9670 (eval "$ac_link") 2>conftest.er1
9672 grep -v '^ *+' conftest.er1
>conftest.err
9674 cat conftest.err
>&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); } && {
9677 test -z "$ac_c_werror_flag" ||
9678 test ! -s conftest.err
9679 } && test -s conftest
$ac_exeext &&
9680 $as_test_x conftest
$ac_exeext; then
9683 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'` ;;
9684 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.
$ac_ext >&5
9693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9694 conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_soname_save_LIBS
9697 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9698 { echo "$as_me:$LINENO: result: not found" >&5
9699 echo "${ECHO_T}not found" >&6; }
9702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9703 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9705 cat >>confdefs.h
<<_ACEOF
9706 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9713 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9714 case "x$with_xcursor" in
9715 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9717 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9718 This is an error since --with-xcursor was requested." >&5
9719 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9720 This is an error since --with-xcursor was requested." >&2;}
9721 { (exit 1); exit 1; }; } ;;
9726 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9728 { echo "$as_me:$LINENO: checking for -lXi" >&5
9729 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9730 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9731 echo $ECHO_N "(cached) $ECHO_C" >&6
9733 ac_check_soname_save_LIBS
=$LIBS
9734 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9735 cat >conftest.
$ac_ext <<_ACEOF
9738 cat confdefs.h
>>conftest.
$ac_ext
9739 cat >>conftest.
$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9742 /* Override any GCC internal prototype to avoid an error.
9743 Use char because int might match the return type of a GCC
9744 builtin and then its argument prototype would still apply. */
9748 char XOpenDevice ();
9752 return XOpenDevice ();
9757 rm -f conftest.
$ac_objext conftest
$ac_exeext
9758 if { (ac_try
="$ac_link"
9760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9761 *) ac_try_echo=$ac_try;;
9763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9764 (eval "$ac_link") 2>conftest.er1
9766 grep -v '^ *+' conftest.er1 >conftest.err
9768 cat conftest.err >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } && {
9771 test -z "$ac_c_werror_flag" ||
9772 test ! -s conftest.err
9773 } && test -s conftest$ac_exeext &&
9774 $as_test_x conftest$ac_exeext; then
9777 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'` ;;
9778 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9781 echo "$as_me: failed program was:" >&5
9782 sed 's/^/| /' conftest.$ac_ext >&5
9787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9788 conftest$ac_exeext conftest.$ac_ext
9789 LIBS=$ac_check_soname_save_LIBS
9791 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9792 { echo "$as_me:$LINENO: result: not found" >&5
9793 echo "${ECHO_T}not found" >&6; }
9796 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9797 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9799 cat >>confdefs.h <<_ACEOF
9800 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9807 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9808 case "x$with_xinput" in
9809 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9811 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9812 This is an error since --with-xinput was requested." >&5
9813 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9814 This is an error since --with-xinput was requested." >&2;}
9815 { (exit 1); exit 1; }; } ;;
9820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9822 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9825 echo $ECHO_N "(cached) $ECHO_C" >&6
9827 ac_check_lib_save_LIBS=$LIBS
9828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9829 cat >conftest.$ac_ext <<_ACEOF
9832 cat confdefs.h >>conftest.$ac_ext
9833 cat >>conftest.$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9836 /* Override any GCC internal prototype to avoid an error.
9837 Use char because int might match the return type of a GCC
9838 builtin and then its argument prototype would still apply. */
9842 char XShmQueryExtension ();
9846 return XShmQueryExtension ();
9851 rm -f conftest.$ac_objext conftest$ac_exeext
9852 if { (ac_try="$ac_link"
9854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9855 *) ac_try_echo
=$ac_try;;
9857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9858 (eval "$ac_link") 2>conftest.er1
9860 grep -v '^ *+' conftest.er1
>conftest.err
9862 cat conftest.err
>&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); } && {
9865 test -z "$ac_c_werror_flag" ||
9866 test ! -s conftest.err
9867 } && test -s conftest
$ac_exeext &&
9868 $as_test_x conftest
$ac_exeext; then
9869 ac_cv_lib_Xext_XShmQueryExtension
=yes
9871 echo "$as_me: failed program was:" >&5
9872 sed 's/^/| /' conftest.
$ac_ext >&5
9874 ac_cv_lib_Xext_XShmQueryExtension
=no
9877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9878 conftest
$ac_exeext conftest.
$ac_ext
9879 LIBS
=$ac_check_lib_save_LIBS
9881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9885 cat >>confdefs.h
<<\_ACEOF
9886 #define HAVE_LIBXXSHM 1
9892 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9893 case "x$with_xshm" in
9894 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9896 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9897 This is an error since --with-xshm was requested." >&5
9898 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9899 This is an error since --with-xshm was requested." >&2;}
9900 { (exit 1); exit 1; }; } ;;
9905 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9907 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9908 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9909 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9912 ac_check_lib_save_LIBS
=$LIBS
9913 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9914 cat >conftest.
$ac_ext <<_ACEOF
9917 cat confdefs.h
>>conftest.
$ac_ext
9918 cat >>conftest.
$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9927 char XShapeQueryExtension ();
9931 return XShapeQueryExtension ();
9936 rm -f conftest.
$ac_objext conftest
$ac_exeext
9937 if { (ac_try
="$ac_link"
9939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9940 *) ac_try_echo=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_link") 2>conftest.er1
9945 grep -v '^ *+' conftest.er1 >conftest.err
9947 cat conftest.err >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest$ac_exeext &&
9953 $as_test_x conftest$ac_exeext; then
9954 ac_cv_lib_Xext_XShapeQueryExtension=yes
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9959 ac_cv_lib_Xext_XShapeQueryExtension=no
9962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9967 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9968 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9970 cat >>confdefs.h <<\_ACEOF
9971 #define HAVE_LIBXSHAPE 1
9977 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9978 case "x$with_xshape" in
9979 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9981 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9982 This is an error since --with-xshape was requested." >&5
9983 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9984 This is an error since --with-xshape was requested." >&2;}
9985 { (exit 1); exit 1; }; } ;;
9990 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9992 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9993 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9994 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 ac_check_lib_save_LIBS=$LIBS
9998 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat >conftest.$ac_ext <<_ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10012 char XF86VidModeQueryExtension ();
10016 return XF86VidModeQueryExtension ();
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10025 *) ac_try_echo
=$ac_try;;
10027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028 (eval "$ac_link") 2>conftest.er1
10030 grep -v '^ *+' conftest.er1
>conftest.err
10032 cat conftest.err
>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } && {
10035 test -z "$ac_c_werror_flag" ||
10036 test ! -s conftest.err
10037 } && test -s conftest
$ac_exeext &&
10038 $as_test_x conftest
$ac_exeext; then
10039 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.
$ac_ext >&5
10044 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_lib_save_LIBS
10051 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10052 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10053 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10055 cat >>confdefs.h
<<\_ACEOF
10056 #define HAVE_LIBXXF86VM 1
10059 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10064 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10065 case "x$with_xvidmode" in
10066 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10068 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10069 This is an error since --with-xvidmode was requested." >&5
10070 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10071 This is an error since --with-xvidmode was requested." >&2;}
10072 { (exit 1); exit 1; }; } ;;
10077 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"
10079 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10080 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10081 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10082 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 ac_check_soname_save_LIBS
=$LIBS
10085 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10086 cat >conftest.
$ac_ext <<_ACEOF
10089 cat confdefs.h
>>conftest.
$ac_ext
10090 cat >>conftest.
$ac_ext <<_ACEOF
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10099 char XRenderQueryExtension ();
10103 return XRenderQueryExtension ();
10108 rm -f conftest.
$ac_objext conftest
$ac_exeext
10109 if { (ac_try
="$ac_link"
10110 case "(($ac_try" in
10111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10112 *) ac_try_echo=$ac_try;;
10114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10115 (eval "$ac_link") 2>conftest.er1
10117 grep -v '^ *+' conftest.er1 >conftest.err
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } && {
10122 test -z "$ac_c_werror_flag" ||
10123 test ! -s conftest.err
10124 } && test -s conftest$ac_exeext &&
10125 $as_test_x conftest$ac_exeext; then
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10132 echo "$as_me: failed program was:" >&5
10133 sed 's/^/| /' conftest.$ac_ext >&5
10138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10139 conftest$ac_exeext conftest.$ac_ext
10140 LIBS=$ac_check_soname_save_LIBS
10142 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10143 { echo "$as_me:$LINENO: result: not found" >&5
10144 echo "${ECHO_T}not found" >&6; }
10147 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10148 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10150 cat >>confdefs.h <<_ACEOF
10151 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10154 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10155 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10156 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10157 echo $ECHO_N "(cached) $ECHO_C" >&6
10159 ac_check_lib_save_LIBS=$LIBS
10160 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10161 cat >conftest.$ac_ext <<_ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10174 char XRenderSetPictureTransform ();
10178 return XRenderSetPictureTransform ();
10183 rm -f conftest.$ac_objext conftest$ac_exeext
10184 if { (ac_try="$ac_link"
10185 case "(($ac_try" in
10186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10187 *) ac_try_echo
=$ac_try;;
10189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10190 (eval "$ac_link") 2>conftest.er1
10192 grep -v '^ *+' conftest.er1
>conftest.err
10194 cat conftest.err
>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); } && {
10197 test -z "$ac_c_werror_flag" ||
10198 test ! -s conftest.err
10199 } && test -s conftest
$ac_exeext &&
10200 $as_test_x conftest
$ac_exeext; then
10201 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.
$ac_ext >&5
10206 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10209 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10210 conftest
$ac_exeext conftest.
$ac_ext
10211 LIBS
=$ac_check_lib_save_LIBS
10213 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10214 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10215 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10217 cat >>confdefs.h
<<\_ACEOF
10218 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10227 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10228 case "x$with_xrender" in
10229 x
) wine_notices
="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10231 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10232 This is an error since --with-xrender was requested." >&5
10233 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10234 This is an error since --with-xrender was requested." >&2;}
10235 { (exit 1); exit 1; }; } ;;
10240 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10242 cat >conftest.
$ac_ext <<_ACEOF
10245 cat confdefs.h
>>conftest.
$ac_ext
10246 cat >>conftest.
$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10248 #include <X11/Xlib.h>
10249 #include <X11/extensions/Xrandr.h>
10253 static typeof(XRRSetScreenConfigAndRate) * func;
10258 rm -f conftest.
$ac_objext
10259 if { (ac_try
="$ac_compile"
10260 case "(($ac_try" in
10261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10262 *) ac_try_echo=$ac_try;;
10264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10265 (eval "$ac_compile") 2>conftest.er1
10267 grep -v '^ *+' conftest.er1 >conftest.err
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } && {
10272 test -z "$ac_c_werror_flag" ||
10273 test ! -s conftest.err
10274 } && test -s conftest.$ac_objext; then
10275 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10276 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10277 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10278 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 ac_check_soname_save_LIBS=$LIBS
10281 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10282 cat >conftest.$ac_ext <<_ACEOF
10285 cat confdefs.h >>conftest.$ac_ext
10286 cat >>conftest.$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10295 char XRRQueryExtension ();
10299 return XRRQueryExtension ();
10304 rm -f conftest.$ac_objext conftest$ac_exeext
10305 if { (ac_try="$ac_link"
10306 case "(($ac_try" in
10307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10308 *) ac_try_echo
=$ac_try;;
10310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10311 (eval "$ac_link") 2>conftest.er1
10313 grep -v '^ *+' conftest.er1
>conftest.err
10315 cat conftest.err
>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); } && {
10318 test -z "$ac_c_werror_flag" ||
10319 test ! -s conftest.err
10320 } && test -s conftest
$ac_exeext &&
10321 $as_test_x conftest
$ac_exeext; then
10324 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'` ;;
10325 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10328 echo "$as_me: failed program was:" >&5
10329 sed 's/^/| /' conftest.
$ac_ext >&5
10334 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 LIBS
=$ac_check_soname_save_LIBS
10338 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10339 { echo "$as_me:$LINENO: result: not found" >&5
10340 echo "${ECHO_T}not found" >&6; }
10343 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10344 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10346 cat >>confdefs.h
<<_ACEOF
10347 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.
$ac_ext >&5
10360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10362 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10363 case "x$with_xrandr" in
10364 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10366 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10367 This is an error since --with-xrandr was requested." >&5
10368 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10369 This is an error since --with-xrandr was requested." >&2;}
10370 { (exit 1); exit 1; }; } ;;
10375 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10377 cat >conftest.
$ac_ext <<_ACEOF
10380 cat confdefs.h
>>conftest.
$ac_ext
10381 cat >>conftest.
$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 #include <X11/Xlib.h>
10384 #include <X11/extensions/Xinerama.h>
10388 static typeof(XineramaQueryScreens) * func;
10393 rm -f conftest.
$ac_objext
10394 if { (ac_try
="$ac_compile"
10395 case "(($ac_try" in
10396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10397 *) ac_try_echo=$ac_try;;
10399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10400 (eval "$ac_compile") 2>conftest.er1
10402 grep -v '^ *+' conftest.er1 >conftest.err
10404 cat conftest.err >&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } && {
10407 test -z "$ac_c_werror_flag" ||
10408 test ! -s conftest.err
10409 } && test -s conftest.$ac_objext; then
10410 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10411 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10412 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 ac_check_soname_save_LIBS=$LIBS
10416 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10417 cat >conftest.$ac_ext <<_ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10430 char XineramaQueryScreens ();
10434 return XineramaQueryScreens ();
10439 rm -f conftest.$ac_objext conftest$ac_exeext
10440 if { (ac_try="$ac_link"
10441 case "(($ac_try" in
10442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10443 *) ac_try_echo
=$ac_try;;
10445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10446 (eval "$ac_link") 2>conftest.er1
10448 grep -v '^ *+' conftest.er1
>conftest.err
10450 cat conftest.err
>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } && {
10453 test -z "$ac_c_werror_flag" ||
10454 test ! -s conftest.err
10455 } && test -s conftest
$ac_exeext &&
10456 $as_test_x conftest
$ac_exeext; then
10459 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'` ;;
10460 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10463 echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.
$ac_ext >&5
10469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10470 conftest
$ac_exeext conftest.
$ac_ext
10471 LIBS
=$ac_check_soname_save_LIBS
10473 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10474 { echo "$as_me:$LINENO: result: not found" >&5
10475 echo "${ECHO_T}not found" >&6; }
10478 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10479 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10481 cat >>confdefs.h
<<_ACEOF
10482 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.
$ac_ext >&5
10495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10497 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10498 case "x$with_xinerama" in
10499 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10501 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10502 This is an error since --with-xinerama was requested." >&5
10503 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10504 This is an error since --with-xinerama was requested." >&2;}
10505 { (exit 1); exit 1; }; } ;;
10510 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10512 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10513 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10514 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10515 echo $ECHO_N "(cached) $ECHO_C" >&6
10517 ac_check_soname_save_LIBS
=$LIBS
10518 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10519 cat >conftest.
$ac_ext <<_ACEOF
10522 cat confdefs.h
>>conftest.
$ac_ext
10523 cat >>conftest.
$ac_ext <<_ACEOF
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10532 char XCompositeRedirectWindow ();
10536 return XCompositeRedirectWindow ();
10541 rm -f conftest.
$ac_objext conftest
$ac_exeext
10542 if { (ac_try
="$ac_link"
10543 case "(($ac_try" in
10544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10545 *) ac_try_echo=$ac_try;;
10547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10548 (eval "$ac_link") 2>conftest.er1
10550 grep -v '^ *+' conftest.er1 >conftest.err
10552 cat conftest.err >&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } && {
10555 test -z "$ac_c_werror_flag" ||
10556 test ! -s conftest.err
10557 } && test -s conftest$ac_exeext &&
10558 $as_test_x conftest$ac_exeext; then
10561 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'` ;;
10562 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.$ac_ext >&5
10571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_soname_save_LIBS
10575 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10576 { echo "$as_me:$LINENO: result: not found" >&5
10577 echo "${ECHO_T}not found" >&6; }
10580 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10581 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10583 cat >>confdefs.h <<_ACEOF
10584 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10591 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10592 case "x$with_xcomposite" in
10593 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10595 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10596 This is an error since --with-xcomposite was requested." >&5
10597 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10598 This is an error since --with-xcomposite was requested." >&2;}
10599 { (exit 1); exit 1; }; } ;;
10606 if test "x$with_opengl" != "xno"
10612 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10614 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10620 cat >conftest.$ac_ext <<_ACEOF
10623 cat confdefs.h >>conftest.$ac_ext
10624 cat >>conftest.$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10626 #ifdef HAVE_GL_GLX_H
10627 # include <GL/glx.h>
10630 #include <$ac_header>
10632 rm -f conftest.$ac_objext
10633 if { (ac_try="$ac_compile"
10634 case "(($ac_try" in
10635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10636 *) ac_try_echo
=$ac_try;;
10638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10639 (eval "$ac_compile") 2>conftest.er1
10641 grep -v '^ *+' conftest.er1
>conftest.err
10643 cat conftest.err
>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } && {
10646 test -z "$ac_c_werror_flag" ||
10647 test ! -s conftest.err
10648 } && test -s conftest.
$ac_objext; then
10649 eval "$as_ac_Header=yes"
10651 echo "$as_me: failed program was:" >&5
10652 sed 's/^/| /' conftest.
$ac_ext >&5
10654 eval "$as_ac_Header=no"
10657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10659 ac_res
=`eval echo '${'$as_ac_Header'}'`
10660 { echo "$as_me:$LINENO: result: $ac_res" >&5
10661 echo "${ECHO_T}$ac_res" >&6; }
10662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10663 cat >>confdefs.h
<<_ACEOF
10664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10671 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10673 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10674 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10675 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10676 echo $ECHO_N "(cached) $ECHO_C" >&6
10678 cat >conftest.
$ac_ext <<_ACEOF
10681 cat confdefs.h
>>conftest.
$ac_ext
10682 cat >>conftest.
$ac_ext <<_ACEOF
10683 /* end confdefs.h. */
10688 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10693 rm -f conftest.
$ac_objext
10694 if { (ac_try
="$ac_compile"
10695 case "(($ac_try" in
10696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10697 *) ac_try_echo=$ac_try;;
10699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10700 (eval "$ac_compile") 2>conftest.er1
10702 grep -v '^ *+' conftest.er1 >conftest.err
10704 cat conftest.err >&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } && {
10707 test -z "$ac_c_werror_flag" ||
10708 test ! -s conftest.err
10709 } && test -s conftest.$ac_objext; then
10710 wine_cv_opengl_header_version_OK="yes"
10712 echo "$as_me: failed program was:" >&5
10713 sed 's/^/| /' conftest.$ac_ext >&5
10715 wine_cv_opengl_header_version_OK="no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10720 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10721 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10723 if test "$wine_cv_opengl_header_version_OK" = "yes"
10725 { echo "$as_me:$LINENO: checking for -lGL" >&5
10726 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10727 if test "${ac_cv_lib_soname_GL+set}" = set; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 ac_check_soname_save_LIBS=$LIBS
10731 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10732 cat >conftest.$ac_ext <<_ACEOF
10735 cat confdefs.h >>conftest.$ac_ext
10736 cat >>conftest.$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10745 char glXCreateContext ();
10749 return glXCreateContext ();
10754 rm -f conftest.$ac_objext conftest$ac_exeext
10755 if { (ac_try="$ac_link"
10756 case "(($ac_try" in
10757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10758 *) ac_try_echo
=$ac_try;;
10760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10761 (eval "$ac_link") 2>conftest.er1
10763 grep -v '^ *+' conftest.er1
>conftest.err
10765 cat conftest.err
>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } && {
10768 test -z "$ac_c_werror_flag" ||
10769 test ! -s conftest.err
10770 } && test -s conftest
$ac_exeext &&
10771 $as_test_x conftest
$ac_exeext; then
10774 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'` ;;
10775 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.
$ac_ext >&5
10784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 LIBS
=$ac_check_soname_save_LIBS
10788 if test "x$ac_cv_lib_soname_GL" = "x"; then
10789 { echo "$as_me:$LINENO: result: not found" >&5
10790 echo "${ECHO_T}not found" >&6; }
10791 { echo "$as_me:$LINENO: checking for -lGL" >&5
10792 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10793 if test "${ac_cv_lib_soname_GL+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 ac_check_soname_save_LIBS
=$LIBS
10797 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"
10798 cat >conftest.
$ac_ext <<_ACEOF
10801 cat confdefs.h
>>conftest.
$ac_ext
10802 cat >>conftest.
$ac_ext <<_ACEOF
10803 /* end confdefs.h. */
10805 /* Override any GCC internal prototype to avoid an error.
10806 Use char because int might match the return type of a GCC
10807 builtin and then its argument prototype would still apply. */
10811 char glXCreateContext ();
10815 return glXCreateContext ();
10820 rm -f conftest.
$ac_objext conftest
$ac_exeext
10821 if { (ac_try
="$ac_link"
10822 case "(($ac_try" in
10823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10824 *) ac_try_echo=$ac_try;;
10826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10827 (eval "$ac_link") 2>conftest.er1
10829 grep -v '^ *+' conftest.er1 >conftest.err
10831 cat conftest.err >&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } && {
10834 test -z "$ac_c_werror_flag" ||
10835 test ! -s conftest.err
10836 } && test -s conftest$ac_exeext &&
10837 $as_test_x conftest$ac_exeext; then
10840 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'` ;;
10841 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.$ac_ext >&5
10850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10851 conftest$ac_exeext conftest.$ac_ext
10852 LIBS=$ac_check_soname_save_LIBS
10854 if test "x$ac_cv_lib_soname_GL" = "x"; then
10855 { echo "$as_me:$LINENO: result: not found" >&5
10856 echo "${ECHO_T}not found" >&6; }
10857 if test -f /usr/X11R6/lib/libGL.a
10859 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10860 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10862 opengl_msg="No OpenGL library found on this system."
10865 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10866 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10868 cat >>confdefs.h <<_ACEOF
10869 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10872 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"
10873 OPENGLFILES='$(OPENGLFILES)'
10875 cat >>confdefs.h <<\_ACEOF
10876 #define HAVE_OPENGL 1
10882 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10883 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10885 cat >>confdefs.h <<_ACEOF
10886 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10890 OPENGLFILES='$(OPENGLFILES)'
10892 cat >>confdefs.h <<\_ACEOF
10893 #define HAVE_OPENGL 1
10899 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10900 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10901 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10902 echo $ECHO_N "(cached) $ECHO_C" >&6
10904 ac_check_lib_save_LIBS=$LIBS
10905 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10906 cat >conftest.$ac_ext <<_ACEOF
10909 cat confdefs.h >>conftest.$ac_ext
10910 cat >>conftest.$ac_ext <<_ACEOF
10911 /* end confdefs.h. */
10913 /* Override any GCC internal prototype to avoid an error.
10914 Use char because int might match the return type of a GCC
10915 builtin and then its argument prototype would still apply. */
10923 return gluLookAt ();
10928 rm -f conftest.$ac_objext conftest$ac_exeext
10929 if { (ac_try="$ac_link"
10930 case "(($ac_try" in
10931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10932 *) ac_try_echo
=$ac_try;;
10934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10935 (eval "$ac_link") 2>conftest.er1
10937 grep -v '^ *+' conftest.er1
>conftest.err
10939 cat conftest.err
>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); } && {
10942 test -z "$ac_c_werror_flag" ||
10943 test ! -s conftest.err
10944 } && test -s conftest
$ac_exeext &&
10945 $as_test_x conftest
$ac_exeext; then
10946 ac_cv_lib_GLU_gluLookAt
=yes
10948 echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.
$ac_ext >&5
10951 ac_cv_lib_GLU_gluLookAt
=no
10954 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10955 conftest
$ac_exeext conftest.
$ac_ext
10956 LIBS
=$ac_check_lib_save_LIBS
10958 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10959 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10960 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10961 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10962 GLU32FILES
='$(GLU32FILES)'
10967 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10970 opengl_msg
="OpenGL development headers not found."
10973 if test -n "$opengl_msg"; then
10974 case "x$with_opengl" in
10975 x
) wine_warnings
="$wine_warnings|$opengl_msg
10976 OpenGL and Direct3D won't be supported." ;;
10978 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10979 OpenGL and Direct3D won't be supported.
10980 This is an error since --with-opengl was requested." >&5
10981 echo "$as_me: error: $opengl_msg
10982 OpenGL and Direct3D won't be supported.
10983 This is an error since --with-opengl was requested." >&2;}
10984 { (exit 1); exit 1; }; } ;;
10992 for ac_header
in audio
/audiolib.h
10994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10995 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10998 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 ac_res
=`eval echo '${'$as_ac_Header'}'`
11002 { echo "$as_me:$LINENO: result: $ac_res" >&5
11003 echo "${ECHO_T}$ac_res" >&6; }
11005 # Is the header compilable?
11006 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11008 cat >conftest.
$ac_ext <<_ACEOF
11011 cat confdefs.h
>>conftest.
$ac_ext
11012 cat >>conftest.
$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11014 $ac_includes_default
11015 #include <$ac_header>
11017 rm -f conftest.
$ac_objext
11018 if { (ac_try
="$ac_compile"
11019 case "(($ac_try" in
11020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11021 *) ac_try_echo=$ac_try;;
11023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11024 (eval "$ac_compile") 2>conftest.er1
11026 grep -v '^ *+' conftest.er1 >conftest.err
11028 cat conftest.err >&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } && {
11031 test -z "$ac_c_werror_flag" ||
11032 test ! -s conftest.err
11033 } && test -s conftest.$ac_objext; then
11034 ac_header_compiler=yes
11036 echo "$as_me: failed program was:" >&5
11037 sed 's/^/| /' conftest.$ac_ext >&5
11039 ac_header_compiler=no
11042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11043 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11044 echo "${ECHO_T}$ac_header_compiler" >&6; }
11046 # Is the header present?
11047 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11049 cat >conftest.$ac_ext <<_ACEOF
11052 cat confdefs.h >>conftest.$ac_ext
11053 cat >>conftest.$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11055 #include <$ac_header>
11057 if { (ac_try="$ac_cpp conftest.$ac_ext"
11058 case "(($ac_try" in
11059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11060 *) ac_try_echo
=$ac_try;;
11062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11065 grep -v '^ *+' conftest.er1
>conftest.err
11067 cat conftest.err
>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); } >/dev
/null
&& {
11070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11071 test ! -s conftest.err
11073 ac_header_preproc
=yes
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.
$ac_ext >&5
11078 ac_header_preproc
=no
11081 rm -f conftest.err conftest.
$ac_ext
11082 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11083 echo "${ECHO_T}$ac_header_preproc" >&6; }
11085 # So? What about this header?
11086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11091 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11092 ac_header_preproc
=yes
11095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11099 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11100 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11101 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11102 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11105 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11106 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11108 ## ------------------------------------ ##
11109 ## Report this to wine-devel@winehq.org ##
11110 ## ------------------------------------ ##
11112 ) |
sed "s/^/$as_me: WARNING: /" >&2
11115 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11117 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 eval "$as_ac_Header=\$ac_header_preproc"
11122 ac_res
=`eval echo '${'$as_ac_Header'}'`
11123 { echo "$as_me:$LINENO: result: $ac_res" >&5
11124 echo "${ECHO_T}$ac_res" >&6; }
11127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11128 cat >>confdefs.h
<<_ACEOF
11129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11132 for ac_header
in audio
/soundlib.h
11134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 cat >conftest.
$ac_ext <<_ACEOF
11143 cat confdefs.h
>>conftest.
$ac_ext
11144 cat >>conftest.
$ac_ext <<_ACEOF
11145 /* end confdefs.h. */
11146 #include <audio/audiolib.h>
11148 #include <$ac_header>
11150 rm -f conftest.
$ac_objext
11151 if { (ac_try
="$ac_compile"
11152 case "(($ac_try" in
11153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11154 *) ac_try_echo=$ac_try;;
11156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11157 (eval "$ac_compile") 2>conftest.er1
11159 grep -v '^ *+' conftest.er1 >conftest.err
11161 cat conftest.err >&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } && {
11164 test -z "$ac_c_werror_flag" ||
11165 test ! -s conftest.err
11166 } && test -s conftest.$ac_objext; then
11167 eval "$as_ac_Header=yes"
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.$ac_ext >&5
11172 eval "$as_ac_Header=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11177 ac_res=`eval echo '${'$as_ac_Header'}'`
11178 { echo "$as_me:$LINENO: result: $ac_res" >&5
11179 echo "${ECHO_T}$ac_res" >&6; }
11180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11181 cat >>confdefs.h <<_ACEOF
11182 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11189 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11190 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11191 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11196 cat >conftest.$ac_ext <<_ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11209 char AuCreateFlow ();
11213 return AuCreateFlow ();
11218 rm -f conftest.$ac_objext conftest$ac_exeext
11219 if { (ac_try="$ac_link"
11220 case "(($ac_try" in
11221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11222 *) ac_try_echo
=$ac_try;;
11224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_link") 2>conftest.er1
11227 grep -v '^ *+' conftest.er1
>conftest.err
11229 cat conftest.err
>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } && {
11232 test -z "$ac_c_werror_flag" ||
11233 test ! -s conftest.err
11234 } && test -s conftest
$ac_exeext &&
11235 $as_test_x conftest
$ac_exeext; then
11236 ac_cv_lib_audio_AuCreateFlow
=yes
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.
$ac_ext >&5
11241 ac_cv_lib_audio_AuCreateFlow
=no
11244 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11245 conftest
$ac_exeext conftest.
$ac_ext
11246 LIBS
=$ac_check_lib_save_LIBS
11248 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11249 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11250 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11252 cat >>confdefs.h
<<\_ACEOF
11256 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11257 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11258 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11259 echo $ECHO_N "(cached) $ECHO_C" >&6
11261 ac_check_lib_save_LIBS
=$LIBS
11262 LIBS
="-lXau $X_LIBS $LIBS"
11263 cat >conftest.
$ac_ext <<_ACEOF
11266 cat confdefs.h
>>conftest.
$ac_ext
11267 cat >>conftest.
$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11276 char XauGetBestAuthByAddr ();
11280 return XauGetBestAuthByAddr ();
11285 rm -f conftest.
$ac_objext conftest
$ac_exeext
11286 if { (ac_try
="$ac_link"
11287 case "(($ac_try" in
11288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_link") 2>conftest.er1
11294 grep -v '^ *+' conftest.er1 >conftest.err
11296 cat conftest.err >&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } && {
11299 test -z "$ac_c_werror_flag" ||
11300 test ! -s conftest.err
11301 } && test -s conftest$ac_exeext &&
11302 $as_test_x conftest$ac_exeext; then
11303 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.$ac_ext >&5
11308 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11315 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11316 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11317 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11318 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11320 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11331 CPPFLAGS="$ac_save_CPPFLAGS"
11338 if test "x$XLIB" = "x"; then
11340 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11341 without X support, which probably isn't what you want. You will need to install
11342 development packages of Xlib/Xfree86 at the very least." ;;
11344 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11345 without X support, which probably isn't what you want. You will need to install
11346 development packages of Xlib/Xfree86 at the very least.
11347 This is an error since --with-x was requested." >&5
11348 echo "$as_me: error: X development files not found. Wine will be built
11349 without X support, which probably isn't what you want. You will need to install
11350 development packages of Xlib/Xfree86 at the very least.
11351 This is an error since --with-x was requested." >&2;}
11352 { (exit 1); exit 1; }; } ;;
11366 if test "x$with_xml" != "xno"
11368 ac_save_CPPFLAGS="$CPPFLAGS"
11369 if test "$PKG_CONFIG" != "false"
11371 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11372 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11374 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11375 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11377 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11379 for ac_header in libxml/parser.h
11381 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11386 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 ac_res=`eval echo '${'$as_ac_Header'}'`
11389 { echo "$as_me:$LINENO: result: $ac_res" >&5
11390 echo "${ECHO_T}$ac_res" >&6; }
11392 # Is the header compilable?
11393 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11395 cat >conftest.$ac_ext <<_ACEOF
11398 cat confdefs.h >>conftest.$ac_ext
11399 cat >>conftest.$ac_ext <<_ACEOF
11400 /* end confdefs.h. */
11401 $ac_includes_default
11402 #include <$ac_header>
11404 rm -f conftest.$ac_objext
11405 if { (ac_try="$ac_compile"
11406 case "(($ac_try" in
11407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11408 *) ac_try_echo
=$ac_try;;
11410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11411 (eval "$ac_compile") 2>conftest.er1
11413 grep -v '^ *+' conftest.er1
>conftest.err
11415 cat conftest.err
>&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); } && {
11418 test -z "$ac_c_werror_flag" ||
11419 test ! -s conftest.err
11420 } && test -s conftest.
$ac_objext; then
11421 ac_header_compiler
=yes
11423 echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.
$ac_ext >&5
11426 ac_header_compiler
=no
11429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11430 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11431 echo "${ECHO_T}$ac_header_compiler" >&6; }
11433 # Is the header present?
11434 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11436 cat >conftest.
$ac_ext <<_ACEOF
11439 cat confdefs.h
>>conftest.
$ac_ext
11440 cat >>conftest.
$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 #include <$ac_header>
11444 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11445 case "(($ac_try" in
11446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11452 grep -v '^ *+' conftest.er1 >conftest.err
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } >/dev/null && {
11457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11460 ac_header_preproc=yes
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_header_preproc=no
11468 rm -f conftest.err conftest.$ac_ext
11469 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11470 echo "${ECHO_T}$ac_header_preproc" >&6; }
11472 # So? What about this header?
11473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11479 ac_header_preproc=yes
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11495 ## ------------------------------------ ##
11496 ## Report this to wine-devel@winehq.org ##
11497 ## ------------------------------------ ##
11499 ) | sed "s/^/$as_me: WARNING: /" >&2
11502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 eval "$as_ac_Header=\$ac_header_preproc"
11509 ac_res=`eval echo '${'$as_ac_Header'}'`
11510 { echo "$as_me:$LINENO: result: $ac_res" >&5
11511 echo "${ECHO_T}$ac_res" >&6; }
11514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11515 cat >>confdefs.h <<_ACEOF
11516 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11518 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11519 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11520 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 ac_check_lib_save_LIBS=$LIBS
11524 LIBS="-lxml2 $ac_xml_libs $LIBS"
11525 cat >conftest.$ac_ext <<_ACEOF
11528 cat confdefs.h >>conftest.$ac_ext
11529 cat >>conftest.$ac_ext <<_ACEOF
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11538 char xmlParseMemory ();
11542 return xmlParseMemory ();
11547 rm -f conftest.$ac_objext conftest$ac_exeext
11548 if { (ac_try="$ac_link"
11549 case "(($ac_try" in
11550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11551 *) ac_try_echo
=$ac_try;;
11553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554 (eval "$ac_link") 2>conftest.er1
11556 grep -v '^ *+' conftest.er1
>conftest.err
11558 cat conftest.err
>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); } && {
11561 test -z "$ac_c_werror_flag" ||
11562 test ! -s conftest.err
11563 } && test -s conftest
$ac_exeext &&
11564 $as_test_x conftest
$ac_exeext; then
11565 ac_cv_lib_xml2_xmlParseMemory
=yes
11567 echo "$as_me: failed program was:" >&5
11568 sed 's/^/| /' conftest.
$ac_ext >&5
11570 ac_cv_lib_xml2_xmlParseMemory
=no
11573 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11574 conftest
$ac_exeext conftest.
$ac_ext
11575 LIBS
=$ac_check_lib_save_LIBS
11577 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11578 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11579 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11581 cat >>confdefs.h
<<\_ACEOF
11582 #define HAVE_LIBXML2 1
11585 XML2LIBS
="$ac_xml_libs"
11586 XML2INCL
="$ac_xml_cflags"
11589 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11590 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11591 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11592 echo $ECHO_N "(cached) $ECHO_C" >&6
11594 ac_check_lib_save_LIBS
=$LIBS
11595 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11596 cat >conftest.
$ac_ext <<_ACEOF
11599 cat confdefs.h
>>conftest.
$ac_ext
11600 cat >>conftest.
$ac_ext <<_ACEOF
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11609 char xmlReadMemory ();
11613 return xmlReadMemory ();
11618 rm -f conftest.
$ac_objext conftest
$ac_exeext
11619 if { (ac_try
="$ac_link"
11620 case "(($ac_try" in
11621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11622 *) ac_try_echo=$ac_try;;
11624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11625 (eval "$ac_link") 2>conftest.er1
11627 grep -v '^ *+' conftest.er1 >conftest.err
11629 cat conftest.err >&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } && {
11632 test -z "$ac_c_werror_flag" ||
11633 test ! -s conftest.err
11634 } && test -s conftest$ac_exeext &&
11635 $as_test_x conftest$ac_exeext; then
11636 ac_cv_lib_xml2_xmlReadMemory=yes
11638 echo "$as_me: failed program was:" >&5
11639 sed 's/^/| /' conftest.$ac_ext >&5
11641 ac_cv_lib_xml2_xmlReadMemory=no
11644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11645 conftest$ac_exeext conftest.$ac_ext
11646 LIBS=$ac_check_lib_save_LIBS
11648 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11649 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11650 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11652 cat >>confdefs.h <<\_ACEOF
11653 #define HAVE_XMLREADMEMORY 1
11658 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11659 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11660 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11661 echo $ECHO_N "(cached) $ECHO_C" >&6
11663 ac_check_lib_save_LIBS=$LIBS
11664 LIBS="-lxml2 $ac_xml_libs $LIBS"
11665 cat >conftest.$ac_ext <<_ACEOF
11668 cat confdefs.h >>conftest.$ac_ext
11669 cat >>conftest.$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11672 /* Override any GCC internal prototype to avoid an error.
11673 Use char because int might match the return type of a GCC
11674 builtin and then its argument prototype would still apply. */
11678 char xmlNewDocPI ();
11682 return xmlNewDocPI ();
11687 rm -f conftest.$ac_objext conftest$ac_exeext
11688 if { (ac_try="$ac_link"
11689 case "(($ac_try" in
11690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11691 *) ac_try_echo
=$ac_try;;
11693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11694 (eval "$ac_link") 2>conftest.er1
11696 grep -v '^ *+' conftest.er1
>conftest.err
11698 cat conftest.err
>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); } && {
11701 test -z "$ac_c_werror_flag" ||
11702 test ! -s conftest.err
11703 } && test -s conftest
$ac_exeext &&
11704 $as_test_x conftest
$ac_exeext; then
11705 ac_cv_lib_xml2_xmlNewDocPI
=yes
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.
$ac_ext >&5
11710 ac_cv_lib_xml2_xmlNewDocPI
=no
11713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11714 conftest
$ac_exeext conftest.
$ac_ext
11715 LIBS
=$ac_check_lib_save_LIBS
11717 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11718 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11719 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11721 cat >>confdefs.h
<<\_ACEOF
11722 #define HAVE_XMLNEWDOCPI 1
11732 CPPFLAGS
="$ac_save_CPPFLAGS"
11734 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11735 case "x$with_xml" in
11736 x
) wine_notices
="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11738 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11739 This is an error since --with-xml was requested." >&5
11740 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11741 This is an error since --with-xml was requested." >&2;}
11742 { (exit 1); exit 1; }; } ;;
11747 if test "x$with_xslt" != "xno"
11749 if test "$PKG_CONFIG" != "false"
11751 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11752 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11754 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11755 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11757 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11760 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11762 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11765 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11768 cat >conftest.
$ac_ext <<_ACEOF
11771 cat confdefs.h
>>conftest.
$ac_ext
11772 cat >>conftest.
$ac_ext <<_ACEOF
11773 /* end confdefs.h. */
11774 #ifdef HAVE_LIBXSLT_PATTERN_H
11775 # include <libxslt/pattern.h>
11778 #include <$ac_header>
11780 rm -f conftest.
$ac_objext
11781 if { (ac_try
="$ac_compile"
11782 case "(($ac_try" in
11783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11784 *) ac_try_echo=$ac_try;;
11786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11787 (eval "$ac_compile") 2>conftest.er1
11789 grep -v '^ *+' conftest.er1 >conftest.err
11791 cat conftest.err >&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } && {
11794 test -z "$ac_c_werror_flag" ||
11795 test ! -s conftest.err
11796 } && test -s conftest.$ac_objext; then
11797 eval "$as_ac_Header=yes"
11799 echo "$as_me: failed program was:" >&5
11800 sed 's/^/| /' conftest.$ac_ext >&5
11802 eval "$as_ac_Header=no"
11805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11807 ac_res=`eval echo '${'$as_ac_Header'}'`
11808 { echo "$as_me:$LINENO: result: $ac_res" >&5
11809 echo "${ECHO_T}$ac_res" >&6; }
11810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11811 cat >>confdefs.h <<_ACEOF
11812 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11814 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11815 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11816 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 ac_check_lib_save_LIBS=$LIBS
11820 LIBS="-lxslt $ac_xslt_libs $LIBS"
11821 cat >conftest.$ac_ext <<_ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11828 /* Override any GCC internal prototype to avoid an error.
11829 Use char because int might match the return type of a GCC
11830 builtin and then its argument prototype would still apply. */
11834 char xsltCompilePattern ();
11838 return xsltCompilePattern ();
11843 rm -f conftest.$ac_objext conftest$ac_exeext
11844 if { (ac_try="$ac_link"
11845 case "(($ac_try" in
11846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11847 *) ac_try_echo
=$ac_try;;
11849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850 (eval "$ac_link") 2>conftest.er1
11852 grep -v '^ *+' conftest.er1
>conftest.err
11854 cat conftest.err
>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } && {
11857 test -z "$ac_c_werror_flag" ||
11858 test ! -s conftest.err
11859 } && test -s conftest
$ac_exeext &&
11860 $as_test_x conftest
$ac_exeext; then
11861 ac_cv_lib_xslt_xsltCompilePattern
=yes
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.
$ac_ext >&5
11866 ac_cv_lib_xslt_xsltCompilePattern
=no
11869 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11870 conftest
$ac_exeext conftest.
$ac_ext
11871 LIBS
=$ac_check_lib_save_LIBS
11873 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11874 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11875 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11877 cat >>confdefs.h
<<\_ACEOF
11878 #define HAVE_LIBXSLT 1
11881 XSLTLIBS
="$ac_xslt_libs"
11882 XSLTINCL
="$ac_xslt_cflags"
11890 CPPFLAGS
="$ac_save_CPPFLAGS"
11892 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11893 case "x$with_xslt" in
11894 x
) wine_notices
="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11896 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11897 This is an error since --with-xslt was requested." >&5
11898 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11899 This is an error since --with-xslt was requested." >&2;}
11900 { (exit 1); exit 1; }; } ;;
11907 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11909 ac_save_CPPFLAGS
="$CPPFLAGS"
11910 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11911 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11912 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11915 for ac_header
in dbus
/dbus.h hal
/libhal.h
11917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11918 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11919 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11921 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 ac_res
=`eval echo '${'$as_ac_Header'}'`
11925 { echo "$as_me:$LINENO: result: $ac_res" >&5
11926 echo "${ECHO_T}$ac_res" >&6; }
11928 # Is the header compilable?
11929 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11931 cat >conftest.
$ac_ext <<_ACEOF
11934 cat confdefs.h
>>conftest.
$ac_ext
11935 cat >>conftest.
$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11937 $ac_includes_default
11938 #include <$ac_header>
11940 rm -f conftest.
$ac_objext
11941 if { (ac_try
="$ac_compile"
11942 case "(($ac_try" in
11943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11944 *) ac_try_echo=$ac_try;;
11946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11947 (eval "$ac_compile") 2>conftest.er1
11949 grep -v '^ *+' conftest.er1 >conftest.err
11951 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && {
11954 test -z "$ac_c_werror_flag" ||
11955 test ! -s conftest.err
11956 } && test -s conftest.$ac_objext; then
11957 ac_header_compiler=yes
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11962 ac_header_compiler=no
11965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11966 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11967 echo "${ECHO_T}$ac_header_compiler" >&6; }
11969 # Is the header present?
11970 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11972 cat >conftest.$ac_ext <<_ACEOF
11975 cat confdefs.h >>conftest.$ac_ext
11976 cat >>conftest.$ac_ext <<_ACEOF
11977 /* end confdefs.h. */
11978 #include <$ac_header>
11980 if { (ac_try="$ac_cpp conftest.$ac_ext"
11981 case "(($ac_try" in
11982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11983 *) ac_try_echo
=$ac_try;;
11985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11988 grep -v '^ *+' conftest.er1
>conftest.err
11990 cat conftest.err
>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } >/dev
/null
&& {
11993 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11994 test ! -s conftest.err
11996 ac_header_preproc
=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.
$ac_ext >&5
12001 ac_header_preproc
=no
12004 rm -f conftest.err conftest.
$ac_ext
12005 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12006 echo "${ECHO_T}$ac_header_preproc" >&6; }
12008 # So? What about this header?
12009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12015 ac_header_preproc
=yes
12018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12031 ## ------------------------------------ ##
12032 ## Report this to wine-devel@winehq.org ##
12033 ## ------------------------------------ ##
12035 ) |
sed "s/^/$as_me: WARNING: /" >&2
12038 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12040 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12043 eval "$as_ac_Header=\$ac_header_preproc"
12045 ac_res
=`eval echo '${'$as_ac_Header'}'`
12046 { echo "$as_me:$LINENO: result: $ac_res" >&5
12047 echo "${ECHO_T}$ac_res" >&6; }
12050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12051 cat >>confdefs.h
<<_ACEOF
12052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12059 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12061 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12062 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12063 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 ac_check_lib_save_LIBS
=$LIBS
12067 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
12068 cat >conftest.
$ac_ext <<_ACEOF
12071 cat confdefs.h
>>conftest.
$ac_ext
12072 cat >>conftest.
$ac_ext <<_ACEOF
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12081 char dbus_connection_close ();
12085 return dbus_connection_close ();
12090 rm -f conftest.
$ac_objext conftest
$ac_exeext
12091 if { (ac_try
="$ac_link"
12092 case "(($ac_try" in
12093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12094 *) ac_try_echo=$ac_try;;
12096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12097 (eval "$ac_link") 2>conftest.er1
12099 grep -v '^ *+' conftest.er1 >conftest.err
12101 cat conftest.err >&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } && {
12104 test -z "$ac_c_werror_flag" ||
12105 test ! -s conftest.err
12106 } && test -s conftest$ac_exeext &&
12107 $as_test_x conftest$ac_exeext; then
12108 ac_cv_lib_dbus_1_dbus_connection_close=yes
12110 echo "$as_me: failed program was:" >&5
12111 sed 's/^/| /' conftest.$ac_ext >&5
12113 ac_cv_lib_dbus_1_dbus_connection_close=no
12116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_lib_save_LIBS
12120 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12121 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12122 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12123 { echo "$as_me:$LINENO: checking for -lhal" >&5
12124 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12125 if test "${ac_cv_lib_soname_hal+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 ac_check_soname_save_LIBS=$LIBS
12129 LIBS="-lhal $ac_hal_libs $LIBS"
12130 cat >conftest.$ac_ext <<_ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12143 char libhal_ctx_new ();
12147 return libhal_ctx_new ();
12152 rm -f conftest.$ac_objext conftest$ac_exeext
12153 if { (ac_try="$ac_link"
12154 case "(($ac_try" in
12155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12156 *) ac_try_echo
=$ac_try;;
12158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12159 (eval "$ac_link") 2>conftest.er1
12161 grep -v '^ *+' conftest.er1
>conftest.err
12163 cat conftest.err
>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); } && {
12166 test -z "$ac_c_werror_flag" ||
12167 test ! -s conftest.err
12168 } && test -s conftest
$ac_exeext &&
12169 $as_test_x conftest
$ac_exeext; then
12172 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'` ;;
12173 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12176 echo "$as_me: failed program was:" >&5
12177 sed 's/^/| /' conftest.
$ac_ext >&5
12182 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LIBS
=$ac_check_soname_save_LIBS
12186 if test "x$ac_cv_lib_soname_hal" = "x"; then
12187 { echo "$as_me:$LINENO: result: not found" >&5
12188 echo "${ECHO_T}not found" >&6; }
12191 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12192 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12194 cat >>confdefs.h
<<_ACEOF
12195 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12198 HALINCL
="$ac_hal_cflags"
12204 CPPFLAGS
="$ac_save_CPPFLAGS"
12206 if test "x$ac_cv_lib_soname_hal" = "x"; then
12207 case "x$with_hal" in
12208 x
) wine_notices
="$wine_notices|libhal development files not found, no dynamic device support." ;;
12210 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12211 This is an error since --with-hal was requested." >&5
12212 echo "$as_me: error: libhal development files not found, no dynamic device support.
12213 This is an error since --with-hal was requested." >&2;}
12214 { (exit 1); exit 1; }; } ;;
12220 if test "$ac_cv_header_ncurses_h" = "yes"
12222 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12223 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12224 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 ac_check_soname_save_LIBS
=$LIBS
12228 LIBS
="-lncurses $LIBS"
12229 cat >conftest.
$ac_ext <<_ACEOF
12232 cat confdefs.h
>>conftest.
$ac_ext
12233 cat >>conftest.
$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12236 /* Override any GCC internal prototype to avoid an error.
12237 Use char because int might match the return type of a GCC
12238 builtin and then its argument prototype would still apply. */
12251 rm -f conftest.
$ac_objext conftest
$ac_exeext
12252 if { (ac_try
="$ac_link"
12253 case "(($ac_try" in
12254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12255 *) ac_try_echo=$ac_try;;
12257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12258 (eval "$ac_link") 2>conftest.er1
12260 grep -v '^ *+' conftest.er1 >conftest.err
12262 cat conftest.err >&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } && {
12265 test -z "$ac_c_werror_flag" ||
12266 test ! -s conftest.err
12267 } && test -s conftest$ac_exeext &&
12268 $as_test_x conftest$ac_exeext; then
12271 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'` ;;
12272 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12282 conftest$ac_exeext conftest.$ac_ext
12283 LIBS=$ac_check_soname_save_LIBS
12285 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12286 { echo "$as_me:$LINENO: result: not found" >&5
12287 echo "${ECHO_T}not found" >&6; }
12290 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12291 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12293 cat >>confdefs.h <<_ACEOF
12294 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12297 CURSESLIBS="-lncurses"
12300 elif test "$ac_cv_header_curses_h" = "yes"
12302 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12303 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12304 if test "${ac_cv_lib_soname_curses+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 ac_check_soname_save_LIBS=$LIBS
12308 LIBS="-lcurses $LIBS"
12309 cat >conftest.$ac_ext <<_ACEOF
12312 cat confdefs.h >>conftest.$ac_ext
12313 cat >>conftest.$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12331 rm -f conftest.$ac_objext conftest$ac_exeext
12332 if { (ac_try="$ac_link"
12333 case "(($ac_try" in
12334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12335 *) ac_try_echo
=$ac_try;;
12337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12338 (eval "$ac_link") 2>conftest.er1
12340 grep -v '^ *+' conftest.er1
>conftest.err
12342 cat conftest.err
>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } && {
12345 test -z "$ac_c_werror_flag" ||
12346 test ! -s conftest.err
12347 } && test -s conftest
$ac_exeext &&
12348 $as_test_x conftest
$ac_exeext; then
12351 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'` ;;
12352 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12355 echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.
$ac_ext >&5
12361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12362 conftest
$ac_exeext conftest.
$ac_ext
12363 LIBS
=$ac_check_soname_save_LIBS
12365 if test "x$ac_cv_lib_soname_curses" = "x"; then
12366 { echo "$as_me:$LINENO: result: not found" >&5
12367 echo "${ECHO_T}not found" >&6; }
12370 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12371 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12373 cat >>confdefs.h
<<_ACEOF
12374 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12377 CURSESLIBS
="-lcurses"
12381 ac_save_LIBS
="$LIBS"
12382 LIBS
="$LIBS $CURSESLIBS"
12384 for ac_func
in mousemask
12386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12389 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 cat >conftest.
$ac_ext <<_ACEOF
12395 cat confdefs.h
>>conftest.
$ac_ext
12396 cat >>conftest.
$ac_ext <<_ACEOF
12397 /* end confdefs.h. */
12398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12400 #define $ac_func innocuous_$ac_func
12402 /* System header to define __stub macros and hopefully few prototypes,
12403 which can conflict with char $ac_func (); below.
12404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12405 <limits.h> exists even on freestanding compilers. */
12408 # include <limits.h>
12410 # include <assert.h>
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12422 /* The GNU C library defines this for functions which it implements
12423 to always fail with ENOSYS. Some functions are actually named
12424 something starting with __ and the normal name is an alias. */
12425 #if defined __stub_$ac_func || defined __stub___$ac_func
12432 return $ac_func ();
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
12455 eval "$as_ac_var=yes"
12457 echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.$ac_ext >&5
12460 eval "$as_ac_var=no"
12463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12464 conftest$ac_exeext conftest.$ac_ext
12466 ac_res=`eval echo '${'$as_ac_var'}'`
12467 { echo "$as_me:$LINENO: result: $ac_res" >&5
12468 echo "${ECHO_T}$ac_res" >&6; }
12469 if test `eval echo '${'$as_ac_var'}'` = yes; then
12470 cat >>confdefs.h <<_ACEOF
12471 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12477 LIBS="$ac_save_LIBS"
12478 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12479 case "x$with_curses" in
12480 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12482 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12483 This is an error since --with-curses was requested." >&5
12484 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12485 This is an error since --with-curses was requested." >&2;}
12486 { (exit 1); exit 1; }; } ;;
12491 # Extract the first word of "sane-config", so it can be a program name with args.
12492 set dummy sane-config; ac_word=$2
12493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12495 if test "${ac_cv_prog_sane_devel+set}" = set; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 if test -n "$sane_devel"; then
12499 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12502 for as_dir in $PATH
12505 test -z "$as_dir" && as_dir=.
12506 for ac_exec_ext in '' $ac_executable_extensions; do
12507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12508 ac_cv_prog_sane_devel="sane-config"
12509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12516 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12519 sane_devel=$ac_cv_prog_sane_devel
12520 if test -n "$sane_devel"; then
12521 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12522 echo "${ECHO_T}$sane_devel" >&6; }
12524 { echo "$as_me:$LINENO: result: no" >&5
12525 echo "${ECHO_T}no" >&6; }
12529 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12531 ac_sane_incl="`$sane_devel --cflags`"
12532 ac_save_CPPFLAGS="$CPPFLAGS"
12533 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12534 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12535 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12536 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12537 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12538 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12541 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12543 # Is the header compilable?
12544 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12545 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12546 cat >conftest.$ac_ext <<_ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552 $ac_includes_default
12553 #include <sane/sane.h>
12555 rm -f conftest.$ac_objext
12556 if { (ac_try="$ac_compile"
12557 case "(($ac_try" in
12558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12559 *) ac_try_echo
=$ac_try;;
12561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12562 (eval "$ac_compile") 2>conftest.er1
12564 grep -v '^ *+' conftest.er1
>conftest.err
12566 cat conftest.err
>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } && {
12569 test -z "$ac_c_werror_flag" ||
12570 test ! -s conftest.err
12571 } && test -s conftest.
$ac_objext; then
12572 ac_header_compiler
=yes
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.
$ac_ext >&5
12577 ac_header_compiler
=no
12580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12582 echo "${ECHO_T}$ac_header_compiler" >&6; }
12584 # Is the header present?
12585 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12586 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12587 cat >conftest.
$ac_ext <<_ACEOF
12590 cat confdefs.h
>>conftest.
$ac_ext
12591 cat >>conftest.
$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12593 #include <sane/sane.h>
12595 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12596 case "(($ac_try" in
12597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12598 *) ac_try_echo=$ac_try;;
12600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12603 grep -v '^ *+' conftest.er1 >conftest.err
12605 cat conftest.err >&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); } >/dev/null && {
12608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12609 test ! -s conftest.err
12611 ac_header_preproc=yes
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.$ac_ext >&5
12616 ac_header_preproc=no
12619 rm -f conftest.err conftest.$ac_ext
12620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12621 echo "${ECHO_T}$ac_header_preproc" >&6; }
12623 # So? What about this header?
12624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12626 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12627 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12628 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12629 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12630 ac_header_preproc=yes
12633 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12634 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12635 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12636 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12638 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12640 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12641 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12642 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12643 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12644 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12646 ## ------------------------------------ ##
12647 ## Report this to wine-devel@winehq.org ##
12648 ## ------------------------------------ ##
12650 ) | sed "s/^/$as_me: WARNING: /" >&2
12653 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12654 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12655 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 ac_cv_header_sane_sane_h=$ac_header_preproc
12660 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12661 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12664 if test $ac_cv_header_sane_sane_h = yes; then
12665 { echo "$as_me:$LINENO: checking for -lsane" >&5
12666 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12667 if test "${ac_cv_lib_soname_sane+set}" = set; then
12668 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 ac_check_soname_save_LIBS=$LIBS
12671 LIBS="-lsane $LIBS"
12672 cat >conftest.$ac_ext <<_ACEOF
12675 cat confdefs.h >>conftest.$ac_ext
12676 cat >>conftest.$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12689 return sane_init ();
12694 rm -f conftest.$ac_objext conftest$ac_exeext
12695 if { (ac_try="$ac_link"
12696 case "(($ac_try" in
12697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12698 *) ac_try_echo
=$ac_try;;
12700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12701 (eval "$ac_link") 2>conftest.er1
12703 grep -v '^ *+' conftest.er1
>conftest.err
12705 cat conftest.err
>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } && {
12708 test -z "$ac_c_werror_flag" ||
12709 test ! -s conftest.err
12710 } && test -s conftest
$ac_exeext &&
12711 $as_test_x conftest
$ac_exeext; then
12714 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'` ;;
12715 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.
$ac_ext >&5
12724 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12725 conftest
$ac_exeext conftest.
$ac_ext
12726 LIBS
=$ac_check_soname_save_LIBS
12728 if test "x$ac_cv_lib_soname_sane" = "x"; then
12729 { echo "$as_me:$LINENO: result: not found" >&5
12730 echo "${ECHO_T}not found" >&6; }
12733 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12734 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12736 cat >>confdefs.h
<<_ACEOF
12737 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12740 SANEINCL
="$ac_sane_incl"
12747 CPPFLAGS
="$ac_save_CPPFLAGS"
12749 if test "x$ac_cv_lib_soname_sane" = "x"; then
12750 case "x$with_sane" in
12751 x
) wine_notices
="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12753 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12754 This is an error since --with-sane was requested." >&5
12755 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12756 This is an error since --with-sane was requested." >&2;}
12757 { (exit 1); exit 1; }; } ;;
12762 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12763 set dummy gphoto2-config
; ac_word
=$2
12764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12766 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 if test -n "$gphoto2_devel"; then
12770 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12773 for as_dir
in $PATH
12776 test -z "$as_dir" && as_dir
=.
12777 for ac_exec_ext
in '' $ac_executable_extensions; do
12778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12779 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12787 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12790 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12791 if test -n "$gphoto2_devel"; then
12792 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12793 echo "${ECHO_T}$gphoto2_devel" >&6; }
12795 { echo "$as_me:$LINENO: result: no" >&5
12796 echo "${ECHO_T}no" >&6; }
12800 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12801 set dummy gphoto2-port-config
; ac_word
=$2
12802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12804 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 if test -n "$gphoto2port_devel"; then
12808 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12811 for as_dir
in $PATH
12814 test -z "$as_dir" && as_dir
=.
12815 for ac_exec_ext
in '' $ac_executable_extensions; do
12816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12817 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12825 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12828 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12829 if test -n "$gphoto2port_devel"; then
12830 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12831 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12833 { echo "$as_me:$LINENO: result: no" >&5
12834 echo "${ECHO_T}no" >&6; }
12838 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12840 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12842 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12845 -L/usr
/lib|
-L/usr
/lib64
) ;;
12846 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12849 ac_save_CPPFLAGS
="$CPPFLAGS"
12850 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12851 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12852 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12853 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12854 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12857 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12858 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12860 # Is the header compilable?
12861 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12862 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12863 cat >conftest.
$ac_ext <<_ACEOF
12866 cat confdefs.h
>>conftest.
$ac_ext
12867 cat >>conftest.
$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12869 $ac_includes_default
12870 #include <gphoto2-camera.h>
12872 rm -f conftest.
$ac_objext
12873 if { (ac_try
="$ac_compile"
12874 case "(($ac_try" in
12875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12876 *) ac_try_echo=$ac_try;;
12878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12879 (eval "$ac_compile") 2>conftest.er1
12881 grep -v '^ *+' conftest.er1 >conftest.err
12883 cat conftest.err >&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } && {
12886 test -z "$ac_c_werror_flag" ||
12887 test ! -s conftest.err
12888 } && test -s conftest.$ac_objext; then
12889 ac_header_compiler=yes
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.$ac_ext >&5
12894 ac_header_compiler=no
12897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12898 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12899 echo "${ECHO_T}$ac_header_compiler" >&6; }
12901 # Is the header present?
12902 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12903 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12904 cat >conftest.$ac_ext <<_ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910 #include <gphoto2-camera.h>
12912 if { (ac_try="$ac_cpp conftest.$ac_ext"
12913 case "(($ac_try" in
12914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12915 *) ac_try_echo
=$ac_try;;
12917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12920 grep -v '^ *+' conftest.er1
>conftest.err
12922 cat conftest.err
>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } >/dev
/null
&& {
12925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12926 test ! -s conftest.err
12928 ac_header_preproc
=yes
12930 echo "$as_me: failed program was:" >&5
12931 sed 's/^/| /' conftest.
$ac_ext >&5
12933 ac_header_preproc
=no
12936 rm -f conftest.err conftest.
$ac_ext
12937 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12938 echo "${ECHO_T}$ac_header_preproc" >&6; }
12940 # So? What about this header?
12941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12943 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12944 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12945 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12946 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12947 ac_header_preproc
=yes
12950 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12951 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12952 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12953 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12954 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12955 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12957 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12958 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12959 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12960 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12961 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12963 ## ------------------------------------ ##
12964 ## Report this to wine-devel@winehq.org ##
12965 ## ------------------------------------ ##
12967 ) |
sed "s/^/$as_me: WARNING: /" >&2
12970 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12971 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12972 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12977 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12978 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12981 if test $ac_cv_header_gphoto2_camera_h = yes; then
12982 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12983 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12984 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 ac_check_lib_save_LIBS
=$LIBS
12988 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12989 cat >conftest.
$ac_ext <<_ACEOF
12992 cat confdefs.h
>>conftest.
$ac_ext
12993 cat >>conftest.
$ac_ext <<_ACEOF
12994 /* end confdefs.h. */
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
13002 char gp_camera_new ();
13006 return gp_camera_new ();
13011 rm -f conftest.
$ac_objext conftest
$ac_exeext
13012 if { (ac_try
="$ac_link"
13013 case "(($ac_try" in
13014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13015 *) ac_try_echo=$ac_try;;
13017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13018 (eval "$ac_link") 2>conftest.er1
13020 grep -v '^ *+' conftest.er1 >conftest.err
13022 cat conftest.err >&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); } && {
13025 test -z "$ac_c_werror_flag" ||
13026 test ! -s conftest.err
13027 } && test -s conftest$ac_exeext &&
13028 $as_test_x conftest$ac_exeext; then
13029 ac_cv_lib_gphoto2_gp_camera_new=yes
13031 echo "$as_me: failed program was:" >&5
13032 sed 's/^/| /' conftest.$ac_ext >&5
13034 ac_cv_lib_gphoto2_gp_camera_new=no
13037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13038 conftest$ac_exeext conftest.$ac_ext
13039 LIBS=$ac_check_lib_save_LIBS
13041 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13042 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13043 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13045 cat >>confdefs.h <<\_ACEOF
13046 #define HAVE_GPHOTO2 1
13049 GPHOTO2LIBS="$ac_gphoto2_libs"
13051 GPHOTO2INCL="$ac_gphoto2_incl"
13058 CPPFLAGS="$ac_save_CPPFLAGS"
13060 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13061 case "x$with_gphoto" in
13062 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13064 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13065 This is an error since --with-gphoto was requested." >&5
13066 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13067 This is an error since --with-gphoto was requested." >&2;}
13068 { (exit 1); exit 1; }; } ;;
13076 if test "$ac_cv_header_resolv_h" = "yes"
13078 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13079 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13080 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 ac_check_lib_save_LIBS=$LIBS
13084 LIBS="-lresolv $LIBS"
13085 cat >conftest.$ac_ext <<_ACEOF
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13102 return res_query ();
13107 rm -f conftest.$ac_objext conftest$ac_exeext
13108 if { (ac_try="$ac_link"
13109 case "(($ac_try" in
13110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13111 *) ac_try_echo
=$ac_try;;
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_link") 2>conftest.er1
13116 grep -v '^ *+' conftest.er1
>conftest.err
13118 cat conftest.err
>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } && {
13121 test -z "$ac_c_werror_flag" ||
13122 test ! -s conftest.err
13123 } && test -s conftest
$ac_exeext &&
13124 $as_test_x conftest
$ac_exeext; then
13125 ac_cv_lib_resolv_res_query
=yes
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.
$ac_ext >&5
13130 ac_cv_lib_resolv_res_query
=no
13133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13134 conftest
$ac_exeext conftest.
$ac_ext
13135 LIBS
=$ac_check_lib_save_LIBS
13137 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13138 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13139 if test $ac_cv_lib_resolv_res_query = yes; then
13141 cat >>confdefs.h
<<\_ACEOF
13142 #define HAVE_RESOLV 1
13145 RESOLVLIBS
="-lresolv"
13152 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13154 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13155 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13156 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 ac_check_lib_save_LIBS
=$LIBS
13160 LIBS
="-llcms $LIBS"
13161 cat >conftest.
$ac_ext <<_ACEOF
13164 cat confdefs.h
>>conftest.
$ac_ext
13165 cat >>conftest.
$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13174 char cmsOpenProfileFromFile ();
13178 return cmsOpenProfileFromFile ();
13183 rm -f conftest.
$ac_objext conftest
$ac_exeext
13184 if { (ac_try
="$ac_link"
13185 case "(($ac_try" in
13186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13187 *) ac_try_echo=$ac_try;;
13189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13190 (eval "$ac_link") 2>conftest.er1
13192 grep -v '^ *+' conftest.er1 >conftest.err
13194 cat conftest.err >&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); } && {
13197 test -z "$ac_c_werror_flag" ||
13198 test ! -s conftest.err
13199 } && test -s conftest$ac_exeext &&
13200 $as_test_x conftest$ac_exeext; then
13201 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13203 echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.$ac_ext >&5
13206 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13210 conftest$ac_exeext conftest.$ac_ext
13211 LIBS=$ac_check_lib_save_LIBS
13213 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13214 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13215 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13217 cat >>confdefs.h <<\_ACEOF
13218 #define HAVE_LCMS 1
13225 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13226 case "x$with_cms" in
13227 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13229 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13230 This is an error since --with-cms was requested." >&5
13231 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13232 This is an error since --with-cms was requested." >&2;}
13233 { (exit 1); exit 1; }; } ;;
13240 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13242 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13243 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13244 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13247 ac_check_lib_save_LIBS=$LIBS
13248 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13249 cat >conftest.$ac_ext <<_ACEOF
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13262 char ldap_initialize ();
13266 return ldap_initialize ();
13271 rm -f conftest.$ac_objext conftest$ac_exeext
13272 if { (ac_try="$ac_link"
13273 case "(($ac_try" in
13274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13275 *) ac_try_echo
=$ac_try;;
13277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13278 (eval "$ac_link") 2>conftest.er1
13280 grep -v '^ *+' conftest.er1
>conftest.err
13282 cat conftest.err
>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); } && {
13285 test -z "$ac_c_werror_flag" ||
13286 test ! -s conftest.err
13287 } && test -s conftest
$ac_exeext &&
13288 $as_test_x conftest
$ac_exeext; then
13289 ac_cv_lib_ldap_r_ldap_initialize
=yes
13291 echo "$as_me: failed program was:" >&5
13292 sed 's/^/| /' conftest.
$ac_ext >&5
13294 ac_cv_lib_ldap_r_ldap_initialize
=no
13297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13298 conftest
$ac_exeext conftest.
$ac_ext
13299 LIBS
=$ac_check_lib_save_LIBS
13301 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13302 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13303 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13304 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13305 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13306 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13309 ac_check_lib_save_LIBS
=$LIBS
13310 LIBS
="-llber $LIBPTHREAD $LIBS"
13311 cat >conftest.
$ac_ext <<_ACEOF
13314 cat confdefs.h
>>conftest.
$ac_ext
13315 cat >>conftest.
$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13328 return ber_init ();
13333 rm -f conftest.
$ac_objext conftest
$ac_exeext
13334 if { (ac_try
="$ac_link"
13335 case "(($ac_try" in
13336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13337 *) ac_try_echo=$ac_try;;
13339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13340 (eval "$ac_link") 2>conftest.er1
13342 grep -v '^ *+' conftest.er1 >conftest.err
13344 cat conftest.err >&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); } && {
13347 test -z "$ac_c_werror_flag" ||
13348 test ! -s conftest.err
13349 } && test -s conftest$ac_exeext &&
13350 $as_test_x conftest$ac_exeext; then
13351 ac_cv_lib_lber_ber_init=yes
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.$ac_ext >&5
13356 ac_cv_lib_lber_ber_init=no
13359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13360 conftest$ac_exeext conftest.$ac_ext
13361 LIBS=$ac_check_lib_save_LIBS
13363 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13364 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13365 if test $ac_cv_lib_lber_ber_init = yes; then
13367 cat >>confdefs.h <<\_ACEOF
13368 #define HAVE_LDAP 1
13371 LDAPLIBS="-lldap_r -llber"
13376 ac_wine_check_funcs_save_LIBS="$LIBS"
13377 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13387 ldap_count_references \
13388 ldap_first_reference \
13389 ldap_next_reference \
13390 ldap_parse_reference \
13391 ldap_parse_sort_control \
13392 ldap_parse_sortresponse_control \
13393 ldap_parse_vlv_control \
13394 ldap_parse_vlvresponse_control
13396 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13400 echo $ECHO_N "(cached) $ECHO_C" >&6
13402 cat >conftest.$ac_ext <<_ACEOF
13405 cat confdefs.h >>conftest.$ac_ext
13406 cat >>conftest.$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13410 #define $ac_func innocuous_$ac_func
13412 /* System header to define __stub macros and hopefully few prototypes,
13413 which can conflict with char $ac_func (); below.
13414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13415 <limits.h> exists even on freestanding compilers. */
13418 # include <limits.h>
13420 # include <assert.h>
13425 /* Override any GCC internal prototype to avoid an error.
13426 Use char because int might match the return type of a GCC
13427 builtin and then its argument prototype would still apply. */
13432 /* The GNU C library defines this for functions which it implements
13433 to always fail with ENOSYS. Some functions are actually named
13434 something starting with __ and the normal name is an alias. */
13435 #if defined __stub_$ac_func || defined __stub___$ac_func
13442 return $ac_func ();
13447 rm -f conftest.$ac_objext conftest$ac_exeext
13448 if { (ac_try="$ac_link"
13449 case "(($ac_try" in
13450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13451 *) ac_try_echo
=$ac_try;;
13453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13454 (eval "$ac_link") 2>conftest.er1
13456 grep -v '^ *+' conftest.er1
>conftest.err
13458 cat conftest.err
>&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); } && {
13461 test -z "$ac_c_werror_flag" ||
13462 test ! -s conftest.err
13463 } && test -s conftest
$ac_exeext &&
13464 $as_test_x conftest
$ac_exeext; then
13465 eval "$as_ac_var=yes"
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.
$ac_ext >&5
13470 eval "$as_ac_var=no"
13473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13474 conftest
$ac_exeext conftest.
$ac_ext
13476 ac_res
=`eval echo '${'$as_ac_var'}'`
13477 { echo "$as_me:$LINENO: result: $ac_res" >&5
13478 echo "${ECHO_T}$ac_res" >&6; }
13479 if test `eval echo '${'$as_ac_var'}'` = yes; then
13480 cat >>confdefs.h
<<_ACEOF
13481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13487 LIBS
="$ac_wine_check_funcs_save_LIBS"
13489 if test "x$LDAPLIBS" = "x"; then
13490 case "x$with_ldap" in
13491 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13493 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13494 This is an error since --with-ldap was requested." >&5
13495 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13496 This is an error since --with-ldap was requested." >&2;}
13497 { (exit 1); exit 1; }; } ;;
13502 for ac_prog
in freetype-config freetype2-config
13504 # Extract the first word of "$ac_prog", so it can be a program name with args.
13505 set dummy
$ac_prog; ac_word
=$2
13506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13508 if test "${ac_cv_prog_ft_devel+set}" = set; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 if test -n "$ft_devel"; then
13512 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13515 for as_dir
in $PATH
13518 test -z "$as_dir" && as_dir
=.
13519 for ac_exec_ext
in '' $ac_executable_extensions; do
13520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13521 ac_cv_prog_ft_devel
="$ac_prog"
13522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13531 ft_devel
=$ac_cv_prog_ft_devel
13532 if test -n "$ft_devel"; then
13533 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13534 echo "${ECHO_T}$ft_devel" >&6; }
13536 { echo "$as_me:$LINENO: result: no" >&5
13537 echo "${ECHO_T}no" >&6; }
13541 test -n "$ft_devel" && break
13543 test -n "$ft_devel" || ft_devel
="false"
13545 if test "$ft_devel" != "false"
13547 ac_freetype_libs
=`$ft_devel --libs`
13548 ac_freetype_incl
=`$ft_devel --cflags`
13549 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13550 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13551 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 ac_check_soname_save_LIBS
=$LIBS
13555 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13556 cat >conftest.
$ac_ext <<_ACEOF
13559 cat confdefs.h
>>conftest.
$ac_ext
13560 cat >>conftest.
$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13563 /* Override any GCC internal prototype to avoid an error.
13564 Use char because int might match the return type of a GCC
13565 builtin and then its argument prototype would still apply. */
13569 char FT_Init_FreeType ();
13573 return FT_Init_FreeType ();
13578 rm -f conftest.
$ac_objext conftest
$ac_exeext
13579 if { (ac_try
="$ac_link"
13580 case "(($ac_try" in
13581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13582 *) ac_try_echo=$ac_try;;
13584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13585 (eval "$ac_link") 2>conftest.er1
13587 grep -v '^ *+' conftest.er1 >conftest.err
13589 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } && {
13592 test -z "$ac_c_werror_flag" ||
13593 test ! -s conftest.err
13594 } && test -s conftest$ac_exeext &&
13595 $as_test_x conftest$ac_exeext; then
13598 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'` ;;
13599 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.$ac_ext >&5
13608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13609 conftest$ac_exeext conftest.$ac_ext
13610 LIBS=$ac_check_soname_save_LIBS
13612 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13613 { echo "$as_me:$LINENO: result: not found" >&5
13614 echo "${ECHO_T}not found" >&6; }
13617 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13618 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13620 cat >>confdefs.h <<_ACEOF
13621 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13627 if test "$ft_lib" = "yes"
13629 ac_save_CPPFLAGS="$CPPFLAGS"
13630 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13643 for ac_header in ft2build.h \
13644 freetype/freetype.h \
13645 freetype/ftglyph.h \
13646 freetype/fttypes.h \
13647 freetype/tttables.h \
13648 freetype/ftnames.h \
13649 freetype/ftsnames.h \
13650 freetype/ttnameid.h \
13651 freetype/ftoutln.h \
13652 freetype/ftwinfnt.h \
13653 freetype/ftmodapi.h \
13654 freetype/internal/sfnt.h
13656 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13657 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 cat >conftest.$ac_ext <<_ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #ifdef HAVE_FT2BUILD_H
13669 # include <ft2build.h>
13672 #include <$ac_header>
13674 rm -f conftest.$ac_objext
13675 if { (ac_try="$ac_compile"
13676 case "(($ac_try" in
13677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13678 *) ac_try_echo
=$ac_try;;
13680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13681 (eval "$ac_compile") 2>conftest.er1
13683 grep -v '^ *+' conftest.er1
>conftest.err
13685 cat conftest.err
>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } && {
13688 test -z "$ac_c_werror_flag" ||
13689 test ! -s conftest.err
13690 } && test -s conftest.
$ac_objext; then
13691 eval "$as_ac_Header=yes"
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.
$ac_ext >&5
13696 eval "$as_ac_Header=no"
13699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13701 ac_res
=`eval echo '${'$as_ac_Header'}'`
13702 { echo "$as_me:$LINENO: result: $ac_res" >&5
13703 echo "${ECHO_T}$ac_res" >&6; }
13704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13705 cat >>confdefs.h
<<_ACEOF
13706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #include <ft2build.h>
13720 #include <freetype/fttrigon.h>
13722 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13723 case "(($ac_try" in
13724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13725 *) ac_try_echo=$ac_try;;
13727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13730 grep -v '^ *+' conftest.er1 >conftest.err
13732 cat conftest.err >&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } >/dev/null && {
13735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13736 test ! -s conftest.err
13739 cat >>confdefs.h <<\_ACEOF
13740 #define HAVE_FREETYPE_FTTRIGON_H 1
13743 wine_cv_fttrigon=yes
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.$ac_ext >&5
13748 wine_cv_fttrigon=no
13751 rm -f conftest.err conftest.$ac_ext
13752 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13753 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13754 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13755 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 cat >conftest.$ac_ext <<_ACEOF
13760 cat confdefs.h >>conftest.$ac_ext
13761 cat >>conftest.$ac_ext <<_ACEOF
13762 /* end confdefs.h. */
13763 #include <freetype/ftmodapi.h>
13765 typedef FT_TrueTypeEngineType ac__type_new_;
13769 if ((ac__type_new_ *) 0)
13771 if (sizeof (ac__type_new_))
13777 rm -f conftest.$ac_objext
13778 if { (ac_try="$ac_compile"
13779 case "(($ac_try" in
13780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13781 *) ac_try_echo
=$ac_try;;
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_compile") 2>conftest.er1
13786 grep -v '^ *+' conftest.er1
>conftest.err
13788 cat conftest.err
>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } && {
13791 test -z "$ac_c_werror_flag" ||
13792 test ! -s conftest.err
13793 } && test -s conftest.
$ac_objext; then
13794 ac_cv_type_FT_TrueTypeEngineType
=yes
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.
$ac_ext >&5
13799 ac_cv_type_FT_TrueTypeEngineType
=no
13802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13804 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13805 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13806 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13808 cat >>confdefs.h
<<_ACEOF
13809 #define HAVE_FT_TRUETYPEENGINETYPE 1
13815 ac_save_CFLAGS
="$CFLAGS"
13816 CFLAGS
="$CFLAGS $ac_freetype_libs"
13818 for ac_func
in FT_Load_Sfnt_Table
13820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13823 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 cat >conftest.
$ac_ext <<_ACEOF
13829 cat confdefs.h
>>conftest.
$ac_ext
13830 cat >>conftest.
$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13834 #define $ac_func innocuous_$ac_func
13836 /* System header to define __stub macros and hopefully few prototypes,
13837 which can conflict with char $ac_func (); below.
13838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13839 <limits.h> exists even on freestanding compilers. */
13842 # include <limits.h>
13844 # include <assert.h>
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13856 /* The GNU C library defines this for functions which it implements
13857 to always fail with ENOSYS. Some functions are actually named
13858 something starting with __ and the normal name is an alias. */
13859 #if defined __stub_$ac_func || defined __stub___$ac_func
13866 return $ac_func ();
13871 rm -f conftest.
$ac_objext conftest
$ac_exeext
13872 if { (ac_try
="$ac_link"
13873 case "(($ac_try" in
13874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_link") 2>conftest.er1
13880 grep -v '^ *+' conftest.er1 >conftest.err
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest$ac_exeext &&
13888 $as_test_x conftest$ac_exeext; then
13889 eval "$as_ac_var=yes"
13891 echo "$as_me: failed program was:" >&5
13892 sed 's/^/| /' conftest.$ac_ext >&5
13894 eval "$as_ac_var=no"
13897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13898 conftest$ac_exeext conftest.$ac_ext
13900 ac_res=`eval echo '${'$as_ac_var'}'`
13901 { echo "$as_me:$LINENO: result: $ac_res" >&5
13902 echo "${ECHO_T}$ac_res" >&6; }
13903 if test `eval echo '${'$as_ac_var'}'` = yes; then
13904 cat >>confdefs.h <<_ACEOF
13905 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13911 CFLAGS="$ac_save_CFLAGS"
13912 CPPFLAGS="$ac_save_CPPFLAGS"
13913 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13916 cat >>confdefs.h <<\_ACEOF
13917 #define HAVE_FREETYPE 1
13920 FREETYPELIBS="$ac_freetype_libs"
13922 FREETYPEINCL="$ac_freetype_incl"
13928 if test "$FONTFORGE" = "false"
13930 wine_warnings="$wine_warnings|FontForge is missing.
13931 Fonts will not be built. Dialog text may be invisible or unaligned."
13932 elif test "x$FREETYPELIBS" = "x"
13934 wine_warnings="$wine_warnings|FreeType development files not found.
13935 Fonts will not be built. Dialog text may be invisible or unaligned."
13937 FONTSSUBDIRS="fonts"
13941 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13942 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13943 if test "${ac_cv_c_ppdev+set}" = set; then
13944 echo $ECHO_N "(cached) $ECHO_C" >&6
13946 cat >conftest.$ac_ext <<_ACEOF
13949 cat confdefs.h >>conftest.$ac_ext
13950 cat >>conftest.$ac_ext <<_ACEOF
13951 /* end confdefs.h. */
13952 #include <linux/ppdev.h>
13956 ioctl (1,PPCLAIM,0)
13961 rm -f conftest.$ac_objext
13962 if { (ac_try="$ac_compile"
13963 case "(($ac_try" in
13964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13965 *) ac_try_echo
=$ac_try;;
13967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13968 (eval "$ac_compile") 2>conftest.er1
13970 grep -v '^ *+' conftest.er1
>conftest.err
13972 cat conftest.err
>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } && {
13975 test -z "$ac_c_werror_flag" ||
13976 test ! -s conftest.err
13977 } && test -s conftest.
$ac_objext; then
13978 ac_cv_c_ppdev
="yes"
13980 echo "$as_me: failed program was:" >&5
13981 sed 's/^/| /' conftest.
$ac_ext >&5
13986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13988 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13989 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13990 if test "$ac_cv_c_ppdev" = "yes"
13993 cat >>confdefs.h
<<\_ACEOF
13994 #define HAVE_PPDEV 1
13999 { echo "$as_me:$LINENO: checking for va_copy" >&5
14000 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14001 if test "${ac_cv_c_va_copy+set}" = set; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 cat >conftest.
$ac_ext <<_ACEOF
14007 cat confdefs.h
>>conftest.
$ac_ext
14008 cat >>conftest.
$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14010 #include <stdarg.h>
14014 va_list ap1, ap2; va_copy(ap1,ap2);
14019 rm -f conftest.
$ac_objext conftest
$ac_exeext
14020 if { (ac_try
="$ac_link"
14021 case "(($ac_try" in
14022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_link") 2>conftest.er1
14028 grep -v '^ *+' conftest.er1 >conftest.err
14030 cat conftest.err >&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } && {
14033 test -z "$ac_c_werror_flag" ||
14034 test ! -s conftest.err
14035 } && test -s conftest$ac_exeext &&
14036 $as_test_x conftest$ac_exeext; then
14037 ac_cv_c_va_copy="yes"
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14042 ac_cv_c_va_copy="no"
14045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14046 conftest$ac_exeext conftest.$ac_ext
14049 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14050 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14051 if test "$ac_cv_c_va_copy" = "yes"
14054 cat >>confdefs.h <<\_ACEOF
14055 #define HAVE_VA_COPY 1
14059 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14060 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14061 if test "${ac_cv_c___va_copy+set}" = set; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14064 cat >conftest.$ac_ext <<_ACEOF
14067 cat confdefs.h >>conftest.$ac_ext
14068 cat >>conftest.$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 #include <stdarg.h>
14074 va_list ap1, ap2; __va_copy(ap1,ap2);
14079 rm -f conftest.$ac_objext conftest$ac_exeext
14080 if { (ac_try="$ac_link"
14081 case "(($ac_try" in
14082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14083 *) ac_try_echo
=$ac_try;;
14085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14086 (eval "$ac_link") 2>conftest.er1
14088 grep -v '^ *+' conftest.er1
>conftest.err
14090 cat conftest.err
>&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); } && {
14093 test -z "$ac_c_werror_flag" ||
14094 test ! -s conftest.err
14095 } && test -s conftest
$ac_exeext &&
14096 $as_test_x conftest
$ac_exeext; then
14097 ac_cv_c___va_copy
="yes"
14099 echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.
$ac_ext >&5
14102 ac_cv_c___va_copy
="no"
14105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14106 conftest
$ac_exeext conftest.
$ac_ext
14109 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14110 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14111 if test "$ac_cv_c___va_copy" = "yes"
14114 cat >>confdefs.h
<<\_ACEOF
14115 #define HAVE___VA_COPY 1
14120 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14121 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14122 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 cat >conftest.
$ac_ext <<_ACEOF
14128 cat confdefs.h
>>conftest.
$ac_ext
14129 cat >>conftest.
$ac_ext <<_ACEOF
14130 /* end confdefs.h. */
14131 #include <setjmp.h>
14136 sigsetjmp( buf, 1 );
14137 siglongjmp( buf, 1 );
14142 rm -f conftest.
$ac_objext conftest
$ac_exeext
14143 if { (ac_try
="$ac_link"
14144 case "(($ac_try" in
14145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14146 *) ac_try_echo=$ac_try;;
14148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14149 (eval "$ac_link") 2>conftest.er1
14151 grep -v '^ *+' conftest.er1 >conftest.err
14153 cat conftest.err >&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); } && {
14156 test -z "$ac_c_werror_flag" ||
14157 test ! -s conftest.err
14158 } && test -s conftest$ac_exeext &&
14159 $as_test_x conftest$ac_exeext; then
14160 ac_cv_c_sigsetjmp="yes"
14162 echo "$as_me: failed program was:" >&5
14163 sed 's/^/| /' conftest.$ac_ext >&5
14165 ac_cv_c_sigsetjmp="no"
14168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14169 conftest$ac_exeext conftest.$ac_ext
14172 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14173 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14174 if test "$ac_cv_c_sigsetjmp" = "yes"
14177 cat >>confdefs.h <<\_ACEOF
14178 #define HAVE_SIGSETJMP 1
14183 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14184 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14185 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 cat >conftest.$ac_ext <<_ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #define _GNU_SOURCE
14195 #include <pthread.h>
14197 typedef pthread_rwlock_t ac__type_new_;
14201 if ((ac__type_new_ *) 0)
14203 if (sizeof (ac__type_new_))
14209 rm -f conftest.$ac_objext
14210 if { (ac_try="$ac_compile"
14211 case "(($ac_try" in
14212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14213 *) ac_try_echo
=$ac_try;;
14215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14216 (eval "$ac_compile") 2>conftest.er1
14218 grep -v '^ *+' conftest.er1
>conftest.err
14220 cat conftest.err
>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } && {
14223 test -z "$ac_c_werror_flag" ||
14224 test ! -s conftest.err
14225 } && test -s conftest.
$ac_objext; then
14226 ac_cv_type_pthread_rwlock_t
=yes
14228 echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.
$ac_ext >&5
14231 ac_cv_type_pthread_rwlock_t
=no
14234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14236 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14237 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14238 if test $ac_cv_type_pthread_rwlock_t = yes; then
14240 cat >>confdefs.h
<<_ACEOF
14241 #define HAVE_PTHREAD_RWLOCK_T 1
14246 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14247 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14248 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 cat >conftest.
$ac_ext <<_ACEOF
14254 cat confdefs.h
>>conftest.
$ac_ext
14255 cat >>conftest.
$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 #define _GNU_SOURCE
14258 #include <pthread.h>
14260 typedef pthread_rwlockattr_t ac__type_new_;
14264 if ((ac__type_new_ *) 0)
14266 if (sizeof (ac__type_new_))
14272 rm -f conftest.
$ac_objext
14273 if { (ac_try
="$ac_compile"
14274 case "(($ac_try" in
14275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_compile") 2>conftest.er1
14281 grep -v '^ *+' conftest.er1 >conftest.err
14283 cat conftest.err >&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_c_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest.$ac_objext; then
14289 ac_cv_type_pthread_rwlockattr_t=yes
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14294 ac_cv_type_pthread_rwlockattr_t=no
14297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14299 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14300 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14301 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14303 cat >>confdefs.h <<_ACEOF
14304 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14311 ac_wine_check_funcs_save_LIBS="$LIBS"
14312 LIBS="$LIBS $LIBPTHREAD"
14318 pthread_attr_get_np \
14319 pthread_getattr_np \
14320 pthread_get_stackaddr_np \
14321 pthread_get_stacksize_np
14323 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14327 echo $ECHO_N "(cached) $ECHO_C" >&6
14329 cat >conftest.$ac_ext <<_ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14337 #define $ac_func innocuous_$ac_func
14339 /* System header to define __stub macros and hopefully few prototypes,
14340 which can conflict with char $ac_func (); below.
14341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14342 <limits.h> exists even on freestanding compilers. */
14345 # include <limits.h>
14347 # include <assert.h>
14352 /* Override any GCC internal prototype to avoid an error.
14353 Use char because int might match the return type of a GCC
14354 builtin and then its argument prototype would still apply. */
14359 /* The GNU C library defines this for functions which it implements
14360 to always fail with ENOSYS. Some functions are actually named
14361 something starting with __ and the normal name is an alias. */
14362 #if defined __stub_$ac_func || defined __stub___$ac_func
14369 return $ac_func ();
14374 rm -f conftest.$ac_objext conftest$ac_exeext
14375 if { (ac_try="$ac_link"
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_link") 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_exeext &&
14391 $as_test_x conftest
$ac_exeext; then
14392 eval "$as_ac_var=yes"
14394 echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.
$ac_ext >&5
14397 eval "$as_ac_var=no"
14400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14401 conftest
$ac_exeext conftest.
$ac_ext
14403 ac_res
=`eval echo '${'$as_ac_var'}'`
14404 { echo "$as_me:$LINENO: result: $ac_res" >&5
14405 echo "${ECHO_T}$ac_res" >&6; }
14406 if test `eval echo '${'$as_ac_var'}'` = yes; then
14407 cat >>confdefs.h
<<_ACEOF
14408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14414 LIBS
="$ac_wine_check_funcs_save_LIBS"
14416 # Extract the first word of "esd-config", so it can be a program name with args.
14417 set dummy esd-config
; ac_word
=$2
14418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14420 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14429 for as_dir
in $PATH
14432 test -z "$as_dir" && as_dir
=.
14433 for ac_exec_ext
in '' $ac_executable_extensions; do
14434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14435 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14446 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14447 if test -n "$ESDCONFIG"; then
14448 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14449 echo "${ECHO_T}$ESDCONFIG" >&6; }
14451 { echo "$as_me:$LINENO: result: no" >&5
14452 echo "${ECHO_T}no" >&6; }
14456 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14459 for i
in `$ESDCONFIG --cflags`
14462 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14465 ESD_LIBS
=`$ESDCONFIG --libs`
14466 save_CFLAGS
="$CFLAGS"
14467 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14468 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14469 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14470 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14471 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 ac_check_lib_save_LIBS
=$LIBS
14475 cat >conftest.
$ac_ext <<_ACEOF
14478 cat confdefs.h
>>conftest.
$ac_ext
14479 cat >>conftest.
$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14482 /* Override any GCC internal prototype to avoid an error.
14483 Use char because int might match the return type of a GCC
14484 builtin and then its argument prototype would still apply. */
14488 char esd_open_sound ();
14492 return esd_open_sound ();
14497 rm -f conftest.
$ac_objext conftest
$ac_exeext
14498 if { (ac_try
="$ac_link"
14499 case "(($ac_try" in
14500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14501 *) ac_try_echo=$ac_try;;
14503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14504 (eval "$ac_link") 2>conftest.er1
14506 grep -v '^ *+' conftest.er1 >conftest.err
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } && {
14511 test -z "$ac_c_werror_flag" ||
14512 test ! -s conftest.err
14513 } && test -s conftest$ac_exeext &&
14514 $as_test_x conftest$ac_exeext; then
14515 ac_cv_lib_esd_esd_open_sound=yes
14517 echo "$as_me: failed program was:" >&5
14518 sed 's/^/| /' conftest.$ac_ext >&5
14520 ac_cv_lib_esd_esd_open_sound=no
14523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14524 conftest$ac_exeext conftest.$ac_ext
14525 LIBS=$ac_check_lib_save_LIBS
14527 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14528 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14529 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14532 ESDINCL=$ESD_CFLAGS
14535 cat >>confdefs.h <<\_ACEOF
14541 CFLAGS="$save_CFLAGS"
14546 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14548 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14549 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14550 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 ac_check_lib_save_LIBS=$LIBS
14554 LIBS="-lasound $LIBS"
14555 cat >conftest.$ac_ext <<_ACEOF
14558 cat confdefs.h >>conftest.$ac_ext
14559 cat >>conftest.$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14562 /* Override any GCC internal prototype to avoid an error.
14563 Use char because int might match the return type of a GCC
14564 builtin and then its argument prototype would still apply. */
14568 char snd_pcm_hw_params_get_access ();
14572 return snd_pcm_hw_params_get_access ();
14577 rm -f conftest.$ac_objext conftest$ac_exeext
14578 if { (ac_try="$ac_link"
14579 case "(($ac_try" in
14580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14581 *) ac_try_echo
=$ac_try;;
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_link") 2>conftest.er1
14586 grep -v '^ *+' conftest.er1
>conftest.err
14588 cat conftest.err
>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } && {
14591 test -z "$ac_c_werror_flag" ||
14592 test ! -s conftest.err
14593 } && test -s conftest
$ac_exeext &&
14594 $as_test_x conftest
$ac_exeext; then
14595 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.
$ac_ext >&5
14600 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14603 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14604 conftest
$ac_exeext conftest.
$ac_ext
14605 LIBS
=$ac_check_lib_save_LIBS
14607 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14608 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14609 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14610 cat >conftest.
$ac_ext <<_ACEOF
14613 cat confdefs.h
>>conftest.
$ac_ext
14614 cat >>conftest.
$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14616 #ifdef HAVE_ALSA_ASOUNDLIB_H
14617 #include <alsa/asoundlib.h>
14618 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14619 #include <sys/asoundlib.h>
14624 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14629 rm -f conftest.
$ac_objext
14630 if { (ac_try
="$ac_compile"
14631 case "(($ac_try" in
14632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14633 *) ac_try_echo=$ac_try;;
14635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14636 (eval "$ac_compile") 2>conftest.er1
14638 grep -v '^ *+' conftest.er1 >conftest.err
14640 cat conftest.err >&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); } && {
14643 test -z "$ac_c_werror_flag" ||
14644 test ! -s conftest.err
14645 } && test -s conftest.$ac_objext; then
14647 cat >>confdefs.h <<\_ACEOF
14648 #define HAVE_ALSA 1
14651 ALSALIBS="-lasound"
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 if test "$ac_cv_header_libaudioio_h" = "yes"
14668 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14669 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14670 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 ac_check_lib_save_LIBS=$LIBS
14674 LIBS="-laudioio $LIBS"
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14688 char AudioIOGetVersion ();
14692 return AudioIOGetVersion ();
14697 rm -f conftest.$ac_objext conftest$ac_exeext
14698 if { (ac_try="$ac_link"
14699 case "(($ac_try" in
14700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14701 *) ac_try_echo
=$ac_try;;
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link") 2>conftest.er1
14706 grep -v '^ *+' conftest.er1
>conftest.err
14708 cat conftest.err
>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } && {
14711 test -z "$ac_c_werror_flag" ||
14712 test ! -s conftest.err
14713 } && test -s conftest
$ac_exeext &&
14714 $as_test_x conftest
$ac_exeext; then
14715 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.
$ac_ext >&5
14720 ac_cv_lib_audioio_AudioIOGetVersion
=no
14723 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14724 conftest
$ac_exeext conftest.
$ac_ext
14725 LIBS
=$ac_check_lib_save_LIBS
14727 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14728 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14729 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14730 AUDIOIOLIBS
="-laudioio"
14732 cat >>confdefs.h
<<\_ACEOF
14733 #define HAVE_LIBAUDIOIO 1
14741 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14743 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14744 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14745 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 ac_check_soname_save_LIBS
=$LIBS
14749 LIBS
="-lcapi20 $LIBS"
14750 cat >conftest.
$ac_ext <<_ACEOF
14753 cat confdefs.h
>>conftest.
$ac_ext
14754 cat >>conftest.
$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14757 /* Override any GCC internal prototype to avoid an error.
14758 Use char because int might match the return type of a GCC
14759 builtin and then its argument prototype would still apply. */
14763 char capi20_register ();
14767 return capi20_register ();
14772 rm -f conftest.
$ac_objext conftest
$ac_exeext
14773 if { (ac_try
="$ac_link"
14774 case "(($ac_try" in
14775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14776 *) ac_try_echo=$ac_try;;
14778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14779 (eval "$ac_link") 2>conftest.er1
14781 grep -v '^ *+' conftest.er1 >conftest.err
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } && {
14786 test -z "$ac_c_werror_flag" ||
14787 test ! -s conftest.err
14788 } && test -s conftest$ac_exeext &&
14789 $as_test_x conftest$ac_exeext; then
14792 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'` ;;
14793 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14796 echo "$as_me: failed program was:" >&5
14797 sed 's/^/| /' conftest.$ac_ext >&5
14802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14803 conftest$ac_exeext conftest.$ac_ext
14804 LIBS=$ac_check_soname_save_LIBS
14806 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14807 { echo "$as_me:$LINENO: result: not found" >&5
14808 echo "${ECHO_T}not found" >&6; }
14811 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14812 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14814 cat >>confdefs.h <<_ACEOF
14815 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14822 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14823 case "x$with_capi" in
14824 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14826 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14827 This is an error since --with-capi was requested." >&5
14828 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14829 This is an error since --with-capi was requested." >&2;}
14830 { (exit 1); exit 1; }; } ;;
14835 if test "$ac_cv_header_cups_cups_h" = "yes"
14837 { echo "$as_me:$LINENO: checking for -lcups" >&5
14838 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14839 if test "${ac_cv_lib_soname_cups+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 ac_check_soname_save_LIBS=$LIBS
14843 LIBS="-lcups $LIBS"
14844 cat >conftest.$ac_ext <<_ACEOF
14847 cat confdefs.h >>conftest.$ac_ext
14848 cat >>conftest.$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14857 char cupsGetDefault ();
14861 return cupsGetDefault ();
14866 rm -f conftest.$ac_objext conftest$ac_exeext
14867 if { (ac_try="$ac_link"
14868 case "(($ac_try" in
14869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14870 *) ac_try_echo
=$ac_try;;
14872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_link") 2>conftest.er1
14875 grep -v '^ *+' conftest.er1
>conftest.err
14877 cat conftest.err
>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_c_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest
$ac_exeext &&
14883 $as_test_x conftest
$ac_exeext; then
14886 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'` ;;
14887 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14890 echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.
$ac_ext >&5
14896 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14897 conftest
$ac_exeext conftest.
$ac_ext
14898 LIBS
=$ac_check_soname_save_LIBS
14900 if test "x$ac_cv_lib_soname_cups" = "x"; then
14901 { echo "$as_me:$LINENO: result: not found" >&5
14902 echo "${ECHO_T}not found" >&6; }
14905 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14906 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14908 cat >>confdefs.h
<<_ACEOF
14909 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14916 if test "x$ac_cv_lib_soname_cups" = "x"; then
14917 case "x$with_cups" in
14918 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14920 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14921 This is an error since --with-cups was requested." >&5
14922 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14923 This is an error since --with-cups was requested." >&2;}
14924 { (exit 1); exit 1; }; } ;;
14929 if test "$ac_cv_header_jack_jack_h" = "yes"
14931 { echo "$as_me:$LINENO: checking for -ljack" >&5
14932 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14933 if test "${ac_cv_lib_soname_jack+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 ac_check_soname_save_LIBS
=$LIBS
14937 LIBS
="-ljack $LIBS"
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14951 char jack_client_new ();
14955 return jack_client_new ();
14960 rm -f conftest.
$ac_objext conftest
$ac_exeext
14961 if { (ac_try
="$ac_link"
14962 case "(($ac_try" in
14963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_link") 2>conftest.er1
14969 grep -v '^ *+' conftest.er1 >conftest.err
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && {
14974 test -z "$ac_c_werror_flag" ||
14975 test ! -s conftest.err
14976 } && test -s conftest$ac_exeext &&
14977 $as_test_x conftest$ac_exeext; then
14980 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'` ;;
14981 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.$ac_ext >&5
14990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14991 conftest$ac_exeext conftest.$ac_ext
14992 LIBS=$ac_check_soname_save_LIBS
14994 if test "x$ac_cv_lib_soname_jack" = "x"; then
14995 { echo "$as_me:$LINENO: result: not found" >&5
14996 echo "${ECHO_T}not found" >&6; }
14999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15000 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15002 cat >>confdefs.h <<_ACEOF
15003 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15011 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15013 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15014 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15015 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15018 ac_check_soname_save_LIBS=$LIBS
15019 LIBS="-lfontconfig $LIBS"
15020 cat >conftest.$ac_ext <<_ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15042 rm -f conftest.$ac_objext conftest$ac_exeext
15043 if { (ac_try="$ac_link"
15044 case "(($ac_try" in
15045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15046 *) ac_try_echo
=$ac_try;;
15048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15049 (eval "$ac_link") 2>conftest.er1
15051 grep -v '^ *+' conftest.er1
>conftest.err
15053 cat conftest.err
>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } && {
15056 test -z "$ac_c_werror_flag" ||
15057 test ! -s conftest.err
15058 } && test -s conftest
$ac_exeext &&
15059 $as_test_x conftest
$ac_exeext; then
15062 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'` ;;
15063 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.
$ac_ext >&5
15072 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15073 conftest
$ac_exeext conftest.
$ac_ext
15074 LIBS
=$ac_check_soname_save_LIBS
15076 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15077 { echo "$as_me:$LINENO: result: not found" >&5
15078 echo "${ECHO_T}not found" >&6; }
15081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15082 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15084 cat >>confdefs.h
<<_ACEOF
15085 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15091 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15093 ac_save_CPPFLAGS
="$CPPFLAGS"
15094 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15095 $as_unset ac_cv_header_fontconfig_fontconfig_h
15097 for ac_header
in fontconfig
/fontconfig.h
15099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15100 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15103 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 ac_res
=`eval echo '${'$as_ac_Header'}'`
15107 { echo "$as_me:$LINENO: result: $ac_res" >&5
15108 echo "${ECHO_T}$ac_res" >&6; }
15110 # Is the header compilable?
15111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15113 cat >conftest.
$ac_ext <<_ACEOF
15116 cat confdefs.h
>>conftest.
$ac_ext
15117 cat >>conftest.
$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119 $ac_includes_default
15120 #include <$ac_header>
15122 rm -f conftest.
$ac_objext
15123 if { (ac_try
="$ac_compile"
15124 case "(($ac_try" in
15125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_compile") 2>conftest.er1
15131 grep -v '^ *+' conftest.er1 >conftest.err
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } && {
15136 test -z "$ac_c_werror_flag" ||
15137 test ! -s conftest.err
15138 } && test -s conftest.$ac_objext; then
15139 ac_header_compiler=yes
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15144 ac_header_compiler=no
15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15149 echo "${ECHO_T}$ac_header_compiler" >&6; }
15151 # Is the header present?
15152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15154 cat >conftest.$ac_ext <<_ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160 #include <$ac_header>
15162 if { (ac_try="$ac_cpp conftest.$ac_ext"
15163 case "(($ac_try" in
15164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15165 *) ac_try_echo
=$ac_try;;
15167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15170 grep -v '^ *+' conftest.er1
>conftest.err
15172 cat conftest.err
>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } >/dev
/null
&& {
15175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15176 test ! -s conftest.err
15178 ac_header_preproc
=yes
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.
$ac_ext >&5
15183 ac_header_preproc
=no
15186 rm -f conftest.err conftest.
$ac_ext
15187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15188 echo "${ECHO_T}$ac_header_preproc" >&6; }
15190 # So? What about this header?
15191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15197 ac_header_preproc
=yes
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15213 ## ------------------------------------ ##
15214 ## Report this to wine-devel@winehq.org ##
15215 ## ------------------------------------ ##
15217 ) |
sed "s/^/$as_me: WARNING: /" >&2
15220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15222 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 eval "$as_ac_Header=\$ac_header_preproc"
15227 ac_res
=`eval echo '${'$as_ac_Header'}'`
15228 { echo "$as_me:$LINENO: result: $ac_res" >&5
15229 echo "${ECHO_T}$ac_res" >&6; }
15232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15233 cat >>confdefs.h
<<_ACEOF
15234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15241 CPPFLAGS
="$ac_save_CPPFLAGS"
15242 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15244 FONTCONFIGINCL
="$X_CFLAGS"
15246 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15247 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15248 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 ac_check_soname_save_LIBS
=$LIBS
15252 LIBS
="-lfontconfig $X_LIBS $LIBS"
15253 cat >conftest.
$ac_ext <<_ACEOF
15256 cat confdefs.h
>>conftest.
$ac_ext
15257 cat >>conftest.
$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15260 /* Override any GCC internal prototype to avoid an error.
15261 Use char because int might match the return type of a GCC
15262 builtin and then its argument prototype would still apply. */
15275 rm -f conftest.
$ac_objext conftest
$ac_exeext
15276 if { (ac_try
="$ac_link"
15277 case "(($ac_try" in
15278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15279 *) ac_try_echo=$ac_try;;
15281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15282 (eval "$ac_link") 2>conftest.er1
15284 grep -v '^ *+' conftest.er1 >conftest.err
15286 cat conftest.err >&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } && {
15289 test -z "$ac_c_werror_flag" ||
15290 test ! -s conftest.err
15291 } && test -s conftest$ac_exeext &&
15292 $as_test_x conftest$ac_exeext; then
15295 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'` ;;
15296 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.$ac_ext >&5
15305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LIBS=$ac_check_soname_save_LIBS
15309 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15310 { echo "$as_me:$LINENO: result: not found" >&5
15311 echo "${ECHO_T}not found" >&6; }
15314 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15315 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15317 cat >>confdefs.h <<_ACEOF
15318 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15326 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15327 case "x$with_fontconfig" in
15328 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15330 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15331 This is an error since --with-fontconfig was requested." >&5
15332 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15333 This is an error since --with-fontconfig was requested." >&2;}
15334 { (exit 1); exit 1; }; } ;;
15339 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15341 { echo "$as_me:$LINENO: checking for -lssl" >&5
15342 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15343 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 ac_check_soname_save_LIBS=$LIBS
15348 cat >conftest.$ac_ext <<_ACEOF
15351 cat confdefs.h >>conftest.$ac_ext
15352 cat >>conftest.$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15361 char SSL_library_init ();
15365 return SSL_library_init ();
15370 rm -f conftest.$ac_objext conftest$ac_exeext
15371 if { (ac_try="$ac_link"
15372 case "(($ac_try" in
15373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15374 *) ac_try_echo
=$ac_try;;
15376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15377 (eval "$ac_link") 2>conftest.er1
15379 grep -v '^ *+' conftest.er1
>conftest.err
15381 cat conftest.err
>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } && {
15384 test -z "$ac_c_werror_flag" ||
15385 test ! -s conftest.err
15386 } && test -s conftest
$ac_exeext &&
15387 $as_test_x conftest
$ac_exeext; then
15390 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'` ;;
15391 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.
$ac_ext >&5
15400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15401 conftest
$ac_exeext conftest.
$ac_ext
15402 LIBS
=$ac_check_soname_save_LIBS
15404 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15405 { echo "$as_me:$LINENO: result: not found" >&5
15406 echo "${ECHO_T}not found" >&6; }
15409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15410 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15412 cat >>confdefs.h
<<_ACEOF
15413 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15419 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15420 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15421 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 ac_check_soname_save_LIBS
=$LIBS
15425 LIBS
="-lcrypto $LIBS"
15426 cat >conftest.
$ac_ext <<_ACEOF
15429 cat confdefs.h
>>conftest.
$ac_ext
15430 cat >>conftest.
$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15439 char BIO_new_socket ();
15443 return BIO_new_socket ();
15448 rm -f conftest.
$ac_objext conftest
$ac_exeext
15449 if { (ac_try
="$ac_link"
15450 case "(($ac_try" in
15451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15452 *) ac_try_echo=$ac_try;;
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_link") 2>conftest.er1
15457 grep -v '^ *+' conftest.er1 >conftest.err
15459 cat conftest.err >&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest$ac_exeext &&
15465 $as_test_x conftest$ac_exeext; then
15468 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'` ;;
15469 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15479 conftest$ac_exeext conftest.$ac_ext
15480 LIBS=$ac_check_soname_save_LIBS
15482 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15483 { echo "$as_me:$LINENO: result: not found" >&5
15484 echo "${ECHO_T}not found" >&6; }
15487 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15488 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15490 cat >>confdefs.h <<_ACEOF
15491 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15498 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15499 case "x$with_openssl" in
15500 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15502 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15503 This is an error since --with-openssl was requested." >&5
15504 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15505 This is an error since --with-openssl was requested." >&2;}
15506 { (exit 1); exit 1; }; } ;;
15511 if test "$ac_cv_header_jpeglib_h" = "yes"
15513 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15514 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15515 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15516 echo $ECHO_N "(cached) $ECHO_C" >&6
15518 ac_check_soname_save_LIBS=$LIBS
15519 LIBS="-ljpeg $LIBS"
15520 cat >conftest.$ac_ext <<_ACEOF
15523 cat confdefs.h >>conftest.$ac_ext
15524 cat >>conftest.$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15527 /* Override any GCC internal prototype to avoid an error.
15528 Use char because int might match the return type of a GCC
15529 builtin and then its argument prototype would still apply. */
15533 char jpeg_start_decompress ();
15537 return jpeg_start_decompress ();
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (ac_try="$ac_link"
15544 case "(($ac_try" in
15545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15546 *) ac_try_echo
=$ac_try;;
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link") 2>conftest.er1
15551 grep -v '^ *+' conftest.er1
>conftest.err
15553 cat conftest.err
>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } && {
15556 test -z "$ac_c_werror_flag" ||
15557 test ! -s conftest.err
15558 } && test -s conftest
$ac_exeext &&
15559 $as_test_x conftest
$ac_exeext; then
15562 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'` ;;
15563 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.
$ac_ext >&5
15572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15573 conftest
$ac_exeext conftest.
$ac_ext
15574 LIBS
=$ac_check_soname_save_LIBS
15576 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15577 { echo "$as_me:$LINENO: result: not found" >&5
15578 echo "${ECHO_T}not found" >&6; }
15581 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15582 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15584 cat >>confdefs.h
<<_ACEOF
15585 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15592 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15593 case "x$with_jpeg" in
15594 x
) wine_notices
="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15596 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15597 This is an error since --with-jpeg was requested." >&5
15598 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15599 This is an error since --with-jpeg was requested." >&2;}
15600 { (exit 1); exit 1; }; } ;;
15605 if test "$ac_cv_header_png_h" = "yes"
15607 { echo "$as_me:$LINENO: checking for -lpng" >&5
15608 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15609 if test "${ac_cv_lib_soname_png+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 ac_check_soname_save_LIBS
=$LIBS
15614 cat >conftest.
$ac_ext <<_ACEOF
15617 cat confdefs.h
>>conftest.
$ac_ext
15618 cat >>conftest.
$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15627 char png_create_read_struct ();
15631 return png_create_read_struct ();
15636 rm -f conftest.
$ac_objext conftest
$ac_exeext
15637 if { (ac_try
="$ac_link"
15638 case "(($ac_try" in
15639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15640 *) ac_try_echo=$ac_try;;
15642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15643 (eval "$ac_link") 2>conftest.er1
15645 grep -v '^ *+' conftest.er1 >conftest.err
15647 cat conftest.err >&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } && {
15650 test -z "$ac_c_werror_flag" ||
15651 test ! -s conftest.err
15652 } && test -s conftest$ac_exeext &&
15653 $as_test_x conftest$ac_exeext; then
15656 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'` ;;
15657 *) 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'` ;;
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15667 conftest$ac_exeext conftest.$ac_ext
15668 LIBS=$ac_check_soname_save_LIBS
15670 if test "x$ac_cv_lib_soname_png" = "x"; then
15671 { echo "$as_me:$LINENO: result: not found" >&5
15672 echo "${ECHO_T}not found" >&6; }
15675 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15676 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15678 cat >>confdefs.h <<_ACEOF
15679 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15686 if test "x$ac_cv_lib_soname_png" = "x"; then
15687 case "x$with_png" in
15688 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15690 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15691 This is an error since --with-png was requested." >&5
15692 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15693 This is an error since --with-png was requested." >&2;}
15694 { (exit 1); exit 1; }; } ;;
15699 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15700 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15701 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15702 echo $ECHO_N "(cached) $ECHO_C" >&6
15704 ac_check_soname_save_LIBS=$LIBS
15705 LIBS="-lodbc $LIBS"
15706 cat >conftest.$ac_ext <<_ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15719 char SQLConnect ();
15723 return SQLConnect ();
15728 rm -f conftest.$ac_objext conftest$ac_exeext
15729 if { (ac_try="$ac_link"
15730 case "(($ac_try" in
15731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15732 *) ac_try_echo
=$ac_try;;
15734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15735 (eval "$ac_link") 2>conftest.er1
15737 grep -v '^ *+' conftest.er1
>conftest.err
15739 cat conftest.err
>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } && {
15742 test -z "$ac_c_werror_flag" ||
15743 test ! -s conftest.err
15744 } && test -s conftest
$ac_exeext &&
15745 $as_test_x conftest
$ac_exeext; then
15748 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'` ;;
15749 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15758 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15759 conftest
$ac_exeext conftest.
$ac_ext
15760 LIBS
=$ac_check_soname_save_LIBS
15762 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15763 { echo "$as_me:$LINENO: result: not found" >&5
15764 echo "${ECHO_T}not found" >&6; }
15765 cat >>confdefs.h
<<_ACEOF
15766 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15771 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15773 cat >>confdefs.h
<<_ACEOF
15774 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15781 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15782 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15783 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15784 "$ac_cv_header_soundcard_h" != "yes" -a \
15785 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15787 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15793 if test "x${GCC}" = "xyes"
15795 EXTRACFLAGS
="-Wall -pipe"
15797 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15798 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15799 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 if test "$cross_compiling" = yes; then
15803 ac_cv_c_gcc_strength_bug
="yes"
15805 cat >conftest.
$ac_ext <<_ACEOF
15808 cat confdefs.h
>>conftest.
$ac_ext
15809 cat >>conftest.
$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 int L[4] = {0,1,2,3};
15815 static int Array[3];
15816 unsigned int B = 3;
15818 for(i=0; i<B; i++) Array[i] = i - 3;
15819 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15821 exit( Array[1] != -2 || L[2] != 3)
15826 rm -f conftest
$ac_exeext
15827 if { (ac_try
="$ac_link"
15828 case "(($ac_try" in
15829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15830 *) ac_try_echo=$ac_try;;
15832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15833 (eval "$ac_link") 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15837 { (case "(($ac_try" in
15838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15839 *) ac_try_echo
=$ac_try;;
15841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15842 (eval "$ac_try") 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_cv_c_gcc_strength_bug
="no"
15848 echo "$as_me: program exited with status $ac_status" >&5
15849 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.
$ac_ext >&5
15852 ( exit $ac_status )
15853 ac_cv_c_gcc_strength_bug
="yes"
15855 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15860 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15861 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15862 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15864 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15868 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15869 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15870 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 ac_wine_try_cflags_saved
=$CFLAGS
15874 CFLAGS
="$CFLAGS -fshort-wchar"
15875 cat >conftest.
$ac_ext <<_ACEOF
15878 cat confdefs.h
>>conftest.
$ac_ext
15879 cat >>conftest.
$ac_ext <<_ACEOF
15880 /* end confdefs.h. */
15890 rm -f conftest.
$ac_objext conftest
$ac_exeext
15891 if { (ac_try
="$ac_link"
15892 case "(($ac_try" in
15893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15894 *) ac_try_echo=$ac_try;;
15896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15897 (eval "$ac_link") 2>conftest.er1
15899 grep -v '^ *+' conftest.er1 >conftest.err
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && {
15904 test -z "$ac_c_werror_flag" ||
15905 test ! -s conftest.err
15906 } && test -s conftest$ac_exeext &&
15907 $as_test_x conftest$ac_exeext; then
15908 ac_cv_cflags__fshort_wchar=yes
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 ac_cv_cflags__fshort_wchar=no
15916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15917 conftest$ac_exeext conftest.$ac_ext
15918 CFLAGS=$ac_wine_try_cflags_saved
15920 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15921 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15922 if test $ac_cv_cflags__fshort_wchar = yes; then
15924 cat >>confdefs.h <<\_ACEOF
15925 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15930 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15931 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15932 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 ac_wine_try_cflags_saved=$CFLAGS
15936 CFLAGS="$CFLAGS -fno-strict-aliasing"
15937 cat >conftest.$ac_ext <<_ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15952 rm -f conftest.$ac_objext conftest$ac_exeext
15953 if { (ac_try="$ac_link"
15954 case "(($ac_try" in
15955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15956 *) ac_try_echo
=$ac_try;;
15958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15959 (eval "$ac_link") 2>conftest.er1
15961 grep -v '^ *+' conftest.er1
>conftest.err
15963 cat conftest.err
>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); } && {
15966 test -z "$ac_c_werror_flag" ||
15967 test ! -s conftest.err
15968 } && test -s conftest
$ac_exeext &&
15969 $as_test_x conftest
$ac_exeext; then
15970 ac_cv_cflags__fno_strict_aliasing
=yes
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.
$ac_ext >&5
15975 ac_cv_cflags__fno_strict_aliasing
=no
15978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15979 conftest
$ac_exeext conftest.
$ac_ext
15980 CFLAGS
=$ac_wine_try_cflags_saved
15982 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15983 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15984 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15985 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15988 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15989 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15990 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 ac_wine_try_cflags_saved
=$CFLAGS
15994 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15995 cat >conftest.
$ac_ext <<_ACEOF
15998 cat confdefs.h
>>conftest.
$ac_ext
15999 cat >>conftest.
$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16010 rm -f conftest.
$ac_objext conftest
$ac_exeext
16011 if { (ac_try
="$ac_link"
16012 case "(($ac_try" in
16013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;;
16016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017 (eval "$ac_link") 2>conftest.er1
16019 grep -v '^ *+' conftest.er1 >conftest.err
16021 cat conftest.err >&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); } && {
16024 test -z "$ac_c_werror_flag" ||
16025 test ! -s conftest.err
16026 } && test -s conftest$ac_exeext &&
16027 $as_test_x conftest$ac_exeext; then
16028 ac_cv_cflags__Wdeclaration_after_statement=yes
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.$ac_ext >&5
16033 ac_cv_cflags__Wdeclaration_after_statement=no
16036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16037 conftest$ac_exeext conftest.$ac_ext
16038 CFLAGS=$ac_wine_try_cflags_saved
16040 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16041 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16042 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16043 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16046 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16047 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16048 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16051 ac_wine_try_cflags_saved=$CFLAGS
16052 CFLAGS="$CFLAGS -Wwrite-strings"
16053 cat >conftest.$ac_ext <<_ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16068 rm -f conftest.$ac_objext conftest$ac_exeext
16069 if { (ac_try="$ac_link"
16070 case "(($ac_try" in
16071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16072 *) ac_try_echo
=$ac_try;;
16074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16075 (eval "$ac_link") 2>conftest.er1
16077 grep -v '^ *+' conftest.er1
>conftest.err
16079 cat conftest.err
>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } && {
16082 test -z "$ac_c_werror_flag" ||
16083 test ! -s conftest.err
16084 } && test -s conftest
$ac_exeext &&
16085 $as_test_x conftest
$ac_exeext; then
16086 ac_cv_cflags__Wwrite_strings
=yes
16088 echo "$as_me: failed program was:" >&5
16089 sed 's/^/| /' conftest.
$ac_ext >&5
16091 ac_cv_cflags__Wwrite_strings
=no
16094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16095 conftest
$ac_exeext conftest.
$ac_ext
16096 CFLAGS
=$ac_wine_try_cflags_saved
16098 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16099 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16100 if test $ac_cv_cflags__Wwrite_strings = yes; then
16101 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16104 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16105 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16106 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 ac_wine_try_cflags_saved
=$CFLAGS
16110 CFLAGS
="$CFLAGS -Wtype-limits"
16111 cat >conftest.
$ac_ext <<_ACEOF
16114 cat confdefs.h
>>conftest.
$ac_ext
16115 cat >>conftest.
$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16126 rm -f conftest.
$ac_objext conftest
$ac_exeext
16127 if { (ac_try
="$ac_link"
16128 case "(($ac_try" in
16129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_link") 2>conftest.er1
16135 grep -v '^ *+' conftest.er1 >conftest.err
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } && {
16140 test -z "$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16142 } && test -s conftest$ac_exeext &&
16143 $as_test_x conftest$ac_exeext; then
16144 ac_cv_cflags__Wtype_limits=yes
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 ac_cv_cflags__Wtype_limits=no
16152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16153 conftest$ac_exeext conftest.$ac_ext
16154 CFLAGS=$ac_wine_try_cflags_saved
16156 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16157 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16158 if test $ac_cv_cflags__Wtype_limits = yes; then
16159 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16163 saved_CFLAGS="$CFLAGS"
16164 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16165 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16166 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16167 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16168 echo $ECHO_N "(cached) $ECHO_C" >&6
16170 cat >conftest.$ac_ext <<_ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176 #include <string.h>
16185 rm -f conftest.$ac_objext
16186 if { (ac_try="$ac_compile"
16187 case "(($ac_try" in
16188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16189 *) ac_try_echo
=$ac_try;;
16191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16192 (eval "$ac_compile") 2>conftest.er1
16194 grep -v '^ *+' conftest.er1
>conftest.err
16196 cat conftest.err
>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } && {
16199 test -z "$ac_c_werror_flag" ||
16200 test ! -s conftest.err
16201 } && test -s conftest.
$ac_objext; then
16202 ac_cv_c_string_h_warnings
=no
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.
$ac_ext >&5
16207 ac_cv_c_string_h_warnings
=yes
16210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16212 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16213 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16214 CFLAGS
="$saved_CFLAGS"
16215 if test "$ac_cv_c_string_h_warnings" = "no"
16217 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16222 saved_CFLAGS
="$CFLAGS"
16223 CFLAGS
="$CFLAGS -Werror"
16224 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16225 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16226 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16227 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 cat >conftest.
$ac_ext <<_ACEOF
16232 cat confdefs.h
>>conftest.
$ac_ext
16233 cat >>conftest.
$ac_ext <<_ACEOF
16234 /* end confdefs.h. */
16239 int iswlower(unsigned short);
16244 rm -f conftest.
$ac_objext
16245 if { (ac_try
="$ac_compile"
16246 case "(($ac_try" in
16247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_compile") 2>conftest.er1
16253 grep -v '^ *+' conftest.er1 >conftest.err
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest.$ac_objext; then
16261 ac_cv_c_builtin_wchar_ctype=no
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16266 ac_cv_c_builtin_wchar_ctype=yes
16269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16271 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16272 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16273 CFLAGS="$saved_CFLAGS"
16274 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16276 BUILTINFLAG="-fno-builtin"
16281 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16282 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16283 if test "${ac_cv_asm_func_def+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 cat >conftest.$ac_ext <<_ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16296 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16301 rm -f conftest.$ac_objext conftest$ac_exeext
16302 if { (ac_try="$ac_link"
16303 case "(($ac_try" in
16304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16305 *) ac_try_echo
=$ac_try;;
16307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 (eval "$ac_link") 2>conftest.er1
16310 grep -v '^ *+' conftest.er1
>conftest.err
16312 cat conftest.err
>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } && {
16315 test -z "$ac_c_werror_flag" ||
16316 test ! -s conftest.err
16317 } && test -s conftest
$ac_exeext &&
16318 $as_test_x conftest
$ac_exeext; then
16319 ac_cv_asm_func_def
=".def"
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.
$ac_ext >&5
16324 cat >conftest.
$ac_ext <<_ACEOF
16327 cat confdefs.h
>>conftest.
$ac_ext
16328 cat >>conftest.
$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16334 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16339 rm -f conftest.
$ac_objext conftest
$ac_exeext
16340 if { (ac_try
="$ac_link"
16341 case "(($ac_try" in
16342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16343 *) ac_try_echo=$ac_try;;
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346 (eval "$ac_link") 2>conftest.er1
16348 grep -v '^ *+' conftest.er1 >conftest.err
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } && {
16353 test -z "$ac_c_werror_flag" ||
16354 test ! -s conftest.err
16355 } && test -s conftest$ac_exeext &&
16356 $as_test_x conftest$ac_exeext; then
16357 ac_cv_asm_func_def=".type @function"
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16362 cat >conftest.$ac_ext <<_ACEOF
16365 cat confdefs.h >>conftest.$ac_ext
16366 cat >>conftest.$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16372 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16377 rm -f conftest.$ac_objext conftest$ac_exeext
16378 if { (ac_try="$ac_link"
16379 case "(($ac_try" in
16380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16381 *) ac_try_echo
=$ac_try;;
16383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16384 (eval "$ac_link") 2>conftest.er1
16386 grep -v '^ *+' conftest.er1
>conftest.err
16388 cat conftest.err
>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); } && {
16391 test -z "$ac_c_werror_flag" ||
16392 test ! -s conftest.err
16393 } && test -s conftest
$ac_exeext &&
16394 $as_test_x conftest
$ac_exeext; then
16395 ac_cv_asm_func_def
=".type 2"
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_cv_asm_func_def
="unknown"
16403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16404 conftest
$ac_exeext conftest.
$ac_ext
16407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16408 conftest
$ac_exeext conftest.
$ac_ext
16411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16412 conftest
$ac_exeext conftest.
$ac_ext
16414 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16415 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16419 case "$ac_cv_asm_func_def" in
16421 cat >>confdefs.h
<<\_ACEOF
16422 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16426 cat >>confdefs.h
<<\_ACEOF
16427 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16431 cat >>confdefs.h
<<\_ACEOF
16432 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16436 cat >>confdefs.h
<<\_ACEOF
16437 #define __ASM_FUNC(name) ""
16443 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16444 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16445 if test "${ac_cv_c_extern_prefix+set}" = set; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16448 cat >conftest.
$ac_ext <<_ACEOF
16451 cat confdefs.h
>>conftest.
$ac_ext
16452 cat >>conftest.
$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454 extern int ac_test;
16458 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16463 rm -f conftest.
$ac_objext conftest
$ac_exeext
16464 if { (ac_try
="$ac_link"
16465 case "(($ac_try" in
16466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_link") 2>conftest.er1
16472 grep -v '^ *+' conftest.er1 >conftest.err
16474 cat conftest.err >&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } && {
16477 test -z "$ac_c_werror_flag" ||
16478 test ! -s conftest.err
16479 } && test -s conftest$ac_exeext &&
16480 $as_test_x conftest$ac_exeext; then
16481 ac_cv_c_extern_prefix="yes"
16483 echo "$as_me: failed program was:" >&5
16484 sed 's/^/| /' conftest.$ac_ext >&5
16486 ac_cv_c_extern_prefix="no"
16489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16490 conftest$ac_exeext conftest.$ac_ext
16492 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16493 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16497 if test "$ac_cv_c_extern_prefix" = "yes"
16499 cat >>confdefs.h <<\_ACEOF
16500 #define __ASM_NAME(name) "_" name
16504 cat >>confdefs.h <<\_ACEOF
16505 #define __ASM_NAME(name) name
16515 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16519 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16521 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16525 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16533 SOCKETLIBS="-lws2_32"
16538 MAIN_BINARY="wine-pthread"
16542 linux* | k*bsd*-gnu)
16543 MAIN_BINARY="wine-glibc"
16545 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16548 MAIN_BINARY="wine-freebsd"
16550 EXTRA_BINARIES="wine-pthread"
16698 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 cat >conftest.$ac_ext <<_ACEOF
16707 cat confdefs.h >>conftest.$ac_ext
16708 cat >>conftest.$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16712 #define $ac_func innocuous_$ac_func
16714 /* System header to define __stub macros and hopefully few prototypes,
16715 which can conflict with char $ac_func (); below.
16716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16717 <limits.h> exists even on freestanding compilers. */
16720 # include <limits.h>
16722 # include <assert.h>
16727 /* Override any GCC internal prototype to avoid an error.
16728 Use char because int might match the return type of a GCC
16729 builtin and then its argument prototype would still apply. */
16734 /* The GNU C library defines this for functions which it implements
16735 to always fail with ENOSYS. Some functions are actually named
16736 something starting with __ and the normal name is an alias. */
16737 #if defined __stub_$ac_func || defined __stub___$ac_func
16744 return $ac_func ();
16749 rm -f conftest.$ac_objext conftest$ac_exeext
16750 if { (ac_try="$ac_link"
16751 case "(($ac_try" in
16752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16753 *) ac_try_echo
=$ac_try;;
16755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16756 (eval "$ac_link") 2>conftest.er1
16758 grep -v '^ *+' conftest.er1
>conftest.err
16760 cat conftest.err
>&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); } && {
16763 test -z "$ac_c_werror_flag" ||
16764 test ! -s conftest.err
16765 } && test -s conftest
$ac_exeext &&
16766 $as_test_x conftest
$ac_exeext; then
16767 eval "$as_ac_var=yes"
16769 echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.
$ac_ext >&5
16772 eval "$as_ac_var=no"
16775 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16776 conftest
$ac_exeext conftest.
$ac_ext
16778 ac_res
=`eval echo '${'$as_ac_var'}'`
16779 { echo "$as_me:$LINENO: result: $ac_res" >&5
16780 echo "${ECHO_T}$ac_res" >&6; }
16781 if test `eval echo '${'$as_ac_var'}'` = yes; then
16782 cat >>confdefs.h
<<_ACEOF
16783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16790 if test "$ac_cv_func_dlopen" = no
16792 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16793 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16794 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 ac_check_lib_save_LIBS
=$LIBS
16799 cat >conftest.
$ac_ext <<_ACEOF
16802 cat confdefs.h
>>conftest.
$ac_ext
16803 cat >>conftest.
$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16806 /* Override any GCC internal prototype to avoid an error.
16807 Use char because int might match the return type of a GCC
16808 builtin and then its argument prototype would still apply. */
16821 rm -f conftest.
$ac_objext conftest
$ac_exeext
16822 if { (ac_try
="$ac_link"
16823 case "(($ac_try" in
16824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_link") 2>conftest.er1
16830 grep -v '^ *+' conftest.er1 >conftest.err
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest$ac_exeext &&
16838 $as_test_x conftest$ac_exeext; then
16839 ac_cv_lib_dl_dlopen=yes
16841 echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.$ac_ext >&5
16844 ac_cv_lib_dl_dlopen=no
16847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16848 conftest$ac_exeext conftest.$ac_ext
16849 LIBS=$ac_check_lib_save_LIBS
16851 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16852 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16853 if test $ac_cv_lib_dl_dlopen = yes; then
16854 cat >>confdefs.h <<\_ACEOF
16855 #define HAVE_DLOPEN 1
16862 ac_wine_check_funcs_save_LIBS="$LIBS"
16863 LIBS="$LIBS $LIBDL"
16865 for ac_func in dladdr
16867 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 cat >conftest.$ac_ext <<_ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16881 #define $ac_func innocuous_$ac_func
16883 /* System header to define __stub macros and hopefully few prototypes,
16884 which can conflict with char $ac_func (); below.
16885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16886 <limits.h> exists even on freestanding compilers. */
16889 # include <limits.h>
16891 # include <assert.h>
16896 /* Override any GCC internal prototype to avoid an error.
16897 Use char because int might match the return type of a GCC
16898 builtin and then its argument prototype would still apply. */
16903 /* The GNU C library defines this for functions which it implements
16904 to always fail with ENOSYS. Some functions are actually named
16905 something starting with __ and the normal name is an alias. */
16906 #if defined __stub_$ac_func || defined __stub___$ac_func
16913 return $ac_func ();
16918 rm -f conftest.$ac_objext conftest$ac_exeext
16919 if { (ac_try="$ac_link"
16920 case "(($ac_try" in
16921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16922 *) ac_try_echo
=$ac_try;;
16924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16925 (eval "$ac_link") 2>conftest.er1
16927 grep -v '^ *+' conftest.er1
>conftest.err
16929 cat conftest.err
>&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); } && {
16932 test -z "$ac_c_werror_flag" ||
16933 test ! -s conftest.err
16934 } && test -s conftest
$ac_exeext &&
16935 $as_test_x conftest
$ac_exeext; then
16936 eval "$as_ac_var=yes"
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.
$ac_ext >&5
16941 eval "$as_ac_var=no"
16944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16945 conftest
$ac_exeext conftest.
$ac_ext
16947 ac_res
=`eval echo '${'$as_ac_var'}'`
16948 { echo "$as_me:$LINENO: result: $ac_res" >&5
16949 echo "${ECHO_T}$ac_res" >&6; }
16950 if test `eval echo '${'$as_ac_var'}'` = yes; then
16951 cat >>confdefs.h
<<_ACEOF
16952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16958 LIBS
="$ac_wine_check_funcs_save_LIBS"
16960 if test "$ac_cv_func_poll" = no
16962 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16963 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16964 if test "${ac_cv_lib_poll_poll+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 ac_check_lib_save_LIBS
=$LIBS
16968 LIBS
="-lpoll $LIBS"
16969 cat >conftest.
$ac_ext <<_ACEOF
16972 cat confdefs.h
>>conftest.
$ac_ext
16973 cat >>conftest.
$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16976 /* Override any GCC internal prototype to avoid an error.
16977 Use char because int might match the return type of a GCC
16978 builtin and then its argument prototype would still apply. */
16991 rm -f conftest.
$ac_objext conftest
$ac_exeext
16992 if { (ac_try
="$ac_link"
16993 case "(($ac_try" in
16994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16995 *) ac_try_echo=$ac_try;;
16997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16998 (eval "$ac_link") 2>conftest.er1
17000 grep -v '^ *+' conftest.er1 >conftest.err
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } && {
17005 test -z "$ac_c_werror_flag" ||
17006 test ! -s conftest.err
17007 } && test -s conftest$ac_exeext &&
17008 $as_test_x conftest$ac_exeext; then
17009 ac_cv_lib_poll_poll=yes
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17014 ac_cv_lib_poll_poll=no
17017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17018 conftest$ac_exeext conftest.$ac_ext
17019 LIBS=$ac_check_lib_save_LIBS
17021 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17022 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17023 if test $ac_cv_lib_poll_poll = yes; then
17024 cat >>confdefs.h <<\_ACEOF
17025 #define HAVE_POLL 1
17033 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17034 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17035 if test "${ac_cv_search_gethostbyname+set}" = set; then
17036 echo $ECHO_N "(cached) $ECHO_C" >&6
17038 ac_func_search_save_LIBS=$LIBS
17039 cat >conftest.$ac_ext <<_ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17046 /* Override any GCC internal prototype to avoid an error.
17047 Use char because int might match the return type of a GCC
17048 builtin and then its argument prototype would still apply. */
17052 char gethostbyname ();
17056 return gethostbyname ();
17061 for ac_lib in '' nsl; do
17062 if test -z "$ac_lib"; then
17063 ac_res="none required"
17066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17068 rm -f conftest.$ac_objext conftest$ac_exeext
17069 if { (ac_try="$ac_link"
17070 case "(($ac_try" in
17071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17072 *) ac_try_echo
=$ac_try;;
17074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17075 (eval "$ac_link") 2>conftest.er1
17077 grep -v '^ *+' conftest.er1
>conftest.err
17079 cat conftest.err
>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } && {
17082 test -z "$ac_c_werror_flag" ||
17083 test ! -s conftest.err
17084 } && test -s conftest
$ac_exeext &&
17085 $as_test_x conftest
$ac_exeext; then
17086 ac_cv_search_gethostbyname
=$ac_res
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17096 if test "${ac_cv_search_gethostbyname+set}" = set; then
17100 if test "${ac_cv_search_gethostbyname+set}" = set; then
17103 ac_cv_search_gethostbyname
=no
17105 rm conftest.
$ac_ext
17106 LIBS
=$ac_func_search_save_LIBS
17108 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17109 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17110 ac_res
=$ac_cv_search_gethostbyname
17111 if test "$ac_res" != no
; then
17112 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17117 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17118 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17119 if test "${ac_cv_search_connect+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 ac_func_search_save_LIBS
=$LIBS
17123 cat >conftest.
$ac_ext <<_ACEOF
17126 cat confdefs.h
>>conftest.
$ac_ext
17127 cat >>conftest.
$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17130 /* Override any GCC internal prototype to avoid an error.
17131 Use char because int might match the return type of a GCC
17132 builtin and then its argument prototype would still apply. */
17145 for ac_lib
in '' socket
; do
17146 if test -z "$ac_lib"; then
17147 ac_res
="none required"
17150 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17152 rm -f conftest.
$ac_objext conftest
$ac_exeext
17153 if { (ac_try
="$ac_link"
17154 case "(($ac_try" in
17155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_link") 2>conftest.er1
17161 grep -v '^ *+' conftest.er1 >conftest.err
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest$ac_exeext &&
17169 $as_test_x conftest$ac_exeext; then
17170 ac_cv_search_connect=$ac_res
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17180 if test "${ac_cv_search_connect+set}" = set; then
17184 if test "${ac_cv_search_connect+set}" = set; then
17187 ac_cv_search_connect=no
17189 rm conftest.$ac_ext
17190 LIBS=$ac_func_search_save_LIBS
17192 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17193 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17194 ac_res=$ac_cv_search_connect
17195 if test "$ac_res" != no; then
17196 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17201 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17202 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17203 if test "${ac_cv_search_inet_aton+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 ac_func_search_save_LIBS=$LIBS
17207 cat >conftest.$ac_ext <<_ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17214 /* Override any GCC internal prototype to avoid an error.
17215 Use char because int might match the return type of a GCC
17216 builtin and then its argument prototype would still apply. */
17224 return inet_aton ();
17229 for ac_lib in '' resolv; do
17230 if test -z "$ac_lib"; then
17231 ac_res="none required"
17234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17236 rm -f conftest.$ac_objext conftest$ac_exeext
17237 if { (ac_try="$ac_link"
17238 case "(($ac_try" in
17239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17240 *) ac_try_echo
=$ac_try;;
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_link") 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest
$ac_exeext &&
17253 $as_test_x conftest
$ac_exeext; then
17254 ac_cv_search_inet_aton
=$ac_res
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17262 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17264 if test "${ac_cv_search_inet_aton+set}" = set; then
17268 if test "${ac_cv_search_inet_aton+set}" = set; then
17271 ac_cv_search_inet_aton
=no
17273 rm conftest.
$ac_ext
17274 LIBS
=$ac_func_search_save_LIBS
17276 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17277 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17278 ac_res
=$ac_cv_search_inet_aton
17279 if test "$ac_res" != no
; then
17280 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17307 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 cat >conftest.
$ac_ext <<_ACEOF
17313 cat confdefs.h
>>conftest.
$ac_ext
17314 cat >>conftest.
$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17318 #define $ac_func innocuous_$ac_func
17320 /* System header to define __stub macros and hopefully few prototypes,
17321 which can conflict with char $ac_func (); below.
17322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17323 <limits.h> exists even on freestanding compilers. */
17326 # include <limits.h>
17328 # include <assert.h>
17333 /* Override any GCC internal prototype to avoid an error.
17334 Use char because int might match the return type of a GCC
17335 builtin and then its argument prototype would still apply. */
17340 /* The GNU C library defines this for functions which it implements
17341 to always fail with ENOSYS. Some functions are actually named
17342 something starting with __ and the normal name is an alias. */
17343 #if defined __stub_$ac_func || defined __stub___$ac_func
17350 return $ac_func ();
17355 rm -f conftest.
$ac_objext conftest
$ac_exeext
17356 if { (ac_try
="$ac_link"
17357 case "(($ac_try" in
17358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17359 *) ac_try_echo=$ac_try;;
17361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17362 (eval "$ac_link") 2>conftest.er1
17364 grep -v '^ *+' conftest.er1 >conftest.err
17366 cat conftest.err >&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } && {
17369 test -z "$ac_c_werror_flag" ||
17370 test ! -s conftest.err
17371 } && test -s conftest$ac_exeext &&
17372 $as_test_x conftest$ac_exeext; then
17373 eval "$as_ac_var=yes"
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17378 eval "$as_ac_var=no"
17381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17382 conftest$ac_exeext conftest.$ac_ext
17384 ac_res=`eval echo '${'$as_ac_var'}'`
17385 { echo "$as_me:$LINENO: result: $ac_res" >&5
17386 echo "${ECHO_T}$ac_res" >&6; }
17387 if test `eval echo '${'$as_ac_var'}'` = yes; then
17388 cat >>confdefs.h <<_ACEOF
17389 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17397 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17398 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17399 if test "${ac_cv_c_const+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 cat >conftest.$ac_ext <<_ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17412 /* FIXME: Include the comments suggested by Paul. */
17413 #ifndef __cplusplus
17414 /* Ultrix mips cc rejects this. */
17415 typedef int charset[2];
17417 /* SunOS 4.1.1 cc rejects this. */
17418 char const *const *pcpcc;
17420 /* NEC SVR4.0.2 mips cc rejects this. */
17421 struct point {int x, y;};
17422 static struct point const zero = {0,0};
17423 /* AIX XL C 1.02.0.0 rejects this.
17424 It does not let you subtract one const X* pointer from another in
17425 an arm of an if-expression whose if-part is not a constant
17427 const char *g = "string";
17428 pcpcc = &g + (g ? g-g : 0);
17429 /* HPUX 7.0 cc rejects these. */
17431 ppc = (char**) pcpcc;
17432 pcpcc = (char const *const *) ppc;
17433 { /* SCO 3.2v4 cc rejects this. */
17435 char const *s = 0 ? (char *) 0 : (char const *) 0;
17440 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17441 int x[] = {25, 17};
17442 const int *foo = &x[0];
17445 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17446 typedef const int *iptr;
17450 { /* AIX XL C 1.02.0.0 rejects this saying
17451 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17452 struct s { int j; const int *ap[3]; };
17453 struct s *b; b->j = 5;
17455 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17456 const int foo = 10;
17457 if (!foo) return 0;
17459 return !cs[0] && !zero.x;
17466 rm -f conftest.$ac_objext
17467 if { (ac_try="$ac_compile"
17468 case "(($ac_try" in
17469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17470 *) ac_try_echo
=$ac_try;;
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_compile") 2>conftest.er1
17475 grep -v '^ *+' conftest.er1
>conftest.err
17477 cat conftest.err
>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } && {
17480 test -z "$ac_c_werror_flag" ||
17481 test ! -s conftest.err
17482 } && test -s conftest.
$ac_objext; then
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.
$ac_ext >&5
17491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17493 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17494 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17495 if test $ac_cv_c_const = no
; then
17497 cat >>confdefs.h
<<\_ACEOF
17503 { echo "$as_me:$LINENO: checking for inline" >&5
17504 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17505 if test "${ac_cv_c_inline+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 for ac_kw
in inline __inline__ __inline
; do
17510 cat >conftest.
$ac_ext <<_ACEOF
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 #ifndef __cplusplus
17518 static $ac_kw foo_t static_foo () {return 0; }
17519 $ac_kw foo_t foo () {return 0; }
17523 rm -f conftest.
$ac_objext
17524 if { (ac_try
="$ac_compile"
17525 case "(($ac_try" in
17526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17527 *) ac_try_echo=$ac_try;;
17529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17530 (eval "$ac_compile") 2>conftest.er1
17532 grep -v '^ *+' conftest.er1 >conftest.err
17534 cat conftest.err >&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } && {
17537 test -z "$ac_c_werror_flag" ||
17538 test ! -s conftest.err
17539 } && test -s conftest.$ac_objext; then
17540 ac_cv_c_inline=$ac_kw
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 test "$ac_cv_c_inline" != no && break
17553 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17554 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17557 case $ac_cv_c_inline in
17560 case $ac_cv_c_inline in
17562 *) ac_val=$ac_cv_c_inline;;
17564 cat >>confdefs.h <<_ACEOF
17565 #ifndef __cplusplus
17566 #define inline $ac_val
17572 { echo "$as_me:$LINENO: checking for mode_t" >&5
17573 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17574 if test "${ac_cv_type_mode_t+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 cat >conftest.$ac_ext <<_ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 $ac_includes_default
17584 typedef mode_t ac__type_new_;
17588 if ((ac__type_new_ *) 0)
17590 if (sizeof (ac__type_new_))
17596 rm -f conftest.$ac_objext
17597 if { (ac_try="$ac_compile"
17598 case "(($ac_try" in
17599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17600 *) ac_try_echo
=$ac_try;;
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_compile") 2>conftest.er1
17605 grep -v '^ *+' conftest.er1
>conftest.err
17607 cat conftest.err
>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } && {
17610 test -z "$ac_c_werror_flag" ||
17611 test ! -s conftest.err
17612 } && test -s conftest.
$ac_objext; then
17613 ac_cv_type_mode_t
=yes
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.
$ac_ext >&5
17618 ac_cv_type_mode_t
=no
17621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17623 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17624 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17625 if test $ac_cv_type_mode_t = yes; then
17627 cat >>confdefs.h
<<_ACEOF
17628 #define HAVE_MODE_T 1
17633 { echo "$as_me:$LINENO: checking for off_t" >&5
17634 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17635 if test "${ac_cv_type_off_t+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17645 typedef off_t ac__type_new_;
17649 if ((ac__type_new_ *) 0)
17651 if (sizeof (ac__type_new_))
17657 rm -f conftest.
$ac_objext
17658 if { (ac_try
="$ac_compile"
17659 case "(($ac_try" in
17660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_compile") 2>conftest.er1
17666 grep -v '^ *+' conftest.er1 >conftest.err
17668 cat conftest.err >&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } && {
17671 test -z "$ac_c_werror_flag" ||
17672 test ! -s conftest.err
17673 } && test -s conftest.$ac_objext; then
17674 ac_cv_type_off_t=yes
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17679 ac_cv_type_off_t=no
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17685 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17686 if test $ac_cv_type_off_t = yes; then
17688 cat >>confdefs.h <<_ACEOF
17689 #define HAVE_OFF_T 1
17694 { echo "$as_me:$LINENO: checking for pid_t" >&5
17695 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17696 if test "${ac_cv_type_pid_t+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 cat >conftest.$ac_ext <<_ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 $ac_includes_default
17706 typedef pid_t ac__type_new_;
17710 if ((ac__type_new_ *) 0)
17712 if (sizeof (ac__type_new_))
17718 rm -f conftest.$ac_objext
17719 if { (ac_try="$ac_compile"
17720 case "(($ac_try" in
17721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17722 *) ac_try_echo
=$ac_try;;
17724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17725 (eval "$ac_compile") 2>conftest.er1
17727 grep -v '^ *+' conftest.er1
>conftest.err
17729 cat conftest.err
>&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); } && {
17732 test -z "$ac_c_werror_flag" ||
17733 test ! -s conftest.err
17734 } && test -s conftest.
$ac_objext; then
17735 ac_cv_type_pid_t
=yes
17737 echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.
$ac_ext >&5
17740 ac_cv_type_pid_t
=no
17743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17745 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17746 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17747 if test $ac_cv_type_pid_t = yes; then
17749 cat >>confdefs.h
<<_ACEOF
17750 #define HAVE_PID_T 1
17755 { echo "$as_me:$LINENO: checking for size_t" >&5
17756 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17757 if test "${ac_cv_type_size_t+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17760 cat >conftest.
$ac_ext <<_ACEOF
17763 cat confdefs.h
>>conftest.
$ac_ext
17764 cat >>conftest.
$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 $ac_includes_default
17767 typedef size_t ac__type_new_;
17771 if ((ac__type_new_ *) 0)
17773 if (sizeof (ac__type_new_))
17779 rm -f conftest.
$ac_objext
17780 if { (ac_try
="$ac_compile"
17781 case "(($ac_try" in
17782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17783 *) ac_try_echo=$ac_try;;
17785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786 (eval "$ac_compile") 2>conftest.er1
17788 grep -v '^ *+' conftest.er1 >conftest.err
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } && {
17793 test -z "$ac_c_werror_flag" ||
17794 test ! -s conftest.err
17795 } && test -s conftest.$ac_objext; then
17796 ac_cv_type_size_t=yes
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17801 ac_cv_type_size_t=no
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17807 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17808 if test $ac_cv_type_size_t = yes; then
17810 cat >>confdefs.h <<_ACEOF
17811 #define HAVE_SIZE_T 1
17816 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17817 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17818 if test "${ac_cv_type_ssize_t+set}" = set; then
17819 echo $ECHO_N "(cached) $ECHO_C" >&6
17821 cat >conftest.$ac_ext <<_ACEOF
17824 cat confdefs.h >>conftest.$ac_ext
17825 cat >>conftest.$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17828 typedef ssize_t ac__type_new_;
17832 if ((ac__type_new_ *) 0)
17834 if (sizeof (ac__type_new_))
17840 rm -f conftest.$ac_objext
17841 if { (ac_try="$ac_compile"
17842 case "(($ac_try" in
17843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17844 *) ac_try_echo
=$ac_try;;
17846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17847 (eval "$ac_compile") 2>conftest.er1
17849 grep -v '^ *+' conftest.er1
>conftest.err
17851 cat conftest.err
>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); } && {
17854 test -z "$ac_c_werror_flag" ||
17855 test ! -s conftest.err
17856 } && test -s conftest.
$ac_objext; then
17857 ac_cv_type_ssize_t
=yes
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.
$ac_ext >&5
17862 ac_cv_type_ssize_t
=no
17865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17867 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17868 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17869 if test $ac_cv_type_ssize_t = yes; then
17871 cat >>confdefs.h
<<_ACEOF
17872 #define HAVE_SSIZE_T 1
17877 { echo "$as_me:$LINENO: checking for long long" >&5
17878 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17879 if test "${ac_cv_type_long_long+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 cat >conftest.
$ac_ext <<_ACEOF
17885 cat confdefs.h
>>conftest.
$ac_ext
17886 cat >>conftest.
$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889 typedef long long ac__type_new_;
17893 if ((ac__type_new_ *) 0)
17895 if (sizeof (ac__type_new_))
17901 rm -f conftest.
$ac_objext
17902 if { (ac_try
="$ac_compile"
17903 case "(($ac_try" in
17904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17905 *) ac_try_echo=$ac_try;;
17907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17908 (eval "$ac_compile") 2>conftest.er1
17910 grep -v '^ *+' conftest.er1 >conftest.err
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } && {
17915 test -z "$ac_c_werror_flag" ||
17916 test ! -s conftest.err
17917 } && test -s conftest.$ac_objext; then
17918 ac_cv_type_long_long=yes
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.$ac_ext >&5
17923 ac_cv_type_long_long=no
17926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17928 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17929 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17930 if test $ac_cv_type_long_long = yes; then
17932 cat >>confdefs.h <<_ACEOF
17933 #define HAVE_LONG_LONG 1
17938 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17939 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17940 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17941 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 cat >conftest.$ac_ext <<_ACEOF
17946 cat confdefs.h >>conftest.$ac_ext
17947 cat >>conftest.$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17950 typedef fsblkcnt_t ac__type_new_;
17954 if ((ac__type_new_ *) 0)
17956 if (sizeof (ac__type_new_))
17962 rm -f conftest.$ac_objext
17963 if { (ac_try="$ac_compile"
17964 case "(($ac_try" in
17965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17966 *) ac_try_echo
=$ac_try;;
17968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17969 (eval "$ac_compile") 2>conftest.er1
17971 grep -v '^ *+' conftest.er1
>conftest.err
17973 cat conftest.err
>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } && {
17976 test -z "$ac_c_werror_flag" ||
17977 test ! -s conftest.err
17978 } && test -s conftest.
$ac_objext; then
17979 ac_cv_type_fsblkcnt_t
=yes
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.
$ac_ext >&5
17984 ac_cv_type_fsblkcnt_t
=no
17987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17989 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17990 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17991 if test $ac_cv_type_fsblkcnt_t = yes; then
17993 cat >>confdefs.h
<<_ACEOF
17994 #define HAVE_FSBLKCNT_T 1
17999 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18000 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18001 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18002 echo $ECHO_N "(cached) $ECHO_C" >&6
18004 cat >conftest.
$ac_ext <<_ACEOF
18007 cat confdefs.h
>>conftest.
$ac_ext
18008 cat >>conftest.
$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18010 $ac_includes_default
18011 typedef fsfilcnt_t ac__type_new_;
18015 if ((ac__type_new_ *) 0)
18017 if (sizeof (ac__type_new_))
18023 rm -f conftest.
$ac_objext
18024 if { (ac_try
="$ac_compile"
18025 case "(($ac_try" in
18026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18027 *) ac_try_echo=$ac_try;;
18029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18030 (eval "$ac_compile") 2>conftest.er1
18032 grep -v '^ *+' conftest.er1 >conftest.err
18034 cat conftest.err >&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } && {
18037 test -z "$ac_c_werror_flag" ||
18038 test ! -s conftest.err
18039 } && test -s conftest.$ac_objext; then
18040 ac_cv_type_fsfilcnt_t=yes
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18045 ac_cv_type_fsfilcnt_t=no
18048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18051 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18052 if test $ac_cv_type_fsfilcnt_t = yes; then
18054 cat >>confdefs.h <<_ACEOF
18055 #define HAVE_FSFILCNT_T 1
18061 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18062 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18063 if test "${ac_cv_type_sigset_t+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18066 cat >conftest.$ac_ext <<_ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <signal.h>
18074 typedef sigset_t ac__type_new_;
18078 if ((ac__type_new_ *) 0)
18080 if (sizeof (ac__type_new_))
18086 rm -f conftest.$ac_objext
18087 if { (ac_try="$ac_compile"
18088 case "(($ac_try" in
18089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18090 *) ac_try_echo
=$ac_try;;
18092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18093 (eval "$ac_compile") 2>conftest.er1
18095 grep -v '^ *+' conftest.er1
>conftest.err
18097 cat conftest.err
>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } && {
18100 test -z "$ac_c_werror_flag" ||
18101 test ! -s conftest.err
18102 } && test -s conftest.
$ac_objext; then
18103 ac_cv_type_sigset_t
=yes
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.
$ac_ext >&5
18108 ac_cv_type_sigset_t
=no
18111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18113 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18114 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18115 if test $ac_cv_type_sigset_t = yes; then
18117 cat >>confdefs.h
<<_ACEOF
18118 #define HAVE_SIGSET_T 1
18124 { echo "$as_me:$LINENO: checking for request_sense" >&5
18125 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18126 if test "${ac_cv_type_request_sense+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18129 cat >conftest.
$ac_ext <<_ACEOF
18132 cat confdefs.h
>>conftest.
$ac_ext
18133 cat >>conftest.
$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 #include <linux/cdrom.h>
18137 typedef request_sense ac__type_new_;
18141 if ((ac__type_new_ *) 0)
18143 if (sizeof (ac__type_new_))
18149 rm -f conftest.
$ac_objext
18150 if { (ac_try
="$ac_compile"
18151 case "(($ac_try" in
18152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18153 *) ac_try_echo=$ac_try;;
18155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18156 (eval "$ac_compile") 2>conftest.er1
18158 grep -v '^ *+' conftest.er1 >conftest.err
18160 cat conftest.err >&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } && {
18163 test -z "$ac_c_werror_flag" ||
18164 test ! -s conftest.err
18165 } && test -s conftest.$ac_objext; then
18166 ac_cv_type_request_sense=yes
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 ac_cv_type_request_sense=no
18174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18176 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18177 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18178 if test $ac_cv_type_request_sense = yes; then
18180 cat >>confdefs.h <<_ACEOF
18181 #define HAVE_REQUEST_SENSE 1
18188 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18189 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18190 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 cat >conftest.$ac_ext <<_ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 #ifdef HAVE_LINUX_INPUT_H
18200 #include <linux/input.h>
18206 static struct ff_effect ac_aggr;
18207 if (ac_aggr.direction)
18213 rm -f conftest.$ac_objext
18214 if { (ac_try="$ac_compile"
18215 case "(($ac_try" in
18216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18217 *) ac_try_echo
=$ac_try;;
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_compile") 2>conftest.er1
18222 grep -v '^ *+' conftest.er1
>conftest.err
18224 cat conftest.err
>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err
18229 } && test -s conftest.
$ac_objext; then
18230 ac_cv_member_struct_ff_effect_direction
=yes
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18235 cat >conftest.
$ac_ext <<_ACEOF
18238 cat confdefs.h
>>conftest.
$ac_ext
18239 cat >>conftest.
$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241 #ifdef HAVE_LINUX_INPUT_H
18242 #include <linux/input.h>
18248 static struct ff_effect ac_aggr;
18249 if (sizeof ac_aggr.direction)
18255 rm -f conftest.
$ac_objext
18256 if { (ac_try
="$ac_compile"
18257 case "(($ac_try" in
18258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_compile") 2>conftest.er1
18264 grep -v '^ *+' conftest.er1 >conftest.err
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } && {
18269 test -z "$ac_c_werror_flag" ||
18270 test ! -s conftest.err
18271 } && test -s conftest.$ac_objext; then
18272 ac_cv_member_struct_ff_effect_direction=yes
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18277 ac_cv_member_struct_ff_effect_direction=no
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18285 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18286 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18287 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18289 cat >>confdefs.h <<_ACEOF
18290 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18297 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18298 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18299 if test "${wine_cv_have_sigaddset+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 cat >conftest.$ac_ext <<_ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 #include <signal.h>
18312 sigset_t set; sigaddset(&set,SIGTERM);
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (ac_try="$ac_link"
18319 case "(($ac_try" in
18320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18321 *) ac_try_echo
=$ac_try;;
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_link") 2>conftest.er1
18326 grep -v '^ *+' conftest.er1
>conftest.err
18328 cat conftest.err
>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_c_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest
$ac_exeext &&
18334 $as_test_x conftest
$ac_exeext; then
18335 wine_cv_have_sigaddset
=yes
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 wine_cv_have_sigaddset
=no
18343 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18344 conftest
$ac_exeext conftest.
$ac_ext
18346 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18347 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18348 if test "$wine_cv_have_sigaddset" = "yes"
18351 cat >>confdefs.h
<<\_ACEOF
18352 #define HAVE_SIGADDSET 1
18358 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18359 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18360 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 cat >conftest.
$ac_ext <<_ACEOF
18366 cat confdefs.h
>>conftest.
$ac_ext
18367 cat >>conftest.
$ac_ext <<_ACEOF
18368 /* end confdefs.h. */
18376 struct hostent *result;
18383 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18384 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18390 rm -f conftest.
$ac_objext conftest
$ac_exeext
18391 if { (ac_try
="$ac_link"
18392 case "(($ac_try" in
18393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18394 *) ac_try_echo=$ac_try;;
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_link") 2>conftest.er1
18399 grep -v '^ *+' conftest.er1 >conftest.err
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } && {
18404 test -z "$ac_c_werror_flag" ||
18405 test ! -s conftest.err
18406 } && test -s conftest$ac_exeext &&
18407 $as_test_x conftest$ac_exeext; then
18408 wine_cv_linux_gethostbyname_r_6=yes
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18413 wine_cv_linux_gethostbyname_r_6=no
18417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18418 conftest$ac_exeext conftest.$ac_ext
18421 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18422 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18423 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18426 cat >>confdefs.h <<\_ACEOF
18427 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18432 if test "$ac_cv_header_linux_joystick_h" = "yes"
18434 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18435 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18436 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 cat >conftest.$ac_ext <<_ACEOF
18442 cat confdefs.h >>conftest.$ac_ext
18443 cat >>conftest.$ac_ext <<_ACEOF
18444 /* end confdefs.h. */
18446 #include <sys/ioctl.h>
18447 #include <sys/types.h>
18448 #include <linux/joystick.h>
18450 struct js_event blub;
18451 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18452 #error "no 2.2 header"
18463 rm -f conftest.$ac_objext
18464 if { (ac_try="$ac_compile"
18465 case "(($ac_try" in
18466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18467 *) ac_try_echo
=$ac_try;;
18469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18470 (eval "$ac_compile") 2>conftest.er1
18472 grep -v '^ *+' conftest.er1
>conftest.err
18474 cat conftest.err
>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && {
18477 test -z "$ac_c_werror_flag" ||
18478 test ! -s conftest.err
18479 } && test -s conftest.
$ac_objext; then
18480 wine_cv_linux_joystick_22_api
=yes
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.
$ac_ext >&5
18485 wine_cv_linux_joystick_22_api
=no
18488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18491 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18492 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18493 if test "$wine_cv_linux_joystick_22_api" = "yes"
18496 cat >>confdefs.h
<<\_ACEOF
18497 #define HAVE_LINUX_22_JOYSTICK_API 1
18504 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18505 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18506 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18507 echo $ECHO_N "(cached) $ECHO_C" >&6
18509 cat >conftest.
$ac_ext <<_ACEOF
18512 cat confdefs.h
>>conftest.
$ac_ext
18513 cat >>conftest.
$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 #include <sys/types.h>
18516 #ifdef HAVE_SYS_PARAM_H
18517 # include <sys/param.h>
18519 #ifdef HAVE_SYS_MOUNT_H
18520 # include <sys/mount.h>
18522 #ifdef HAVE_SYS_VFS_H
18523 # include <sys/vfs.h>
18525 #ifdef HAVE_SYS_STATFS_H
18526 # include <sys/statfs.h>
18532 static struct statfs ac_aggr;
18533 if (ac_aggr.f_bfree)
18539 rm -f conftest.
$ac_objext
18540 if { (ac_try
="$ac_compile"
18541 case "(($ac_try" in
18542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18543 *) ac_try_echo=$ac_try;;
18545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18546 (eval "$ac_compile") 2>conftest.er1
18548 grep -v '^ *+' conftest.er1 >conftest.err
18550 cat conftest.err >&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } && {
18553 test -z "$ac_c_werror_flag" ||
18554 test ! -s conftest.err
18555 } && test -s conftest.$ac_objext; then
18556 ac_cv_member_struct_statfs_f_bfree=yes
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.$ac_ext >&5
18561 cat >conftest.$ac_ext <<_ACEOF
18564 cat confdefs.h >>conftest.$ac_ext
18565 cat >>conftest.$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 #include <sys/types.h>
18568 #ifdef HAVE_SYS_PARAM_H
18569 # include <sys/param.h>
18571 #ifdef HAVE_SYS_MOUNT_H
18572 # include <sys/mount.h>
18574 #ifdef HAVE_SYS_VFS_H
18575 # include <sys/vfs.h>
18577 #ifdef HAVE_SYS_STATFS_H
18578 # include <sys/statfs.h>
18584 static struct statfs ac_aggr;
18585 if (sizeof ac_aggr.f_bfree)
18591 rm -f conftest.$ac_objext
18592 if { (ac_try="$ac_compile"
18593 case "(($ac_try" in
18594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18595 *) ac_try_echo
=$ac_try;;
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_compile") 2>conftest.er1
18600 grep -v '^ *+' conftest.er1
>conftest.err
18602 cat conftest.err
>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } && {
18605 test -z "$ac_c_werror_flag" ||
18606 test ! -s conftest.err
18607 } && test -s conftest.
$ac_objext; then
18608 ac_cv_member_struct_statfs_f_bfree
=yes
18610 echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.
$ac_ext >&5
18613 ac_cv_member_struct_statfs_f_bfree
=no
18616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18621 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18622 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18623 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18625 cat >>confdefs.h
<<_ACEOF
18626 #define HAVE_STRUCT_STATFS_F_BFREE 1
18631 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18632 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18633 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18636 cat >conftest.
$ac_ext <<_ACEOF
18639 cat confdefs.h
>>conftest.
$ac_ext
18640 cat >>conftest.
$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 #include <sys/types.h>
18643 #ifdef HAVE_SYS_PARAM_H
18644 # include <sys/param.h>
18646 #ifdef HAVE_SYS_MOUNT_H
18647 # include <sys/mount.h>
18649 #ifdef HAVE_SYS_VFS_H
18650 # include <sys/vfs.h>
18652 #ifdef HAVE_SYS_STATFS_H
18653 # include <sys/statfs.h>
18659 static struct statfs ac_aggr;
18660 if (ac_aggr.f_bavail)
18666 rm -f conftest.
$ac_objext
18667 if { (ac_try
="$ac_compile"
18668 case "(($ac_try" in
18669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18670 *) ac_try_echo=$ac_try;;
18672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18673 (eval "$ac_compile") 2>conftest.er1
18675 grep -v '^ *+' conftest.er1 >conftest.err
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && {
18680 test -z "$ac_c_werror_flag" ||
18681 test ! -s conftest.err
18682 } && test -s conftest.$ac_objext; then
18683 ac_cv_member_struct_statfs_f_bavail=yes
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.$ac_ext >&5
18688 cat >conftest.$ac_ext <<_ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #include <sys/types.h>
18695 #ifdef HAVE_SYS_PARAM_H
18696 # include <sys/param.h>
18698 #ifdef HAVE_SYS_MOUNT_H
18699 # include <sys/mount.h>
18701 #ifdef HAVE_SYS_VFS_H
18702 # include <sys/vfs.h>
18704 #ifdef HAVE_SYS_STATFS_H
18705 # include <sys/statfs.h>
18711 static struct statfs ac_aggr;
18712 if (sizeof ac_aggr.f_bavail)
18718 rm -f conftest.$ac_objext
18719 if { (ac_try="$ac_compile"
18720 case "(($ac_try" in
18721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18722 *) ac_try_echo
=$ac_try;;
18724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18725 (eval "$ac_compile") 2>conftest.er1
18727 grep -v '^ *+' conftest.er1
>conftest.err
18729 cat conftest.err
>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } && {
18732 test -z "$ac_c_werror_flag" ||
18733 test ! -s conftest.err
18734 } && test -s conftest.
$ac_objext; then
18735 ac_cv_member_struct_statfs_f_bavail
=yes
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.
$ac_ext >&5
18740 ac_cv_member_struct_statfs_f_bavail
=no
18743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18748 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18749 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18750 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18752 cat >>confdefs.h
<<_ACEOF
18753 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18758 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18759 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18760 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 #include <sys/types.h>
18770 #ifdef HAVE_SYS_PARAM_H
18771 # include <sys/param.h>
18773 #ifdef HAVE_SYS_MOUNT_H
18774 # include <sys/mount.h>
18776 #ifdef HAVE_SYS_VFS_H
18777 # include <sys/vfs.h>
18779 #ifdef HAVE_SYS_STATFS_H
18780 # include <sys/statfs.h>
18786 static struct statfs ac_aggr;
18787 if (ac_aggr.f_frsize)
18793 rm -f conftest.
$ac_objext
18794 if { (ac_try
="$ac_compile"
18795 case "(($ac_try" in
18796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_compile") 2>conftest.er1
18802 grep -v '^ *+' conftest.er1 >conftest.err
18804 cat conftest.err >&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } && {
18807 test -z "$ac_c_werror_flag" ||
18808 test ! -s conftest.err
18809 } && test -s conftest.$ac_objext; then
18810 ac_cv_member_struct_statfs_f_frsize=yes
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.$ac_ext >&5
18815 cat >conftest.$ac_ext <<_ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <sys/types.h>
18822 #ifdef HAVE_SYS_PARAM_H
18823 # include <sys/param.h>
18825 #ifdef HAVE_SYS_MOUNT_H
18826 # include <sys/mount.h>
18828 #ifdef HAVE_SYS_VFS_H
18829 # include <sys/vfs.h>
18831 #ifdef HAVE_SYS_STATFS_H
18832 # include <sys/statfs.h>
18838 static struct statfs ac_aggr;
18839 if (sizeof ac_aggr.f_frsize)
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18849 *) ac_try_echo
=$ac_try;;
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18854 grep -v '^ *+' conftest.er1
>conftest.err
18856 cat conftest.err
>&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } && {
18859 test -z "$ac_c_werror_flag" ||
18860 test ! -s conftest.err
18861 } && test -s conftest.
$ac_objext; then
18862 ac_cv_member_struct_statfs_f_frsize
=yes
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.
$ac_ext >&5
18867 ac_cv_member_struct_statfs_f_frsize
=no
18870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18875 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18876 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18877 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18879 cat >>confdefs.h
<<_ACEOF
18880 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18885 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18886 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18887 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18890 cat >conftest.
$ac_ext <<_ACEOF
18893 cat confdefs.h
>>conftest.
$ac_ext
18894 cat >>conftest.
$ac_ext <<_ACEOF
18895 /* end confdefs.h. */
18896 #include <sys/types.h>
18897 #ifdef HAVE_SYS_PARAM_H
18898 # include <sys/param.h>
18900 #ifdef HAVE_SYS_MOUNT_H
18901 # include <sys/mount.h>
18903 #ifdef HAVE_SYS_VFS_H
18904 # include <sys/vfs.h>
18906 #ifdef HAVE_SYS_STATFS_H
18907 # include <sys/statfs.h>
18913 static struct statfs ac_aggr;
18914 if (ac_aggr.f_ffree)
18920 rm -f conftest.
$ac_objext
18921 if { (ac_try
="$ac_compile"
18922 case "(($ac_try" in
18923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18924 *) ac_try_echo=$ac_try;;
18926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18927 (eval "$ac_compile") 2>conftest.er1
18929 grep -v '^ *+' conftest.er1 >conftest.err
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } && {
18934 test -z "$ac_c_werror_flag" ||
18935 test ! -s conftest.err
18936 } && test -s conftest.$ac_objext; then
18937 ac_cv_member_struct_statfs_f_ffree=yes
18939 echo "$as_me: failed program was:" >&5
18940 sed 's/^/| /' conftest.$ac_ext >&5
18942 cat >conftest.$ac_ext <<_ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 #include <sys/types.h>
18949 #ifdef HAVE_SYS_PARAM_H
18950 # include <sys/param.h>
18952 #ifdef HAVE_SYS_MOUNT_H
18953 # include <sys/mount.h>
18955 #ifdef HAVE_SYS_VFS_H
18956 # include <sys/vfs.h>
18958 #ifdef HAVE_SYS_STATFS_H
18959 # include <sys/statfs.h>
18965 static struct statfs ac_aggr;
18966 if (sizeof ac_aggr.f_ffree)
18972 rm -f conftest.$ac_objext
18973 if { (ac_try="$ac_compile"
18974 case "(($ac_try" in
18975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18976 *) ac_try_echo
=$ac_try;;
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_compile") 2>conftest.er1
18981 grep -v '^ *+' conftest.er1
>conftest.err
18983 cat conftest.err
>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } && {
18986 test -z "$ac_c_werror_flag" ||
18987 test ! -s conftest.err
18988 } && test -s conftest.
$ac_objext; then
18989 ac_cv_member_struct_statfs_f_ffree
=yes
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.
$ac_ext >&5
18994 ac_cv_member_struct_statfs_f_ffree
=no
18997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19002 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19003 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19004 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19006 cat >>confdefs.h
<<_ACEOF
19007 #define HAVE_STRUCT_STATFS_F_FFREE 1
19012 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19013 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19014 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19017 cat >conftest.
$ac_ext <<_ACEOF
19020 cat confdefs.h
>>conftest.
$ac_ext
19021 cat >>conftest.
$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <sys/types.h>
19024 #ifdef HAVE_SYS_PARAM_H
19025 # include <sys/param.h>
19027 #ifdef HAVE_SYS_MOUNT_H
19028 # include <sys/mount.h>
19030 #ifdef HAVE_SYS_VFS_H
19031 # include <sys/vfs.h>
19033 #ifdef HAVE_SYS_STATFS_H
19034 # include <sys/statfs.h>
19040 static struct statfs ac_aggr;
19041 if (ac_aggr.f_favail)
19047 rm -f conftest.
$ac_objext
19048 if { (ac_try
="$ac_compile"
19049 case "(($ac_try" in
19050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19051 *) ac_try_echo=$ac_try;;
19053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19054 (eval "$ac_compile") 2>conftest.er1
19056 grep -v '^ *+' conftest.er1 >conftest.err
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } && {
19061 test -z "$ac_c_werror_flag" ||
19062 test ! -s conftest.err
19063 } && test -s conftest.$ac_objext; then
19064 ac_cv_member_struct_statfs_f_favail=yes
19066 echo "$as_me: failed program was:" >&5
19067 sed 's/^/| /' conftest.$ac_ext >&5
19069 cat >conftest.$ac_ext <<_ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 #include <sys/types.h>
19076 #ifdef HAVE_SYS_PARAM_H
19077 # include <sys/param.h>
19079 #ifdef HAVE_SYS_MOUNT_H
19080 # include <sys/mount.h>
19082 #ifdef HAVE_SYS_VFS_H
19083 # include <sys/vfs.h>
19085 #ifdef HAVE_SYS_STATFS_H
19086 # include <sys/statfs.h>
19092 static struct statfs ac_aggr;
19093 if (sizeof ac_aggr.f_favail)
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19103 *) ac_try_echo
=$ac_try;;
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19108 grep -v '^ *+' conftest.er1
>conftest.err
19110 cat conftest.err
>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest.
$ac_objext; then
19116 ac_cv_member_struct_statfs_f_favail
=yes
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.
$ac_ext >&5
19121 ac_cv_member_struct_statfs_f_favail
=no
19124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19129 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19130 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19131 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19133 cat >>confdefs.h
<<_ACEOF
19134 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19139 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19140 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19141 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 cat >conftest.
$ac_ext <<_ACEOF
19147 cat confdefs.h
>>conftest.
$ac_ext
19148 cat >>conftest.
$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 #include <sys/types.h>
19151 #ifdef HAVE_SYS_PARAM_H
19152 # include <sys/param.h>
19154 #ifdef HAVE_SYS_MOUNT_H
19155 # include <sys/mount.h>
19157 #ifdef HAVE_SYS_VFS_H
19158 # include <sys/vfs.h>
19160 #ifdef HAVE_SYS_STATFS_H
19161 # include <sys/statfs.h>
19167 static struct statfs ac_aggr;
19168 if (ac_aggr.f_namelen)
19174 rm -f conftest.
$ac_objext
19175 if { (ac_try
="$ac_compile"
19176 case "(($ac_try" in
19177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19178 *) ac_try_echo=$ac_try;;
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19181 (eval "$ac_compile") 2>conftest.er1
19183 grep -v '^ *+' conftest.er1 >conftest.err
19185 cat conftest.err >&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } && {
19188 test -z "$ac_c_werror_flag" ||
19189 test ! -s conftest.err
19190 } && test -s conftest.$ac_objext; then
19191 ac_cv_member_struct_statfs_f_namelen=yes
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19196 cat >conftest.$ac_ext <<_ACEOF
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202 #include <sys/types.h>
19203 #ifdef HAVE_SYS_PARAM_H
19204 # include <sys/param.h>
19206 #ifdef HAVE_SYS_MOUNT_H
19207 # include <sys/mount.h>
19209 #ifdef HAVE_SYS_VFS_H
19210 # include <sys/vfs.h>
19212 #ifdef HAVE_SYS_STATFS_H
19213 # include <sys/statfs.h>
19219 static struct statfs ac_aggr;
19220 if (sizeof ac_aggr.f_namelen)
19226 rm -f conftest.$ac_objext
19227 if { (ac_try="$ac_compile"
19228 case "(($ac_try" in
19229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19230 *) ac_try_echo
=$ac_try;;
19232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19233 (eval "$ac_compile") 2>conftest.er1
19235 grep -v '^ *+' conftest.er1
>conftest.err
19237 cat conftest.err
>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } && {
19240 test -z "$ac_c_werror_flag" ||
19241 test ! -s conftest.err
19242 } && test -s conftest.
$ac_objext; then
19243 ac_cv_member_struct_statfs_f_namelen
=yes
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.
$ac_ext >&5
19248 ac_cv_member_struct_statfs_f_namelen
=no
19251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19256 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19257 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19258 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19260 cat >>confdefs.h
<<_ACEOF
19261 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19268 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19269 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19270 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19271 echo $ECHO_N "(cached) $ECHO_C" >&6
19273 cat >conftest.
$ac_ext <<_ACEOF
19276 cat confdefs.h
>>conftest.
$ac_ext
19277 cat >>conftest.
$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 #ifdef HAVE_SYS_STATVFS_H
19280 #include <sys/statvfs.h>
19286 static struct statvfs ac_aggr;
19287 if (ac_aggr.f_blocks)
19293 rm -f conftest.
$ac_objext
19294 if { (ac_try
="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19302 grep -v '^ *+' conftest.er1 >conftest.err
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.$ac_objext; then
19310 ac_cv_member_struct_statvfs_f_blocks=yes
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19315 cat >conftest.$ac_ext <<_ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 #ifdef HAVE_SYS_STATVFS_H
19322 #include <sys/statvfs.h>
19328 static struct statvfs ac_aggr;
19329 if (sizeof ac_aggr.f_blocks)
19335 rm -f conftest.$ac_objext
19336 if { (ac_try="$ac_compile"
19337 case "(($ac_try" in
19338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19339 *) ac_try_echo
=$ac_try;;
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_compile") 2>conftest.er1
19344 grep -v '^ *+' conftest.er1
>conftest.err
19346 cat conftest.err
>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } && {
19349 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest.
$ac_objext; then
19352 ac_cv_member_struct_statvfs_f_blocks
=yes
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.
$ac_ext >&5
19357 ac_cv_member_struct_statvfs_f_blocks
=no
19360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19365 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19366 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19367 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19369 cat >>confdefs.h
<<_ACEOF
19370 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19377 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19378 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19379 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 #include <sys/types.h>
19389 #ifdef HAVE_SYS_SOCKET_H
19390 # include <sys/socket.h>
19392 #ifdef HAVE_SYS_UN_H
19393 # include <sys/un.h>
19399 static struct msghdr ac_aggr;
19400 if (ac_aggr.msg_accrights)
19406 rm -f conftest.
$ac_objext
19407 if { (ac_try
="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19415 grep -v '^ *+' conftest.er1 >conftest.err
19417 cat conftest.err >&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_c_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 ac_cv_member_struct_msghdr_msg_accrights=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 cat >conftest.$ac_ext <<_ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 #include <sys/types.h>
19435 #ifdef HAVE_SYS_SOCKET_H
19436 # include <sys/socket.h>
19438 #ifdef HAVE_SYS_UN_H
19439 # include <sys/un.h>
19445 static struct msghdr ac_aggr;
19446 if (sizeof ac_aggr.msg_accrights)
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19456 *) ac_try_echo
=$ac_try;;
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19461 grep -v '^ *+' conftest.er1
>conftest.err
19463 cat conftest.err
>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.
$ac_objext; then
19469 ac_cv_member_struct_msghdr_msg_accrights
=yes
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.
$ac_ext >&5
19474 ac_cv_member_struct_msghdr_msg_accrights
=no
19477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19482 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19483 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19484 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19486 cat >>confdefs.h
<<_ACEOF
19487 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19492 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19493 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19494 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 cat >conftest.
$ac_ext <<_ACEOF
19500 cat confdefs.h
>>conftest.
$ac_ext
19501 cat >>conftest.
$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19503 #include <sys/types.h>
19504 #ifdef HAVE_SYS_SOCKET_H
19505 # include <sys/socket.h>
19507 #ifdef HAVE_SYS_UN_H
19508 # include <sys/un.h>
19514 static struct sockaddr ac_aggr;
19515 if (ac_aggr.sa_len)
19521 rm -f conftest.
$ac_objext
19522 if { (ac_try
="$ac_compile"
19523 case "(($ac_try" in
19524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_compile") 2>conftest.er1
19530 grep -v '^ *+' conftest.er1 >conftest.err
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && {
19535 test -z "$ac_c_werror_flag" ||
19536 test ! -s conftest.err
19537 } && test -s conftest.$ac_objext; then
19538 ac_cv_member_struct_sockaddr_sa_len=yes
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19543 cat >conftest.$ac_ext <<_ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #include <sys/types.h>
19550 #ifdef HAVE_SYS_SOCKET_H
19551 # include <sys/socket.h>
19553 #ifdef HAVE_SYS_UN_H
19554 # include <sys/un.h>
19560 static struct sockaddr ac_aggr;
19561 if (sizeof ac_aggr.sa_len)
19567 rm -f conftest.$ac_objext
19568 if { (ac_try="$ac_compile"
19569 case "(($ac_try" in
19570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19571 *) ac_try_echo
=$ac_try;;
19573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19574 (eval "$ac_compile") 2>conftest.er1
19576 grep -v '^ *+' conftest.er1
>conftest.err
19578 cat conftest.err
>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } && {
19581 test -z "$ac_c_werror_flag" ||
19582 test ! -s conftest.err
19583 } && test -s conftest.
$ac_objext; then
19584 ac_cv_member_struct_sockaddr_sa_len
=yes
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.
$ac_ext >&5
19589 ac_cv_member_struct_sockaddr_sa_len
=no
19592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19597 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19598 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19599 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19601 cat >>confdefs.h
<<_ACEOF
19602 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19607 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19608 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19609 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19612 cat >conftest.
$ac_ext <<_ACEOF
19615 cat confdefs.h
>>conftest.
$ac_ext
19616 cat >>conftest.
$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 #include <sys/types.h>
19619 #ifdef HAVE_SYS_SOCKET_H
19620 # include <sys/socket.h>
19622 #ifdef HAVE_SYS_UN_H
19623 # include <sys/un.h>
19629 static struct sockaddr_un ac_aggr;
19630 if (ac_aggr.sun_len)
19636 rm -f conftest.
$ac_objext
19637 if { (ac_try
="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1 >conftest.err
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_sockaddr_un_sun_len=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 cat >conftest.$ac_ext <<_ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 #include <sys/types.h>
19665 #ifdef HAVE_SYS_SOCKET_H
19666 # include <sys/socket.h>
19668 #ifdef HAVE_SYS_UN_H
19669 # include <sys/un.h>
19675 static struct sockaddr_un ac_aggr;
19676 if (sizeof ac_aggr.sun_len)
19682 rm -f conftest.$ac_objext
19683 if { (ac_try="$ac_compile"
19684 case "(($ac_try" in
19685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19686 *) ac_try_echo
=$ac_try;;
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_compile") 2>conftest.er1
19691 grep -v '^ *+' conftest.er1
>conftest.err
19693 cat conftest.err
>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && {
19696 test -z "$ac_c_werror_flag" ||
19697 test ! -s conftest.err
19698 } && test -s conftest.
$ac_objext; then
19699 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.
$ac_ext >&5
19704 ac_cv_member_struct_sockaddr_un_sun_len
=no
19707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19712 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19713 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19714 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19716 cat >>confdefs.h
<<_ACEOF
19717 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19724 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19725 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19726 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 cat >conftest.
$ac_ext <<_ACEOF
19732 cat confdefs.h
>>conftest.
$ac_ext
19733 cat >>conftest.
$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 #include <sys/types.h>
19736 #ifdef HAVE_SCSI_SG_H
19737 #include <scsi/sg.h>
19743 static scsireq_t ac_aggr;
19750 rm -f conftest.
$ac_objext
19751 if { (ac_try
="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19759 grep -v '^ *+' conftest.er1 >conftest.err
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19767 ac_cv_member_scsireq_t_cmd=yes
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19772 cat >conftest.$ac_ext <<_ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #include <sys/types.h>
19779 #ifdef HAVE_SCSI_SG_H
19780 #include <scsi/sg.h>
19786 static scsireq_t ac_aggr;
19787 if (sizeof ac_aggr.cmd)
19793 rm -f conftest.$ac_objext
19794 if { (ac_try="$ac_compile"
19795 case "(($ac_try" in
19796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19797 *) ac_try_echo
=$ac_try;;
19799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_compile") 2>conftest.er1
19802 grep -v '^ *+' conftest.er1
>conftest.err
19804 cat conftest.err
>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } && {
19807 test -z "$ac_c_werror_flag" ||
19808 test ! -s conftest.err
19809 } && test -s conftest.
$ac_objext; then
19810 ac_cv_member_scsireq_t_cmd
=yes
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.
$ac_ext >&5
19815 ac_cv_member_scsireq_t_cmd
=no
19818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19823 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19824 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19825 if test $ac_cv_member_scsireq_t_cmd = yes; then
19827 cat >>confdefs.h
<<_ACEOF
19828 #define HAVE_SCSIREQ_T_CMD 1
19833 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19834 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19835 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 cat >conftest.
$ac_ext <<_ACEOF
19841 cat confdefs.h
>>conftest.
$ac_ext
19842 cat >>conftest.
$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 #include <sys/types.h>
19845 #ifdef HAVE_SCSI_SG_H
19846 #include <scsi/sg.h>
19852 static sg_io_hdr_t ac_aggr;
19853 if (ac_aggr.interface_id)
19859 rm -f conftest.
$ac_objext
19860 if { (ac_try
="$ac_compile"
19861 case "(($ac_try" in
19862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_compile") 2>conftest.er1
19868 grep -v '^ *+' conftest.er1 >conftest.err
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && {
19873 test -z "$ac_c_werror_flag" ||
19874 test ! -s conftest.err
19875 } && test -s conftest.$ac_objext; then
19876 ac_cv_member_sg_io_hdr_t_interface_id=yes
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19881 cat >conftest.$ac_ext <<_ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 #include <sys/types.h>
19888 #ifdef HAVE_SCSI_SG_H
19889 #include <scsi/sg.h>
19895 static sg_io_hdr_t ac_aggr;
19896 if (sizeof ac_aggr.interface_id)
19902 rm -f conftest.$ac_objext
19903 if { (ac_try="$ac_compile"
19904 case "(($ac_try" in
19905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19906 *) ac_try_echo
=$ac_try;;
19908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19909 (eval "$ac_compile") 2>conftest.er1
19911 grep -v '^ *+' conftest.er1
>conftest.err
19913 cat conftest.err
>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && {
19916 test -z "$ac_c_werror_flag" ||
19917 test ! -s conftest.err
19918 } && test -s conftest.
$ac_objext; then
19919 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 ac_cv_member_sg_io_hdr_t_interface_id
=no
19927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19932 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19933 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19934 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19936 cat >>confdefs.h
<<_ACEOF
19937 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19944 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19945 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19946 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 cat >conftest.
$ac_ext <<_ACEOF
19952 cat confdefs.h
>>conftest.
$ac_ext
19953 cat >>conftest.
$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 #include <signal.h>
19960 static siginfo_t ac_aggr;
19967 rm -f conftest.
$ac_objext
19968 if { (ac_try
="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19976 grep -v '^ *+' conftest.er1 >conftest.err
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.$ac_objext; then
19984 ac_cv_member_siginfo_t_si_fd=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19989 cat >conftest.$ac_ext <<_ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 #include <signal.h>
20000 static siginfo_t ac_aggr;
20001 if (sizeof ac_aggr.si_fd)
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20011 *) ac_try_echo
=$ac_try;;
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20016 grep -v '^ *+' conftest.er1
>conftest.err
20018 cat conftest.err
>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.
$ac_objext; then
20024 ac_cv_member_siginfo_t_si_fd
=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.
$ac_ext >&5
20029 ac_cv_member_siginfo_t_si_fd
=no
20032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20038 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20039 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20041 cat >>confdefs.h
<<_ACEOF
20042 #define HAVE_SIGINFO_T_SI_FD 1
20049 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20050 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 cat >conftest.
$ac_ext <<_ACEOF
20057 cat confdefs.h
>>conftest.
$ac_ext
20058 cat >>conftest.
$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <sys/types.h>
20061 #ifdef HAVE_SYS_MTIO_H
20062 #include <sys/mtio.h>
20068 static struct mtget ac_aggr;
20069 if (ac_aggr.mt_blksiz)
20075 rm -f conftest.
$ac_objext
20076 if { (ac_try
="$ac_compile"
20077 case "(($ac_try" in
20078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20079 *) ac_try_echo=$ac_try;;
20081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082 (eval "$ac_compile") 2>conftest.er1
20084 grep -v '^ *+' conftest.er1 >conftest.err
20086 cat conftest.err >&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); } && {
20089 test -z "$ac_c_werror_flag" ||
20090 test ! -s conftest.err
20091 } && test -s conftest.$ac_objext; then
20092 ac_cv_member_struct_mtget_mt_blksiz=yes
20094 echo "$as_me: failed program was:" >&5
20095 sed 's/^/| /' conftest.$ac_ext >&5
20097 cat >conftest.$ac_ext <<_ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 #include <sys/types.h>
20104 #ifdef HAVE_SYS_MTIO_H
20105 #include <sys/mtio.h>
20111 static struct mtget ac_aggr;
20112 if (sizeof ac_aggr.mt_blksiz)
20118 rm -f conftest.$ac_objext
20119 if { (ac_try="$ac_compile"
20120 case "(($ac_try" in
20121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20122 *) ac_try_echo
=$ac_try;;
20124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20125 (eval "$ac_compile") 2>conftest.er1
20127 grep -v '^ *+' conftest.er1
>conftest.err
20129 cat conftest.err
>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } && {
20132 test -z "$ac_c_werror_flag" ||
20133 test ! -s conftest.err
20134 } && test -s conftest.
$ac_objext; then
20135 ac_cv_member_struct_mtget_mt_blksiz
=yes
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.
$ac_ext >&5
20140 ac_cv_member_struct_mtget_mt_blksiz
=no
20143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20148 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20149 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20150 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20152 cat >>confdefs.h
<<_ACEOF
20153 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20158 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20159 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20160 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.
$ac_ext <<_ACEOF
20166 cat confdefs.h
>>conftest.
$ac_ext
20167 cat >>conftest.
$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 #include <sys/types.h>
20170 #ifdef HAVE_SYS_MTIO_H
20171 #include <sys/mtio.h>
20177 static struct mtget ac_aggr;
20178 if (ac_aggr.mt_gstat)
20184 rm -f conftest.
$ac_objext
20185 if { (ac_try
="$ac_compile"
20186 case "(($ac_try" in
20187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20188 *) ac_try_echo=$ac_try;;
20190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20191 (eval "$ac_compile") 2>conftest.er1
20193 grep -v '^ *+' conftest.er1 >conftest.err
20195 cat conftest.err >&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } && {
20198 test -z "$ac_c_werror_flag" ||
20199 test ! -s conftest.err
20200 } && test -s conftest.$ac_objext; then
20201 ac_cv_member_struct_mtget_mt_gstat=yes
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20206 cat >conftest.$ac_ext <<_ACEOF
20209 cat confdefs.h >>conftest.$ac_ext
20210 cat >>conftest.$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20212 #include <sys/types.h>
20213 #ifdef HAVE_SYS_MTIO_H
20214 #include <sys/mtio.h>
20220 static struct mtget ac_aggr;
20221 if (sizeof ac_aggr.mt_gstat)
20227 rm -f conftest.$ac_objext
20228 if { (ac_try="$ac_compile"
20229 case "(($ac_try" in
20230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20231 *) ac_try_echo
=$ac_try;;
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_compile") 2>conftest.er1
20236 grep -v '^ *+' conftest.er1
>conftest.err
20238 cat conftest.err
>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } && {
20241 test -z "$ac_c_werror_flag" ||
20242 test ! -s conftest.err
20243 } && test -s conftest.
$ac_objext; then
20244 ac_cv_member_struct_mtget_mt_gstat
=yes
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.
$ac_ext >&5
20249 ac_cv_member_struct_mtget_mt_gstat
=no
20252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20257 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20258 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20259 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20261 cat >>confdefs.h
<<_ACEOF
20262 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20267 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20268 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20269 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 cat >conftest.
$ac_ext <<_ACEOF
20275 cat confdefs.h
>>conftest.
$ac_ext
20276 cat >>conftest.
$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278 #include <sys/types.h>
20279 #ifdef HAVE_SYS_MTIO_H
20280 #include <sys/mtio.h>
20286 static struct mtget ac_aggr;
20287 if (ac_aggr.mt_blkno)
20293 rm -f conftest.
$ac_objext
20294 if { (ac_try
="$ac_compile"
20295 case "(($ac_try" in
20296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_compile") 2>conftest.er1
20302 grep -v '^ *+' conftest.er1 >conftest.err
20304 cat conftest.err >&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } && {
20307 test -z "$ac_c_werror_flag" ||
20308 test ! -s conftest.err
20309 } && test -s conftest.$ac_objext; then
20310 ac_cv_member_struct_mtget_mt_blkno=yes
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20315 cat >conftest.$ac_ext <<_ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 #include <sys/types.h>
20322 #ifdef HAVE_SYS_MTIO_H
20323 #include <sys/mtio.h>
20329 static struct mtget ac_aggr;
20330 if (sizeof ac_aggr.mt_blkno)
20336 rm -f conftest.$ac_objext
20337 if { (ac_try="$ac_compile"
20338 case "(($ac_try" in
20339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20340 *) ac_try_echo
=$ac_try;;
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_compile") 2>conftest.er1
20345 grep -v '^ *+' conftest.er1
>conftest.err
20347 cat conftest.err
>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); } && {
20350 test -z "$ac_c_werror_flag" ||
20351 test ! -s conftest.err
20352 } && test -s conftest.
$ac_objext; then
20353 ac_cv_member_struct_mtget_mt_blkno
=yes
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.
$ac_ext >&5
20358 ac_cv_member_struct_mtget_mt_blkno
=no
20361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20366 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20367 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20368 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20370 cat >>confdefs.h
<<_ACEOF
20371 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20378 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20379 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20380 if test "${ac_cv_member_struct_option_name+set}" = set; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 cat >conftest.
$ac_ext <<_ACEOF
20386 cat confdefs.h
>>conftest.
$ac_ext
20387 cat >>conftest.
$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 #ifdef HAVE_GETOPT_H
20390 #include <getopt.h>
20396 static struct option ac_aggr;
20403 rm -f conftest.
$ac_objext
20404 if { (ac_try
="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20412 grep -v '^ *+' conftest.er1 >conftest.err
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.$ac_objext; then
20420 ac_cv_member_struct_option_name=yes
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20425 cat >conftest.$ac_ext <<_ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 #ifdef HAVE_GETOPT_H
20432 #include <getopt.h>
20438 static struct option ac_aggr;
20439 if (sizeof ac_aggr.name)
20445 rm -f conftest.$ac_objext
20446 if { (ac_try="$ac_compile"
20447 case "(($ac_try" in
20448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20449 *) ac_try_echo
=$ac_try;;
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_compile") 2>conftest.er1
20454 grep -v '^ *+' conftest.er1
>conftest.err
20456 cat conftest.err
>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } && {
20459 test -z "$ac_c_werror_flag" ||
20460 test ! -s conftest.err
20461 } && test -s conftest.
$ac_objext; then
20462 ac_cv_member_struct_option_name
=yes
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.
$ac_ext >&5
20467 ac_cv_member_struct_option_name
=no
20470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20475 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20476 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20477 if test $ac_cv_member_struct_option_name = yes; then
20479 cat >>confdefs.h
<<_ACEOF
20480 #define HAVE_STRUCT_OPTION_NAME 1
20487 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20488 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20489 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20492 cat >conftest.
$ac_ext <<_ACEOF
20495 cat confdefs.h
>>conftest.
$ac_ext
20496 cat >>conftest.
$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20502 static struct stat ac_aggr;
20503 if (ac_aggr.st_blocks)
20509 rm -f conftest.
$ac_objext
20510 if { (ac_try
="$ac_compile"
20511 case "(($ac_try" in
20512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_compile") 2>conftest.er1
20518 grep -v '^ *+' conftest.er1 >conftest.err
20520 cat conftest.err >&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } && {
20523 test -z "$ac_c_werror_flag" ||
20524 test ! -s conftest.err
20525 } && test -s conftest.$ac_objext; then
20526 ac_cv_member_struct_stat_st_blocks=yes
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20531 cat >conftest.$ac_ext <<_ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20541 static struct stat ac_aggr;
20542 if (sizeof ac_aggr.st_blocks)
20548 rm -f conftest.$ac_objext
20549 if { (ac_try="$ac_compile"
20550 case "(($ac_try" in
20551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20552 *) ac_try_echo
=$ac_try;;
20554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20555 (eval "$ac_compile") 2>conftest.er1
20557 grep -v '^ *+' conftest.er1
>conftest.err
20559 cat conftest.err
>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } && {
20562 test -z "$ac_c_werror_flag" ||
20563 test ! -s conftest.err
20564 } && test -s conftest.
$ac_objext; then
20565 ac_cv_member_struct_stat_st_blocks
=yes
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.
$ac_ext >&5
20570 ac_cv_member_struct_stat_st_blocks
=no
20573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20579 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20580 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20582 cat >>confdefs.h
<<_ACEOF
20583 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20590 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20591 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20592 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20593 echo $ECHO_N "(cached) $ECHO_C" >&6
20595 cat >conftest.
$ac_ext <<_ACEOF
20598 cat confdefs.h
>>conftest.
$ac_ext
20599 cat >>conftest.
$ac_ext <<_ACEOF
20600 /* end confdefs.h. */
20601 #ifdef HAVE_SYS_TYPES_H
20602 #include <sys/types.h>
20604 #ifdef HAVE_NETINET_IN_H
20605 #include <netinet/in.h>
20611 static struct sockaddr_in6 ac_aggr;
20612 if (ac_aggr.sin6_scope_id)
20618 rm -f conftest.
$ac_objext
20619 if { (ac_try
="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20627 grep -v '^ *+' conftest.er1 >conftest.err
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20635 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 cat >conftest.$ac_ext <<_ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #ifdef HAVE_SYS_TYPES_H
20647 #include <sys/types.h>
20649 #ifdef HAVE_NETINET_IN_H
20650 #include <netinet/in.h>
20656 static struct sockaddr_in6 ac_aggr;
20657 if (sizeof ac_aggr.sin6_scope_id)
20663 rm -f conftest.$ac_objext
20664 if { (ac_try="$ac_compile"
20665 case "(($ac_try" in
20666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20667 *) ac_try_echo
=$ac_try;;
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_compile") 2>conftest.er1
20672 grep -v '^ *+' conftest.er1
>conftest.err
20674 cat conftest.err
>&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } && {
20677 test -z "$ac_c_werror_flag" ||
20678 test ! -s conftest.err
20679 } && test -s conftest.
$ac_objext; then
20680 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.
$ac_ext >&5
20685 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20693 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20694 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20695 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20697 cat >>confdefs.h
<<_ACEOF
20698 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20705 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20706 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20707 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20710 cat >conftest.
$ac_ext <<_ACEOF
20713 cat confdefs.h
>>conftest.
$ac_ext
20714 cat >>conftest.
$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716 #ifdef HAVE_SYS_TYPES_H
20717 #include <sys/types.h>
20719 #ifdef HAVE_NETINET_IN_H
20720 # include <netinet/in.h>
20722 #ifdef HAVE_ARPA_NAMESER_H
20723 # include <arpa/nameser.h>
20729 static ns_msg ac_aggr;
20730 if (ac_aggr._msg_ptr)
20736 rm -f conftest.
$ac_objext
20737 if { (ac_try
="$ac_compile"
20738 case "(($ac_try" in
20739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20740 *) ac_try_echo=$ac_try;;
20742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743 (eval "$ac_compile") 2>conftest.er1
20745 grep -v '^ *+' conftest.er1 >conftest.err
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && {
20750 test -z "$ac_c_werror_flag" ||
20751 test ! -s conftest.err
20752 } && test -s conftest.$ac_objext; then
20753 ac_cv_member_ns_msg__msg_ptr=yes
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 cat >conftest.$ac_ext <<_ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 #ifdef HAVE_SYS_TYPES_H
20765 #include <sys/types.h>
20767 #ifdef HAVE_NETINET_IN_H
20768 # include <netinet/in.h>
20770 #ifdef HAVE_ARPA_NAMESER_H
20771 # include <arpa/nameser.h>
20777 static ns_msg ac_aggr;
20778 if (sizeof ac_aggr._msg_ptr)
20784 rm -f conftest.$ac_objext
20785 if { (ac_try="$ac_compile"
20786 case "(($ac_try" in
20787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20788 *) ac_try_echo
=$ac_try;;
20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20791 (eval "$ac_compile") 2>conftest.er1
20793 grep -v '^ *+' conftest.er1
>conftest.err
20795 cat conftest.err
>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } && {
20798 test -z "$ac_c_werror_flag" ||
20799 test ! -s conftest.err
20800 } && test -s conftest.
$ac_objext; then
20801 ac_cv_member_ns_msg__msg_ptr
=yes
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.
$ac_ext >&5
20806 ac_cv_member_ns_msg__msg_ptr
=no
20809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20814 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20815 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20816 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20818 cat >>confdefs.h
<<_ACEOF
20819 #define HAVE_NS_MSG__MSG_PTR 1
20826 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20827 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20828 if test "${ac_cv_have_timezone+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20831 cat >conftest.
$ac_ext <<_ACEOF
20834 cat confdefs.h
>>conftest.
$ac_ext
20835 cat >>conftest.
$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20846 rm -f conftest.
$ac_objext conftest
$ac_exeext
20847 if { (ac_try
="$ac_link"
20848 case "(($ac_try" in
20849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20850 *) ac_try_echo=$ac_try;;
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_link") 2>conftest.er1
20855 grep -v '^ *+' conftest.er1 >conftest.err
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } && {
20860 test -z "$ac_c_werror_flag" ||
20861 test ! -s conftest.err
20862 } && test -s conftest$ac_exeext &&
20863 $as_test_x conftest$ac_exeext; then
20864 ac_cv_have_timezone="yes"
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.$ac_ext >&5
20869 ac_cv_have_timezone="no"
20872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20873 conftest$ac_exeext conftest.$ac_ext
20875 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20876 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20877 if test "$ac_cv_have_timezone" = "yes"
20880 cat >>confdefs.h <<\_ACEOF
20881 #define HAVE_TIMEZONE 1
20885 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20886 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20887 if test "${ac_cv_have_daylight+set}" = set; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 cat >conftest.$ac_ext <<_ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20905 rm -f conftest.$ac_objext conftest$ac_exeext
20906 if { (ac_try="$ac_link"
20907 case "(($ac_try" in
20908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20909 *) ac_try_echo
=$ac_try;;
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_link") 2>conftest.er1
20914 grep -v '^ *+' conftest.er1
>conftest.err
20916 cat conftest.err
>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest
$ac_exeext &&
20922 $as_test_x conftest
$ac_exeext; then
20923 ac_cv_have_daylight
="yes"
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.
$ac_ext >&5
20928 ac_cv_have_daylight
="no"
20931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20932 conftest
$ac_exeext conftest.
$ac_ext
20934 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20935 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20936 if test "$ac_cv_have_daylight" = "yes"
20939 cat >>confdefs.h
<<\_ACEOF
20940 #define HAVE_DAYLIGHT 1
20947 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20948 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20949 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20950 echo $ECHO_N "(cached) $ECHO_C" >&6
20952 cat >conftest.
$ac_ext <<_ACEOF
20955 cat confdefs.h
>>conftest.
$ac_ext
20956 cat >>conftest.
$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20963 $EGREP "yes" >/dev
/null
2>&1; then
20964 ac_cv_cpp_def___i386__
=yes
20966 ac_cv_cpp_def___i386__
=no
20971 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20972 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20973 if test $ac_cv_cpp_def___i386__ = yes; then
20974 CFLAGS
="$CFLAGS -D__i386__"
20975 LINTFLAGS
="$LINTFLAGS -D__i386__"
20978 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20979 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20980 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20983 cat >conftest.
$ac_ext <<_ACEOF
20986 cat confdefs.h
>>conftest.
$ac_ext
20987 cat >>conftest.
$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20994 $EGREP "yes" >/dev
/null
2>&1; then
20995 ac_cv_cpp_def___x86_64__
=yes
20997 ac_cv_cpp_def___x86_64__
=no
21002 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21003 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21004 if test $ac_cv_cpp_def___x86_64__ = yes; then
21005 CFLAGS
="$CFLAGS -D__x86_64__"
21006 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21009 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21010 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21011 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21014 cat >conftest.
$ac_ext <<_ACEOF
21017 cat confdefs.h
>>conftest.
$ac_ext
21018 cat >>conftest.
$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21025 $EGREP "yes" >/dev
/null
2>&1; then
21026 ac_cv_cpp_def___ALPHA__
=yes
21028 ac_cv_cpp_def___ALPHA__
=no
21033 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21034 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21035 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21036 CFLAGS
="$CFLAGS -D__ALPHA__"
21037 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21040 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21041 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21042 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 cat >conftest.
$ac_ext <<_ACEOF
21048 cat confdefs.h
>>conftest.
$ac_ext
21049 cat >>conftest.
$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21056 $EGREP "yes" >/dev
/null
2>&1; then
21057 ac_cv_cpp_def___sparc__
=yes
21059 ac_cv_cpp_def___sparc__
=no
21064 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21065 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21066 if test $ac_cv_cpp_def___sparc__ = yes; then
21067 CFLAGS
="$CFLAGS -D__sparc__"
21068 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21071 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21072 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21073 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21074 echo $ECHO_N "(cached) $ECHO_C" >&6
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #ifndef __powerpc__
21086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21087 $EGREP "yes" >/dev
/null
2>&1; then
21088 ac_cv_cpp_def___powerpc__
=yes
21090 ac_cv_cpp_def___powerpc__
=no
21095 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21096 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21097 if test $ac_cv_cpp_def___powerpc__ = yes; then
21098 CFLAGS
="$CFLAGS -D__powerpc__"
21099 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21104 case $host_vendor in
21105 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21106 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21107 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21108 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 cat >conftest.
$ac_ext <<_ACEOF
21113 cat confdefs.h
>>conftest.
$ac_ext
21114 cat >>conftest.
$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21121 $EGREP "yes" >/dev
/null
2>&1; then
21122 ac_cv_cpp_def___sun__
=yes
21124 ac_cv_cpp_def___sun__
=no
21129 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21130 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21131 if test $ac_cv_cpp_def___sun__ = yes; then
21132 CFLAGS
="$CFLAGS -D__sun__"
21133 LINTFLAGS
="$LINTFLAGS -D__sun__"
21139 DEPENDENCIES
="### Dependencies:
21144 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21146 \$(OBJS): \$(IDL_GEN_HEADERS)
21147 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21148 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21149 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21155 ac_config_commands
="$ac_config_commands include/stamp-h"
21158 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21160 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21162 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21164 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21166 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21168 ac_config_commands
="$ac_config_commands include/wine"
21171 MAKE_RULES
=Make.rules
21174 MAKE_DLL_RULES
=dlls
/Makedll.rules
21177 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21180 MAKE_TEST_RULES
=dlls
/Maketest.rules
21183 MAKE_PROG_RULES
=programs
/Makeprog.rules
21186 ac_config_files
="$ac_config_files Make.rules"
21188 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21190 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21192 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21194 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21196 ac_config_files
="$ac_config_files Makefile"
21198 ac_config_files
="$ac_config_files dlls/Makefile"
21200 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21202 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21204 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21206 ac_config_files
="$ac_config_files dlls/adsiid/Makefile"
21208 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21210 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21212 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21214 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21216 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21218 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21220 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21222 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21224 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21226 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21228 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21230 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21232 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21234 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21236 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21238 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21240 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21242 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21244 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21246 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21248 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21250 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21252 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21254 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21256 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21258 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21260 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21262 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21264 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
21266 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
21268 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
21270 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
21272 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
21274 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
21276 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
21278 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
21280 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
21282 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
21284 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
21286 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
21288 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
21290 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
21292 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
21294 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
21296 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
21298 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
21300 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
21302 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
21304 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
21306 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
21308 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
21310 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
21312 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
21314 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
21316 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
21318 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
21320 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
21322 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
21324 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
21326 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
21328 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
21330 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
21332 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
21334 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
21336 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
21338 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
21340 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
21342 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
21344 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
21346 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
21348 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
21350 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
21352 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
21354 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
21356 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
21358 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
21360 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
21362 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
21364 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
21366 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
21368 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
21370 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
21372 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
21374 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
21376 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
21378 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
21380 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
21382 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
21384 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
21386 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
21388 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
21390 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
21392 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
21394 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
21396 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
21398 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
21400 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
21402 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
21404 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
21406 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
21408 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
21410 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
21412 ac_config_files
="$ac_config_files dlls/hal/Makefile"
21414 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
21416 ac_config_files
="$ac_config_files dlls/hid/Makefile"
21418 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
21420 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
21422 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
21424 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
21426 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
21428 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21430 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
21432 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
21434 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
21436 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
21438 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
21440 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
21442 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
21444 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
21446 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
21448 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
21450 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
21452 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
21454 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
21456 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
21458 ac_config_files
="$ac_config_files dlls/itss/Makefile"
21460 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
21462 ac_config_files
="$ac_config_files dlls/jscript/Makefile"
21464 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
21466 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
21468 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
21470 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
21472 ac_config_files
="$ac_config_files dlls/localui/Makefile"
21474 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
21476 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
21478 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
21480 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
21482 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
21484 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
21486 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
21488 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
21490 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
21492 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
21494 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
21496 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
21498 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21500 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
21502 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
21504 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
21506 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
21508 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
21510 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
21512 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
21514 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
21516 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
21518 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
21520 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
21522 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
21524 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
21526 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
21528 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
21530 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
21532 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
21534 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
21536 ac_config_files
="$ac_config_files dlls/msi/Makefile"
21538 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
21540 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
21542 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
21544 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
21546 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
21548 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
21550 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
21552 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
21554 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
21556 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
21558 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
21560 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
21562 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
21564 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
21566 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
21568 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
21570 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
21572 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
21574 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
21576 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
21578 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
21580 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
21582 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
21584 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
21586 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
21588 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
21590 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
21592 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
21594 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21596 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
21598 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
21600 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
21602 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
21604 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
21606 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
21608 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
21610 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
21612 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
21614 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
21616 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
21618 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
21620 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
21622 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
21624 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
21626 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
21628 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
21630 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
21632 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
21634 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
21636 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
21638 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21640 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
21642 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21644 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21646 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21648 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21650 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
21652 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
21654 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21656 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
21658 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21660 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21662 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21664 ac_config_files
="$ac_config_files dlls/query/Makefile"
21666 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21668 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21670 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21672 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21674 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21676 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21678 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21680 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21682 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21684 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
21686 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21688 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21690 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21692 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
21694 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21696 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21698 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21700 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21702 ac_config_files
="$ac_config_files dlls/security/Makefile"
21704 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21706 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21708 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21710 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21712 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21714 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21716 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21718 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21720 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21722 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21724 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21726 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21728 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21730 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21732 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21734 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
21736 ac_config_files
="$ac_config_files dlls/slc/Makefile"
21738 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21740 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21742 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
21744 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21746 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21748 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21750 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21752 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21754 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21756 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21758 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21760 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21762 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21764 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21766 ac_config_files
="$ac_config_files dlls/url/Makefile"
21768 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21770 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21772 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21774 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21776 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21778 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21780 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21782 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21784 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21786 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21788 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21790 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21792 ac_config_files
="$ac_config_files dlls/version/Makefile"
21794 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21796 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21798 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21800 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21802 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21804 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21806 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21808 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21810 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21812 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21814 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21816 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21818 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21820 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21822 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21824 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21826 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21828 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21830 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21832 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21834 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21836 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21838 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21840 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21842 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21844 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21846 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21848 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21850 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21852 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21854 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21856 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21858 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21860 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21862 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21864 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21866 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
21868 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21870 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21872 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21874 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21876 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21878 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21880 ac_config_files
="$ac_config_files documentation/Makefile"
21882 ac_config_files
="$ac_config_files fonts/Makefile"
21884 ac_config_files
="$ac_config_files include/Makefile"
21886 ac_config_files
="$ac_config_files libs/Makefile"
21888 ac_config_files
="$ac_config_files libs/port/Makefile"
21890 ac_config_files
="$ac_config_files libs/wine/Makefile"
21892 ac_config_files
="$ac_config_files libs/wpp/Makefile"
21894 ac_config_files
="$ac_config_files loader/Makefile"
21896 ac_config_files
="$ac_config_files programs/Makefile"
21898 ac_config_files
="$ac_config_files programs/clock/Makefile"
21900 ac_config_files
="$ac_config_files programs/cmd/Makefile"
21902 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
21904 ac_config_files
="$ac_config_files programs/control/Makefile"
21906 ac_config_files
="$ac_config_files programs/eject/Makefile"
21908 ac_config_files
="$ac_config_files programs/expand/Makefile"
21910 ac_config_files
="$ac_config_files programs/explorer/Makefile"
21912 ac_config_files
="$ac_config_files programs/hh/Makefile"
21914 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
21916 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
21918 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
21920 ac_config_files
="$ac_config_files programs/net/Makefile"
21922 ac_config_files
="$ac_config_files programs/notepad/Makefile"
21924 ac_config_files
="$ac_config_files programs/oleview/Makefile"
21926 ac_config_files
="$ac_config_files programs/progman/Makefile"
21928 ac_config_files
="$ac_config_files programs/regedit/Makefile"
21930 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
21932 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
21934 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
21936 ac_config_files
="$ac_config_files programs/secedit/Makefile"
21938 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
21940 ac_config_files
="$ac_config_files programs/start/Makefile"
21942 ac_config_files
="$ac_config_files programs/svchost/Makefile"
21944 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
21946 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
21948 ac_config_files
="$ac_config_files programs/view/Makefile"
21950 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
21952 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
21954 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
21956 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
21958 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
21960 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
21962 ac_config_files
="$ac_config_files programs/winefile/Makefile"
21964 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
21966 ac_config_files
="$ac_config_files programs/winemine/Makefile"
21968 ac_config_files
="$ac_config_files programs/winepath/Makefile"
21970 ac_config_files
="$ac_config_files programs/winetest/Makefile"
21972 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
21974 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
21976 ac_config_files
="$ac_config_files programs/winver/Makefile"
21978 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
21980 ac_config_files
="$ac_config_files programs/write/Makefile"
21982 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
21984 ac_config_files
="$ac_config_files server/Makefile"
21986 ac_config_files
="$ac_config_files tools/Makefile"
21988 ac_config_files
="$ac_config_files tools/widl/Makefile"
21990 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
21992 ac_config_files
="$ac_config_files tools/winedump/Makefile"
21994 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
21996 ac_config_files
="$ac_config_files tools/wmc/Makefile"
21998 ac_config_files
="$ac_config_files tools/wrc/Makefile"
22001 cat >confcache
<<\_ACEOF
22002 # This file is a shell script that caches the results of configure
22003 # tests run on this system so they can be shared between configure
22004 # scripts and configure runs, see configure's option --config-cache.
22005 # It is not useful on other systems. If it contains results you don't
22006 # want to keep, you may remove or edit it.
22008 # config.status only pays attention to the cache file if you give it
22009 # the --recheck option to rerun configure.
22011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22013 # following values.
22017 # The following way of writing the cache mishandles newlines in values,
22018 # but we know of no workaround that is simple, portable, and efficient.
22019 # So, we kill variables containing newlines.
22020 # Ultrix sh set writes to stderr and can't be redirected directly,
22021 # and sets the high bit in the cache file unless we assign to the vars.
22023 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22024 eval ac_val
=\$
$ac_var
22028 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22029 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22032 _ | IFS | as_nl
) ;; #(
22033 *) $as_unset $ac_var ;;
22039 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22040 *${as_nl}ac_space
=\
*)
22041 # `set' does not quote correctly, so add quotes (double-quote
22042 # substitution turns \\\\ into \\, and sed turns \\ into \).
22045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22048 # `set' quotes correctly as required by POSIX, so do not add quotes.
22049 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22060 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22062 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22063 if test -w "$cache_file"; then
22064 test "x$cache_file" != "x/dev/null" &&
22065 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22066 echo "$as_me: updating cache $cache_file" >&6;}
22067 cat confcache
>$cache_file
22069 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22070 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22075 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22076 # Let make expand exec_prefix.
22077 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22079 DEFS
=-DHAVE_CONFIG_H
22083 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22084 # 1. Remove the extension, and $U if already installed.
22085 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22086 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22087 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22088 # will be set to the directory where LIBOBJS objects are built.
22089 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22090 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22092 LIBOBJS
=$ac_libobjs
22094 LTLIBOBJS
=$ac_ltlibobjs
22098 : ${CONFIG_STATUS=./config.status}
22099 ac_clean_files_save
=$ac_clean_files
22100 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22103 cat >$CONFIG_STATUS <<_ACEOF
22105 # Generated by $as_me.
22106 # Run this file to recreate the current configuration.
22107 # Compiler output produced by configure, useful for debugging
22108 # configure, is in config.log if it exists.
22111 ac_cs_recheck=false
22113 SHELL=\${CONFIG_SHELL-$SHELL}
22116 cat >>$CONFIG_STATUS <<\_ACEOF
22117 ## --------------------- ##
22118 ## M4sh Initialization. ##
22119 ## --------------------- ##
22121 # Be more Bourne compatible
22122 DUALCASE
=1; export DUALCASE
# for MKS sh
22123 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22126 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22127 # is contrary to our usage. Disable this feature.
22128 alias -g '${1+"$@"}'='"$@"'
22129 setopt NO_GLOB_SUBST
22131 case `(set -o) 2>/dev/null` in
22132 *posix
*) set -o posix
;;
22141 # Avoid depending upon Character Ranges.
22142 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22143 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22144 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22145 as_cr_digits
='0123456789'
22146 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22148 # The user is always right.
22149 if test "${PATH_SEPARATOR+set}" != set; then
22150 echo "#! /bin/sh" >conf$$.sh
22151 echo "exit 0" >>conf$$.sh
22153 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22161 # Support unset when possible.
22162 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22170 # We need space, tab and new line, in precisely that order. Quoting is
22171 # there to prevent editors from complaining about space-tab.
22172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22173 # splitting by setting IFS to empty value.)
22178 # Find who we are. Look in the path if we contain no directory separator.
22180 *[\\/]* ) as_myself
=$0 ;;
22181 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22182 for as_dir
in $PATH
22185 test -z "$as_dir" && as_dir
=.
22186 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22192 # We did not find ourselves, most probably we were run as `sh COMMAND'
22193 # in which case we are not to be found in the path.
22194 if test "x$as_myself" = x
; then
22197 if test ! -f "$as_myself"; then
22198 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22199 { (exit 1); exit 1; }
22202 # Work around bugs in pre-3.0 UWIN ksh.
22203 for as_var
in ENV MAIL MAILPATH
22204 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22212 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22213 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22214 LC_TELEPHONE LC_TIME
22216 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22217 eval $as_var=C
; export $as_var
22219 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22223 # Required to use basename.
22224 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22225 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22231 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22232 as_basename
=basename
22238 # Name of the executable.
22239 as_me
=`$as_basename -- "$0" ||
22240 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22241 X"$0" : 'X\(//\)$' \| \
22242 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22244 sed '/^.*\/\([^/][^/]*\)\/*$/{
22263 as_lineno_1
=$LINENO
22264 as_lineno_2
=$LINENO
22265 test "x$as_lineno_1" != "x$as_lineno_2" &&
22266 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22268 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22269 # uniformly replaced by the line number. The first 'sed' inserts a
22270 # line-number line after each line using $LINENO; the second 'sed'
22271 # does the real work. The second script uses 'N' to pair each
22272 # line-number line with the line containing $LINENO, and appends
22273 # trailing '-' during substitution so that $LINENO is not a special
22274 # case at line end.
22275 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22276 # scripts with optimization help from Paolo Bonzini. Blame Lee
22277 # E. McMahon (1931-1989) for sed's syntax. :-)
22289 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22292 ' >$as_me.lineno
&&
22293 chmod +x
"$as_me.lineno" ||
22294 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22295 { (exit 1); exit 1; }; }
22297 # Don't try to exec as it changes $[0], causing all sort of problems
22298 # (the dirname of $[0] is not the place where we might find the
22299 # original and so on. Autoconf is especially sensitive to this).
22300 .
"./$as_me.lineno"
22301 # Exit status is that of the last command.
22306 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22312 ECHO_C
= ECHO_N
= ECHO_T
=
22313 case `echo -n x` in
22315 case `echo 'x\c'` in
22316 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22323 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22324 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22330 rm -f conf$$ conf$$.exe conf$$.
file
22331 if test -d conf$$.dir
; then
22332 rm -f conf$$.dir
/conf$$.
file
22338 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22340 # ... but there are two gotchas:
22341 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22342 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22343 # In both cases, we have to default to `cp -p'.
22344 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22346 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22351 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22352 rmdir conf$$.dir
2>/dev
/null
22354 if mkdir
-p .
2>/dev
/null
; then
22357 test -d .
/-p && rmdir .
/-p
22361 if test -x / >/dev
/null
2>&1; then
22362 as_test_x
='test -x'
22364 if ls -dL / >/dev
/null
2>&1; then
22371 if test -d "$1"; then
22377 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22378 ???[sx]*):;;*)false;;esac;fi
22382 as_executable_p
=$as_test_x
22384 # Sed expression to map a string onto a valid CPP name.
22385 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22387 # Sed expression to map a string onto a valid variable name.
22388 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22393 # Save the log message, to keep $[0] and so on meaningful, and to
22394 # report actual input values of CONFIG_FILES etc. instead of their
22395 # values after options handling.
22397 This file was extended by Wine $as_me 0.9.57, which was
22398 generated by GNU Autoconf 2.61. Invocation command line was
22400 CONFIG_FILES = $CONFIG_FILES
22401 CONFIG_HEADERS = $CONFIG_HEADERS
22402 CONFIG_LINKS = $CONFIG_LINKS
22403 CONFIG_COMMANDS = $CONFIG_COMMANDS
22406 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22411 cat >>$CONFIG_STATUS <<_ACEOF
22412 # Files that config.status was made for.
22413 config_files="$ac_config_files"
22414 config_headers="$ac_config_headers"
22415 config_commands="$ac_config_commands"
22419 cat >>$CONFIG_STATUS <<\_ACEOF
22421 \`$as_me' instantiates files from templates according to the
22422 current configuration.
22424 Usage: $0 [OPTIONS] [FILE]...
22426 -h, --help print this help, then exit
22427 -V, --version print version number and configuration settings, then exit
22428 -q, --quiet do not print progress messages
22429 -d, --debug don't remove temporary files
22430 --recheck update $as_me by reconfiguring in the same conditions
22431 --file=FILE[:TEMPLATE]
22432 instantiate the configuration file FILE
22433 --header=FILE[:TEMPLATE]
22434 instantiate the configuration header FILE
22436 Configuration files:
22439 Configuration headers:
22442 Configuration commands:
22445 Report bugs to <bug-autoconf@gnu.org>."
22448 cat >>$CONFIG_STATUS <<_ACEOF
22450 Wine config.status 0.9.57
22451 configured by $0, generated by GNU Autoconf 2.61,
22452 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22454 Copyright (C) 2006 Free Software Foundation, Inc.
22455 This config.status script is free software; the Free Software Foundation
22456 gives unlimited permission to copy, distribute and modify it."
22463 cat >>$CONFIG_STATUS <<\_ACEOF
22464 # If no file are specified by the user, then we need to provide default
22465 # value. By we need to know if files were specified by the user.
22471 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22472 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22483 # Handling of the options.
22484 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22486 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22487 echo "$ac_cs_version"; exit ;;
22488 --debug |
--debu |
--deb |
--de |
--d |
-d )
22490 --file |
--fil |
--fi |
--f )
22492 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22493 ac_need_defaults
=false
;;
22494 --header |
--heade |
--head |
--hea )
22496 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22497 ac_need_defaults
=false
;;
22499 # Conflict between --help and --header
22500 { echo "$as_me: error: ambiguous option: $1
22501 Try \`$0 --help' for more information." >&2
22502 { (exit 1); exit 1; }; };;
22503 --help |
--hel |
-h )
22504 echo "$ac_cs_usage"; exit ;;
22505 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22506 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22509 # This is an error.
22510 -*) { echo "$as_me: error: unrecognized option: $1
22511 Try \`$0 --help' for more information." >&2
22512 { (exit 1); exit 1; }; } ;;
22514 *) ac_config_targets
="$ac_config_targets $1"
22515 ac_need_defaults
=false
;;
22521 ac_configure_extra_args
=
22523 if $ac_cs_silent; then
22525 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22529 cat >>$CONFIG_STATUS <<_ACEOF
22530 if \$ac_cs_recheck; then
22531 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22532 CONFIG_SHELL=$SHELL
22533 export CONFIG_SHELL
22534 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22538 cat >>$CONFIG_STATUS <<\_ACEOF
22542 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22543 ## Running $as_me. ##
22549 cat >>$CONFIG_STATUS <<_ACEOF
22552 cat >>$CONFIG_STATUS <<\_ACEOF
22554 # Handling of arguments.
22555 for ac_config_target
in $ac_config_targets
22557 case $ac_config_target in
22558 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22559 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22560 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22561 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22562 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22563 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22564 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22565 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22566 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22567 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22568 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22569 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22570 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22571 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22572 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22573 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22574 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22575 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22576 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22577 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22578 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22579 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22580 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22581 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22582 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22583 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22584 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22585 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22586 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22587 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22588 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22589 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22590 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22591 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22592 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22593 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22594 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22595 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22596 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22597 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22598 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22599 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22600 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22601 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22602 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22603 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22604 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22605 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22606 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22607 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22608 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22609 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22610 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22611 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22612 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22613 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22614 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22615 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22616 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22617 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22618 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22619 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22620 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22621 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22622 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22623 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22624 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22625 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22626 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22627 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22628 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22629 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22630 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22631 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22632 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22633 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22634 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22635 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22636 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22637 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22638 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22639 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22640 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22641 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22642 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22643 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22644 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22645 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22646 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22647 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22648 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22649 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22650 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22651 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22652 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22653 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22654 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22655 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22656 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22657 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22658 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22659 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22660 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22661 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22662 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22663 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22664 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22665 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22666 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22667 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22668 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22669 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22670 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22671 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22672 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22673 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22674 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22675 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22676 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22677 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22678 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22679 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22680 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22681 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22682 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22683 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22684 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22685 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22686 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22687 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22688 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22689 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22690 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22691 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22692 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22693 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22694 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22695 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22696 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
22697 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22698 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22699 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22700 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22701 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
22702 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22703 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22704 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
22705 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22706 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22707 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22708 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22709 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22710 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22711 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22712 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22713 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22714 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22715 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22716 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22717 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22718 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22719 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22720 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22721 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22722 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22723 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22724 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22725 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22726 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22727 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22728 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22729 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22730 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22731 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22732 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22733 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22734 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22735 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22736 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22737 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22738 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22739 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22740 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22741 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22742 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22743 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22744 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22745 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22746 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22747 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22748 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22749 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22750 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22751 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22752 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22753 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22754 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22755 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22756 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22757 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22758 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22759 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22760 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22761 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22762 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22763 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22764 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22765 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22766 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22767 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22768 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22769 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22770 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22771 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22772 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22773 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22774 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22775 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22776 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22777 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22778 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22779 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22780 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22781 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22782 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22783 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22784 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22785 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22786 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22787 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22788 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22789 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22790 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22791 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22792 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22793 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
22794 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22795 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22796 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22797 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22798 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
22799 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22800 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22801 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22802 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22803 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22804 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22805 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22806 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22807 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22808 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22809 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22810 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22811 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22812 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22813 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22814 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22815 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22816 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22817 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22818 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22819 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22820 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22821 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22822 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22823 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22824 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22825 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22826 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22827 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22828 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22829 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22830 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22831 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22832 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22833 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22834 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22835 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22836 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22837 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22838 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22839 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22840 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22841 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
22842 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22843 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22844 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
22845 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22846 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22847 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22848 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22849 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22850 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22851 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22852 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22853 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22854 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22855 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22856 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22857 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22858 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22859 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22860 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22861 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22862 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22863 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22864 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22865 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22866 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22867 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22868 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22869 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22870 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22871 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22872 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22873 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22874 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22875 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22876 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22877 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22878 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22879 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22880 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22881 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22882 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22883 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22884 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22885 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22886 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22887 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22888 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22889 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22890 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22891 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22892 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22893 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22894 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22895 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22896 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22897 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22898 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22899 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22900 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22901 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22902 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22903 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22904 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22905 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22906 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
22907 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22908 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22909 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22910 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22911 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22912 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22913 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22914 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22915 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22916 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22917 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22918 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22919 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22920 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22921 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22922 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22923 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22924 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22925 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22926 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22927 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22928 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22929 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22930 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22931 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22932 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22933 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22934 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22935 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22936 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22937 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22938 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22939 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22940 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22941 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
22942 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22943 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22944 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22945 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22946 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22947 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22948 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22949 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22950 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22951 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22952 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22953 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22954 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22955 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22956 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22957 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22958 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22959 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22960 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22961 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22962 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22963 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22964 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22965 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22966 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22967 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22968 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22969 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22970 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22971 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22972 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22974 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22975 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22976 { (exit 1); exit 1; }; };;
22981 # If the user did not use the arguments to specify the items to instantiate,
22982 # then the envvar interface is used. Set only those that are not.
22983 # We use the long form for the default assignment because of an extremely
22984 # bizarre bug on SunOS 4.1.3.
22985 if $ac_need_defaults; then
22986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22991 # Have a temporary directory for convenience. Make it in the build tree
22992 # simply because there is no reason against having it here, and in addition,
22993 # creating and moving files from /tmp can sometimes cause problems.
22994 # Hook for its removal unless debugging.
22995 # Note that there is a small window in which the directory will not be cleaned:
22996 # after its creation but before its name has been assigned to `$tmp'.
23000 trap 'exit_status=$?
23001 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23003 trap '{ (exit 1); exit 1; }' 1 2 13 15
23005 # Create a (secure) tmp directory for tmp files.
23008 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23009 test -n "$tmp" && test -d "$tmp"
23012 tmp
=.
/conf$$
-$RANDOM
23013 (umask 077 && mkdir
"$tmp")
23016 echo "$me: cannot create a temporary directory in ." >&2
23017 { (exit 1); exit 1; }
23021 # Set up the sed scripts for CONFIG_FILES section.
23024 # No need to generate the scripts if there are no CONFIG_FILES.
23025 # This happens for instance when ./config.status config.h
23026 if test -n "$CONFIG_FILES"; then
23030 # Create sed commands to just substitute file output variables.
23032 # Remaining file output variables are in a fragment that also has non-file
23038 for ac_last_try
in false false false false false
:; do
23039 cat >conf$
$subs.
sed <<_ACEOF
23040 SHELL!$SHELL$ac_delim
23041 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23042 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23043 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23044 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23045 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23046 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23047 exec_prefix!$exec_prefix$ac_delim
23048 prefix!$prefix$ac_delim
23049 program_transform_name!$program_transform_name$ac_delim
23050 bindir!$bindir$ac_delim
23051 sbindir!$sbindir$ac_delim
23052 libexecdir!$libexecdir$ac_delim
23053 datarootdir!$datarootdir$ac_delim
23054 datadir!$datadir$ac_delim
23055 sysconfdir!$sysconfdir$ac_delim
23056 sharedstatedir!$sharedstatedir$ac_delim
23057 localstatedir!$localstatedir$ac_delim
23058 includedir!$includedir$ac_delim
23059 oldincludedir!$oldincludedir$ac_delim
23060 docdir!$docdir$ac_delim
23061 infodir!$infodir$ac_delim
23062 htmldir!$htmldir$ac_delim
23063 dvidir!$dvidir$ac_delim
23064 pdfdir!$pdfdir$ac_delim
23065 psdir!$psdir$ac_delim
23066 libdir!$libdir$ac_delim
23067 localedir!$localedir$ac_delim
23068 mandir!$mandir$ac_delim
23069 DEFS!$DEFS$ac_delim
23070 ECHO_C!$ECHO_C$ac_delim
23071 ECHO_N!$ECHO_N$ac_delim
23072 ECHO_T!$ECHO_T$ac_delim
23073 LIBS!$LIBS$ac_delim
23074 build_alias!$build_alias$ac_delim
23075 host_alias!$host_alias$ac_delim
23076 target_alias!$target_alias$ac_delim
23077 build!$build$ac_delim
23078 build_cpu!$build_cpu$ac_delim
23079 build_vendor!$build_vendor$ac_delim
23080 build_os!$build_os$ac_delim
23081 host!$host$ac_delim
23082 host_cpu!$host_cpu$ac_delim
23083 host_vendor!$host_vendor$ac_delim
23084 host_os!$host_os$ac_delim
23085 WIN16_FILES!$WIN16_FILES$ac_delim
23086 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23087 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23088 WINETEST!$WINETEST$ac_delim
23089 SET_MAKE!$SET_MAKE$ac_delim
23091 CFLAGS!$CFLAGS$ac_delim
23092 LDFLAGS!$LDFLAGS$ac_delim
23093 CPPFLAGS!$CPPFLAGS$ac_delim
23094 ac_ct_CC!$ac_ct_CC$ac_delim
23095 EXEEXT!$EXEEXT$ac_delim
23096 OBJEXT!$OBJEXT$ac_delim
23098 CXXFLAGS!$CXXFLAGS$ac_delim
23099 ac_ct_CXX!$ac_ct_CXX$ac_delim
23100 CPPBIN!$CPPBIN$ac_delim
23101 TOOLSDIR!$TOOLSDIR$ac_delim
23102 XMKMF!$XMKMF$ac_delim
23104 X_CFLAGS!$X_CFLAGS$ac_delim
23105 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23106 X_LIBS!$X_LIBS$ac_delim
23107 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23108 FLEX!$FLEX$ac_delim
23109 BISON!$BISON$ac_delim
23111 ac_ct_AS!$ac_ct_AS$ac_delim
23114 ARFLAGS!$ARFLAGS$ac_delim
23115 RANLIB!$RANLIB$ac_delim
23116 STRIP!$STRIP$ac_delim
23117 WINDRES!$WINDRES$ac_delim
23118 LN_S!$LN_S$ac_delim
23120 GREP!$GREP$ac_delim
23121 EGREP!$EGREP$ac_delim
23124 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23126 elif $ac_last_try; then
23127 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23128 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23129 { (exit 1); exit 1; }; }
23131 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23135 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23136 if test -n "$ac_eof"; then
23137 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23138 ac_eof
=`expr $ac_eof + 1`
23141 cat >>$CONFIG_STATUS <<_ACEOF
23142 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23144 /^[ ]*@MAKE_RULES@[ ]*$/{
23148 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23152 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23153 r $MAKE_IMPLIB_RULES
23156 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23160 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23166 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23167 s/^/s,@/; s/!/@,|#_!!_#|/
23170 s/'"$ac_delim"'$/,g/; t
23172 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23173 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23174 rm -f conf$
$subs.
sed
23175 cat >>$CONFIG_STATUS <<_ACEOF
23181 for ac_last_try
in false false false false false
:; do
23182 cat >conf$
$subs.
sed <<_ACEOF
23183 LDCONFIG!$LDCONFIG$ac_delim
23184 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23185 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23186 INSTALL_DATA!$INSTALL_DATA$ac_delim
23187 LINT!$LINT$ac_delim
23188 LINTFLAGS!$LINTFLAGS$ac_delim
23189 FONTFORGE!$FONTFORGE$ac_delim
23190 PKG_CONFIG!$PKG_CONFIG$ac_delim
23191 PRELINK!$PRELINK$ac_delim
23192 LIBPTHREAD!$LIBPTHREAD$ac_delim
23193 XLIB!$XLIB$ac_delim
23194 XFILES!$XFILES$ac_delim
23195 OPENGLFILES!$OPENGLFILES$ac_delim
23196 GLU32FILES!$GLU32FILES$ac_delim
23197 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23198 QUARTZFILES!$QUARTZFILES$ac_delim
23199 DLLEXT!$DLLEXT$ac_delim
23200 DLLFLAGS!$DLLFLAGS$ac_delim
23201 LDSHARED!$LDSHARED$ac_delim
23202 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23203 LIBEXT!$LIBEXT$ac_delim
23204 IMPLIBEXT!$IMPLIBEXT$ac_delim
23205 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23206 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23208 DLLTOOL!$DLLTOOL$ac_delim
23209 DLLWRAP!$DLLWRAP$ac_delim
23210 MINGWAR!$MINGWAR$ac_delim
23211 SECURITYLIB!$SECURITYLIB$ac_delim
23212 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23213 IOKITLIB!$IOKITLIB$ac_delim
23214 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23215 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23216 COREAUDIO!$COREAUDIO$ac_delim
23217 CARBONLIB!$CARBONLIB$ac_delim
23218 CROSSTEST!$CROSSTEST$ac_delim
23219 CROSSCC!$CROSSCC$ac_delim
23220 CROSSWINDRES!$CROSSWINDRES$ac_delim
23221 NASLIBS!$NASLIBS$ac_delim
23222 XML2LIBS!$XML2LIBS$ac_delim
23223 XML2INCL!$XML2INCL$ac_delim
23224 XSLTLIBS!$XSLTLIBS$ac_delim
23225 XSLTINCL!$XSLTINCL$ac_delim
23226 HALINCL!$HALINCL$ac_delim
23227 sane_devel!$sane_devel$ac_delim
23228 SANEINCL!$SANEINCL$ac_delim
23229 gphoto2_devel!$gphoto2_devel$ac_delim
23230 gphoto2port_devel!$gphoto2port_devel$ac_delim
23231 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23232 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23233 RESOLVLIBS!$RESOLVLIBS$ac_delim
23234 LCMSLIBS!$LCMSLIBS$ac_delim
23235 LDAPLIBS!$LDAPLIBS$ac_delim
23236 ft_devel!$ft_devel$ac_delim
23237 FREETYPELIBS!$FREETYPELIBS$ac_delim
23238 FREETYPEINCL!$FREETYPEINCL$ac_delim
23239 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23240 ESDCONFIG!$ESDCONFIG$ac_delim
23241 ESDLIBS!$ESDLIBS$ac_delim
23242 ESDINCL!$ESDINCL$ac_delim
23243 ALSALIBS!$ALSALIBS$ac_delim
23244 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23245 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23246 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23247 BUILTINFLAG!$BUILTINFLAG$ac_delim
23248 LDPATH!$LDPATH$ac_delim
23249 CRTLIBS!$CRTLIBS$ac_delim
23250 SOCKETLIBS!$SOCKETLIBS$ac_delim
23251 MAIN_BINARY!$MAIN_BINARY$ac_delim
23252 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23253 LIBDL!$LIBDL$ac_delim
23254 LIBPOLL!$LIBPOLL$ac_delim
23255 DEPENDENCIES!$DEPENDENCIES$ac_delim
23256 LIBOBJS!$LIBOBJS$ac_delim
23257 LTLIBOBJS!$LTLIBOBJS$ac_delim
23260 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
23262 elif $ac_last_try; then
23263 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23264 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23265 { (exit 1); exit 1; }; }
23267 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23271 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23272 if test -n "$ac_eof"; then
23273 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23274 ac_eof
=`expr $ac_eof + 1`
23277 cat >>$CONFIG_STATUS <<_ACEOF
23278 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23279 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23282 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23283 s/^/s,@/; s/!/@,|#_!!_#|/
23286 s/'"$ac_delim"'$/,g/; t
23288 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23289 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23290 rm -f conf$
$subs.
sed
23291 cat >>$CONFIG_STATUS <<_ACEOF
23298 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23299 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23300 # trailing colons and then remove the whole line if VPATH becomes empty
23301 # (actually we leave an empty line to preserve line numbers).
23302 if test "x$srcdir" = x.
; then
23303 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23304 s/:*\$(srcdir):*/:/
23305 s/:*\${srcdir}:*/:/
23307 s/^\([^=]*=[ ]*\):*/\1/
23313 cat >>$CONFIG_STATUS <<\_ACEOF
23314 fi # test -n "$CONFIG_FILES"
23317 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23320 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23322 case $ac_mode$ac_tag in
23324 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23325 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23326 { (exit 1); exit 1; }; };;
23327 :[FH
]-) ac_tag
=-:-;;
23328 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23345 -) ac_f
="$tmp/stdin";;
23346 *) # Look for the file first in the build tree, then in the source tree
23347 # (if the path is not absolute). The absolute path cannot be DOS-style,
23348 # because $ac_f cannot contain `:'.
23352 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23354 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23355 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23356 { (exit 1); exit 1; }; };;
23358 ac_file_inputs
="$ac_file_inputs $ac_f"
23361 # Let's still pretend it is `configure' which instantiates (i.e., don't
23362 # use $as_me), people would be surprised to read:
23363 # /* config.h. Generated by config.status. */
23364 configure_input
="Generated from "`IFS=:
23365 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23366 if test x
"$ac_file" != x-
; then
23367 configure_input
="$ac_file. $configure_input"
23368 { echo "$as_me:$LINENO: creating $ac_file" >&5
23369 echo "$as_me: creating $ac_file" >&6;}
23373 *:-:* |
*:-) cat >"$tmp/stdin";;
23378 ac_dir
=`$as_dirname -- "$ac_file" ||
23379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23380 X"$ac_file" : 'X\(//\)[^/]' \| \
23381 X"$ac_file" : 'X\(//\)$' \| \
23382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23388 /^X\(\/\/\)[^/].*/{
23403 -*) as_dir
=.
/$as_dir;;
23405 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23409 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23410 *) as_qdir
=$as_dir;;
23412 as_dirs
="'$as_qdir' $as_dirs"
23413 as_dir
=`$as_dirname -- "$as_dir" ||
23414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23415 X"$as_dir" : 'X\(//\)[^/]' \| \
23416 X"$as_dir" : 'X\(//\)$' \| \
23417 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23423 /^X\(\/\/\)[^/].*/{
23436 test -d "$as_dir" && break
23438 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23439 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23440 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23441 { (exit 1); exit 1; }; }; }
23445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23447 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23448 # A ".." for each directory in $ac_dir_suffix.
23449 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23450 case $ac_top_builddir_sub in
23451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23455 ac_abs_top_builddir
=$ac_pwd
23456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23457 # for backward compatibility:
23458 ac_top_builddir
=$ac_top_build_prefix
23461 .
) # We are building in place.
23463 ac_top_srcdir
=$ac_top_builddir_sub
23464 ac_abs_top_srcdir
=$ac_pwd ;;
23465 [\\/]* | ?
:[\\/]* ) # Absolute name.
23466 ac_srcdir
=$srcdir$ac_dir_suffix;
23467 ac_top_srcdir
=$srcdir
23468 ac_abs_top_srcdir
=$srcdir ;;
23469 *) # Relative name.
23470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23484 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23485 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23489 cat >>$CONFIG_STATUS <<\_ACEOF
23490 # If the template does not know about datarootdir, expand it.
23491 # FIXME: This hack should be removed a few years after 2.60.
23492 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23494 case `sed -n '/datarootdir/ {
23503 ' $ac_file_inputs` in
23504 *datarootdir
*) ac_datarootdir_seen
=yes;;
23505 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23506 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23507 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23509 cat >>$CONFIG_STATUS <<_ACEOF
23510 ac_datarootdir_hack='
23511 s&@datadir@&$datadir&g
23512 s&@docdir@&$docdir&g
23513 s&@infodir@&$infodir&g
23514 s&@localedir@&$localedir&g
23515 s&@mandir@&$mandir&g
23516 s&\\\${datarootdir}&$datarootdir&g' ;;
23520 # Neutralize VPATH when `$srcdir' = `.'.
23521 # Shell code in configure.ac might set extrasub.
23522 # FIXME: do we really want to maintain this feature?
23523 cat >>$CONFIG_STATUS <<_ACEOF
23527 cat >>$CONFIG_STATUS <<\_ACEOF
23529 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23530 s
&@configure_input@
&$configure_input&;t t
23531 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23532 s
&@srcdir@
&$ac_srcdir&;t t
23533 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23534 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23535 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23536 s
&@builddir@
&$ac_builddir&;t t
23537 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23538 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23539 s
&@INSTALL@
&$ac_INSTALL&;t t
23540 $ac_datarootdir_hack
23541 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23544 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23546 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23547 which seems to be undefined. Please make sure it is defined." >&5
23548 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23549 which seems to be undefined. Please make sure it is defined." >&2;}
23553 -) cat "$tmp/out"; rm -f "$tmp/out";;
23554 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23563 # Transform confdefs.h into a sed script `conftest.defines', that
23564 # substitutes the proper values into config.h.in to produce config.h.
23565 rm -f conftest.defines conftest.
tail
23566 # First, append a space to every undef/define line, to ease matching.
23567 echo 's/$/ /' >conftest.defines
23568 # Then, protect against being on the right side of a sed subst, or in
23569 # an unquoted here document, in config.status. If some macros were
23570 # called several times there might be several #defines for the same
23571 # symbol, which is useless. But do not sort them, since the last
23572 # AC_DEFINE must be honored.
23573 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23574 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23575 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23576 # PARAMS is the parameter list in the macro definition--in most cases, it's
23577 # just an empty string.
23578 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23579 ac_dB
='\\)[ (].*,\\1define\\2'
23587 s/^[ ]*#[ ]*define[ ][ ]*//
23592 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23593 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23594 ' >>conftest.defines
23596 # Remove the space that was appended to ease matching.
23597 # Then replace #undef with comments. This is necessary, for
23598 # example, in the case of _POSIX_SOURCE, which is predefined and required
23599 # on some systems where configure will not decide to define it.
23600 # (The regexp can be short, since the line contains either #define or #undef.)
23602 s,^[ #]*u.*,/* & */,' >>conftest.defines
23604 # Break up conftest.defines:
23605 ac_max_sed_lines
=50
23607 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23608 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23609 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23611 ac_in
='$ac_file_inputs'
23612 ac_out
='"$tmp/out1"'
23613 ac_nxt
='"$tmp/out2"'
23617 # Write a here document:
23618 cat >>$CONFIG_STATUS <<_ACEOF
23619 # First, check the format of the line:
23620 cat >"\$tmp/defines.sed" <<\\CEOF
23621 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23622 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23626 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23628 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23629 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23630 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23631 grep . conftest.
tail >/dev
/null ||
break
23632 rm -f conftest.defines
23633 mv conftest.
tail conftest.defines
23635 rm -f conftest.defines conftest.
tail
23637 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23638 cat >>$CONFIG_STATUS <<\_ACEOF
23639 if test x
"$ac_file" != x-
; then
23640 echo "/* $configure_input */" >"$tmp/config.h"
23641 cat "$ac_result" >>"$tmp/config.h"
23642 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23643 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23644 echo "$as_me: $ac_file is unchanged" >&6;}
23647 mv "$tmp/config.h" $ac_file
23650 echo "/* $configure_input */"
23656 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23657 echo "$as_me: executing $ac_file commands" >&6;}
23662 case $ac_file$ac_mode in
23663 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23664 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23665 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
23666 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23667 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
23668 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23669 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
23670 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23671 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
23672 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23673 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
23674 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
23675 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23681 { (exit 0); exit 0; }
23683 chmod +x
$CONFIG_STATUS
23684 ac_clean_files
=$ac_clean_files_save
23687 # configure is writing to config.log, and then calls config.status.
23688 # config.status does its own redirection, appending to config.log.
23689 # Unfortunately, on DOS this fails, as config.log is still kept open
23690 # by configure, so config.status won't be able to write to it; its
23691 # output is simply discarded. So we exec the FD to /dev/null,
23692 # effectively closing config.log, so it can be properly (re)opened and
23693 # appended to by config.status. When coming back to configure, we
23694 # need to make the FD available again.
23695 if test "$no_create" != yes; then
23697 ac_config_status_args
=
23698 test "$silent" = yes &&
23699 ac_config_status_args
="$ac_config_status_args --quiet"
23701 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23703 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23704 # would make configure fail if this is the last instruction.
23705 $ac_cs_success ||
{ (exit 1); exit 1; }
23709 if test "$no_create" = "yes"
23716 if test "x$wine_notices != "x
; then
23718 for msg
in $wine_notices; do
23719 if test -n "$msg"; then
23720 { echo "$as_me:$LINENO: $msg" >&5
23721 echo "$as_me: $msg" >&6;}
23725 for msg
in $wine_warnings; do
23726 if test -n "$msg"; then
23728 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23729 echo "$as_me: WARNING: $msg" >&2;}
23735 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.