2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.32.
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.32'
578 PACKAGE_STRING
='Wine 0.9.32'
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.32 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.32:";;
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
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-opengl do not use OpenGL
1379 --with-wine-tools=<dir> use Wine tools from directory <dir>
1380 --with-x use the X Window System
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1392 XMKMF Path to xmkmf, Makefile generator for X Window System
1395 Use these variables to override the choices made by `configure' or to
help
1396 it to
find libraries and programs with nonstandard names
/locations.
1398 Report bugs to
<wine-devel@winehq.org
>.
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1406 test -d "$ac_dir" ||
continue
1410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1420 ac_abs_top_builddir
=$ac_pwd
1421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir
=$ac_top_build_prefix
1426 .
) # We are building in place.
1428 ac_top_srcdir
=$ac_top_builddir_sub
1429 ac_abs_top_srcdir
=$ac_pwd ;;
1430 [\\/]* | ?
:[\\/]* ) # Absolute name.
1431 ac_srcdir
=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir
=$srcdir
1433 ac_abs_top_srcdir
=$srcdir ;;
1435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1459 Wine configure
0.9.32
1460 generated by GNU Autoconf
2.61
1462 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1464 This configure
script is free software
; the Free Software Foundation
1465 gives unlimited permission to copy
, distribute and modify it.
1469 cat >config.log
<<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by Wine $as_me 0.9.32, which was
1474 generated by GNU Autoconf 2.61. Invocation command line was
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1509 test -z "$as_dir" && as_dir
=.
1510 echo "PATH: $as_dir"
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_must_keep_next
=false
1540 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1542 |
-silent |
--silent |
--silen |
--sile |
--sil)
1545 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1548 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1550 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true
; then
1552 ac_must_keep_next
=false
# Got value, back to normal.
1555 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1556 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1557 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1558 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1563 -* ) ac_must_keep_next
=true
;;
1566 ac_configure_args
="$ac_configure_args '$ac_arg'"
1571 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1572 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1585 ## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1601 _ | IFS | as_nl) ;; #(
1602 *) $as_unset $ac_var ;;
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1622 ## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##
1627 for ac_var in $ac_subst_vars
1629 eval ac_val=\$$ac_var
1631 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 echo "$ac_var='\''$ac_val'\''"
1637 if test -n "$ac_subst_files"; then
1639 ## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##
1644 for ac_var
in $ac_subst_files
1646 eval ac_val
=\$
$ac_var
1648 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 echo "$ac_var='\''$ac_val'\''"
1655 if test -s confdefs.h; then
1665 test "$ac_signal" != 0 &&
1666 echo "$as_me: caught signal $ac_signal"
1667 echo "$as_me: exit $exit_status"
1669 rm -f core *.core core.conftest.* &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 for ac_signal
in 1 2 13 15; do
1674 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1678 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1679 rm -f -r conftest
* confdefs.h
1681 # Predefined preprocessor variables.
1683 cat >>confdefs.h
<<_ACEOF
1684 #define PACKAGE_NAME "$PACKAGE_NAME"
1688 cat >>confdefs.h
<<_ACEOF
1689 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1693 cat >>confdefs.h
<<_ACEOF
1694 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1698 cat >>confdefs.h
<<_ACEOF
1699 #define PACKAGE_STRING "$PACKAGE_STRING"
1703 cat >>confdefs.h
<<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1708 # Let the site file select an alternate cache file if it wants to.
1709 # Prefer explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 set x
"$CONFIG_SITE"
1712 elif test "x$prefix" != xNONE
; then
1713 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1715 set x
"$ac_default_prefix/share/config.site" \
1716 "$ac_default_prefix/etc/config.site"
1721 if test -r "$ac_site_file"; then
1722 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1723 echo "$as_me: loading site script $ac_site_file" >&6;}
1724 sed 's/^/| /' "$ac_site_file" >&5
1729 if test -r "$cache_file"; then
1730 # Some versions of bash will fail to source /dev/null (special
1731 # files actually), so we avoid doing that.
1732 if test -f "$cache_file"; then
1733 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1734 echo "$as_me: loading cache $cache_file" >&6;}
1736 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1737 *) .
"./$cache_file";;
1741 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1742 echo "$as_me: creating cache $cache_file" >&6;}
1746 # Check that the precious variables saved in the cache have kept the same
1748 ac_cache_corrupted
=false
1749 for ac_var
in $ac_precious_vars; do
1750 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1751 eval ac_new_set
=\
$ac_env_${ac_var}_set
1752 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1753 eval ac_new_val
=\
$ac_env_${ac_var}_value
1754 case $ac_old_set,$ac_new_set in
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1758 ac_cache_corrupted
=: ;;
1760 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1761 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1762 ac_cache_corrupted
=: ;;
1765 if test "x$ac_old_val" != "x$ac_new_val"; then
1766 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1769 echo "$as_me: former value: $ac_old_val" >&2;}
1770 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1771 echo "$as_me: current value: $ac_new_val" >&2;}
1772 ac_cache_corrupted
=:
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1778 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg
=$ac_var=$ac_new_val ;;
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1787 if $ac_cache_corrupted; then
1788 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1820 ac_cpp
='$CPP $CPPFLAGS'
1821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1827 ac_config_headers
="$ac_config_headers include/config.h"
1830 for ac_dir
in tools
"$srcdir"/tools
; do
1831 if test -f "$ac_dir/install-sh"; then
1833 ac_install_sh
="$ac_aux_dir/install-sh -c"
1835 elif test -f "$ac_dir/install.sh"; then
1837 ac_install_sh
="$ac_aux_dir/install.sh -c"
1839 elif test -f "$ac_dir/shtool"; then
1841 ac_install_sh
="$ac_aux_dir/shtool install -c"
1845 if test -z "$ac_aux_dir"; then
1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1847 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # These three variables are undocumented and unsupported,
1852 # and are intended to be withdrawn in a future Autoconf release.
1853 # They can cause serious problems if a builder's source tree is in a directory
1854 # whose full name contains unusual characters.
1855 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1856 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1857 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Check whether --enable-win16 was given.
1863 if test "${enable_win16+set}" = set; then
1864 enableval
=$enable_win16;
1867 # Check whether --enable-win64 was given.
1868 if test "${enable_win64+set}" = set; then
1869 enableval
=$enable_win64;
1874 # Check whether --with-opengl was given.
1875 if test "${with_opengl+set}" = set; then
1876 withval
=$with_opengl;
1880 # Check whether --with-wine-tools was given.
1881 if test "${with_wine_tools+set}" = set; then
1882 withval
=$with_wine_tools;
1886 # Make sure we can run config.sub.
1887 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1888 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1889 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1890 { (exit 1); exit 1; }; }
1892 { echo "$as_me:$LINENO: checking build system type" >&5
1893 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1894 if test "${ac_cv_build+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 ac_build_alias
=$build_alias
1898 test "x$ac_build_alias" = x
&&
1899 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1900 test "x$ac_build_alias" = x
&&
1901 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1902 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1903 { (exit 1); exit 1; }; }
1904 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1905 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1906 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1907 { (exit 1); exit 1; }; }
1910 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1911 echo "${ECHO_T}$ac_cv_build" >&6; }
1912 case $ac_cv_build in
1914 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1915 echo "$as_me: error: invalid value of canonical build" >&2;}
1916 { (exit 1); exit 1; }; };;
1919 ac_save_IFS
=$IFS; IFS
='-'
1925 # Remember, the first character of IFS is used to create $*,
1926 # except with old shells:
1929 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1932 { echo "$as_me:$LINENO: checking host system type" >&5
1933 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1934 if test "${ac_cv_host+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 if test "x$host_alias" = x
; then
1938 ac_cv_host
=$ac_cv_build
1940 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1941 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1942 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1943 { (exit 1); exit 1; }; }
1947 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1948 echo "${ECHO_T}$ac_cv_host" >&6; }
1951 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1952 echo "$as_me: error: invalid value of canonical host" >&2;}
1953 { (exit 1); exit 1; }; };;
1956 ac_save_IFS
=$IFS; IFS
='-'
1962 # Remember, the first character of IFS is used to create $*,
1963 # except with old shells:
1966 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1971 if test "x$enable_win64" != "xyes"
1973 test -n "$CC" || CC
="gcc -m32"
1974 test -n "$LD" || LD
="ld -m elf_i386"
1975 test -n "$AS" || AS
="as --32"
1983 if test "x$enable_win16" != "xno"
1990 WIN16_FILES
="\$(WIN16_FILES)"
1992 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1994 if test "x$enable_win16" != "xyes"
2002 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2003 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2004 You need to run 'make distclean' in the source tree first." >&5
2005 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2006 You need to run 'make distclean' in the source tree first." >&2;}
2007 { (exit 1); exit 1; }; }
2012 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2014 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2015 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 cat >conftest.
make <<\_ACEOF
2021 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2026 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2028 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2032 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2033 { echo "$as_me:$LINENO: result: yes" >&5
2034 echo "${ECHO_T}yes" >&6; }
2037 { echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6; }
2039 SET_MAKE
="MAKE=${MAKE-make}"
2043 ac_cpp
='$CPP $CPPFLAGS'
2044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2047 if test -n "$ac_tool_prefix"; then
2048 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2049 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2052 if test "${ac_cv_prog_CC+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 if test -n "$CC"; then
2056 ac_cv_prog_CC
="$CC" # Let the user override the test.
2058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir
=.
2063 for ac_exec_ext
in '' $ac_executable_extensions; do
2064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2065 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 if test -n "$CC"; then
2077 { echo "$as_me:$LINENO: result: $CC" >&5
2078 echo "${ECHO_T}$CC" >&6; }
2080 { echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6; }
2086 if test -z "$ac_cv_prog_CC"; then
2088 # Extract the first word of "gcc", so it can be a program name with args.
2089 set dummy gcc
; ac_word
=$2
2090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 if test -n "$ac_ct_CC"; then
2096 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir
=.
2103 for ac_exec_ext
in '' $ac_executable_extensions; do
2104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2105 ac_cv_prog_ac_ct_CC
="gcc"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2116 if test -n "$ac_ct_CC"; then
2117 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2118 echo "${ECHO_T}$ac_ct_CC" >&6; }
2120 { echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6; }
2124 if test "x$ac_ct_CC" = x
; then
2127 case $cross_compiling:$ac_tool_warned in
2129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&5
2132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2135 ac_tool_warned
=yes ;;
2143 if test -z "$CC"; then
2144 if test -n "$ac_tool_prefix"; then
2145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2146 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2149 if test "${ac_cv_prog_CC+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 if test -n "$CC"; then
2153 ac_cv_prog_CC
="$CC" # Let the user override the test.
2155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2159 test -z "$as_dir" && as_dir
=.
2160 for ac_exec_ext
in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2162 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test -n "$CC"; then
2174 { echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6; }
2177 { echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6; }
2184 if test -z "$CC"; then
2185 # Extract the first word of "cc", so it can be a program name with args.
2186 set dummy cc
; ac_word
=$2
2187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189 if test "${ac_cv_prog_CC+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 if test -n "$CC"; then
2193 ac_cv_prog_CC
="$CC" # Let the user override the test.
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 for ac_exec_ext
in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2204 ac_prog_rejected
=yes
2208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 if test $ac_prog_rejected = yes; then
2216 # We found a bogon in the path, so make sure we never use it.
2217 set dummy
$ac_cv_prog_CC
2219 if test $# != 0; then
2220 # We chose a different compiler from the bogus one.
2221 # However, it has the same basename, so the bogon will be chosen
2222 # first if we set CC to just the basename; use the full file name.
2224 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2230 if test -n "$CC"; then
2231 { echo "$as_me:$LINENO: result: $CC" >&5
2232 echo "${ECHO_T}$CC" >&6; }
2234 { echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6; }
2240 if test -z "$CC"; then
2241 if test -n "$ac_tool_prefix"; then
2242 for ac_prog
in cl.exe
2244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2245 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2248 if test "${ac_cv_prog_CC+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 if test -n "$CC"; then
2252 ac_cv_prog_CC
="$CC" # Let the user override the test.
2254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir
=.
2259 for ac_exec_ext
in '' $ac_executable_extensions; do
2260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2261 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 if test -n "$CC"; then
2273 { echo "$as_me:$LINENO: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6; }
2276 { echo "$as_me:$LINENO: result: no" >&5
2277 echo "${ECHO_T}no" >&6; }
2281 test -n "$CC" && break
2284 if test -z "$CC"; then
2286 for ac_prog
in cl.exe
2288 # Extract the first word of "$ac_prog", so it can be a program name with args.
2289 set dummy
$ac_prog; ac_word
=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 if test -n "$ac_ct_CC"; then
2296 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir
=.
2303 for ac_exec_ext
in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_ac_ct_CC
="$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2316 if test -n "$ac_ct_CC"; then
2317 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2318 echo "${ECHO_T}$ac_ct_CC" >&6; }
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2325 test -n "$ac_ct_CC" && break
2328 if test "x$ac_ct_CC" = x
; then
2331 case $cross_compiling:$ac_tool_warned in
2333 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&5
2336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2337 whose name does not start with the host triplet. If you think this
2338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2339 ac_tool_warned
=yes ;;
2348 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&5
2350 echo "$as_me: error: no acceptable C compiler found in \$PATH
2351 See \`config.log' for more details." >&2;}
2352 { (exit 1); exit 1; }; }
2354 # Provide some information about the compiler.
2355 echo "$as_me:$LINENO: checking for C compiler version" >&5
2356 ac_compiler
=`set X $ac_compile; echo $2`
2357 { (ac_try
="$ac_compiler --version >&5"
2359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler --version >&5") 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2367 { (ac_try="$ac_compiler -v >&5"
2369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2370 *) ac_try_echo
=$ac_try;;
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compiler -v >&5") 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (ac_try
="$ac_compiler -V >&5"
2379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2383 (eval "$ac_compiler -V >&5") 2>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }
2388 cat >conftest.$ac_ext <<_ACEOF
2391 cat confdefs.h >>conftest.$ac_ext
2392 cat >>conftest.$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2403 ac_clean_files_save=$ac_clean_files
2404 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2405 # Try to create an executable without -o first, disregard a.out.
2406 # It will help us diagnose broken compilers, and finding out an intuition
2408 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2409 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2410 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2412 # List of possible output files, starting from the most likely.
2413 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2414 # only as a last resort. b.out is created by i960 compilers.
2415 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2417 # The IRIX 6 linker writes into existing files which may not be
2418 # executable, retaining their permissions. Remove them first so a
2419 # subsequent execution test works.
2421 for ac_file in $ac_files
2424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2425 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2430 if { (ac_try="$ac_link_default"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_link_default") 2>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; then
2440 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2441 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2442 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2443 # so that the user can short-circuit this test for compilers unknown to
2445 for ac_file
in $ac_files ''
2447 test -f "$ac_file" ||
continue
2449 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2452 # We found the default executable, but exeext='' is most
2456 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2458 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2460 # We set ac_cv_exeext here because the later test for it is not
2461 # safe: cross compilers may not add the suffix if given an `-o'
2462 # argument, so we may need to know it at that point already.
2463 # Even if this section looks crufty: it has the advantage of
2470 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2476 { echo "$as_me:$LINENO: result: $ac_file" >&5
2477 echo "${ECHO_T}$ac_file" >&6; }
2478 if test -z "$ac_file"; then
2479 echo "$as_me: failed program was:" >&5
2480 sed 's/^/| /' conftest.
$ac_ext >&5
2482 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&5
2484 echo "$as_me: error: C compiler cannot create executables
2485 See \`config.log' for more details." >&2;}
2486 { (exit 77); exit 77; }; }
2489 ac_exeext
=$ac_cv_exeext
2491 # Check that the compiler produces executables we can run. If not, either
2492 # the compiler is broken, or we cross compile.
2493 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2494 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2495 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2496 # If not cross compiling, check that we can run a simple program.
2497 if test "$cross_compiling" != yes; then
2498 if { ac_try
='./$ac_file'
2499 { (case "(($ac_try" in
2500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504 (eval "$ac_try") 2>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; }; then
2510 if test "$cross_compiling" = maybe; then
2513 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details.
" >&5
2516 echo "$as_me: error
: cannot run C compiled programs.
2517 If you meant to cross compile
, use \
`--host'.
2518 See \`config.log
' for more details." >&2;}
2519 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: yes" >&5
2524 echo "${ECHO_T}yes" >&6; }
2526 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2527 ac_clean_files=$ac_clean_files_save
2528 # Check that the compiler produces executables we can run. If not, either
2529 # the compiler is broken, or we cross compile.
2530 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2531 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2532 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2533 echo "${ECHO_T}$cross_compiling" >&6; }
2535 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2536 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2537 if { (ac_try="$ac_link"
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543 (eval "$ac_link") 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2548 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2549 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2551 for ac_file
in conftest.exe conftest conftest.
*; do
2552 test -f "$ac_file" ||
continue
2554 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2555 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&5
2563 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2564 See \`config.log' for more details." >&2;}
2565 { (exit 1); exit 1; }; }
2568 rm -f conftest
$ac_cv_exeext
2569 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2570 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2572 rm -f conftest.
$ac_ext
2573 EXEEXT
=$ac_cv_exeext
2575 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 cat >conftest.
$ac_ext <<_ACEOF
2583 cat confdefs.h
>>conftest.
$ac_ext
2584 cat >>conftest.
$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2595 rm -f conftest.o conftest.obj
2596 if { (ac_try
="$ac_compile"
2598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602 (eval "$ac_compile") 2>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; then
2606 for ac_file in conftest.o conftest.obj conftest.*; do
2607 test -f "$ac_file" || continue;
2609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log
' for more details." >&5
2620 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log' for more details.
" >&2;}
2622 { (exit 1); exit 1; }; }
2625 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2627 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2628 echo "${ECHO_T}$ac_cv_objext" >&6; }
2629 OBJEXT=$ac_cv_objext
2631 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2632 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2633 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2634 echo $ECHO_N "(cached
) $ECHO_C" >&6
2636 cat >conftest.$ac_ext <<_ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2654 rm -f conftest.$ac_objext
2655 if { (ac_try="$ac_compile"
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_compile") 2>conftest.er1
2663 grep -v '^ *+' conftest.er1 >conftest.err
2665 cat conftest.err >&5
2666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2667 (exit $ac_status); } && {
2668 test -z "$ac_c_werror_flag" ||
2669 test ! -s conftest.err
2670 } && test -s conftest.$ac_objext; then
2673 echo "$as_me: failed program was
:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2683 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2685 GCC=`test $ac_compiler_gnu = yes && echo yes`
2686 ac_test_CFLAGS=${CFLAGS+set}
2687 ac_save_CFLAGS=$CFLAGS
2688 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2689 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached
) $ECHO_C" >&6
2693 ac_save_c_werror_flag=$ac_c_werror_flag
2694 ac_c_werror_flag=yes
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2721 grep -v '^ *+' conftest.er1 >conftest.err
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2725 (exit $ac_status); } && {
2726 test -z "$ac_c_werror_flag" ||
2727 test ! -s conftest.err
2728 } && test -s conftest.$ac_objext; then
2731 echo "$as_me: failed program was
:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2735 cat >conftest.$ac_ext <<_ACEOF
2738 cat confdefs.h >>conftest.$ac_ext
2739 cat >>conftest.$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2750 rm -f conftest.$ac_objext
2751 if { (ac_try="$ac_compile"
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2757 (eval "$ac_compile") 2>conftest.er1
2759 grep -v '^ *+' conftest.er1 >conftest.err
2761 cat conftest.err >&5
2762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2763 (exit $ac_status); } && {
2764 test -z "$ac_c_werror_flag" ||
2765 test ! -s conftest.err
2766 } && test -s conftest.$ac_objext; then
2769 echo "$as_me: failed program was
:" >&5
2770 sed 's/^/| /' conftest.$ac_ext >&5
2772 ac_c_werror_flag=$ac_save_c_werror_flag
2774 cat >conftest.$ac_ext <<_ACEOF
2777 cat confdefs.h >>conftest.$ac_ext
2778 cat >>conftest.$ac_ext <<_ACEOF
2779 /* end confdefs.h. */
2789 rm -f conftest.$ac_objext
2790 if { (ac_try="$ac_compile"
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_compile") 2>conftest.er1
2798 grep -v '^ *+' conftest.er1 >conftest.err
2800 cat conftest.err >&5
2801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2802 (exit $ac_status); } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest.$ac_objext; then
2808 echo "$as_me: failed program was
:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 ac_c_werror_flag=$ac_save_c_werror_flag
2823 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2824 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2825 if test "$ac_test_CFLAGS" = set; then
2826 CFLAGS=$ac_save_CFLAGS
2827 elif test $ac_cv_prog_cc_g = yes; then
2828 if test "$GCC" = yes; then
2834 if test "$GCC" = yes; then
2840 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2841 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2842 if test "${ac_cv_prog_cc_c89+set}" = set; then
2843 echo $ECHO_N "(cached
) $ECHO_C" >&6
2845 ac_cv_prog_cc_c89=no
2847 cat >conftest.$ac_ext <<_ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2855 #include <sys/types.h>
2856 #include <sys/stat.h>
2857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2858 struct buf { int x; };
2859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2860 static char *e (p, i)
2866 static char *f (char * (*g) (char **, int), char **p, ...)
2871 s = g (p, va_arg (v,int));
2876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2877 function prototypes and stuff, but not '\xHH' hex character constants.
2878 These don't provoke an error unfortunately, instead are silently treated
2879 as 'x'. The following induces an error, until -std is added to get
2880 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2881 array size at least. It's necessary to write '\x00'==0 to get something
2882 that's true only with -std. */
2883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2885 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2886 inside strings and character constants. */
2888 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2890 int test (int i, double x);
2891 struct s1 {int (*f) (int a);};
2892 struct s2 {int (*f) (double a);};
2893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2899 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2904 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2905 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2907 CC="$ac_save_CC $ac_arg"
2908 rm -f conftest.$ac_objext
2909 if { (ac_try="$ac_compile"
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2915 (eval "$ac_compile") 2>conftest.er1
2917 grep -v '^ *+' conftest.er1 >conftest.err
2919 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2921 (exit $ac_status); } && {
2922 test -z "$ac_c_werror_flag" ||
2923 test ! -s conftest.err
2924 } && test -s conftest.$ac_objext; then
2925 ac_cv_prog_cc_c89=$ac_arg
2927 echo "$as_me: failed program was
:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2933 rm -f core conftest.err conftest.$ac_objext
2934 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2936 rm -f conftest.$ac_ext
2941 case "x
$ac_cv_prog_cc_c89" in
2943 { echo "$as_me:$LINENO: result
: none needed
" >&5
2944 echo "${ECHO_T}none needed
" >&6; } ;;
2946 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2947 echo "${ECHO_T}unsupported
" >&6; } ;;
2949 CC="$CC $ac_cv_prog_cc_c89"
2950 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2951 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2962 ac_cpp='$CXXCPP $CPPFLAGS'
2963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2966 if test -z "$CXX"; then
2967 if test -n "$CCC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2975 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2976 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2977 if test "${ac_cv_prog_CXX+set}" = set; then
2978 echo $ECHO_N "(cached
) $ECHO_C" >&6
2980 if test -n "$CXX"; then
2981 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2991 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CXX"; then
3002 { echo "$as_me:$LINENO: result
: $CXX" >&5
3003 echo "${ECHO_T}$CXX" >&6; }
3005 { echo "$as_me:$LINENO: result
: no
" >&5
3006 echo "${ECHO_T}no
" >&6; }
3010 test -n "$CXX" && break
3013 if test -z "$CXX"; then
3015 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3020 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3021 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3022 echo $ECHO_N "(cached
) $ECHO_C" >&6
3024 if test -n "$ac_ct_CXX"; then
3025 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034 ac_cv_prog_ac_ct_CXX="$ac_prog"
3035 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3045 if test -n "$ac_ct_CXX"; then
3046 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3047 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3049 { echo "$as_me:$LINENO: result
: no
" >&5
3050 echo "${ECHO_T}no
" >&6; }
3054 test -n "$ac_ct_CXX" && break
3057 if test "x
$ac_ct_CXX" = x; then
3060 case $cross_compiling:$ac_tool_warned in
3062 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3063 whose name does not start with the
host triplet. If you think this
3064 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3065 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3066 whose name does not start with the
host triplet. If you think this
3067 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3068 ac_tool_warned=yes ;;
3076 # Provide some information about the compiler.
3077 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3078 ac_compiler=`set X $ac_compile; echo $2`
3079 { (ac_try="$ac_compiler --version >&5"
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compiler --version >&5") 2>&5
3087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3088 (exit $ac_status); }
3089 { (ac_try="$ac_compiler -v >&5"
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3095 (eval "$ac_compiler -v >&5") 2>&5
3097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3098 (exit $ac_status); }
3099 { (ac_try="$ac_compiler -V >&5"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compiler -V >&5") 2>&5
3107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3108 (exit $ac_status); }
3110 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3111 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3112 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3113 echo $ECHO_N "(cached
) $ECHO_C" >&6
3115 cat >conftest.$ac_ext <<_ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3133 rm -f conftest.$ac_objext
3134 if { (ac_try="$ac_compile"
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3140 (eval "$ac_compile") 2>conftest.er1
3142 grep -v '^ *+' conftest.er1 >conftest.err
3144 cat conftest.err >&5
3145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3146 (exit $ac_status); } && {
3147 test -z "$ac_cxx_werror_flag" ||
3148 test ! -s conftest.err
3149 } && test -s conftest.$ac_objext; then
3152 echo "$as_me: failed program was
:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3162 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3163 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3164 GXX=`test $ac_compiler_gnu = yes && echo yes`
3165 ac_test_CXXFLAGS=${CXXFLAGS+set}
3166 ac_save_CXXFLAGS=$CXXFLAGS
3167 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3168 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3169 if test "${ac_cv_prog_cxx_g+set}" = set; then
3170 echo $ECHO_N "(cached
) $ECHO_C" >&6
3172 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3173 ac_cxx_werror_flag=yes
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3191 rm -f conftest.$ac_objext
3192 if { (ac_try="$ac_compile"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_compile") 2>conftest.er1
3200 grep -v '^ *+' conftest.er1 >conftest.err
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3204 (exit $ac_status); } && {
3205 test -z "$ac_cxx_werror_flag" ||
3206 test ! -s conftest.err
3207 } && test -s conftest.$ac_objext; then
3208 ac_cv_prog_cxx_g=yes
3210 echo "$as_me: failed program was
:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3229 rm -f conftest.$ac_objext
3230 if { (ac_try="$ac_compile"
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_cxx_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3248 echo "$as_me: failed program was
:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3253 cat >conftest.$ac_ext <<_ACEOF
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3268 rm -f conftest.$ac_objext
3269 if { (ac_try="$ac_compile"
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3275 (eval "$ac_compile") 2>conftest.er1
3277 grep -v '^ *+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3281 (exit $ac_status); } && {
3282 test -z "$ac_cxx_werror_flag" ||
3283 test ! -s conftest.err
3284 } && test -s conftest.$ac_objext; then
3285 ac_cv_prog_cxx_g=yes
3287 echo "$as_me: failed program was
:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3302 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3303 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3304 if test "$ac_test_CXXFLAGS" = set; then
3305 CXXFLAGS=$ac_save_CXXFLAGS
3306 elif test $ac_cv_prog_cxx_g = yes; then
3307 if test "$GXX" = yes; then
3313 if test "$GXX" = yes; then
3320 ac_cpp='$CPP $CPPFLAGS'
3321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3325 if test -n "$ac_tool_prefix"; then
3326 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3327 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3328 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3329 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3330 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3331 echo $ECHO_N "(cached
) $ECHO_C" >&6
3333 if test -n "$CPPBIN"; then
3334 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3344 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3353 CPPBIN=$ac_cv_prog_CPPBIN
3354 if test -n "$CPPBIN"; then
3355 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3356 echo "${ECHO_T}$CPPBIN" >&6; }
3358 { echo "$as_me:$LINENO: result
: no
" >&5
3359 echo "${ECHO_T}no
" >&6; }
3364 if test -z "$ac_cv_prog_CPPBIN"; then
3365 ac_ct_CPPBIN=$CPPBIN
3366 # Extract the first word of "cpp
", so it can be a program name with args.
3367 set dummy cpp; ac_word=$2
3368 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3369 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3370 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3371 echo $ECHO_N "(cached
) $ECHO_C" >&6
3373 if test -n "$ac_ct_CPPBIN"; then
3374 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3384 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3393 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3394 if test -n "$ac_ct_CPPBIN"; then
3395 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3396 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3398 { echo "$as_me:$LINENO: result
: no
" >&5
3399 echo "${ECHO_T}no
" >&6; }
3402 if test "x
$ac_ct_CPPBIN" = x; then
3405 case $cross_compiling:$ac_tool_warned in
3407 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3408 whose name does not start with the
host triplet. If you think this
3409 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3410 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3411 whose name does not start with the
host triplet. If you think this
3412 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3413 ac_tool_warned=yes ;;
3415 CPPBIN=$ac_ct_CPPBIN
3418 CPPBIN="$ac_cv_prog_CPPBIN"
3422 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3423 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3424 if test "${wine_cv_toolsdir+set}" = set; then
3425 echo $ECHO_N "(cached
) $ECHO_C" >&6
3427 if test -z "$with_wine_tools"; then
3428 if test "$cross_compiling" = "yes"; then
3429 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3430 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3431 { (exit 1); exit 1; }; }
3433 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3435 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3436 case $with_wine_tools in
3437 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3438 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3441 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3442 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3443 { (exit 1); exit 1; }; }
3446 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3447 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3448 TOOLSDIR=$wine_cv_toolsdir
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3458 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3459 # On Suns, sometimes $CPP names a directory.
3460 if test -n "$CPP" && test -d "$CPP"; then
3463 if test -z "$CPP"; then
3464 if test "${ac_cv_prog_CPP+set}" = set; then
3465 echo $ECHO_N "(cached
) $ECHO_C" >&6
3467 # Double quotes because CPP needs to be expanded
3468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3471 for ac_c_preproc_warn_flag in '' yes
3473 # Use a header file that comes with gcc, so configuring glibc
3474 # with a fresh cross-compiler works.
3475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3476 # <limits.h> exists even on freestanding compilers.
3477 # On the NeXT, cc -E runs the code through the compiler's parser,
3478 # not just through cpp. "Syntax error
" is here to catch this case.
3479 cat >conftest.$ac_ext <<_ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3486 # include <limits.h>
3488 # include <assert.h>
3492 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3504 (exit $ac_status); } >/dev/null && {
3505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3506 test ! -s conftest.err
3510 echo "$as_me: failed program was
:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3513 # Broken: fails on valid input.
3517 rm -f conftest.err conftest.$ac_ext
3519 # OK, works on sane cases. Now check whether nonexistent headers
3520 # can be detected and how.
3521 cat >conftest.$ac_ext <<_ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 #include <ac_nonexistent.h>
3529 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3535 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3537 grep -v '^ *+' conftest.er1 >conftest.err
3539 cat conftest.err >&5
3540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3541 (exit $ac_status); } >/dev/null && {
3542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3543 test ! -s conftest.err
3545 # Broken: success on invalid input.
3548 echo "$as_me: failed program was
:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 # Passes both tests.
3556 rm -f conftest.err conftest.$ac_ext
3559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3560 rm -f conftest.err conftest.$ac_ext
3561 if $ac_preproc_ok; then
3573 { echo "$as_me:$LINENO: result
: $CPP" >&5
3574 echo "${ECHO_T}$CPP" >&6; }
3576 for ac_c_preproc_warn_flag in '' yes
3578 # Use a header file that comes with gcc, so configuring glibc
3579 # with a fresh cross-compiler works.
3580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3581 # <limits.h> exists even on freestanding compilers.
3582 # On the NeXT, cc -E runs the code through the compiler's parser,
3583 # not just through cpp. "Syntax error
" is here to catch this case.
3584 cat >conftest.$ac_ext <<_ACEOF
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 # include <limits.h>
3593 # include <assert.h>
3597 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3602 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3603 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3605 grep -v '^ *+' conftest.er1 >conftest.err
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3609 (exit $ac_status); } >/dev/null && {
3610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3611 test ! -s conftest.err
3615 echo "$as_me: failed program was
:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 # Broken: fails on valid input.
3622 rm -f conftest.err conftest.$ac_ext
3624 # OK, works on sane cases. Now check whether nonexistent headers
3625 # can be detected and how.
3626 cat >conftest.$ac_ext <<_ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3634 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3640 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3642 grep -v '^ *+' conftest.er1 >conftest.err
3644 cat conftest.err >&5
3645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3646 (exit $ac_status); } >/dev/null && {
3647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3648 test ! -s conftest.err
3650 # Broken: success on invalid input.
3653 echo "$as_me: failed program was
:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 # Passes both tests.
3661 rm -f conftest.err conftest.$ac_ext
3664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3665 rm -f conftest.err conftest.$ac_ext
3666 if $ac_preproc_ok; then
3669 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3670 See \
`config.log' for more details." >&5
3671 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3672 See \`config.log
' for more details." >&2;}
3673 { (exit 1); exit 1; }; }
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3679 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 { echo "$as_me:$LINENO: checking for X" >&5
3684 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3687 # Check whether --with-x was given.
3688 if test "${with_x+set}" = set; then
3692 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3693 if test "x$with_x" = xno; then
3694 # The user explicitly disabled X.
3697 case $x_includes,$x_libraries in #(
3698 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3699 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3700 { (exit 1); exit 1; }; };; #(
3701 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 # One or both of the vars are not set, and there is no cached value.
3705 ac_x_includes=no ac_x_libraries=no
3706 rm -f -r conftest.dir
3707 if mkdir conftest.dir; then
3709 cat >Imakefile <<'_ACEOF'
3711 @echo incroot='${INCROOT}'
3713 @echo usrlibdir='${USRLIBDIR}'
3715 @echo libdir='${LIBDIR}'
3717 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3718 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3719 for ac_var in incroot usrlibdir libdir; do
3720 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3722 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3723 for ac_extension in a so sl; do
3724 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3725 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3726 ac_im_usrlibdir=$ac_im_libdir; break
3729 # Screen out bogus values from the imake configuration. They are
3730 # bogus both because they are the default anyway, and because
3731 # using them would break gcc on systems where it needs fixed includes.
3732 case $ac_im_incroot in
3733 /usr/include) ac_x_includes= ;;
3734 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3736 case $ac_im_usrlibdir in
3738 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3742 rm -f -r conftest.dir
3745 # Standard set of common directories for X headers.
3746 # Check X11 before X11Rn because it is often a symlink to the current release.
3758 /usr
/local
/X11
/include
3759 /usr
/local
/X11R
6/include
3760 /usr
/local
/X11R
5/include
3761 /usr
/local
/X11R
4/include
3763 /usr
/local
/include
/X11
3764 /usr
/local
/include
/X11R6
3765 /usr
/local
/include
/X11R5
3766 /usr
/local
/include
/X11R4
3770 /usr
/XFree86
/include
/X11
3774 /usr
/unsupported
/include
3776 /usr
/local
/x11r
5/include
3777 /usr
/lpp
/Xamples
/include
3779 /usr
/openwin
/include
3780 /usr
/openwin
/share
/include
'
3782 if test "$ac_x_includes" = no; then
3783 # Guess where to find include files, by looking for Xlib.h.
3784 # First, try using that file with no special directory specified.
3785 cat >conftest.$ac_ext <<_ACEOF
3788 cat confdefs.h >>conftest.$ac_ext
3789 cat >>conftest.$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3791 #include <X11/Xlib.h>
3793 if { (ac_try="$ac_cpp conftest.$ac_ext"
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3801 grep -v '^
*+' conftest.er1 >conftest.err
3803 cat conftest.err >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } >/dev/null && {
3806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3807 test ! -s conftest.err
3809 # We can compile using X headers with no special include directory.
3812 echo "$as_me: failed program was:" >&5
3813 sed 's
/^
/|
/' conftest.$ac_ext >&5
3815 for ac_dir in $ac_x_header_dirs; do
3816 if test -r "$ac_dir/X11/Xlib.h"; then
3817 ac_x_includes=$ac_dir
3823 rm -f conftest.err conftest.$ac_ext
3824 fi # $ac_x_includes = no
3826 if test "$ac_x_libraries" = no; then
3827 # Check for the libraries.
3828 # See if we find them without any special options.
3829 # Don't add to
$LIBS permanently.
3832 cat >conftest.
$ac_ext <<_ACEOF
3835 cat confdefs.h
>>conftest.
$ac_ext
3836 cat >>conftest.
$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <X11/Xlib.h>
3847 rm -f conftest.
$ac_objext conftest
$ac_exeext
3848 if { (ac_try
="$ac_link"
3850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854 (eval "$ac_link") 2>conftest.er1
3856 grep -v '^ *+' conftest.er1 >conftest.err
3858 cat conftest.err >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } && {
3861 test -z "$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 } && test -s conftest$ac_exeext &&
3864 $as_test_x conftest$ac_exeext; then
3866 # We can link X programs with no special library path.
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3873 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3875 # Don't even attempt the hair of trying to link an X program!
3876 for ac_extension in a so sl; do
3877 if test -r "$ac_dir/libX11.$ac_extension"; then
3878 ac_x_libraries=$ac_dir
3885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3886 conftest$ac_exeext conftest.$ac_ext
3887 fi # $ac_x_libraries = no
3889 case $ac_x_includes,$ac_x_libraries in #(
3891 # Didn't find X, or a directory has "'" in its name.
3892 ac_cv_have_x="have_x=no";; #(
3894 # Record where we found X for the cache.
3895 ac_cv_have_x="have_x=yes\
3896 ac_x_includes='$ac_x_includes'\
3897 ac_x_libraries='$ac_x_libraries'"
3903 eval "$ac_cv_have_x"
3906 if test "$have_x" != yes; then
3907 { echo "$as_me:$LINENO: result: $have_x" >&5
3908 echo "${ECHO_T}$have_x" >&6; }
3911 # If each of the values was on the command line, it overrides each guess.
3912 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3913 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3914 # Update the cache value to reflect the command line values.
3915 ac_cv_have_x="have_x=yes\
3916 ac_x_includes='$x_includes'\
3917 ac_x_libraries='$x_libraries'"
3918 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3919 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3922 if test "$no_x" = yes; then
3923 # Not all programs may use this symbol, but it does not hurt to define it.
3925 cat >>confdefs.h <<\_ACEOF
3926 #define X_DISPLAY_MISSING 1
3929 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3931 if test -n "$x_includes"; then
3932 X_CFLAGS="$X_CFLAGS -I$x_includes"
3935 # It would also be nice to do this for all -L options, not just this one.
3936 if test -n "$x_libraries"; then
3937 X_LIBS="$X_LIBS -L$x_libraries"
3938 # For Solaris; some versions of Sun CC require a space after -R and
3939 # others require no space. Words are not sufficient . . . .
3940 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3941 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3942 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3943 ac_xsave_c_werror_flag=$ac_c_werror_flag
3944 ac_c_werror_flag=yes
3945 cat >conftest.$ac_ext <<_ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3960 rm -f conftest.$ac_objext conftest$ac_exeext
3961 if { (ac_try="$ac_link"
3963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3964 *) ac_try_echo
=$ac_try;;
3966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967 (eval "$ac_link") 2>conftest.er1
3969 grep -v '^ *+' conftest.er1
>conftest.err
3971 cat conftest.err
>&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } && {
3974 test -z "$ac_c_werror_flag" ||
3975 test ! -s conftest.err
3976 } && test -s conftest
$ac_exeext &&
3977 $as_test_x conftest
$ac_exeext; then
3978 { echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6; }
3980 X_LIBS
="$X_LIBS -R$x_libraries"
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3985 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3986 cat >conftest.
$ac_ext <<_ACEOF
3989 cat confdefs.h
>>conftest.
$ac_ext
3990 cat >>conftest.
$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
4001 rm -f conftest.
$ac_objext conftest
$ac_exeext
4002 if { (ac_try
="$ac_link"
4004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 (eval "$ac_link") 2>conftest.er1
4010 grep -v '^ *+' conftest.er1 >conftest.err
4012 cat conftest.err >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } && {
4015 test -z "$ac_c_werror_flag" ||
4016 test ! -s conftest.err
4017 } && test -s conftest$ac_exeext &&
4018 $as_test_x conftest$ac_exeext; then
4019 { echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6; }
4021 X_LIBS="$X_LIBS -R $x_libraries"
4023 echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.$ac_ext >&5
4026 { echo "$as_me:$LINENO: result: neither works" >&5
4027 echo "${ECHO_T}neither works" >&6; }
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4035 conftest$ac_exeext conftest.$ac_ext
4036 ac_c_werror_flag=$ac_xsave_c_werror_flag
4040 # Check for system-dependent libraries X programs must link with.
4041 # Do this before checking for the system-independent R6 libraries
4042 # (-lICE), since we may need -lsocket or whatever for X linking.
4044 if test "$ISC" = yes; then
4045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4047 # Martyn Johnson says this is needed for Ultrix, if the X
4048 # libraries were built with DECnet support. And Karl Berry says
4049 # the Alpha needs dnet_stub (dnet does not exist).
4050 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4051 cat >conftest.$ac_ext <<_ACEOF
4054 cat confdefs.h >>conftest.$ac_ext
4055 cat >>conftest.$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4058 /* Override any GCC internal prototype to avoid an error.
4059 Use char because int might match the return type of a GCC
4060 builtin and then its argument prototype would still apply. */
4064 char XOpenDisplay ();
4068 return XOpenDisplay ();
4073 rm -f conftest.$ac_objext conftest$ac_exeext
4074 if { (ac_try="$ac_link"
4076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4077 *) ac_try_echo
=$ac_try;;
4079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4080 (eval "$ac_link") 2>conftest.er1
4082 grep -v '^ *+' conftest.er1
>conftest.err
4084 cat conftest.err
>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } && {
4087 test -z "$ac_c_werror_flag" ||
4088 test ! -s conftest.err
4089 } && test -s conftest
$ac_exeext &&
4090 $as_test_x conftest
$ac_exeext; then
4093 echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.
$ac_ext >&5
4096 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4097 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4098 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 ac_check_lib_save_LIBS
=$LIBS
4103 cat >conftest.
$ac_ext <<_ACEOF
4106 cat confdefs.h
>>conftest.
$ac_ext
4107 cat >>conftest.
$ac_ext <<_ACEOF
4108 /* end confdefs.h. */
4110 /* Override any GCC internal prototype to avoid an error.
4111 Use char because int might match the return type of a GCC
4112 builtin and then its argument prototype would still apply. */
4120 return dnet_ntoa ();
4125 rm -f conftest.
$ac_objext conftest
$ac_exeext
4126 if { (ac_try
="$ac_link"
4128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132 (eval "$ac_link") 2>conftest.er1
4134 grep -v '^ *+' conftest.er1 >conftest.err
4136 cat conftest.err >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } && {
4139 test -z "$ac_c_werror_flag" ||
4140 test ! -s conftest.err
4141 } && test -s conftest$ac_exeext &&
4142 $as_test_x conftest$ac_exeext; then
4143 ac_cv_lib_dnet_dnet_ntoa=yes
4145 echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 ac_cv_lib_dnet_dnet_ntoa=no
4151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4152 conftest$ac_exeext conftest.$ac_ext
4153 LIBS=$ac_check_lib_save_LIBS
4155 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4156 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4157 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4158 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4161 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4162 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4163 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4164 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 ac_check_lib_save_LIBS=$LIBS
4168 LIBS="-ldnet_stub $LIBS"
4169 cat >conftest.$ac_ext <<_ACEOF
4172 cat confdefs.h >>conftest.$ac_ext
4173 cat >>conftest.$ac_ext <<_ACEOF
4174 /* end confdefs.h. */
4176 /* Override any GCC internal prototype to avoid an error.
4177 Use char because int might match the return type of a GCC
4178 builtin and then its argument prototype would still apply. */
4186 return dnet_ntoa ();
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 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4218 conftest
$ac_exeext conftest.
$ac_ext
4219 LIBS
=$ac_check_lib_save_LIBS
4221 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4222 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4223 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4224 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4230 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4231 conftest
$ac_exeext conftest.
$ac_ext
4232 LIBS
="$ac_xsave_LIBS"
4234 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4235 # to get the SysV transport functions.
4236 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4238 # The nsl library prevents programs from opening the X display
4239 # on Irix 5.2, according to T.E. Dickey.
4240 # The functions gethostbyname, getservbyname, and inet_addr are
4241 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4242 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4243 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4244 if test "${ac_cv_func_gethostbyname+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 cat >conftest.
$ac_ext <<_ACEOF
4250 cat confdefs.h
>>conftest.
$ac_ext
4251 cat >>conftest.
$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4255 #define gethostbyname innocuous_gethostbyname
4257 /* System header to define __stub macros and hopefully few prototypes,
4258 which can conflict with char gethostbyname (); below.
4259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4260 <limits.h> exists even on freestanding compilers. */
4263 # include <limits.h>
4265 # include <assert.h>
4268 #undef gethostbyname
4270 /* Override any GCC internal prototype to avoid an error.
4271 Use char because int might match the return type of a GCC
4272 builtin and then its argument prototype would still apply. */
4276 char gethostbyname ();
4277 /* The GNU C library defines this for functions which it implements
4278 to always fail with ENOSYS. Some functions are actually named
4279 something starting with __ and the normal name is an alias. */
4280 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4287 return gethostbyname ();
4292 rm -f conftest.
$ac_objext conftest
$ac_exeext
4293 if { (ac_try
="$ac_link"
4295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_link") 2>conftest.er1
4301 grep -v '^ *+' conftest.er1 >conftest.err
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && {
4306 test -z "$ac_c_werror_flag" ||
4307 test ! -s conftest.err
4308 } && test -s conftest$ac_exeext &&
4309 $as_test_x conftest$ac_exeext; then
4310 ac_cv_func_gethostbyname=yes
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4315 ac_cv_func_gethostbyname=no
4318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4319 conftest$ac_exeext conftest.$ac_ext
4321 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4322 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4324 if test $ac_cv_func_gethostbyname = no; then
4325 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4326 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4327 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 ac_check_lib_save_LIBS=$LIBS
4332 cat >conftest.$ac_ext <<_ACEOF
4335 cat confdefs.h >>conftest.$ac_ext
4336 cat >>conftest.$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4339 /* Override any GCC internal prototype to avoid an error.
4340 Use char because int might match the return type of a GCC
4341 builtin and then its argument prototype would still apply. */
4345 char gethostbyname ();
4349 return gethostbyname ();
4354 rm -f conftest.$ac_objext conftest$ac_exeext
4355 if { (ac_try="$ac_link"
4357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4358 *) ac_try_echo
=$ac_try;;
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_link") 2>conftest.er1
4363 grep -v '^ *+' conftest.er1
>conftest.err
4365 cat conftest.err
>&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } && {
4368 test -z "$ac_c_werror_flag" ||
4369 test ! -s conftest.err
4370 } && test -s conftest
$ac_exeext &&
4371 $as_test_x conftest
$ac_exeext; then
4372 ac_cv_lib_nsl_gethostbyname
=yes
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.
$ac_ext >&5
4377 ac_cv_lib_nsl_gethostbyname
=no
4380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4381 conftest
$ac_exeext conftest.
$ac_ext
4382 LIBS
=$ac_check_lib_save_LIBS
4384 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4385 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4386 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4387 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4390 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4391 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4392 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4393 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 ac_check_lib_save_LIBS
=$LIBS
4398 cat >conftest.
$ac_ext <<_ACEOF
4401 cat confdefs.h
>>conftest.
$ac_ext
4402 cat >>conftest.
$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4405 /* Override any GCC internal prototype to avoid an error.
4406 Use char because int might match the return type of a GCC
4407 builtin and then its argument prototype would still apply. */
4411 char gethostbyname ();
4415 return gethostbyname ();
4420 rm -f conftest.
$ac_objext conftest
$ac_exeext
4421 if { (ac_try
="$ac_link"
4423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427 (eval "$ac_link") 2>conftest.er1
4429 grep -v '^ *+' conftest.er1 >conftest.err
4431 cat conftest.err >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } && {
4434 test -z "$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4436 } && test -s conftest$ac_exeext &&
4437 $as_test_x conftest$ac_exeext; then
4438 ac_cv_lib_bsd_gethostbyname=yes
4440 echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.$ac_ext >&5
4443 ac_cv_lib_bsd_gethostbyname=no
4446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4447 conftest$ac_exeext conftest.$ac_ext
4448 LIBS=$ac_check_lib_save_LIBS
4450 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4451 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4452 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4459 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4460 # socket/setsockopt and other routines are undefined under SCO ODT
4461 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4462 # on later versions), says Simon Leinen: it contains gethostby*
4463 # variants that don't use the name server (or something). -lsocket
4464 # must be given before -lnsl if both are needed. We assume that
4465 # if connect needs -lnsl, so does gethostbyname.
4466 { echo "$as_me:$LINENO: checking for connect" >&5
4467 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4468 if test "${ac_cv_func_connect+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4477 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4479 #define connect innocuous_connect
4481 /* System header to define __stub macros and hopefully few prototypes,
4482 which can conflict with char connect (); below.
4483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484 <limits.h> exists even on freestanding compilers. */
4487 # include <limits.h>
4489 # include <assert.h>
4494 /* Override any GCC internal prototype to avoid an error.
4495 Use char because int might match the return type of a GCC
4496 builtin and then its argument prototype would still apply. */
4501 /* The GNU C library defines this for functions which it implements
4502 to always fail with ENOSYS. Some functions are actually named
4503 something starting with __ and the normal name is an alias. */
4504 #if defined __stub_connect || defined __stub___connect
4516 rm -f conftest.$ac_objext conftest$ac_exeext
4517 if { (ac_try="$ac_link"
4519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4520 *) ac_try_echo
=$ac_try;;
4522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4523 (eval "$ac_link") 2>conftest.er1
4525 grep -v '^ *+' conftest.er1
>conftest.err
4527 cat conftest.err
>&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } && {
4530 test -z "$ac_c_werror_flag" ||
4531 test ! -s conftest.err
4532 } && test -s conftest
$ac_exeext &&
4533 $as_test_x conftest
$ac_exeext; then
4534 ac_cv_func_connect
=yes
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4539 ac_cv_func_connect
=no
4542 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4543 conftest
$ac_exeext conftest.
$ac_ext
4545 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4546 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4548 if test $ac_cv_func_connect = no
; then
4549 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4550 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4551 if test "${ac_cv_lib_socket_connect+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 ac_check_lib_save_LIBS
=$LIBS
4555 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4556 cat >conftest.
$ac_ext <<_ACEOF
4559 cat confdefs.h
>>conftest.
$ac_ext
4560 cat >>conftest.
$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4563 /* Override any GCC internal prototype to avoid an error.
4564 Use char because int might match the return type of a GCC
4565 builtin and then its argument prototype would still apply. */
4578 rm -f conftest.
$ac_objext conftest
$ac_exeext
4579 if { (ac_try
="$ac_link"
4581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4582 *) ac_try_echo=$ac_try;;
4584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4585 (eval "$ac_link") 2>conftest.er1
4587 grep -v '^ *+' conftest.er1 >conftest.err
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } && {
4592 test -z "$ac_c_werror_flag" ||
4593 test ! -s conftest.err
4594 } && test -s conftest$ac_exeext &&
4595 $as_test_x conftest$ac_exeext; then
4596 ac_cv_lib_socket_connect=yes
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4601 ac_cv_lib_socket_connect=no
4604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4605 conftest$ac_exeext conftest.$ac_ext
4606 LIBS=$ac_check_lib_save_LIBS
4608 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4609 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4610 if test $ac_cv_lib_socket_connect = yes; then
4611 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4616 # Guillermo Gomez says -lposix is necessary on A/UX.
4617 { echo "$as_me:$LINENO: checking for remove" >&5
4618 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4619 if test "${ac_cv_func_remove+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4630 #define remove innocuous_remove
4632 /* System header to define __stub macros and hopefully few prototypes,
4633 which can conflict with char remove (); below.
4634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4635 <limits.h> exists even on freestanding compilers. */
4638 # include <limits.h>
4640 # include <assert.h>
4645 /* Override any GCC internal prototype to avoid an error.
4646 Use char because int might match the return type of a GCC
4647 builtin and then its argument prototype would still apply. */
4652 /* The GNU C library defines this for functions which it implements
4653 to always fail with ENOSYS. Some functions are actually named
4654 something starting with __ and the normal name is an alias. */
4655 #if defined __stub_remove || defined __stub___remove
4667 rm -f conftest.$ac_objext conftest$ac_exeext
4668 if { (ac_try="$ac_link"
4670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4671 *) ac_try_echo
=$ac_try;;
4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4674 (eval "$ac_link") 2>conftest.er1
4676 grep -v '^ *+' conftest.er1
>conftest.err
4678 cat conftest.err
>&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } && {
4681 test -z "$ac_c_werror_flag" ||
4682 test ! -s conftest.err
4683 } && test -s conftest
$ac_exeext &&
4684 $as_test_x conftest
$ac_exeext; then
4685 ac_cv_func_remove
=yes
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.
$ac_ext >&5
4690 ac_cv_func_remove
=no
4693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4694 conftest
$ac_exeext conftest.
$ac_ext
4696 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4697 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4699 if test $ac_cv_func_remove = no
; then
4700 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4701 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4702 if test "${ac_cv_lib_posix_remove+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 ac_check_lib_save_LIBS
=$LIBS
4706 LIBS
="-lposix $LIBS"
4707 cat >conftest.
$ac_ext <<_ACEOF
4710 cat confdefs.h
>>conftest.
$ac_ext
4711 cat >>conftest.
$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4714 /* Override any GCC internal prototype to avoid an error.
4715 Use char because int might match the return type of a GCC
4716 builtin and then its argument prototype would still apply. */
4729 rm -f conftest.
$ac_objext conftest
$ac_exeext
4730 if { (ac_try
="$ac_link"
4732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4736 (eval "$ac_link") 2>conftest.er1
4738 grep -v '^ *+' conftest.er1 >conftest.err
4740 cat conftest.err >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } && {
4743 test -z "$ac_c_werror_flag" ||
4744 test ! -s conftest.err
4745 } && test -s conftest$ac_exeext &&
4746 $as_test_x conftest$ac_exeext; then
4747 ac_cv_lib_posix_remove=yes
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 ac_cv_lib_posix_remove=no
4755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4756 conftest$ac_exeext conftest.$ac_ext
4757 LIBS=$ac_check_lib_save_LIBS
4759 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4760 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4761 if test $ac_cv_lib_posix_remove = yes; then
4762 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4767 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4768 { echo "$as_me:$LINENO: checking for shmat" >&5
4769 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4770 if test "${ac_cv_func_shmat+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4781 #define shmat innocuous_shmat
4783 /* System header to define __stub macros and hopefully few prototypes,
4784 which can conflict with char shmat (); below.
4785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4786 <limits.h> exists even on freestanding compilers. */
4789 # include <limits.h>
4791 # include <assert.h>
4796 /* Override any GCC internal prototype to avoid an error.
4797 Use char because int might match the return type of a GCC
4798 builtin and then its argument prototype would still apply. */
4803 /* The GNU C library defines this for functions which it implements
4804 to always fail with ENOSYS. Some functions are actually named
4805 something starting with __ and the normal name is an alias. */
4806 #if defined __stub_shmat || defined __stub___shmat
4818 rm -f conftest.$ac_objext conftest$ac_exeext
4819 if { (ac_try="$ac_link"
4821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4822 *) ac_try_echo
=$ac_try;;
4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825 (eval "$ac_link") 2>conftest.er1
4827 grep -v '^ *+' conftest.er1
>conftest.err
4829 cat conftest.err
>&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } && {
4832 test -z "$ac_c_werror_flag" ||
4833 test ! -s conftest.err
4834 } && test -s conftest
$ac_exeext &&
4835 $as_test_x conftest
$ac_exeext; then
4836 ac_cv_func_shmat
=yes
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.
$ac_ext >&5
4844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4845 conftest
$ac_exeext conftest.
$ac_ext
4847 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4848 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4850 if test $ac_cv_func_shmat = no
; then
4851 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4852 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4853 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 ac_check_lib_save_LIBS
=$LIBS
4858 cat >conftest.
$ac_ext <<_ACEOF
4861 cat confdefs.h
>>conftest.
$ac_ext
4862 cat >>conftest.
$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4865 /* Override any GCC internal prototype to avoid an error.
4866 Use char because int might match the return type of a GCC
4867 builtin and then its argument prototype would still apply. */
4880 rm -f conftest.
$ac_objext conftest
$ac_exeext
4881 if { (ac_try
="$ac_link"
4883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4884 *) ac_try_echo=$ac_try;;
4886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4887 (eval "$ac_link") 2>conftest.er1
4889 grep -v '^ *+' conftest.er1 >conftest.err
4891 cat conftest.err >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } && {
4894 test -z "$ac_c_werror_flag" ||
4895 test ! -s conftest.err
4896 } && test -s conftest$ac_exeext &&
4897 $as_test_x conftest$ac_exeext; then
4898 ac_cv_lib_ipc_shmat=yes
4900 echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.$ac_ext >&5
4903 ac_cv_lib_ipc_shmat=no
4906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4907 conftest$ac_exeext conftest.$ac_ext
4908 LIBS=$ac_check_lib_save_LIBS
4910 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4911 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4912 if test $ac_cv_lib_ipc_shmat = yes; then
4913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4919 # Check for libraries that X11R6 Xt/Xaw programs need.
4920 ac_save_LDFLAGS=$LDFLAGS
4921 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4922 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4923 # check for ICE first), but we must link in the order -lSM -lICE or
4924 # we get undefined symbols. So assume we have SM if we have ICE.
4925 # These have to be linked with before -lX11, unlike the other
4926 # libraries we check for below, so use a different variable.
4927 # John Interrante, Karl Berry
4928 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4929 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4930 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 ac_check_lib_save_LIBS=$LIBS
4934 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4942 /* Override any GCC internal prototype to avoid an error.
4943 Use char because int might match the return type of a GCC
4944 builtin and then its argument prototype would still apply. */
4948 char IceConnectionNumber ();
4952 return IceConnectionNumber ();
4957 rm -f conftest.$ac_objext conftest$ac_exeext
4958 if { (ac_try="$ac_link"
4960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4961 *) ac_try_echo
=$ac_try;;
4963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4964 (eval "$ac_link") 2>conftest.er1
4966 grep -v '^ *+' conftest.er1
>conftest.err
4968 cat conftest.err
>&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } && {
4971 test -z "$ac_c_werror_flag" ||
4972 test ! -s conftest.err
4973 } && test -s conftest
$ac_exeext &&
4974 $as_test_x conftest
$ac_exeext; then
4975 ac_cv_lib_ICE_IceConnectionNumber
=yes
4977 echo "$as_me: failed program was:" >&5
4978 sed 's/^/| /' conftest.
$ac_ext >&5
4980 ac_cv_lib_ICE_IceConnectionNumber
=no
4983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4984 conftest
$ac_exeext conftest.
$ac_ext
4985 LIBS
=$ac_check_lib_save_LIBS
4987 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4988 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4989 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4990 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4993 LDFLAGS
=$ac_save_LDFLAGS
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy
$ac_prog; ac_word
=$2
5002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5004 if test "${ac_cv_prog_FLEX+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 if test -n "$FLEX"; then
5008 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_FLEX
="$ac_prog"
5018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 FLEX
=$ac_cv_prog_FLEX
5028 if test -n "$FLEX"; then
5029 { echo "$as_me:$LINENO: result: $FLEX" >&5
5030 echo "${ECHO_T}$FLEX" >&6; }
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5037 test -n "$FLEX" && break
5039 test -n "$FLEX" || FLEX
="none"
5041 if test "$FLEX" = "none"
5043 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5044 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5045 { (exit 1); exit 1; }; }
5048 for ac_prog
in bison
5050 # Extract the first word of "$ac_prog", so it can be a program name with args.
5051 set dummy
$ac_prog; ac_word
=$2
5052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5054 if test "${ac_cv_prog_BISON+set}" = set; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 if test -n "$BISON"; then
5058 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_exec_ext
in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_BISON
="$ac_prog"
5068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 BISON
=$ac_cv_prog_BISON
5078 if test -n "$BISON"; then
5079 { echo "$as_me:$LINENO: result: $BISON" >&5
5080 echo "${ECHO_T}$BISON" >&6; }
5082 { echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6; }
5087 test -n "$BISON" && break
5089 test -n "$BISON" || BISON
="none"
5091 if test "$BISON" = "none"
5093 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5094 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5095 { (exit 1); exit 1; }; }
5098 if test -n "$ac_tool_prefix"; then
5099 for ac_prog
in gas as
5101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5102 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5105 if test "${ac_cv_prog_AS+set}" = set; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 if test -n "$AS"; then
5109 ac_cv_prog_AS
="$AS" # Let the user override the test.
5111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir
=.
5116 for ac_exec_ext
in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 if test -n "$AS"; then
5130 { echo "$as_me:$LINENO: result: $AS" >&5
5131 echo "${ECHO_T}$AS" >&6; }
5133 { echo "$as_me:$LINENO: result: no" >&5
5134 echo "${ECHO_T}no" >&6; }
5138 test -n "$AS" && break
5141 if test -z "$AS"; then
5143 for ac_prog
in gas as
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy
$ac_prog; ac_word
=$2
5147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5149 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 if test -n "$ac_ct_AS"; then
5153 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AS
="$ac_prog"
5163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5173 if test -n "$ac_ct_AS"; then
5174 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5175 echo "${ECHO_T}$ac_ct_AS" >&6; }
5177 { echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6; }
5182 test -n "$ac_ct_AS" && break
5185 if test "x$ac_ct_AS" = x
; then
5188 case $cross_compiling:$ac_tool_warned in
5190 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&5
5193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5194 whose name does not start with the host triplet. If you think this
5195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5196 ac_tool_warned
=yes ;;
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5204 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5207 if test "${ac_cv_prog_LD+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 if test -n "$LD"; then
5211 ac_cv_prog_LD
="$LD" # Let the user override the test.
5213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir
=.
5218 for ac_exec_ext
in '' $ac_executable_extensions; do
5219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5220 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 if test -n "$LD"; then
5232 { echo "$as_me:$LINENO: result: $LD" >&5
5233 echo "${ECHO_T}$LD" >&6; }
5235 { echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6; }
5241 if test -z "$ac_cv_prog_LD"; then
5243 # Extract the first word of "ld", so it can be a program name with args.
5244 set dummy ld
; ac_word
=$2
5245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5247 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 if test -n "$ac_ct_LD"; then
5251 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5260 ac_cv_prog_ac_ct_LD
="ld"
5261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5271 if test -n "$ac_ct_LD"; then
5272 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5273 echo "${ECHO_T}$ac_ct_LD" >&6; }
5275 { echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6; }
5279 if test "x$ac_ct_LD" = x
; then
5282 case $cross_compiling:$ac_tool_warned in
5284 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&5
5287 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5288 whose name does not start with the host triplet. If you think this
5289 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5290 ac_tool_warned
=yes ;;
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5300 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5303 if test "${ac_cv_prog_AR+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 if test -n "$AR"; then
5307 ac_cv_prog_AR
="$AR" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 if test -n "$AR"; then
5328 { echo "$as_me:$LINENO: result: $AR" >&5
5329 echo "${ECHO_T}$AR" >&6; }
5331 { echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6; }
5337 if test -z "$ac_cv_prog_AR"; then
5339 # Extract the first word of "ar", so it can be a program name with args.
5340 set dummy
ar; ac_word
=$2
5341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5343 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if test -n "$ac_ct_AR"; then
5347 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_prog_ac_ct_AR
="ar"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5367 if test -n "$ac_ct_AR"; then
5368 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5369 echo "${ECHO_T}$ac_ct_AR" >&6; }
5371 { echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6; }
5375 if test "x$ac_ct_AR" = x
; then
5378 case $cross_compiling:$ac_tool_warned in
5380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&5
5383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5384 whose name does not start with the host triplet. If you think this
5385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5386 ac_tool_warned
=yes ;;
5394 if test -n "$ac_tool_prefix"; then
5395 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5396 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5399 if test "${ac_cv_prog_RANLIB+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 if test -n "$RANLIB"; then
5403 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5412 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 RANLIB
=$ac_cv_prog_RANLIB
5423 if test -n "$RANLIB"; then
5424 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5425 echo "${ECHO_T}$RANLIB" >&6; }
5427 { echo "$as_me:$LINENO: result: no" >&5
5428 echo "${ECHO_T}no" >&6; }
5433 if test -z "$ac_cv_prog_RANLIB"; then
5434 ac_ct_RANLIB
=$RANLIB
5435 # Extract the first word of "ranlib", so it can be a program name with args.
5436 set dummy ranlib
; ac_word
=$2
5437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5439 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 if test -n "$ac_ct_RANLIB"; then
5443 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5449 test -z "$as_dir" && as_dir
=.
5450 for ac_exec_ext
in '' $ac_executable_extensions; do
5451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5452 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5463 if test -n "$ac_ct_RANLIB"; then
5464 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5465 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5467 { echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6; }
5471 if test "x$ac_ct_RANLIB" = x
; then
5474 case $cross_compiling:$ac_tool_warned in
5476 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&5
5479 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5480 whose name does not start with the host triplet. If you think this
5481 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5482 ac_tool_warned
=yes ;;
5484 RANLIB
=$ac_ct_RANLIB
5487 RANLIB
="$ac_cv_prog_RANLIB"
5490 if test -n "$ac_tool_prefix"; then
5491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5492 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5495 if test "${ac_cv_prog_STRIP+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 if test -n "$STRIP"; then
5499 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 STRIP
=$ac_cv_prog_STRIP
5519 if test -n "$STRIP"; then
5520 { echo "$as_me:$LINENO: result: $STRIP" >&5
5521 echo "${ECHO_T}$STRIP" >&6; }
5523 { echo "$as_me:$LINENO: result: no" >&5
5524 echo "${ECHO_T}no" >&6; }
5529 if test -z "$ac_cv_prog_STRIP"; then
5531 # Extract the first word of "strip", so it can be a program name with args.
5532 set dummy strip
; ac_word
=$2
5533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5535 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 if test -n "$ac_ct_STRIP"; then
5539 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir
=.
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_prog_ac_ct_STRIP
="strip"
5549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5559 if test -n "$ac_ct_STRIP"; then
5560 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5561 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5563 { echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6; }
5567 if test "x$ac_ct_STRIP" = x
; then
5570 case $cross_compiling:$ac_tool_warned in
5572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&5
5575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5576 whose name does not start with the host triplet. If you think this
5577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5578 ac_tool_warned
=yes ;;
5583 STRIP
="$ac_cv_prog_STRIP"
5586 if test -n "$ac_tool_prefix"; then
5587 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5588 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5591 if test "${ac_cv_prog_WINDRES+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5594 if test -n "$WINDRES"; then
5595 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5601 test -z "$as_dir" && as_dir
=.
5602 for ac_exec_ext
in '' $ac_executable_extensions; do
5603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5604 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 WINDRES
=$ac_cv_prog_WINDRES
5615 if test -n "$WINDRES"; then
5616 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5617 echo "${ECHO_T}$WINDRES" >&6; }
5619 { echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6; }
5625 if test -z "$ac_cv_prog_WINDRES"; then
5626 ac_ct_WINDRES
=$WINDRES
5627 # Extract the first word of "windres", so it can be a program name with args.
5628 set dummy windres
; ac_word
=$2
5629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5631 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 if test -n "$ac_ct_WINDRES"; then
5635 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir
=.
5642 for ac_exec_ext
in '' $ac_executable_extensions; do
5643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644 ac_cv_prog_ac_ct_WINDRES
="windres"
5645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5655 if test -n "$ac_ct_WINDRES"; then
5656 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5657 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5659 { echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6; }
5663 if test "x$ac_ct_WINDRES" = x
; then
5666 case $cross_compiling:$ac_tool_warned in
5668 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&5
5671 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5672 whose name does not start with the host triplet. If you think this
5673 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5674 ac_tool_warned
=yes ;;
5676 WINDRES
=$ac_ct_WINDRES
5679 WINDRES
="$ac_cv_prog_WINDRES"
5682 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5683 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5685 if test "$LN_S" = "ln -s"; then
5686 { echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6; }
5689 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5690 echo "${ECHO_T}no, using $LN_S" >&6; }
5693 { echo "$as_me:$LINENO: checking whether ln works" >&5
5694 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5695 rm -f conf$$ conf$$.
file
5697 if ln conf$$.
file conf$$
2>/dev
/null
; then
5700 { echo "$as_me:$LINENO: result: yes" >&5
5701 echo "${ECHO_T}yes" >&6; }
5705 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5706 echo "${ECHO_T}no, using $LN" >&6; }
5708 rm -f conf$$ conf$$.
file
5709 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5710 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5711 if test "${ac_cv_path_GREP+set}" = set; then
5712 echo $ECHO_N "(cached) $ECHO_C" >&6
5714 # Extract the first word of "grep ggrep" to use in msg output
5715 if test -z "$GREP"; then
5716 set dummy
grep ggrep
; ac_prog_name
=$2
5717 if test "${ac_cv_path_GREP+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 ac_path_GREP_found
=false
5721 # Loop through the user's path and test for each of PROGNAME-LIST
5722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5726 test -z "$as_dir" && as_dir
=.
5727 for ac_prog
in grep ggrep
; do
5728 for ac_exec_ext
in '' $ac_executable_extensions; do
5729 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5730 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5731 # Check for GNU ac_path_GREP and select it if it is found.
5732 # Check for GNU $ac_path_GREP
5733 case `"$ac_path_GREP" --version 2>&1` in
5735 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5738 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5741 cat "conftest.in" "conftest.in" >"conftest.tmp"
5742 mv "conftest.tmp" "conftest.in"
5743 cp "conftest.in" "conftest.nl"
5744 echo 'GREP' >> "conftest.nl"
5745 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5746 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5747 ac_count
=`expr $ac_count + 1`
5748 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5749 # Best one so far, save it but keep looking for a better one
5750 ac_cv_path_GREP
="$ac_path_GREP"
5751 ac_path_GREP_max
=$ac_count
5753 # 10*(2^10) chars as input seems more than enough
5754 test $ac_count -gt 10 && break
5756 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5760 $ac_path_GREP_found && break 3
5770 GREP
="$ac_cv_path_GREP"
5771 if test -z "$GREP"; then
5772 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5773 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5774 { (exit 1); exit 1; }; }
5778 ac_cv_path_GREP
=$GREP
5783 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5784 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5785 GREP
="$ac_cv_path_GREP"
5788 { echo "$as_me:$LINENO: checking for egrep" >&5
5789 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5790 if test "${ac_cv_path_EGREP+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5794 then ac_cv_path_EGREP
="$GREP -E"
5796 # Extract the first word of "egrep" to use in msg output
5797 if test -z "$EGREP"; then
5798 set dummy
egrep; ac_prog_name
=$2
5799 if test "${ac_cv_path_EGREP+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 ac_path_EGREP_found
=false
5803 # Loop through the user's path and test for each of PROGNAME-LIST
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_prog
in egrep; do
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5812 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5813 # Check for GNU ac_path_EGREP and select it if it is found.
5814 # Check for GNU $ac_path_EGREP
5815 case `"$ac_path_EGREP" --version 2>&1` in
5817 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5820 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5823 cat "conftest.in" "conftest.in" >"conftest.tmp"
5824 mv "conftest.tmp" "conftest.in"
5825 cp "conftest.in" "conftest.nl"
5826 echo 'EGREP' >> "conftest.nl"
5827 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5828 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5829 ac_count
=`expr $ac_count + 1`
5830 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5831 # Best one so far, save it but keep looking for a better one
5832 ac_cv_path_EGREP
="$ac_path_EGREP"
5833 ac_path_EGREP_max
=$ac_count
5835 # 10*(2^10) chars as input seems more than enough
5836 test $ac_count -gt 10 && break
5838 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5842 $ac_path_EGREP_found && break 3
5852 EGREP
="$ac_cv_path_EGREP"
5853 if test -z "$EGREP"; then
5854 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5855 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5856 { (exit 1); exit 1; }; }
5860 ac_cv_path_EGREP
=$EGREP
5866 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5867 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5868 EGREP
="$ac_cv_path_EGREP"
5871 # Extract the first word of "ldconfig", so it can be a program name with args.
5872 set dummy ldconfig
; ac_word
=$2
5873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5875 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5884 for as_dir
in /sbin
/usr
/sbin
$PATH
5887 test -z "$as_dir" && as_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5902 LDCONFIG
=$ac_cv_path_LDCONFIG
5903 if test -n "$LDCONFIG"; then
5904 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5905 echo "${ECHO_T}$LDCONFIG" >&6; }
5907 { echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6; }
5912 # Find a good install program. We prefer a C program (faster),
5913 # so one script is as good as another. But avoid the broken or
5914 # incompatible versions:
5915 # SysV /etc/install, /usr/sbin/install
5916 # SunOS /usr/etc/install
5917 # IRIX /sbin/install
5919 # AmigaOS /C/install, which installs bootblocks on floppy discs
5920 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5921 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5922 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5923 # OS/2's system install, which has a completely different semantic
5924 # ./install, which can be erroneously created by make from ./install.sh.
5925 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5926 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5927 if test -z "$INSTALL"; then
5928 if test "${ac_cv_path_install+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5935 test -z "$as_dir" && as_dir
=.
5936 # Account for people who put trailing slashes in PATH elements.
5938 .
/ | .
// |
/cC
/* | \
5939 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5940 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5943 # OSF1 and SCO ODT 3.0 have their own names for install.
5944 # Don't use installbsd from OSF since it installs stuff as root
5946 for ac_prog
in ginstall scoinst
install; do
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5949 if test $ac_prog = install &&
5950 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5951 # AIX install. It has an incompatible calling convention.
5953 elif test $ac_prog = install &&
5954 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5955 # program-specific install script used by HP pwplus--don't use.
5958 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5971 if test "${ac_cv_path_install+set}" = set; then
5972 INSTALL
=$ac_cv_path_install
5974 # As a last resort, use the slow shell script. Don't cache a
5975 # value for INSTALL within a source directory, because that will
5976 # break other packages using the cache if that directory is
5977 # removed, or if the value is a relative name.
5978 INSTALL
=$ac_install_sh
5981 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5982 echo "${ECHO_T}$INSTALL" >&6; }
5984 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5985 # It thinks the first close brace ends the variable substitution.
5986 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5988 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5990 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5993 [\\/$
]* | ?
:[\\/]* ) ;;
5994 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5997 for ac_prog
in lclint lint
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy
$ac_prog; ac_word
=$2
6001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6003 if test "${ac_cv_prog_LINT+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6006 if test -n "$LINT"; then
6007 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir
=.
6014 for ac_exec_ext
in '' $ac_executable_extensions; do
6015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 ac_cv_prog_LINT
="$ac_prog"
6017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6026 LINT
=$ac_cv_prog_LINT
6027 if test -n "$LINT"; then
6028 { echo "$as_me:$LINENO: result: $LINT" >&5
6029 echo "${ECHO_T}$LINT" >&6; }
6031 { echo "$as_me:$LINENO: result: no" >&5
6032 echo "${ECHO_T}no" >&6; }
6036 test -n "$LINT" && break
6039 if test "$LINT" = "lint"
6041 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6046 for ac_prog
in fontforge
6048 # Extract the first word of "$ac_prog", so it can be a program name with args.
6049 set dummy
$ac_prog; ac_word
=$2
6050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6052 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 if test -n "$FONTFORGE"; then
6056 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir
=.
6063 for ac_exec_ext
in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_FONTFORGE
="$ac_prog"
6066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 FONTFORGE
=$ac_cv_prog_FONTFORGE
6076 if test -n "$FONTFORGE"; then
6077 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6078 echo "${ECHO_T}$FONTFORGE" >&6; }
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6085 test -n "$FONTFORGE" && break
6087 test -n "$FONTFORGE" || FONTFORGE
="false"
6089 for ac_prog
in pkg-config
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy
$ac_prog; ac_word
=$2
6093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6095 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 if test -n "$PKG_CONFIG"; then
6099 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir
=.
6106 for ac_exec_ext
in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6119 if test -n "$PKG_CONFIG"; then
6120 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6121 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6123 { echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6; }
6128 test -n "$PKG_CONFIG" && break
6130 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6135 # Extract the first word of "prelink", so it can be a program name with args.
6136 set dummy prelink
; ac_word
=$2
6137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6139 if test "${ac_cv_path_PRELINK+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6148 for as_dir
in /sbin
/usr
/sbin
$PATH
6151 test -z "$as_dir" && as_dir
=.
6152 for ac_exec_ext
in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6166 PRELINK
=$ac_cv_path_PRELINK
6167 if test -n "$PRELINK"; then
6168 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6169 echo "${ECHO_T}$PRELINK" >&6; }
6171 { echo "$as_me:$LINENO: result: no" >&5
6172 echo "${ECHO_T}no" >&6; }
6181 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6182 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6183 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 ac_check_lib_save_LIBS
=$LIBS
6188 cat >conftest.
$ac_ext <<_ACEOF
6191 cat confdefs.h
>>conftest.
$ac_ext
6192 cat >>conftest.
$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6195 /* Override any GCC internal prototype to avoid an error.
6196 Use char because int might match the return type of a GCC
6197 builtin and then its argument prototype would still apply. */
6201 char i386_set_ldt ();
6205 return i386_set_ldt ();
6210 rm -f conftest.
$ac_objext conftest
$ac_exeext
6211 if { (ac_try
="$ac_link"
6213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6214 *) ac_try_echo=$ac_try;;
6216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6217 (eval "$ac_link") 2>conftest.er1
6219 grep -v '^ *+' conftest.er1 >conftest.err
6221 cat conftest.err >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); } && {
6224 test -z "$ac_c_werror_flag" ||
6225 test ! -s conftest.err
6226 } && test -s conftest$ac_exeext &&
6227 $as_test_x conftest$ac_exeext; then
6228 ac_cv_lib_i386_i386_set_ldt=yes
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6233 ac_cv_lib_i386_i386_set_ldt=no
6236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6237 conftest$ac_exeext conftest.$ac_ext
6238 LIBS=$ac_check_lib_save_LIBS
6240 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6241 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6242 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_LIBI386 1
6252 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6253 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6254 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6257 ac_check_lib_save_LIBS=$LIBS
6258 LIBS="-lossaudio $LIBS"
6259 cat >conftest.$ac_ext <<_ACEOF
6262 cat confdefs.h >>conftest.$ac_ext
6263 cat >>conftest.$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6266 /* Override any GCC internal prototype to avoid an error.
6267 Use char because int might match the return type of a GCC
6268 builtin and then its argument prototype would still apply. */
6276 return _oss_ioctl ();
6281 rm -f conftest.$ac_objext conftest$ac_exeext
6282 if { (ac_try="$ac_link"
6284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6285 *) ac_try_echo
=$ac_try;;
6287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6288 (eval "$ac_link") 2>conftest.er1
6290 grep -v '^ *+' conftest.er1
>conftest.err
6292 cat conftest.err
>&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } && {
6295 test -z "$ac_c_werror_flag" ||
6296 test ! -s conftest.err
6297 } && test -s conftest
$ac_exeext &&
6298 $as_test_x conftest
$ac_exeext; then
6299 ac_cv_lib_ossaudio__oss_ioctl
=yes
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.
$ac_ext >&5
6304 ac_cv_lib_ossaudio__oss_ioctl
=no
6307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6308 conftest
$ac_exeext conftest.
$ac_ext
6309 LIBS
=$ac_check_lib_save_LIBS
6311 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6312 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6313 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6314 cat >>confdefs.h
<<_ACEOF
6315 #define HAVE_LIBOSSAUDIO 1
6318 LIBS
="-lossaudio $LIBS"
6323 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6324 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6325 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 ac_check_lib_save_LIBS
=$LIBS
6330 cat >conftest.
$ac_ext <<_ACEOF
6333 cat confdefs.h
>>conftest.
$ac_ext
6334 cat >>conftest.
$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6337 /* Override any GCC internal prototype to avoid an error.
6338 Use char because int might match the return type of a GCC
6339 builtin and then its argument prototype would still apply. */
6343 char _xpg4_setrunelocale ();
6347 return _xpg4_setrunelocale ();
6352 rm -f conftest.
$ac_objext conftest
$ac_exeext
6353 if { (ac_try
="$ac_link"
6355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359 (eval "$ac_link") 2>conftest.er1
6361 grep -v '^ *+' conftest.er1 >conftest.err
6363 cat conftest.err >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } && {
6366 test -z "$ac_c_werror_flag" ||
6367 test ! -s conftest.err
6368 } && test -s conftest$ac_exeext &&
6369 $as_test_x conftest$ac_exeext; then
6370 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6375 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6379 conftest$ac_exeext conftest.$ac_ext
6380 LIBS=$ac_check_lib_save_LIBS
6382 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6383 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6384 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6385 cat >>confdefs.h <<_ACEOF
6386 #define HAVE_LIBXPG4 1
6393 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6394 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6395 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 ac_check_lib_save_LIBS=$LIBS
6399 LIBS="-lpthread $LIBS"
6400 cat >conftest.$ac_ext <<_ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any GCC internal prototype to avoid an error.
6408 Use char because int might match the return type of a GCC
6409 builtin and then its argument prototype would still apply. */
6413 char pthread_create ();
6417 return pthread_create ();
6422 rm -f conftest.$ac_objext conftest$ac_exeext
6423 if { (ac_try="$ac_link"
6425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6426 *) ac_try_echo
=$ac_try;;
6428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6429 (eval "$ac_link") 2>conftest.er1
6431 grep -v '^ *+' conftest.er1
>conftest.err
6433 cat conftest.err
>&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } && {
6436 test -z "$ac_c_werror_flag" ||
6437 test ! -s conftest.err
6438 } && test -s conftest
$ac_exeext &&
6439 $as_test_x conftest
$ac_exeext; then
6440 ac_cv_lib_pthread_pthread_create
=yes
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.
$ac_ext >&5
6445 ac_cv_lib_pthread_pthread_create
=no
6448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6449 conftest
$ac_exeext conftest.
$ac_ext
6450 LIBS
=$ac_check_lib_save_LIBS
6452 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6453 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6454 if test $ac_cv_lib_pthread_pthread_create = yes; then
6455 LIBPTHREAD
="-lpthread"
6474 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6475 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6476 if test "${ac_cv_header_stdc+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6498 rm -f conftest.
$ac_objext
6499 if { (ac_try
="$ac_compile"
6501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6502 *) ac_try_echo=$ac_try;;
6504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6505 (eval "$ac_compile") 2>conftest.er1
6507 grep -v '^ *+' conftest.er1 >conftest.err
6509 cat conftest.err >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } && {
6512 test -z "$ac_c_werror_flag" ||
6513 test ! -s conftest.err
6514 } && test -s conftest.$ac_objext; then
6515 ac_cv_header_stdc=yes
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 ac_cv_header_stdc=no
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6525 if test $ac_cv_header_stdc = yes; then
6526 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6527 cat >conftest.$ac_ext <<_ACEOF
6530 cat confdefs.h >>conftest.$ac_ext
6531 cat >>conftest.$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6537 $EGREP "memchr" >/dev/null 2>&1; then
6540 ac_cv_header_stdc=no
6546 if test $ac_cv_header_stdc = yes; then
6547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6548 cat >conftest.$ac_ext <<_ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6558 $EGREP "free" >/dev/null 2>&1; then
6561 ac_cv_header_stdc=no
6567 if test $ac_cv_header_stdc = yes; then
6568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6569 if test "$cross_compiling" = yes; then
6572 cat >conftest.$ac_ext <<_ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6580 #if ((' ' & 0x0FF) == 0x020)
6581 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6582 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6584 # define ISLOWER(c) \
6585 (('a' <= (c) && (c) <= 'i') \
6586 || ('j' <= (c) && (c) <= 'r') \
6587 || ('s' <= (c) && (c) <= 'z'))
6588 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6591 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6596 for (i = 0; i < 256; i++)
6597 if (XOR (islower (i), ISLOWER (i))
6598 || toupper (i) != TOUPPER (i))
6603 rm -f conftest$ac_exeext
6604 if { (ac_try="$ac_link"
6606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6607 *) ac_try_echo
=$ac_try;;
6609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_link") 2>&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6614 { (case "(($ac_try" in
6615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6616 *) ac_try_echo=$ac_try;;
6618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6619 (eval "$ac_try") 2>&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6625 echo "$as_me: program exited with status $ac_status" >&5
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6630 ac_cv_header_stdc=no
6632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6638 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6639 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6640 if test $ac_cv_header_stdc = yes; then
6642 cat >>confdefs.h <<\_ACEOF
6643 #define STDC_HEADERS 1
6648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6659 inttypes.h stdint.h unistd.h
6661 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6662 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 cat >conftest.$ac_ext <<_ACEOF
6670 cat confdefs.h >>conftest.$ac_ext
6671 cat >>conftest.$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6673 $ac_includes_default
6675 #include <$ac_header>
6677 rm -f conftest.$ac_objext
6678 if { (ac_try="$ac_compile"
6680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6681 *) ac_try_echo
=$ac_try;;
6683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6684 (eval "$ac_compile") 2>conftest.er1
6686 grep -v '^ *+' conftest.er1
>conftest.err
6688 cat conftest.err
>&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } && {
6691 test -z "$ac_c_werror_flag" ||
6692 test ! -s conftest.err
6693 } && test -s conftest.
$ac_objext; then
6694 eval "$as_ac_Header=yes"
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6699 eval "$as_ac_Header=no"
6702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6704 ac_res
=`eval echo '${'$as_ac_Header'}'`
6705 { echo "$as_me:$LINENO: result: $ac_res" >&5
6706 echo "${ECHO_T}$ac_res" >&6; }
6707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6708 cat >>confdefs.h
<<_ACEOF
6709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6827 AudioUnit
/AudioUnit.h \
6829 CoreAudio
/CoreAudio.h \
6830 DiskArbitration
/DiskArbitration.h \
6843 fontconfig
/fontconfig.h \
6869 machine
/soundcard.h \
6874 netinet
/in_systm.h \
6938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6942 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 ac_res
=`eval echo '${'$as_ac_Header'}'`
6946 { echo "$as_me:$LINENO: result: $ac_res" >&5
6947 echo "${ECHO_T}$ac_res" >&6; }
6949 # Is the header compilable?
6950 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 $ac_includes_default
6959 #include <$ac_header>
6961 rm -f conftest.
$ac_objext
6962 if { (ac_try
="$ac_compile"
6964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6965 *) ac_try_echo=$ac_try;;
6967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6968 (eval "$ac_compile") 2>conftest.er1
6970 grep -v '^ *+' conftest.er1 >conftest.err
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } && {
6975 test -z "$ac_c_werror_flag" ||
6976 test ! -s conftest.err
6977 } && test -s conftest.$ac_objext; then
6978 ac_header_compiler=yes
6980 echo "$as_me: failed program was:" >&5
6981 sed 's/^/| /' conftest.$ac_ext >&5
6983 ac_header_compiler=no
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6988 echo "${ECHO_T}$ac_header_compiler" >&6; }
6990 # Is the header present?
6991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6993 cat >conftest.$ac_ext <<_ACEOF
6996 cat confdefs.h >>conftest.$ac_ext
6997 cat >>conftest.$ac_ext <<_ACEOF
6998 /* end confdefs.h. */
6999 #include <$ac_header>
7001 if { (ac_try="$ac_cpp conftest.$ac_ext"
7003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7004 *) ac_try_echo
=$ac_try;;
7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7009 grep -v '^ *+' conftest.er1
>conftest.err
7011 cat conftest.err
>&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } >/dev
/null
&& {
7014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7015 test ! -s conftest.err
7017 ac_header_preproc
=yes
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.
$ac_ext >&5
7022 ac_header_preproc
=no
7025 rm -f conftest.err conftest.
$ac_ext
7026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7027 echo "${ECHO_T}$ac_header_preproc" >&6; }
7029 # So? What about this header?
7030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7036 ac_header_preproc
=yes
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7052 ## ------------------------------------ ##
7053 ## Report this to wine-devel@winehq.org ##
7054 ## ------------------------------------ ##
7056 ) |
sed "s/^/$as_me: WARNING: /" >&2
7059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7061 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 eval "$as_ac_Header=\$ac_header_preproc"
7066 ac_res
=`eval echo '${'$as_ac_Header'}'`
7067 { echo "$as_me:$LINENO: result: $ac_res" >&5
7068 echo "${ECHO_T}$ac_res" >&6; }
7071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7072 cat >>confdefs.h
<<_ACEOF
7073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7080 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7081 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7082 if test "${ac_cv_header_stat_broken+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 cat >conftest.
$ac_ext <<_ACEOF
7088 cat confdefs.h
>>conftest.
$ac_ext
7089 cat >>conftest.
$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 #include <sys/types.h>
7092 #include <sys/stat.h>
7094 #if defined S_ISBLK && defined S_IFDIR
7095 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7098 #if defined S_ISBLK && defined S_IFCHR
7099 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7102 #if defined S_ISLNK && defined S_IFREG
7103 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7106 #if defined S_ISSOCK && defined S_IFREG
7107 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7111 rm -f conftest.
$ac_objext
7112 if { (ac_try
="$ac_compile"
7114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7115 *) ac_try_echo=$ac_try;;
7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7118 (eval "$ac_compile") 2>conftest.er1
7120 grep -v '^ *+' conftest.er1 >conftest.err
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } && {
7125 test -z "$ac_c_werror_flag" ||
7126 test ! -s conftest.err
7127 } && test -s conftest.$ac_objext; then
7128 ac_cv_header_stat_broken=no
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_cv_header_stat_broken=yes
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7139 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7140 if test $ac_cv_header_stat_broken = yes; then
7142 cat >>confdefs.h <<\_ACEOF
7143 #define STAT_MACROS_BROKEN 1
7154 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7156 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 cat >conftest.$ac_ext <<_ACEOF
7165 cat confdefs.h >>conftest.$ac_ext
7166 cat >>conftest.$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 #include <sys/types.h>
7169 #if HAVE_SYS_PARAM_H
7170 # include <sys/param.h>
7173 #include <$ac_header>
7175 rm -f conftest.$ac_objext
7176 if { (ac_try="$ac_compile"
7178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7179 *) ac_try_echo
=$ac_try;;
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_compile") 2>conftest.er1
7184 grep -v '^ *+' conftest.er1
>conftest.err
7186 cat conftest.err
>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest.
$ac_objext; then
7192 eval "$as_ac_Header=yes"
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.
$ac_ext >&5
7197 eval "$as_ac_Header=no"
7200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7202 ac_res
=`eval echo '${'$as_ac_Header'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h
<<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7221 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
7223 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7226 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7229 cat >conftest.
$ac_ext <<_ACEOF
7232 cat confdefs.h
>>conftest.
$ac_ext
7233 cat >>conftest.
$ac_ext <<_ACEOF
7234 /* end confdefs.h. */
7235 #include <sys/types.h>
7236 #if HAVE_SYS_SOCKET_H
7237 # include <sys/socket.h>
7240 #include <$ac_header>
7242 rm -f conftest.
$ac_objext
7243 if { (ac_try
="$ac_compile"
7245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7246 *) ac_try_echo=$ac_try;;
7248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7249 (eval "$ac_compile") 2>conftest.er1
7251 grep -v '^ *+' conftest.er1 >conftest.err
7253 cat conftest.err >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } && {
7256 test -z "$ac_c_werror_flag" ||
7257 test ! -s conftest.err
7258 } && test -s conftest.$ac_objext; then
7259 eval "$as_ac_Header=yes"
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 eval "$as_ac_Header=no"
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 ac_res=`eval echo '${'$as_ac_Header'}'`
7270 { echo "$as_me:$LINENO: result: $ac_res" >&5
7271 echo "${ECHO_T}$ac_res" >&6; }
7272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7273 cat >>confdefs.h <<_ACEOF
7274 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7283 for ac_header in linux/ipx.h
7285 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 cat >conftest.$ac_ext <<_ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 #include <sys/types.h>
7298 #ifdef HAVE_ASM_TYPES_H
7299 # include <asm/types.h>
7301 #if HAVE_SYS_SOCKET_H
7302 # include <sys/socket.h>
7305 #include <$ac_header>
7307 rm -f conftest.$ac_objext
7308 if { (ac_try="$ac_compile"
7310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7311 *) ac_try_echo
=$ac_try;;
7313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7314 (eval "$ac_compile") 2>conftest.er1
7316 grep -v '^ *+' conftest.er1
>conftest.err
7318 cat conftest.err
>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } && {
7321 test -z "$ac_c_werror_flag" ||
7322 test ! -s conftest.err
7323 } && test -s conftest.
$ac_objext; then
7324 eval "$as_ac_Header=yes"
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.
$ac_ext >&5
7329 eval "$as_ac_Header=no"
7332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7334 ac_res
=`eval echo '${'$as_ac_Header'}'`
7335 { echo "$as_me:$LINENO: result: $ac_res" >&5
7336 echo "${ECHO_T}$ac_res" >&6; }
7337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7338 cat >>confdefs.h
<<_ACEOF
7339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 for ac_header
in resolv.h
7350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7353 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 cat >conftest.
$ac_ext <<_ACEOF
7359 cat confdefs.h
>>conftest.
$ac_ext
7360 cat >>conftest.
$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 #include <sys/types.h>
7363 #if HAVE_SYS_SOCKET_H
7364 # include <sys/socket.h>
7366 #if HAVE_NETINET_IN_H
7367 # include <netinet/in.h>
7369 #if HAVE_ARPA_NAMESER_H
7370 # include <arpa/nameser.h>
7373 #include <$ac_header>
7375 rm -f conftest.
$ac_objext
7376 if { (ac_try
="$ac_compile"
7378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7379 *) ac_try_echo=$ac_try;;
7381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7382 (eval "$ac_compile") 2>conftest.er1
7384 grep -v '^ *+' conftest.er1 >conftest.err
7386 cat conftest.err >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); } && {
7389 test -z "$ac_c_werror_flag" ||
7390 test ! -s conftest.err
7391 } && test -s conftest.$ac_objext; then
7392 eval "$as_ac_Header=yes"
7394 echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.$ac_ext >&5
7397 eval "$as_ac_Header=no"
7400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7402 ac_res=`eval echo '${'$as_ac_Header'}'`
7403 { echo "$as_me:$LINENO: result: $ac_res" >&5
7404 echo "${ECHO_T}$ac_res" >&6; }
7405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7406 cat >>confdefs.h <<_ACEOF
7407 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7416 for ac_header in ucontext.h
7418 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 cat >conftest.$ac_ext <<_ACEOF
7427 cat confdefs.h >>conftest.$ac_ext
7428 cat >>conftest.$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7432 #include <$ac_header>
7434 rm -f conftest.$ac_objext
7435 if { (ac_try="$ac_compile"
7437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7438 *) ac_try_echo
=$ac_try;;
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_compile") 2>conftest.er1
7443 grep -v '^ *+' conftest.er1
>conftest.err
7445 cat conftest.err
>&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } && {
7448 test -z "$ac_c_werror_flag" ||
7449 test ! -s conftest.err
7450 } && test -s conftest.
$ac_objext; then
7451 eval "$as_ac_Header=yes"
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.
$ac_ext >&5
7456 eval "$as_ac_Header=no"
7459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7461 ac_res
=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7465 cat >>confdefs.h
<<_ACEOF
7466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 for ac_header
in pthread_np.h
7477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 cat >conftest.
$ac_ext <<_ACEOF
7486 cat confdefs.h
>>conftest.
$ac_ext
7487 cat >>conftest.
$ac_ext <<_ACEOF
7488 /* end confdefs.h. */
7489 #ifdef HAVE_PTHREAD_H
7490 #include <pthread.h>
7493 #include <$ac_header>
7495 rm -f conftest.
$ac_objext
7496 if { (ac_try
="$ac_compile"
7498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7499 *) ac_try_echo=$ac_try;;
7501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7502 (eval "$ac_compile") 2>conftest.er1
7504 grep -v '^ *+' conftest.er1 >conftest.err
7506 cat conftest.err >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); } && {
7509 test -z "$ac_c_werror_flag" ||
7510 test ! -s conftest.err
7511 } && test -s conftest.$ac_objext; then
7512 eval "$as_ac_Header=yes"
7514 echo "$as_me: failed program was:" >&5
7515 sed 's/^/| /' conftest.$ac_ext >&5
7517 eval "$as_ac_Header=no"
7520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7522 ac_res=`eval echo '${'$as_ac_Header'}'`
7523 { echo "$as_me:$LINENO: result: $ac_res" >&5
7524 echo "${ECHO_T}$ac_res" >&6; }
7525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7526 cat >>confdefs.h <<_ACEOF
7527 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7536 for ac_header in linux/videodev.h
7538 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7542 echo $ECHO_N "(cached) $ECHO_C" >&6
7544 cat >conftest.$ac_ext <<_ACEOF
7547 cat confdefs.h >>conftest.$ac_ext
7548 cat >>conftest.$ac_ext <<_ACEOF
7549 /* end confdefs.h. */
7550 #ifdef HAVE_SYS_TIME_H
7551 #include <sys/time.h>
7553 #include <sys/types.h>
7554 #ifdef HAVE_ASM_TYPES_H
7555 #include <asm/types.h>
7558 #include <$ac_header>
7560 rm -f conftest.$ac_objext
7561 if { (ac_try="$ac_compile"
7563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7564 *) ac_try_echo
=$ac_try;;
7566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7567 (eval "$ac_compile") 2>conftest.er1
7569 grep -v '^ *+' conftest.er1
>conftest.err
7571 cat conftest.err
>&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } && {
7574 test -z "$ac_c_werror_flag" ||
7575 test ! -s conftest.err
7576 } && test -s conftest.
$ac_objext; then
7577 eval "$as_ac_Header=yes"
7579 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.
$ac_ext >&5
7582 eval "$as_ac_Header=no"
7585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7587 ac_res
=`eval echo '${'$as_ac_Header'}'`
7588 { echo "$as_me:$LINENO: result: $ac_res" >&5
7589 echo "${ECHO_T}$ac_res" >&6; }
7590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7591 cat >>confdefs.h
<<_ACEOF
7592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7601 for ac_header
in linux
/capi.h
7603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7604 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7606 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7617 #include <$ac_header>
7619 rm -f conftest.
$ac_objext
7620 if { (ac_try
="$ac_compile"
7622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7623 *) ac_try_echo=$ac_try;;
7625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7626 (eval "$ac_compile") 2>conftest.er1
7628 grep -v '^ *+' conftest.er1 >conftest.err
7630 cat conftest.err >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } && {
7633 test -z "$ac_c_werror_flag" ||
7634 test ! -s conftest.err
7635 } && test -s conftest.$ac_objext; then
7636 eval "$as_ac_Header=yes"
7638 echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7641 eval "$as_ac_Header=no"
7644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7646 ac_res=`eval echo '${'$as_ac_Header'}'`
7647 { echo "$as_me:$LINENO: result: $ac_res" >&5
7648 echo "${ECHO_T}$ac_res" >&6; }
7649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7650 cat >>confdefs.h <<_ACEOF
7651 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7660 if test "$have_x" = "yes"
7663 ac_save_CPPFLAGS="$CPPFLAGS"
7664 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7676 for ac_header in X11/Xlib.h \
7679 X11/extensions/shape.h \
7680 X11/extensions/XInput.h \
7681 X11/extensions/XShm.h \
7682 X11/extensions/Xinerama.h \
7683 X11/extensions/Xrandr.h \
7684 X11/extensions/Xrender.h \
7685 X11/extensions/xf86vmode.h
7687 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7693 cat >conftest.$ac_ext <<_ACEOF
7696 cat confdefs.h >>conftest.$ac_ext
7697 cat >>conftest.$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7699 #ifdef HAVE_X11_XLIB_H
7700 # include <X11/Xlib.h>
7702 #ifdef HAVE_X11_XUTIL_H
7703 # include <X11/Xutil.h>
7706 #include <$ac_header>
7708 rm -f conftest.$ac_objext
7709 if { (ac_try="$ac_compile"
7711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7712 *) ac_try_echo
=$ac_try;;
7714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 (eval "$ac_compile") 2>conftest.er1
7717 grep -v '^ *+' conftest.er1
>conftest.err
7719 cat conftest.err
>&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } && {
7722 test -z "$ac_c_werror_flag" ||
7723 test ! -s conftest.err
7724 } && test -s conftest.
$ac_objext; then
7725 eval "$as_ac_Header=yes"
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.
$ac_ext >&5
7730 eval "$as_ac_Header=no"
7733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7735 ac_res
=`eval echo '${'$as_ac_Header'}'`
7736 { echo "$as_me:$LINENO: result: $ac_res" >&5
7737 echo "${ECHO_T}$ac_res" >&6; }
7738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7739 cat >>confdefs.h
<<_ACEOF
7740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7748 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7750 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7751 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7752 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 ac_check_lib_save_LIBS
=$LIBS
7756 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7757 cat >conftest.
$ac_ext <<_ACEOF
7760 cat confdefs.h
>>conftest.
$ac_ext
7761 cat >>conftest.
$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7764 /* Override any GCC internal prototype to avoid an error.
7765 Use char because int might match the return type of a GCC
7766 builtin and then its argument prototype would still apply. */
7770 char XkbQueryExtension ();
7774 return XkbQueryExtension ();
7779 rm -f conftest.
$ac_objext conftest
$ac_exeext
7780 if { (ac_try
="$ac_link"
7782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7783 *) ac_try_echo=$ac_try;;
7785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7786 (eval "$ac_link") 2>conftest.er1
7788 grep -v '^ *+' conftest.er1 >conftest.err
7790 cat conftest.err >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } && {
7793 test -z "$ac_c_werror_flag" ||
7794 test ! -s conftest.err
7795 } && test -s conftest$ac_exeext &&
7796 $as_test_x conftest$ac_exeext; then
7797 ac_cv_lib_X11_XkbQueryExtension=yes
7799 echo "$as_me: failed program was:" >&5
7800 sed 's/^/| /' conftest.$ac_ext >&5
7802 ac_cv_lib_X11_XkbQueryExtension=no
7805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7806 conftest$ac_exeext conftest.$ac_ext
7807 LIBS=$ac_check_lib_save_LIBS
7809 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7810 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7811 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7813 cat >>confdefs.h <<\_ACEOF
7821 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7823 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7824 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7825 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7828 ac_check_lib_save_LIBS=$LIBS
7829 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7830 cat >conftest.$ac_ext <<_ACEOF
7833 cat confdefs.h >>conftest.$ac_ext
7834 cat >>conftest.$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7837 /* Override any GCC internal prototype to avoid an error.
7838 Use char because int might match the return type of a GCC
7839 builtin and then its argument prototype would still apply. */
7843 char XShmQueryExtension ();
7847 return XShmQueryExtension ();
7852 rm -f conftest.$ac_objext conftest$ac_exeext
7853 if { (ac_try="$ac_link"
7855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7856 *) ac_try_echo
=$ac_try;;
7858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7859 (eval "$ac_link") 2>conftest.er1
7861 grep -v '^ *+' conftest.er1
>conftest.err
7863 cat conftest.err
>&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); } && {
7866 test -z "$ac_c_werror_flag" ||
7867 test ! -s conftest.err
7868 } && test -s conftest
$ac_exeext &&
7869 $as_test_x conftest
$ac_exeext; then
7870 ac_cv_lib_Xext_XShmQueryExtension
=yes
7872 echo "$as_me: failed program was:" >&5
7873 sed 's/^/| /' conftest.
$ac_ext >&5
7875 ac_cv_lib_Xext_XShmQueryExtension
=no
7878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7879 conftest
$ac_exeext conftest.
$ac_ext
7880 LIBS
=$ac_check_lib_save_LIBS
7882 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7883 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7884 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7886 cat >>confdefs.h
<<\_ACEOF
7887 #define HAVE_LIBXXSHM 1
7894 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7896 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7897 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7898 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 ac_check_lib_save_LIBS
=$LIBS
7902 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7903 cat >conftest.
$ac_ext <<_ACEOF
7906 cat confdefs.h
>>conftest.
$ac_ext
7907 cat >>conftest.
$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7910 /* Override any GCC internal prototype to avoid an error.
7911 Use char because int might match the return type of a GCC
7912 builtin and then its argument prototype would still apply. */
7916 char XShapeQueryExtension ();
7920 return XShapeQueryExtension ();
7925 rm -f conftest.
$ac_objext conftest
$ac_exeext
7926 if { (ac_try
="$ac_link"
7928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7929 *) ac_try_echo=$ac_try;;
7931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7932 (eval "$ac_link") 2>conftest.er1
7934 grep -v '^ *+' conftest.er1 >conftest.err
7936 cat conftest.err >&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); } && {
7939 test -z "$ac_c_werror_flag" ||
7940 test ! -s conftest.err
7941 } && test -s conftest$ac_exeext &&
7942 $as_test_x conftest$ac_exeext; then
7943 ac_cv_lib_Xext_XShapeQueryExtension=yes
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7948 ac_cv_lib_Xext_XShapeQueryExtension=no
7951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7952 conftest$ac_exeext conftest.$ac_ext
7953 LIBS=$ac_check_lib_save_LIBS
7955 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7956 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7957 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7959 cat >>confdefs.h <<\_ACEOF
7960 #define HAVE_LIBXSHAPE 1
7967 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7969 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7970 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7971 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 ac_check_lib_save_LIBS=$LIBS
7975 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7976 cat >conftest.$ac_ext <<_ACEOF
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7983 /* Override any GCC internal prototype to avoid an error.
7984 Use char because int might match the return type of a GCC
7985 builtin and then its argument prototype would still apply. */
7989 char XF86VidModeQueryExtension ();
7993 return XF86VidModeQueryExtension ();
7998 rm -f conftest.$ac_objext conftest$ac_exeext
7999 if { (ac_try="$ac_link"
8001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8002 *) ac_try_echo
=$ac_try;;
8004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8005 (eval "$ac_link") 2>conftest.er1
8007 grep -v '^ *+' conftest.er1
>conftest.err
8009 cat conftest.err
>&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } && {
8012 test -z "$ac_c_werror_flag" ||
8013 test ! -s conftest.err
8014 } && test -s conftest
$ac_exeext &&
8015 $as_test_x conftest
$ac_exeext; then
8016 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.
$ac_ext >&5
8021 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8025 conftest
$ac_exeext conftest.
$ac_ext
8026 LIBS
=$ac_check_lib_save_LIBS
8028 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8029 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8030 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8032 cat >>confdefs.h
<<\_ACEOF
8033 #define HAVE_LIBXXF86VM 1
8036 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8042 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8044 cat >conftest.
$ac_ext <<_ACEOF
8047 cat confdefs.h
>>conftest.
$ac_ext
8048 cat >>conftest.
$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #include <X11/Xlib.h>
8051 #include <X11/extensions/Xrandr.h>
8055 static typeof(XRRSetScreenConfigAndRate) * func;
8060 rm -f conftest.
$ac_objext
8061 if { (ac_try
="$ac_compile"
8063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8064 *) ac_try_echo=$ac_try;;
8066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8067 (eval "$ac_compile") 2>conftest.er1
8069 grep -v '^ *+' conftest.er1 >conftest.err
8071 cat conftest.err >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); } && {
8074 test -z "$ac_c_werror_flag" ||
8075 test ! -s conftest.err
8076 } && test -s conftest.$ac_objext; then
8078 cat >>confdefs.h <<\_ACEOF
8079 #define HAVE_LIBXRANDR 1
8083 echo "$as_me: failed program was:" >&5
8084 sed 's/^/| /' conftest.$ac_ext >&5
8089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8092 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8094 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8095 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8096 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 ac_check_lib_save_LIBS=$LIBS
8100 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8101 cat >conftest.$ac_ext <<_ACEOF
8104 cat confdefs.h >>conftest.$ac_ext
8105 cat >>conftest.$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8108 /* Override any GCC internal prototype to avoid an error.
8109 Use char because int might match the return type of a GCC
8110 builtin and then its argument prototype would still apply. */
8114 char XRenderSetPictureTransform ();
8118 return XRenderSetPictureTransform ();
8123 rm -f conftest.$ac_objext conftest$ac_exeext
8124 if { (ac_try="$ac_link"
8126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8127 *) ac_try_echo
=$ac_try;;
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_link") 2>conftest.er1
8132 grep -v '^ *+' conftest.er1
>conftest.err
8134 cat conftest.err
>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } && {
8137 test -z "$ac_c_werror_flag" ||
8138 test ! -s conftest.err
8139 } && test -s conftest
$ac_exeext &&
8140 $as_test_x conftest
$ac_exeext; then
8141 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.
$ac_ext >&5
8146 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8150 conftest
$ac_exeext conftest.
$ac_ext
8151 LIBS
=$ac_check_lib_save_LIBS
8153 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8154 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8155 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8157 cat >>confdefs.h
<<\_ACEOF
8158 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8165 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8167 cat >conftest.
$ac_ext <<_ACEOF
8170 cat confdefs.h
>>conftest.
$ac_ext
8171 cat >>conftest.
$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 #include <X11/Xlib.h>
8174 #include <X11/extensions/Xinerama.h>
8178 static typeof(XineramaQueryScreens) * func;
8183 rm -f conftest.
$ac_objext
8184 if { (ac_try
="$ac_compile"
8186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8187 *) ac_try_echo=$ac_try;;
8189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8190 (eval "$ac_compile") 2>conftest.er1
8192 grep -v '^ *+' conftest.er1 >conftest.err
8194 cat conftest.err >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } && {
8197 test -z "$ac_c_werror_flag" ||
8198 test ! -s conftest.err
8199 } && test -s conftest.$ac_objext; then
8201 cat >>confdefs.h <<\_ACEOF
8202 #define HAVE_LIBXINERAMA 1
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.$ac_ext >&5
8212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8216 if test "x$with_opengl" != "xno"
8222 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8224 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8225 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 cat >conftest.$ac_ext <<_ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236 #ifdef HAVE_GL_GLX_H
8237 # include <GL/glx.h>
8240 #include <$ac_header>
8242 rm -f conftest.$ac_objext
8243 if { (ac_try="$ac_compile"
8245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8246 *) ac_try_echo
=$ac_try;;
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_compile") 2>conftest.er1
8251 grep -v '^ *+' conftest.er1
>conftest.err
8253 cat conftest.err
>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest.
$ac_objext; then
8259 eval "$as_ac_Header=yes"
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.
$ac_ext >&5
8264 eval "$as_ac_Header=no"
8267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8269 ac_res
=`eval echo '${'$as_ac_Header'}'`
8270 { echo "$as_me:$LINENO: result: $ac_res" >&5
8271 echo "${ECHO_T}$ac_res" >&6; }
8272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8273 cat >>confdefs.h
<<_ACEOF
8274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8281 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8283 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8284 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8285 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 cat >conftest.
$ac_ext <<_ACEOF
8291 cat confdefs.h
>>conftest.
$ac_ext
8292 cat >>conftest.
$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8298 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8303 rm -f conftest.
$ac_objext
8304 if { (ac_try
="$ac_compile"
8306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8307 *) ac_try_echo=$ac_try;;
8309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8310 (eval "$ac_compile") 2>conftest.er1
8312 grep -v '^ *+' conftest.er1 >conftest.err
8314 cat conftest.err >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } && {
8317 test -z "$ac_c_werror_flag" ||
8318 test ! -s conftest.err
8319 } && test -s conftest.$ac_objext; then
8320 wine_cv_opengl_header_version_OK="yes"
8322 echo "$as_me: failed program was:" >&5
8323 sed 's/^/| /' conftest.$ac_ext >&5
8325 wine_cv_opengl_header_version_OK="no"
8329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8332 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8333 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8335 if test "$wine_cv_opengl_header_version_OK" = "yes"
8337 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8338 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8339 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 ac_check_lib_save_LIBS=$LIBS
8343 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8344 cat >conftest.$ac_ext <<_ACEOF
8347 cat confdefs.h >>conftest.$ac_ext
8348 cat >>conftest.$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8351 /* Override any GCC internal prototype to avoid an error.
8352 Use char because int might match the return type of a GCC
8353 builtin and then its argument prototype would still apply. */
8357 char glXCreateContext ();
8361 return glXCreateContext ();
8366 rm -f conftest.$ac_objext conftest$ac_exeext
8367 if { (ac_try="$ac_link"
8369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8370 *) ac_try_echo
=$ac_try;;
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_link") 2>conftest.er1
8375 grep -v '^ *+' conftest.er1
>conftest.err
8377 cat conftest.err
>&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); } && {
8380 test -z "$ac_c_werror_flag" ||
8381 test ! -s conftest.err
8382 } && test -s conftest
$ac_exeext &&
8383 $as_test_x conftest
$ac_exeext; then
8384 ac_cv_lib_GL_glXCreateContext
=yes
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.
$ac_ext >&5
8389 ac_cv_lib_GL_glXCreateContext
=no
8392 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8393 conftest
$ac_exeext conftest.
$ac_ext
8394 LIBS
=$ac_check_lib_save_LIBS
8396 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8397 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8398 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8400 OPENGLFILES
='$(OPENGLFILES)'
8402 cat >>confdefs.h
<<\_ACEOF
8403 #define HAVE_OPENGL 1
8410 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8411 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8412 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 ac_check_lib_save_LIBS
=$LIBS
8416 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8418 cat >conftest.
$ac_ext <<_ACEOF
8421 cat confdefs.h
>>conftest.
$ac_ext
8422 cat >>conftest.
$ac_ext <<_ACEOF
8423 /* end confdefs.h. */
8425 /* Override any GCC internal prototype to avoid an error.
8426 Use char because int might match the return type of a GCC
8427 builtin and then its argument prototype would still apply. */
8435 return gluLookAt ();
8440 rm -f conftest.
$ac_objext conftest
$ac_exeext
8441 if { (ac_try
="$ac_link"
8443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8447 (eval "$ac_link") 2>conftest.er1
8449 grep -v '^ *+' conftest.er1 >conftest.err
8451 cat conftest.err >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } && {
8454 test -z "$ac_c_werror_flag" ||
8455 test ! -s conftest.err
8456 } && test -s conftest$ac_exeext &&
8457 $as_test_x conftest$ac_exeext; then
8458 ac_cv_lib_GLU_gluLookAt=yes
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.$ac_ext >&5
8463 ac_cv_lib_GLU_gluLookAt=no
8466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8467 conftest$ac_exeext conftest.$ac_ext
8468 LIBS=$ac_check_lib_save_LIBS
8470 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8471 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8472 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8473 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8474 GLU32FILES='$(GLU32FILES)'
8480 wine_cv_opengl_headers_found="no"
8486 for ac_header in audio/audiolib.h
8488 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 ac_res=`eval echo '${'$as_ac_Header'}'`
8496 { echo "$as_me:$LINENO: result: $ac_res" >&5
8497 echo "${ECHO_T}$ac_res" >&6; }
8499 # Is the header compilable?
8500 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8502 cat >conftest.$ac_ext <<_ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 $ac_includes_default
8509 #include <$ac_header>
8511 rm -f conftest.$ac_objext
8512 if { (ac_try="$ac_compile"
8514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8515 *) ac_try_echo
=$ac_try;;
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8518 (eval "$ac_compile") 2>conftest.er1
8520 grep -v '^ *+' conftest.er1
>conftest.err
8522 cat conftest.err
>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err
8527 } && test -s conftest.
$ac_objext; then
8528 ac_header_compiler
=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.
$ac_ext >&5
8533 ac_header_compiler
=no
8536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8538 echo "${ECHO_T}$ac_header_compiler" >&6; }
8540 # Is the header present?
8541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8543 cat >conftest.
$ac_ext <<_ACEOF
8546 cat confdefs.h
>>conftest.
$ac_ext
8547 cat >>conftest.
$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8549 #include <$ac_header>
8551 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
8564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8565 test ! -s conftest.err
8567 ac_header_preproc=yes
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 ac_header_preproc=no
8575 rm -f conftest.err conftest.$ac_ext
8576 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8577 echo "${ECHO_T}$ac_header_preproc" >&6; }
8579 # So? What about this header?
8580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8586 ac_header_preproc=yes
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8602 ## ------------------------------------ ##
8603 ## Report this to wine-devel@winehq.org ##
8604 ## ------------------------------------ ##
8606 ) | sed "s/^/$as_me: WARNING: /" >&2
8609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8614 eval "$as_ac_Header=\$ac_header_preproc"
8616 ac_res=`eval echo '${'$as_ac_Header'}'`
8617 { echo "$as_me:$LINENO: result: $ac_res" >&5
8618 echo "${ECHO_T}$ac_res" >&6; }
8621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8622 cat >>confdefs.h <<_ACEOF
8623 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8626 for ac_header in audio/soundlib.h
8628 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8632 echo $ECHO_N "(cached) $ECHO_C" >&6
8634 cat >conftest.$ac_ext <<_ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 #include <audio/audiolib.h>
8642 #include <$ac_header>
8644 rm -f conftest.$ac_objext
8645 if { (ac_try="$ac_compile"
8647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8648 *) ac_try_echo
=$ac_try;;
8650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8651 (eval "$ac_compile") 2>conftest.er1
8653 grep -v '^ *+' conftest.er1
>conftest.err
8655 cat conftest.err
>&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } && {
8658 test -z "$ac_c_werror_flag" ||
8659 test ! -s conftest.err
8660 } && test -s conftest.
$ac_objext; then
8661 eval "$as_ac_Header=yes"
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.
$ac_ext >&5
8666 eval "$as_ac_Header=no"
8669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8671 ac_res
=`eval echo '${'$as_ac_Header'}'`
8672 { echo "$as_me:$LINENO: result: $ac_res" >&5
8673 echo "${ECHO_T}$ac_res" >&6; }
8674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8675 cat >>confdefs.h
<<_ACEOF
8676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8683 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8684 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8685 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 ac_check_lib_save_LIBS
=$LIBS
8689 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8690 cat >conftest.
$ac_ext <<_ACEOF
8693 cat confdefs.h
>>conftest.
$ac_ext
8694 cat >>conftest.
$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8697 /* Override any GCC internal prototype to avoid an error.
8698 Use char because int might match the return type of a GCC
8699 builtin and then its argument prototype would still apply. */
8703 char AuCreateFlow ();
8707 return AuCreateFlow ();
8712 rm -f conftest.
$ac_objext conftest
$ac_exeext
8713 if { (ac_try
="$ac_link"
8715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8716 *) ac_try_echo=$ac_try;;
8718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8719 (eval "$ac_link") 2>conftest.er1
8721 grep -v '^ *+' conftest.er1 >conftest.err
8723 cat conftest.err >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); } && {
8726 test -z "$ac_c_werror_flag" ||
8727 test ! -s conftest.err
8728 } && test -s conftest$ac_exeext &&
8729 $as_test_x conftest$ac_exeext; then
8730 ac_cv_lib_audio_AuCreateFlow=yes
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.$ac_ext >&5
8735 ac_cv_lib_audio_AuCreateFlow=no
8738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8739 conftest$ac_exeext conftest.$ac_ext
8740 LIBS=$ac_check_lib_save_LIBS
8742 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8743 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8744 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8746 cat >>confdefs.h <<\_ACEOF
8750 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8758 CPPFLAGS="$ac_save_CPPFLAGS"
8775 if test "$PKG_CONFIG" != "false"
8777 ac_save_CPPFLAGS="$CPPFLAGS"
8778 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
8779 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
8780 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8782 for ac_header in libxml/parser.h
8784 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 ac_res=`eval echo '${'$as_ac_Header'}'`
8792 { echo "$as_me:$LINENO: result: $ac_res" >&5
8793 echo "${ECHO_T}$ac_res" >&6; }
8795 # Is the header compilable?
8796 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8798 cat >conftest.$ac_ext <<_ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8804 $ac_includes_default
8805 #include <$ac_header>
8807 rm -f conftest.$ac_objext
8808 if { (ac_try="$ac_compile"
8810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8811 *) ac_try_echo
=$ac_try;;
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_compile") 2>conftest.er1
8816 grep -v '^ *+' conftest.er1
>conftest.err
8818 cat conftest.err
>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } && {
8821 test -z "$ac_c_werror_flag" ||
8822 test ! -s conftest.err
8823 } && test -s conftest.
$ac_objext; then
8824 ac_header_compiler
=yes
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.
$ac_ext >&5
8829 ac_header_compiler
=no
8832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8833 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8834 echo "${ECHO_T}$ac_header_compiler" >&6; }
8836 # Is the header present?
8837 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8839 cat >conftest.
$ac_ext <<_ACEOF
8842 cat confdefs.h
>>conftest.
$ac_ext
8843 cat >>conftest.
$ac_ext <<_ACEOF
8844 /* end confdefs.h. */
8845 #include <$ac_header>
8847 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8850 *) ac_try_echo=$ac_try;;
8852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8855 grep -v '^ *+' conftest.er1 >conftest.err
8857 cat conftest.err >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); } >/dev/null && {
8860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8861 test ! -s conftest.err
8863 ac_header_preproc=yes
8865 echo "$as_me: failed program was:" >&5
8866 sed 's/^/| /' conftest.$ac_ext >&5
8868 ac_header_preproc=no
8871 rm -f conftest.err conftest.$ac_ext
8872 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8873 echo "${ECHO_T}$ac_header_preproc" >&6; }
8875 # So? What about this header?
8876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8882 ac_header_preproc=yes
8885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8898 ## ------------------------------------ ##
8899 ## Report this to wine-devel@winehq.org ##
8900 ## ------------------------------------ ##
8902 ) | sed "s/^/$as_me: WARNING: /" >&2
8905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8910 eval "$as_ac_Header=\$ac_header_preproc"
8912 ac_res=`eval echo '${'$as_ac_Header'}'`
8913 { echo "$as_me:$LINENO: result: $ac_res" >&5
8914 echo "${ECHO_T}$ac_res" >&6; }
8917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8918 cat >>confdefs.h <<_ACEOF
8919 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8921 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8922 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8923 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 ac_check_lib_save_LIBS=$LIBS
8927 LIBS="-lxml2 $ac_xml_libs $LIBS"
8928 cat >conftest.$ac_ext <<_ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8941 char xmlParseMemory ();
8945 return xmlParseMemory ();
8950 rm -f conftest.$ac_objext conftest$ac_exeext
8951 if { (ac_try="$ac_link"
8953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8954 *) ac_try_echo
=$ac_try;;
8956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8957 (eval "$ac_link") 2>conftest.er1
8959 grep -v '^ *+' conftest.er1
>conftest.err
8961 cat conftest.err
>&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } && {
8964 test -z "$ac_c_werror_flag" ||
8965 test ! -s conftest.err
8966 } && test -s conftest
$ac_exeext &&
8967 $as_test_x conftest
$ac_exeext; then
8968 ac_cv_lib_xml2_xmlParseMemory
=yes
8970 echo "$as_me: failed program was:" >&5
8971 sed 's/^/| /' conftest.
$ac_ext >&5
8973 ac_cv_lib_xml2_xmlParseMemory
=no
8976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8977 conftest
$ac_exeext conftest.
$ac_ext
8978 LIBS
=$ac_check_lib_save_LIBS
8980 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8981 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8982 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
8984 cat >>confdefs.h
<<\_ACEOF
8985 #define HAVE_LIBXML2 1
8988 XML2LIBS
="$ac_xml_libs"
8989 XML2INCL
="$ac_xml_cflags"
8992 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
8993 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
8994 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 ac_check_lib_save_LIBS
=$LIBS
8998 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8999 cat >conftest.
$ac_ext <<_ACEOF
9002 cat confdefs.h
>>conftest.
$ac_ext
9003 cat >>conftest.
$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9012 char xmlReadMemory ();
9016 return xmlReadMemory ();
9021 rm -f conftest.
$ac_objext conftest
$ac_exeext
9022 if { (ac_try
="$ac_link"
9024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9025 *) ac_try_echo=$ac_try;;
9027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9028 (eval "$ac_link") 2>conftest.er1
9030 grep -v '^ *+' conftest.er1 >conftest.err
9032 cat conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && {
9035 test -z "$ac_c_werror_flag" ||
9036 test ! -s conftest.err
9037 } && test -s conftest$ac_exeext &&
9038 $as_test_x conftest$ac_exeext; then
9039 ac_cv_lib_xml2_xmlReadMemory=yes
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9044 ac_cv_lib_xml2_xmlReadMemory=no
9047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9048 conftest$ac_exeext conftest.$ac_ext
9049 LIBS=$ac_check_lib_save_LIBS
9051 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9052 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9053 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9055 cat >>confdefs.h <<\_ACEOF
9056 #define HAVE_XMLREADMEMORY 1
9061 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9062 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9063 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6
9066 ac_check_lib_save_LIBS=$LIBS
9067 LIBS="-lxml2 $ac_xml_libs $LIBS"
9068 cat >conftest.$ac_ext <<_ACEOF
9071 cat confdefs.h >>conftest.$ac_ext
9072 cat >>conftest.$ac_ext <<_ACEOF
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9081 char xmlNewDocPI ();
9085 return xmlNewDocPI ();
9090 rm -f conftest.$ac_objext conftest$ac_exeext
9091 if { (ac_try="$ac_link"
9093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9094 *) ac_try_echo
=$ac_try;;
9096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9097 (eval "$ac_link") 2>conftest.er1
9099 grep -v '^ *+' conftest.er1
>conftest.err
9101 cat conftest.err
>&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } && {
9104 test -z "$ac_c_werror_flag" ||
9105 test ! -s conftest.err
9106 } && test -s conftest
$ac_exeext &&
9107 $as_test_x conftest
$ac_exeext; then
9108 ac_cv_lib_xml2_xmlNewDocPI
=yes
9110 echo "$as_me: failed program was:" >&5
9111 sed 's/^/| /' conftest.
$ac_ext >&5
9113 ac_cv_lib_xml2_xmlNewDocPI
=no
9116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9117 conftest
$ac_exeext conftest.
$ac_ext
9118 LIBS
=$ac_check_lib_save_LIBS
9120 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9121 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9122 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9124 cat >>confdefs.h
<<\_ACEOF
9125 #define HAVE_XMLNEWDOCPI 1
9135 CPPFLAGS
="$ac_save_CPPFLAGS"
9136 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9137 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9138 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9141 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9143 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9146 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9147 echo $ECHO_N "(cached) $ECHO_C" >&6
9149 cat >conftest.
$ac_ext <<_ACEOF
9152 cat confdefs.h
>>conftest.
$ac_ext
9153 cat >>conftest.
$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9155 #ifdef HAVE_LIBXSLT_PATTERN_H
9156 # include <libxslt/pattern.h>
9159 #include <$ac_header>
9161 rm -f conftest.
$ac_objext
9162 if { (ac_try
="$ac_compile"
9164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9165 *) ac_try_echo=$ac_try;;
9167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9168 (eval "$ac_compile") 2>conftest.er1
9170 grep -v '^ *+' conftest.er1 >conftest.err
9172 cat conftest.err >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); } && {
9175 test -z "$ac_c_werror_flag" ||
9176 test ! -s conftest.err
9177 } && test -s conftest.$ac_objext; then
9178 eval "$as_ac_Header=yes"
9180 echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.$ac_ext >&5
9183 eval "$as_ac_Header=no"
9186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9188 ac_res=`eval echo '${'$as_ac_Header'}'`
9189 { echo "$as_me:$LINENO: result: $ac_res" >&5
9190 echo "${ECHO_T}$ac_res" >&6; }
9191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9192 cat >>confdefs.h <<_ACEOF
9193 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9195 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9196 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9197 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 ac_check_lib_save_LIBS=$LIBS
9201 LIBS="-lxslt $ac_xslt_libs $LIBS"
9202 cat >conftest.$ac_ext <<_ACEOF
9205 cat confdefs.h >>conftest.$ac_ext
9206 cat >>conftest.$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9209 /* Override any GCC internal prototype to avoid an error.
9210 Use char because int might match the return type of a GCC
9211 builtin and then its argument prototype would still apply. */
9215 char xsltCompilePattern ();
9219 return xsltCompilePattern ();
9224 rm -f conftest.$ac_objext conftest$ac_exeext
9225 if { (ac_try="$ac_link"
9227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9228 *) ac_try_echo
=$ac_try;;
9230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9231 (eval "$ac_link") 2>conftest.er1
9233 grep -v '^ *+' conftest.er1
>conftest.err
9235 cat conftest.err
>&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); } && {
9238 test -z "$ac_c_werror_flag" ||
9239 test ! -s conftest.err
9240 } && test -s conftest
$ac_exeext &&
9241 $as_test_x conftest
$ac_exeext; then
9242 ac_cv_lib_xslt_xsltCompilePattern
=yes
9244 echo "$as_me: failed program was:" >&5
9245 sed 's/^/| /' conftest.
$ac_ext >&5
9247 ac_cv_lib_xslt_xsltCompilePattern
=no
9250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9251 conftest
$ac_exeext conftest.
$ac_ext
9252 LIBS
=$ac_check_lib_save_LIBS
9254 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9255 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9256 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9258 cat >>confdefs.h
<<\_ACEOF
9259 #define HAVE_LIBXSLT 1
9262 XSLTLIBS
="$ac_xslt_libs"
9263 XSLTINCL
="$ac_xslt_cflags"
9271 CPPFLAGS
="$ac_save_CPPFLAGS"
9276 if test "$PKG_CONFIG" != "false"
9278 ac_save_CPPFLAGS
="$CPPFLAGS"
9279 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9280 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9281 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9284 for ac_header
in dbus
/dbus.h hal
/libhal.h
9286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9287 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9290 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 ac_res
=`eval echo '${'$as_ac_Header'}'`
9294 { echo "$as_me:$LINENO: result: $ac_res" >&5
9295 echo "${ECHO_T}$ac_res" >&6; }
9297 # Is the header compilable?
9298 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9300 cat >conftest.
$ac_ext <<_ACEOF
9303 cat confdefs.h
>>conftest.
$ac_ext
9304 cat >>conftest.
$ac_ext <<_ACEOF
9305 /* end confdefs.h. */
9306 $ac_includes_default
9307 #include <$ac_header>
9309 rm -f conftest.
$ac_objext
9310 if { (ac_try
="$ac_compile"
9312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9313 *) ac_try_echo=$ac_try;;
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_compile") 2>conftest.er1
9318 grep -v '^ *+' conftest.er1 >conftest.err
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } && {
9323 test -z "$ac_c_werror_flag" ||
9324 test ! -s conftest.err
9325 } && test -s conftest.$ac_objext; then
9326 ac_header_compiler=yes
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 ac_header_compiler=no
9334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9336 echo "${ECHO_T}$ac_header_compiler" >&6; }
9338 # Is the header present?
9339 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9341 cat >conftest.$ac_ext <<_ACEOF
9344 cat confdefs.h >>conftest.$ac_ext
9345 cat >>conftest.$ac_ext <<_ACEOF
9346 /* end confdefs.h. */
9347 #include <$ac_header>
9349 if { (ac_try="$ac_cpp conftest.$ac_ext"
9351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9352 *) ac_try_echo
=$ac_try;;
9354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9357 grep -v '^ *+' conftest.er1
>conftest.err
9359 cat conftest.err
>&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } >/dev
/null
&& {
9362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9363 test ! -s conftest.err
9365 ac_header_preproc
=yes
9367 echo "$as_me: failed program was:" >&5
9368 sed 's/^/| /' conftest.
$ac_ext >&5
9370 ac_header_preproc
=no
9373 rm -f conftest.err conftest.
$ac_ext
9374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9375 echo "${ECHO_T}$ac_header_preproc" >&6; }
9377 # So? What about this header?
9378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9384 ac_header_preproc
=yes
9387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9400 ## ------------------------------------ ##
9401 ## Report this to wine-devel@winehq.org ##
9402 ## ------------------------------------ ##
9404 ) |
sed "s/^/$as_me: WARNING: /" >&2
9407 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9409 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9412 eval "$as_ac_Header=\$ac_header_preproc"
9414 ac_res
=`eval echo '${'$as_ac_Header'}'`
9415 { echo "$as_me:$LINENO: result: $ac_res" >&5
9416 echo "${ECHO_T}$ac_res" >&6; }
9419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9420 cat >>confdefs.h
<<_ACEOF
9421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9428 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9430 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9431 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9432 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9435 ac_check_lib_save_LIBS
=$LIBS
9437 cat >conftest.
$ac_ext <<_ACEOF
9440 cat confdefs.h
>>conftest.
$ac_ext
9441 cat >>conftest.
$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9450 char libhal_ctx_new ();
9454 return libhal_ctx_new ();
9459 rm -f conftest.
$ac_objext conftest
$ac_exeext
9460 if { (ac_try
="$ac_link"
9462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9463 *) ac_try_echo=$ac_try;;
9465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9466 (eval "$ac_link") 2>conftest.er1
9468 grep -v '^ *+' conftest.er1 >conftest.err
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } && {
9473 test -z "$ac_c_werror_flag" ||
9474 test ! -s conftest.err
9475 } && test -s conftest$ac_exeext &&
9476 $as_test_x conftest$ac_exeext; then
9477 ac_cv_lib_hal_libhal_ctx_new=yes
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.$ac_ext >&5
9482 ac_cv_lib_hal_libhal_ctx_new=no
9485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_lib_save_LIBS
9489 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9490 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9491 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9492 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9493 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9494 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 ac_check_lib_save_LIBS=$LIBS
9498 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9499 cat >conftest.$ac_ext <<_ACEOF
9502 cat confdefs.h >>conftest.$ac_ext
9503 cat >>conftest.$ac_ext <<_ACEOF
9504 /* end confdefs.h. */
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9512 char dbus_connection_close ();
9516 return dbus_connection_close ();
9521 rm -f conftest.$ac_objext conftest$ac_exeext
9522 if { (ac_try="$ac_link"
9524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9525 *) ac_try_echo
=$ac_try;;
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9528 (eval "$ac_link") 2>conftest.er1
9530 grep -v '^ *+' conftest.er1
>conftest.err
9532 cat conftest.err
>&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } && {
9535 test -z "$ac_c_werror_flag" ||
9536 test ! -s conftest.err
9537 } && test -s conftest
$ac_exeext &&
9538 $as_test_x conftest
$ac_exeext; then
9539 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9541 echo "$as_me: failed program was:" >&5
9542 sed 's/^/| /' conftest.
$ac_ext >&5
9544 ac_cv_lib_dbus_1_dbus_connection_close
=no
9547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9548 conftest
$ac_exeext conftest.
$ac_ext
9549 LIBS
=$ac_check_lib_save_LIBS
9551 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9552 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9553 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9555 cat >>confdefs.h
<<\_ACEOF
9556 #define HAVE_LIBHAL 1
9559 HALINCL
="$ac_hal_cflags"
9565 CPPFLAGS
="$ac_save_CPPFLAGS"
9569 if test "$ac_cv_header_ncurses_h" = "yes"
9571 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9572 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9573 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9576 ac_check_lib_save_LIBS
=$LIBS
9577 LIBS
="-lncurses $LIBS"
9578 cat >conftest.
$ac_ext <<_ACEOF
9581 cat confdefs.h
>>conftest.
$ac_ext
9582 cat >>conftest.
$ac_ext <<_ACEOF
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9600 rm -f conftest.
$ac_objext conftest
$ac_exeext
9601 if { (ac_try
="$ac_link"
9603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9604 *) ac_try_echo=$ac_try;;
9606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9607 (eval "$ac_link") 2>conftest.er1
9609 grep -v '^ *+' conftest.er1 >conftest.err
9611 cat conftest.err >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); } && {
9614 test -z "$ac_c_werror_flag" ||
9615 test ! -s conftest.err
9616 } && test -s conftest$ac_exeext &&
9617 $as_test_x conftest$ac_exeext; then
9618 ac_cv_lib_ncurses_waddch=yes
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.$ac_ext >&5
9623 ac_cv_lib_ncurses_waddch=no
9626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9631 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9632 if test $ac_cv_lib_ncurses_waddch = yes; then
9633 CURSESLIBS="-lncurses"
9636 elif test "$ac_cv_header_curses_h" = "yes"
9638 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9639 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9640 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lcurses $LIBS"
9645 cat >conftest.$ac_ext <<_ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9667 rm -f conftest.$ac_objext conftest$ac_exeext
9668 if { (ac_try="$ac_link"
9670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9671 *) ac_try_echo
=$ac_try;;
9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9674 (eval "$ac_link") 2>conftest.er1
9676 grep -v '^ *+' conftest.er1
>conftest.err
9678 cat conftest.err
>&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); } && {
9681 test -z "$ac_c_werror_flag" ||
9682 test ! -s conftest.err
9683 } && test -s conftest
$ac_exeext &&
9684 $as_test_x conftest
$ac_exeext; then
9685 ac_cv_lib_curses_waddch
=yes
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.
$ac_ext >&5
9690 ac_cv_lib_curses_waddch
=no
9693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9694 conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_lib_save_LIBS
9697 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9698 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9699 if test $ac_cv_lib_curses_waddch = yes; then
9700 CURSESLIBS
="-lcurses"
9704 ac_save_LIBS
="$LIBS"
9705 LIBS
="$LIBS $CURSESLIBS"
9707 for ac_func
in mousemask
9709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9712 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 cat >conftest.
$ac_ext <<_ACEOF
9718 cat confdefs.h
>>conftest.
$ac_ext
9719 cat >>conftest.
$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9723 #define $ac_func innocuous_$ac_func
9725 /* System header to define __stub macros and hopefully few prototypes,
9726 which can conflict with char $ac_func (); below.
9727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9728 <limits.h> exists even on freestanding compilers. */
9731 # include <limits.h>
9733 # include <assert.h>
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9745 /* The GNU C library defines this for functions which it implements
9746 to always fail with ENOSYS. Some functions are actually named
9747 something starting with __ and the normal name is an alias. */
9748 #if defined __stub_$ac_func || defined __stub___$ac_func
9760 rm -f conftest.
$ac_objext conftest
$ac_exeext
9761 if { (ac_try
="$ac_link"
9763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9764 *) ac_try_echo=$ac_try;;
9766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9767 (eval "$ac_link") 2>conftest.er1
9769 grep -v '^ *+' conftest.er1 >conftest.err
9771 cat conftest.err >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } && {
9774 test -z "$ac_c_werror_flag" ||
9775 test ! -s conftest.err
9776 } && test -s conftest$ac_exeext &&
9777 $as_test_x conftest$ac_exeext; then
9778 eval "$as_ac_var=yes"
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.$ac_ext >&5
9783 eval "$as_ac_var=no"
9786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9787 conftest$ac_exeext conftest.$ac_ext
9789 ac_res=`eval echo '${'$as_ac_var'}'`
9790 { echo "$as_me:$LINENO: result: $ac_res" >&5
9791 echo "${ECHO_T}$ac_res" >&6; }
9792 if test `eval echo '${'$as_ac_var'}'` = yes; then
9793 cat >>confdefs.h <<_ACEOF
9794 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9800 LIBS="$ac_save_LIBS"
9802 # Extract the first word of "sane-config", so it can be a program name with args.
9803 set dummy sane-config; ac_word=$2
9804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9806 if test "${ac_cv_prog_sane_devel+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9809 if test -n "$sane_devel"; then
9810 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9816 test -z "$as_dir" && as_dir=.
9817 for ac_exec_ext in '' $ac_executable_extensions; do
9818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9819 ac_cv_prog_sane_devel="sane-config"
9820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9830 sane_devel=$ac_cv_prog_sane_devel
9831 if test -n "$sane_devel"; then
9832 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9833 echo "${ECHO_T}$sane_devel" >&6; }
9835 { echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6; }
9844 if test "$sane_devel" != "no"
9846 SANELIBS="`$sane_devel --libs`"
9847 SANEINCL="`$sane_devel --cflags`"
9848 ac_save_CPPFLAGS="$CPPFLAGS"
9849 ac_save_LIBS="$LIBS"
9850 CPPFLAGS="$CPPFLAGS $SANEINCL"
9851 LIBS="$LIBS $SANELIBS"
9852 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9853 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9854 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9855 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9859 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9861 # Is the header compilable?
9862 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9863 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9864 cat >conftest.$ac_ext <<_ACEOF
9867 cat confdefs.h >>conftest.$ac_ext
9868 cat >>conftest.$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9870 $ac_includes_default
9871 #include <sane/sane.h>
9873 rm -f conftest.$ac_objext
9874 if { (ac_try="$ac_compile"
9876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9877 *) ac_try_echo
=$ac_try;;
9879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9880 (eval "$ac_compile") 2>conftest.er1
9882 grep -v '^ *+' conftest.er1
>conftest.err
9884 cat conftest.err
>&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } && {
9887 test -z "$ac_c_werror_flag" ||
9888 test ! -s conftest.err
9889 } && test -s conftest.
$ac_objext; then
9890 ac_header_compiler
=yes
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.
$ac_ext >&5
9895 ac_header_compiler
=no
9898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9899 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9900 echo "${ECHO_T}$ac_header_compiler" >&6; }
9902 # Is the header present?
9903 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9904 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9905 cat >conftest.
$ac_ext <<_ACEOF
9908 cat confdefs.h
>>conftest.
$ac_ext
9909 cat >>conftest.
$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9911 #include <sane/sane.h>
9913 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9916 *) ac_try_echo=$ac_try;;
9918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9921 grep -v '^ *+' conftest.er1 >conftest.err
9923 cat conftest.err >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } >/dev/null && {
9926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9927 test ! -s conftest.err
9929 ac_header_preproc=yes
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9934 ac_header_preproc=no
9937 rm -f conftest.err conftest.$ac_ext
9938 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9939 echo "${ECHO_T}$ac_header_preproc" >&6; }
9941 # So? What about this header?
9942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9944 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9945 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9946 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9947 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9948 ac_header_preproc=yes
9951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9952 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9954 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9956 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9958 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9960 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9962 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9964 ## ------------------------------------ ##
9965 ## Report this to wine-devel@winehq.org ##
9966 ## ------------------------------------ ##
9968 ) | sed "s/^/$as_me: WARNING: /" >&2
9971 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9972 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9973 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9976 ac_cv_header_sane_sane_h=$ac_header_preproc
9978 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9979 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9982 if test $ac_cv_header_sane_sane_h = yes; then
9983 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9984 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
9985 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6
9988 ac_check_lib_save_LIBS=$LIBS
9990 cat >conftest.$ac_ext <<_ACEOF
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10007 return sane_open ();
10012 rm -f conftest.$ac_objext conftest$ac_exeext
10013 if { (ac_try="$ac_link"
10014 case "(($ac_try" in
10015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10016 *) ac_try_echo
=$ac_try;;
10018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10019 (eval "$ac_link") 2>conftest.er1
10021 grep -v '^ *+' conftest.er1
>conftest.err
10023 cat conftest.err
>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); } && {
10026 test -z "$ac_c_werror_flag" ||
10027 test ! -s conftest.err
10028 } && test -s conftest
$ac_exeext &&
10029 $as_test_x conftest
$ac_exeext; then
10030 ac_cv_lib_sane_sane_open
=yes
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.
$ac_ext >&5
10035 ac_cv_lib_sane_sane_open
=no
10038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10039 conftest
$ac_exeext conftest.
$ac_ext
10040 LIBS
=$ac_check_lib_save_LIBS
10042 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10043 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10044 if test $ac_cv_lib_sane_sane_open = yes; then
10046 cat >>confdefs.h
<<\_ACEOF
10047 #define HAVE_SANE 1
10061 LIBS
="$ac_save_LIBS"
10062 CPPFLAGS
="$ac_save_CPPFLAGS"
10065 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10066 set dummy gphoto2-config
; ac_word
=$2
10067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10069 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 if test -n "$gphoto2_devel"; then
10073 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10076 for as_dir
in $PATH
10079 test -z "$as_dir" && as_dir
=.
10080 for ac_exec_ext
in '' $ac_executable_extensions; do
10081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10082 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10093 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10094 if test -n "$gphoto2_devel"; then
10095 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10096 echo "${ECHO_T}$gphoto2_devel" >&6; }
10098 { echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6; }
10103 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10104 set dummy gphoto2-port-config
; ac_word
=$2
10105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10107 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6
10110 if test -n "$gphoto2port_devel"; then
10111 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10114 for as_dir
in $PATH
10117 test -z "$as_dir" && as_dir
=.
10118 for ac_exec_ext
in '' $ac_executable_extensions; do
10119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10120 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10128 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10131 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10132 if test -n "$gphoto2port_devel"; then
10133 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10134 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10136 { echo "$as_me:$LINENO: result: no" >&5
10137 echo "${ECHO_T}no" >&6; }
10145 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10147 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10149 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10152 -L/usr
/lib|
-L/usr
/lib64
) ;;
10153 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
10156 ac_save_CPPFLAGS
="$CPPFLAGS"
10157 ac_save_LIBS
="$LIBS"
10158 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
10159 LIBS
="$LIBS $GPHOTO2LIBS"
10160 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10161 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10162 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10163 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10167 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10169 # Is the header compilable?
10170 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10171 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 $ac_includes_default
10179 #include <gphoto2-camera.h>
10181 rm -f conftest.
$ac_objext
10182 if { (ac_try
="$ac_compile"
10183 case "(($ac_try" in
10184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10185 *) ac_try_echo=$ac_try;;
10187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10188 (eval "$ac_compile") 2>conftest.er1
10190 grep -v '^ *+' conftest.er1 >conftest.err
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } && {
10195 test -z "$ac_c_werror_flag" ||
10196 test ! -s conftest.err
10197 } && test -s conftest.$ac_objext; then
10198 ac_header_compiler=yes
10200 echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.$ac_ext >&5
10203 ac_header_compiler=no
10206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10207 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10208 echo "${ECHO_T}$ac_header_compiler" >&6; }
10210 # Is the header present?
10211 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10212 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10213 cat >conftest.$ac_ext <<_ACEOF
10216 cat confdefs.h >>conftest.$ac_ext
10217 cat >>conftest.$ac_ext <<_ACEOF
10218 /* end confdefs.h. */
10219 #include <gphoto2-camera.h>
10221 if { (ac_try="$ac_cpp conftest.$ac_ext"
10222 case "(($ac_try" in
10223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10224 *) ac_try_echo
=$ac_try;;
10226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10229 grep -v '^ *+' conftest.er1
>conftest.err
10231 cat conftest.err
>&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); } >/dev
/null
&& {
10234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10235 test ! -s conftest.err
10237 ac_header_preproc
=yes
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.
$ac_ext >&5
10242 ac_header_preproc
=no
10245 rm -f conftest.err conftest.
$ac_ext
10246 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10247 echo "${ECHO_T}$ac_header_preproc" >&6; }
10249 # So? What about this header?
10250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10252 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10253 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10255 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10256 ac_header_preproc
=yes
10259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10260 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10262 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10263 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10264 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10265 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10266 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10267 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10268 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10269 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10270 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10272 ## ------------------------------------ ##
10273 ## Report this to wine-devel@winehq.org ##
10274 ## ------------------------------------ ##
10276 ) |
sed "s/^/$as_me: WARNING: /" >&2
10279 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10280 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10281 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
10286 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10287 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10290 if test $ac_cv_header_gphoto2_camera_h = yes; then
10291 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10292 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10293 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 ac_check_lib_save_LIBS
=$LIBS
10297 LIBS
="-lgphoto2 $LIBS"
10298 cat >conftest.
$ac_ext <<_ACEOF
10301 cat confdefs.h
>>conftest.
$ac_ext
10302 cat >>conftest.
$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10311 char gp_camera_new ();
10315 return gp_camera_new ();
10320 rm -f conftest.
$ac_objext conftest
$ac_exeext
10321 if { (ac_try
="$ac_link"
10322 case "(($ac_try" in
10323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10324 *) ac_try_echo=$ac_try;;
10326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10327 (eval "$ac_link") 2>conftest.er1
10329 grep -v '^ *+' conftest.er1 >conftest.err
10331 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } && {
10334 test -z "$ac_c_werror_flag" ||
10335 test ! -s conftest.err
10336 } && test -s conftest$ac_exeext &&
10337 $as_test_x conftest$ac_exeext; then
10338 ac_cv_lib_gphoto2_gp_camera_new=yes
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5
10343 ac_cv_lib_gphoto2_gp_camera_new=no
10346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10347 conftest$ac_exeext conftest.$ac_ext
10348 LIBS=$ac_check_lib_save_LIBS
10350 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10351 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10352 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10354 cat >>confdefs.h <<\_ACEOF
10355 #define HAVE_GPHOTO2 1
10369 LIBS="$ac_save_LIBS"
10370 CPPFLAGS="$ac_save_CPPFLAGS"
10373 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10376 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10378 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10379 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10380 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10381 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10382 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10383 cat >conftest.$ac_ext <<_ACEOF
10386 cat confdefs.h >>conftest.$ac_ext
10387 cat >>conftest.$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10389 #include <unicode/ubidi.h>
10398 rm -f conftest.$ac_objext conftest$ac_exeext
10399 if { (ac_try="$ac_link"
10400 case "(($ac_try" in
10401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10402 *) ac_try_echo
=$ac_try;;
10404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10405 (eval "$ac_link") 2>conftest.er1
10407 grep -v '^ *+' conftest.er1
>conftest.err
10409 cat conftest.err
>&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } && {
10412 test -z "$ac_c_werror_flag" ||
10413 test ! -s conftest.err
10414 } && test -s conftest
$ac_exeext &&
10415 $as_test_x conftest
$ac_exeext; then
10417 cat >>confdefs.h
<<\_ACEOF
10421 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10423 { echo "$as_me:$LINENO: result: yes" >&5
10424 echo "${ECHO_T}yes" >&6; }
10426 echo "$as_me: failed program was:" >&5
10427 sed 's/^/| /' conftest.
$ac_ext >&5
10429 { echo "$as_me:$LINENO: result: no" >&5
10430 echo "${ECHO_T}no" >&6; }
10433 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10434 conftest
$ac_exeext conftest.
$ac_ext
10441 if test "$ac_cv_header_resolv_h" = "yes"
10443 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10444 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10445 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 ac_check_lib_save_LIBS
=$LIBS
10449 LIBS
="-lresolv $LIBS"
10450 cat >conftest.
$ac_ext <<_ACEOF
10453 cat confdefs.h
>>conftest.
$ac_ext
10454 cat >>conftest.
$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10467 return res_query ();
10472 rm -f conftest.
$ac_objext conftest
$ac_exeext
10473 if { (ac_try
="$ac_link"
10474 case "(($ac_try" in
10475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10476 *) ac_try_echo=$ac_try;;
10478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10479 (eval "$ac_link") 2>conftest.er1
10481 grep -v '^ *+' conftest.er1 >conftest.err
10483 cat conftest.err >&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && {
10486 test -z "$ac_c_werror_flag" ||
10487 test ! -s conftest.err
10488 } && test -s conftest$ac_exeext &&
10489 $as_test_x conftest$ac_exeext; then
10490 ac_cv_lib_resolv_res_query=yes
10492 echo "$as_me: failed program was:" >&5
10493 sed 's/^/| /' conftest.$ac_ext >&5
10495 ac_cv_lib_resolv_res_query=no
10498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10499 conftest$ac_exeext conftest.$ac_ext
10500 LIBS=$ac_check_lib_save_LIBS
10502 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10503 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10504 if test $ac_cv_lib_resolv_res_query = yes; then
10506 cat >>confdefs.h <<\_ACEOF
10507 #define HAVE_RESOLV 1
10510 RESOLVLIBS="-lresolv"
10517 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10519 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10520 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10521 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 ac_check_lib_save_LIBS=$LIBS
10525 LIBS="-llcms $LIBS"
10526 cat >conftest.$ac_ext <<_ACEOF
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10539 char cmsOpenProfileFromFile ();
10543 return cmsOpenProfileFromFile ();
10548 rm -f conftest.$ac_objext conftest$ac_exeext
10549 if { (ac_try="$ac_link"
10550 case "(($ac_try" in
10551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10552 *) ac_try_echo
=$ac_try;;
10554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10555 (eval "$ac_link") 2>conftest.er1
10557 grep -v '^ *+' conftest.er1
>conftest.err
10559 cat conftest.err
>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } && {
10562 test -z "$ac_c_werror_flag" ||
10563 test ! -s conftest.err
10564 } && test -s conftest
$ac_exeext &&
10565 $as_test_x conftest
$ac_exeext; then
10566 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.
$ac_ext >&5
10571 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10575 conftest
$ac_exeext conftest.
$ac_ext
10576 LIBS
=$ac_check_lib_save_LIBS
10578 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10579 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10580 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10582 cat >>confdefs.h
<<\_ACEOF
10583 #define HAVE_LCMS 1
10593 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10595 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10596 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10597 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 ac_check_lib_save_LIBS
=$LIBS
10601 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
10602 cat >conftest.
$ac_ext <<_ACEOF
10605 cat confdefs.h
>>conftest.
$ac_ext
10606 cat >>conftest.
$ac_ext <<_ACEOF
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10615 char ldap_initialize ();
10619 return ldap_initialize ();
10624 rm -f conftest.
$ac_objext conftest
$ac_exeext
10625 if { (ac_try
="$ac_link"
10626 case "(($ac_try" in
10627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10628 *) ac_try_echo=$ac_try;;
10630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10631 (eval "$ac_link") 2>conftest.er1
10633 grep -v '^ *+' conftest.er1 >conftest.err
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } && {
10638 test -z "$ac_c_werror_flag" ||
10639 test ! -s conftest.err
10640 } && test -s conftest$ac_exeext &&
10641 $as_test_x conftest$ac_exeext; then
10642 ac_cv_lib_ldap_r_ldap_initialize=yes
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.$ac_ext >&5
10647 ac_cv_lib_ldap_r_ldap_initialize=no
10650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10651 conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10654 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10655 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10656 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10657 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10658 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10659 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10662 ac_check_lib_save_LIBS=$LIBS
10663 LIBS="-llber $LIBPTHREAD $LIBS"
10664 cat >conftest.$ac_ext <<_ACEOF
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10681 return ber_init ();
10686 rm -f conftest.$ac_objext conftest$ac_exeext
10687 if { (ac_try="$ac_link"
10688 case "(($ac_try" in
10689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10690 *) ac_try_echo
=$ac_try;;
10692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10693 (eval "$ac_link") 2>conftest.er1
10695 grep -v '^ *+' conftest.er1
>conftest.err
10697 cat conftest.err
>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } && {
10700 test -z "$ac_c_werror_flag" ||
10701 test ! -s conftest.err
10702 } && test -s conftest
$ac_exeext &&
10703 $as_test_x conftest
$ac_exeext; then
10704 ac_cv_lib_lber_ber_init
=yes
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.
$ac_ext >&5
10709 ac_cv_lib_lber_ber_init
=no
10712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 LIBS
=$ac_check_lib_save_LIBS
10716 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10717 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10718 if test $ac_cv_lib_lber_ber_init = yes; then
10720 cat >>confdefs.h
<<\_ACEOF
10721 #define HAVE_LDAP 1
10724 LDAPLIBS
="-lldap_r -llber"
10729 ac_wine_check_funcs_save_LIBS
="$LIBS"
10730 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
10736 ldap_count_references \
10737 ldap_first_reference \
10738 ldap_next_reference \
10739 ldap_parse_reference
10741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10742 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10744 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 cat >conftest.
$ac_ext <<_ACEOF
10750 cat confdefs.h
>>conftest.
$ac_ext
10751 cat >>conftest.
$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10755 #define $ac_func innocuous_$ac_func
10757 /* System header to define __stub macros and hopefully few prototypes,
10758 which can conflict with char $ac_func (); below.
10759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760 <limits.h> exists even on freestanding compilers. */
10763 # include <limits.h>
10765 # include <assert.h>
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10777 /* The GNU C library defines this for functions which it implements
10778 to always fail with ENOSYS. Some functions are actually named
10779 something starting with __ and the normal name is an alias. */
10780 #if defined __stub_$ac_func || defined __stub___$ac_func
10787 return $ac_func ();
10792 rm -f conftest.
$ac_objext conftest
$ac_exeext
10793 if { (ac_try
="$ac_link"
10794 case "(($ac_try" in
10795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10796 *) ac_try_echo=$ac_try;;
10798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799 (eval "$ac_link") 2>conftest.er1
10801 grep -v '^ *+' conftest.er1 >conftest.err
10803 cat conftest.err >&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); } && {
10806 test -z "$ac_c_werror_flag" ||
10807 test ! -s conftest.err
10808 } && test -s conftest$ac_exeext &&
10809 $as_test_x conftest$ac_exeext; then
10810 eval "$as_ac_var=yes"
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 eval "$as_ac_var=no"
10818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819 conftest$ac_exeext conftest.$ac_ext
10821 ac_res=`eval echo '${'$as_ac_var'}'`
10822 { echo "$as_me:$LINENO: result: $ac_res" >&5
10823 echo "${ECHO_T}$ac_res" >&6; }
10824 if test `eval echo '${'$as_ac_var'}'` = yes; then
10825 cat >>confdefs.h <<_ACEOF
10826 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10832 LIBS="$ac_wine_check_funcs_save_LIBS"
10839 # Extract the first word of "freetype-config", so it can be a program name with args.
10840 set dummy freetype-config; ac_word=$2
10841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10843 if test "${ac_cv_prog_ft_devel+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 if test -n "$ft_devel"; then
10847 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10850 for as_dir in $PATH
10853 test -z "$as_dir" && as_dir=.
10854 for ac_exec_ext in '' $ac_executable_extensions; do
10855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10856 ac_cv_prog_ft_devel="freetype-config"
10857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10864 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10867 ft_devel=$ac_cv_prog_ft_devel
10868 if test -n "$ft_devel"; then
10869 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10870 echo "${ECHO_T}$ft_devel" >&6; }
10872 { echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6; }
10877 if test "$ft_devel" = "no"
10879 # Extract the first word of "freetype2-config", so it can be a program name with args.
10880 set dummy freetype2-config; ac_word=$2
10881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10883 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 if test -n "$ft_devel2"; then
10887 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10896 ac_cv_prog_ft_devel2="freetype2-config"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10904 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10907 ft_devel2=$ac_cv_prog_ft_devel2
10908 if test -n "$ft_devel2"; then
10909 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10910 echo "${ECHO_T}$ft_devel2" >&6; }
10912 { echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6; }
10917 if test "$ft_devel2" = "freetype2-config"
10919 ft_devel=$ft_devel2
10923 if test "$ft_devel" = "no"
10925 wine_cv_msg_freetype=yes
10927 FREETYPELIBS=`$ft_devel --libs`
10928 FREETYPEINCL=`$ft_devel --cflags`
10929 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10930 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10931 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 ac_check_lib_save_LIBS=$LIBS
10935 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10936 cat >conftest.$ac_ext <<_ACEOF
10939 cat confdefs.h >>conftest.$ac_ext
10940 cat >>conftest.$ac_ext <<_ACEOF
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10949 char FT_Init_FreeType ();
10953 return FT_Init_FreeType ();
10958 rm -f conftest.$ac_objext conftest$ac_exeext
10959 if { (ac_try="$ac_link"
10960 case "(($ac_try" in
10961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10962 *) ac_try_echo
=$ac_try;;
10964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10965 (eval "$ac_link") 2>conftest.er1
10967 grep -v '^ *+' conftest.er1
>conftest.err
10969 cat conftest.err
>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } && {
10972 test -z "$ac_c_werror_flag" ||
10973 test ! -s conftest.err
10974 } && test -s conftest
$ac_exeext &&
10975 $as_test_x conftest
$ac_exeext; then
10976 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.
$ac_ext >&5
10981 ac_cv_lib_freetype_FT_Init_FreeType
=no
10984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_lib_save_LIBS
10988 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10989 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10990 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10996 if test "$ft_lib" = "no"
10998 wine_cv_msg_freetype
=yes
11002 ac_save_CPPFLAGS
="$CPPFLAGS"
11003 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
11015 for ac_header
in ft2build.h \
11016 freetype
/freetype.h \
11017 freetype
/ftglyph.h \
11018 freetype
/tttables.h \
11019 freetype
/ftnames.h \
11020 freetype
/ftsnames.h \
11021 freetype
/ttnameid.h \
11022 freetype
/ftoutln.h \
11023 freetype
/ftwinfnt.h \
11024 freetype
/ftmodapi.h \
11025 freetype
/internal
/sfnt.h
11027 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11030 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 cat >conftest.
$ac_ext <<_ACEOF
11036 cat confdefs.h
>>conftest.
$ac_ext
11037 cat >>conftest.
$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #if HAVE_FT2BUILD_H
11040 #include <ft2build.h>
11043 #include <$ac_header>
11045 rm -f conftest.
$ac_objext
11046 if { (ac_try
="$ac_compile"
11047 case "(($ac_try" in
11048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_compile") 2>conftest.er1
11054 grep -v '^ *+' conftest.er1 >conftest.err
11056 cat conftest.err >&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } && {
11059 test -z "$ac_c_werror_flag" ||
11060 test ! -s conftest.err
11061 } && test -s conftest.$ac_objext; then
11062 eval "$as_ac_Header=yes"
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 eval "$as_ac_Header=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11072 ac_res=`eval echo '${'$as_ac_Header'}'`
11073 { echo "$as_me:$LINENO: result: $ac_res" >&5
11074 echo "${ECHO_T}$ac_res" >&6; }
11075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11076 cat >>confdefs.h <<_ACEOF
11077 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11084 cat >conftest.$ac_ext <<_ACEOF
11087 cat confdefs.h >>conftest.$ac_ext
11088 cat >>conftest.$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11090 #include <ft2build.h>
11091 #include <freetype/fttrigon.h>
11093 if { (ac_try="$ac_cpp conftest.$ac_ext"
11094 case "(($ac_try" in
11095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11096 *) ac_try_echo
=$ac_try;;
11098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11101 grep -v '^ *+' conftest.er1
>conftest.err
11103 cat conftest.err
>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); } >/dev
/null
&& {
11106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11107 test ! -s conftest.err
11110 cat >>confdefs.h
<<\_ACEOF
11111 #define HAVE_FREETYPE_FTTRIGON_H 1
11114 wine_cv_fttrigon
=yes
11116 echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.
$ac_ext >&5
11119 wine_cv_fttrigon
=no
11122 rm -f conftest.err conftest.
$ac_ext
11123 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11124 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11125 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 cat >conftest.
$ac_ext <<_ACEOF
11131 cat confdefs.h
>>conftest.
$ac_ext
11132 cat >>conftest.
$ac_ext <<_ACEOF
11133 /* end confdefs.h. */
11134 #include <freetype/ftmodapi.h>
11136 typedef FT_TrueTypeEngineType ac__type_new_;
11140 if ((ac__type_new_ *) 0)
11142 if (sizeof (ac__type_new_))
11148 rm -f conftest.
$ac_objext
11149 if { (ac_try
="$ac_compile"
11150 case "(($ac_try" in
11151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11152 *) ac_try_echo=$ac_try;;
11154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11155 (eval "$ac_compile") 2>conftest.er1
11157 grep -v '^ *+' conftest.er1 >conftest.err
11159 cat conftest.err >&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } && {
11162 test -z "$ac_c_werror_flag" ||
11163 test ! -s conftest.err
11164 } && test -s conftest.$ac_objext; then
11165 ac_cv_type_FT_TrueTypeEngineType=yes
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11170 ac_cv_type_FT_TrueTypeEngineType=no
11173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11175 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11176 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11177 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11179 cat >>confdefs.h <<_ACEOF
11180 #define HAVE_FT_TRUETYPEENGINETYPE 1
11186 ac_save_CFLAGS="$CFLAGS"
11187 CFLAGS="$CFLAGS $FREETYPELIBS"
11189 for ac_func in FT_Load_Sfnt_Table
11191 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 cat >conftest.$ac_ext <<_ACEOF
11200 cat confdefs.h >>conftest.$ac_ext
11201 cat >>conftest.$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11205 #define $ac_func innocuous_$ac_func
11207 /* System header to define __stub macros and hopefully few prototypes,
11208 which can conflict with char $ac_func (); below.
11209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11210 <limits.h> exists even on freestanding compilers. */
11213 # include <limits.h>
11215 # include <assert.h>
11220 /* Override any GCC internal prototype to avoid an error.
11221 Use char because int might match the return type of a GCC
11222 builtin and then its argument prototype would still apply. */
11227 /* The GNU C library defines this for functions which it implements
11228 to always fail with ENOSYS. Some functions are actually named
11229 something starting with __ and the normal name is an alias. */
11230 #if defined __stub_$ac_func || defined __stub___$ac_func
11237 return $ac_func ();
11242 rm -f conftest.$ac_objext conftest$ac_exeext
11243 if { (ac_try="$ac_link"
11244 case "(($ac_try" in
11245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11246 *) ac_try_echo
=$ac_try;;
11248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11249 (eval "$ac_link") 2>conftest.er1
11251 grep -v '^ *+' conftest.er1
>conftest.err
11253 cat conftest.err
>&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } && {
11256 test -z "$ac_c_werror_flag" ||
11257 test ! -s conftest.err
11258 } && test -s conftest
$ac_exeext &&
11259 $as_test_x conftest
$ac_exeext; then
11260 eval "$as_ac_var=yes"
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.
$ac_ext >&5
11265 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11269 conftest
$ac_exeext conftest.
$ac_ext
11271 ac_res
=`eval echo '${'$as_ac_var'}'`
11272 { echo "$as_me:$LINENO: result: $ac_res" >&5
11273 echo "${ECHO_T}$ac_res" >&6; }
11274 if test `eval echo '${'$as_ac_var'}'` = yes; then
11275 cat >>confdefs.h
<<_ACEOF
11276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11282 CFLAGS
="$ac_save_CFLAGS"
11283 CPPFLAGS
="$ac_save_CPPFLAGS"
11284 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11287 cat >>confdefs.h
<<\_ACEOF
11288 #define HAVE_FREETYPE 1
11291 wine_cv_msg_freetype
=no
11295 wine_cv_msg_freetype
=yes
11300 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11302 FONTSSUBDIRS
="fonts"
11306 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11307 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11308 if test "${ac_cv_c_ppdev+set}" = set; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6
11311 cat >conftest.
$ac_ext <<_ACEOF
11314 cat confdefs.h
>>conftest.
$ac_ext
11315 cat >>conftest.
$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 #include <linux/ppdev.h>
11321 ioctl (1,PPCLAIM,0)
11326 rm -f conftest.
$ac_objext
11327 if { (ac_try
="$ac_compile"
11328 case "(($ac_try" in
11329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11330 *) ac_try_echo=$ac_try;;
11332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11333 (eval "$ac_compile") 2>conftest.er1
11335 grep -v '^ *+' conftest.er1 >conftest.err
11337 cat conftest.err >&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } && {
11340 test -z "$ac_c_werror_flag" ||
11341 test ! -s conftest.err
11342 } && test -s conftest.$ac_objext; then
11343 ac_cv_c_ppdev="yes"
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.$ac_ext >&5
11351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11354 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11355 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11356 if test "$ac_cv_c_ppdev" = "yes"
11359 cat >>confdefs.h <<\_ACEOF
11360 #define HAVE_PPDEV 1
11365 { echo "$as_me:$LINENO: checking for va_copy" >&5
11366 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11367 if test "${ac_cv_c_va_copy+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 cat >conftest.$ac_ext <<_ACEOF
11373 cat confdefs.h >>conftest.$ac_ext
11374 cat >>conftest.$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376 #include <stdarg.h>
11387 rm -f conftest.$ac_objext conftest$ac_exeext
11388 if { (ac_try="$ac_link"
11389 case "(($ac_try" in
11390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11391 *) ac_try_echo
=$ac_try;;
11393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11394 (eval "$ac_link") 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } && {
11401 test -z "$ac_c_werror_flag" ||
11402 test ! -s conftest.err
11403 } && test -s conftest
$ac_exeext &&
11404 $as_test_x conftest
$ac_exeext; then
11405 ac_cv_c_va_copy
="yes"
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.
$ac_ext >&5
11410 ac_cv_c_va_copy
="no"
11413 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11414 conftest
$ac_exeext conftest.
$ac_ext
11417 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11418 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11419 if test "$ac_cv_c_va_copy" = "yes"
11422 cat >>confdefs.h
<<\_ACEOF
11423 #define HAVE_VA_COPY 1
11427 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11428 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11429 if test "${ac_cv_c___va_copy+set}" = set; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 cat >conftest.
$ac_ext <<_ACEOF
11435 cat confdefs.h
>>conftest.
$ac_ext
11436 cat >>conftest.
$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11438 #include <stdarg.h>
11443 __va_copy(ap1,ap2);
11449 rm -f conftest.
$ac_objext conftest
$ac_exeext
11450 if { (ac_try
="$ac_link"
11451 case "(($ac_try" in
11452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_link") 2>conftest.er1
11458 grep -v '^ *+' conftest.er1 >conftest.err
11460 cat conftest.err >&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest$ac_exeext &&
11466 $as_test_x conftest$ac_exeext; then
11467 ac_cv_c___va_copy="yes"
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.$ac_ext >&5
11472 ac_cv_c___va_copy="no"
11475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11476 conftest$ac_exeext conftest.$ac_ext
11479 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11480 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11481 if test "$ac_cv_c___va_copy" = "yes"
11484 cat >>confdefs.h <<\_ACEOF
11485 #define HAVE___VA_COPY 1
11490 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11491 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11492 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11495 cat >conftest.$ac_ext <<_ACEOF
11498 cat confdefs.h >>conftest.$ac_ext
11499 cat >>conftest.$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11501 #include <setjmp.h>
11506 sigsetjmp( buf, 1 );
11507 siglongjmp( buf, 1 );
11512 rm -f conftest.$ac_objext conftest$ac_exeext
11513 if { (ac_try="$ac_link"
11514 case "(($ac_try" in
11515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11516 *) ac_try_echo
=$ac_try;;
11518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11519 (eval "$ac_link") 2>conftest.er1
11521 grep -v '^ *+' conftest.er1
>conftest.err
11523 cat conftest.err
>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } && {
11526 test -z "$ac_c_werror_flag" ||
11527 test ! -s conftest.err
11528 } && test -s conftest
$ac_exeext &&
11529 $as_test_x conftest
$ac_exeext; then
11530 ac_cv_c_sigsetjmp
="yes"
11532 echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.
$ac_ext >&5
11535 ac_cv_c_sigsetjmp
="no"
11538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11539 conftest
$ac_exeext conftest.
$ac_ext
11542 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11543 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11544 if test "$ac_cv_c_sigsetjmp" = "yes"
11547 cat >>confdefs.h
<<\_ACEOF
11548 #define HAVE_SIGSETJMP 1
11553 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11554 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11555 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 #define _GNU_SOURCE
11565 #include <pthread.h>
11567 typedef pthread_rwlock_t ac__type_new_;
11571 if ((ac__type_new_ *) 0)
11573 if (sizeof (ac__type_new_))
11579 rm -f conftest.
$ac_objext
11580 if { (ac_try
="$ac_compile"
11581 case "(($ac_try" in
11582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_compile") 2>conftest.er1
11588 grep -v '^ *+' conftest.er1 >conftest.err
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } && {
11593 test -z "$ac_c_werror_flag" ||
11594 test ! -s conftest.err
11595 } && test -s conftest.$ac_objext; then
11596 ac_cv_type_pthread_rwlock_t=yes
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11601 ac_cv_type_pthread_rwlock_t=no
11604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11606 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11607 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11608 if test $ac_cv_type_pthread_rwlock_t = yes; then
11610 cat >>confdefs.h <<_ACEOF
11611 #define HAVE_PTHREAD_RWLOCK_T 1
11616 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11617 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11618 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 cat >conftest.$ac_ext <<_ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 #define _GNU_SOURCE
11628 #include <pthread.h>
11630 typedef pthread_rwlockattr_t ac__type_new_;
11634 if ((ac__type_new_ *) 0)
11636 if (sizeof (ac__type_new_))
11642 rm -f conftest.$ac_objext
11643 if { (ac_try="$ac_compile"
11644 case "(($ac_try" in
11645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11646 *) ac_try_echo
=$ac_try;;
11648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11649 (eval "$ac_compile") 2>conftest.er1
11651 grep -v '^ *+' conftest.er1
>conftest.err
11653 cat conftest.err
>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } && {
11656 test -z "$ac_c_werror_flag" ||
11657 test ! -s conftest.err
11658 } && test -s conftest.
$ac_objext; then
11659 ac_cv_type_pthread_rwlockattr_t
=yes
11661 echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.
$ac_ext >&5
11664 ac_cv_type_pthread_rwlockattr_t
=no
11667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11669 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11670 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11671 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11673 cat >>confdefs.h
<<_ACEOF
11674 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11681 ac_wine_check_funcs_save_LIBS
="$LIBS"
11682 LIBS
="$LIBS $LIBPTHREAD"
11688 pthread_attr_get_np \
11689 pthread_getattr_np \
11690 pthread_get_stackaddr_np \
11691 pthread_get_stacksize_np
11693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11696 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 cat >conftest.
$ac_ext <<_ACEOF
11702 cat confdefs.h
>>conftest.
$ac_ext
11703 cat >>conftest.
$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11707 #define $ac_func innocuous_$ac_func
11709 /* System header to define __stub macros and hopefully few prototypes,
11710 which can conflict with char $ac_func (); below.
11711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11712 <limits.h> exists even on freestanding compilers. */
11715 # include <limits.h>
11717 # include <assert.h>
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11729 /* The GNU C library defines this for functions which it implements
11730 to always fail with ENOSYS. Some functions are actually named
11731 something starting with __ and the normal name is an alias. */
11732 #if defined __stub_$ac_func || defined __stub___$ac_func
11739 return $ac_func ();
11744 rm -f conftest.
$ac_objext conftest
$ac_exeext
11745 if { (ac_try
="$ac_link"
11746 case "(($ac_try" in
11747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11748 *) ac_try_echo=$ac_try;;
11750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11751 (eval "$ac_link") 2>conftest.er1
11753 grep -v '^ *+' conftest.er1 >conftest.err
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } && {
11758 test -z "$ac_c_werror_flag" ||
11759 test ! -s conftest.err
11760 } && test -s conftest$ac_exeext &&
11761 $as_test_x conftest$ac_exeext; then
11762 eval "$as_ac_var=yes"
11764 echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11767 eval "$as_ac_var=no"
11770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11771 conftest$ac_exeext conftest.$ac_ext
11773 ac_res=`eval echo '${'$as_ac_var'}'`
11774 { echo "$as_me:$LINENO: result: $ac_res" >&5
11775 echo "${ECHO_T}$ac_res" >&6; }
11776 if test `eval echo '${'$as_ac_var'}'` = yes; then
11777 cat >>confdefs.h <<_ACEOF
11778 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11784 LIBS="$ac_wine_check_funcs_save_LIBS"
11786 # Extract the first word of "artsc-config", so it can be a program name with args.
11787 set dummy artsc-config; ac_word=$2
11788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11790 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 case $ARTSCCONFIG in
11795 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11799 for as_dir in $PATH
11802 test -z "$as_dir" && as_dir=.
11803 for ac_exec_ext in '' $ac_executable_extensions; do
11804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11805 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11816 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11817 if test -n "$ARTSCCONFIG"; then
11818 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11819 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11821 { echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6; }
11826 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11829 for i in `$ARTSCCONFIG --cflags`
11832 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11836 for i in `$ARTSCCONFIG --libs`
11839 -L/usr/lib|-L/usr/lib64) ;;
11840 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11843 save_CFLAGS="$CFLAGS"
11844 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11845 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11846 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11847 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 ac_check_lib_save_LIBS=$LIBS
11851 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11852 cat >conftest.$ac_ext <<_ACEOF
11855 cat confdefs.h >>conftest.$ac_ext
11856 cat >>conftest.$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11869 return arts_init ();
11874 rm -f conftest.$ac_objext conftest$ac_exeext
11875 if { (ac_try="$ac_link"
11876 case "(($ac_try" in
11877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11878 *) ac_try_echo
=$ac_try;;
11880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11881 (eval "$ac_link") 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } && {
11888 test -z "$ac_c_werror_flag" ||
11889 test ! -s conftest.err
11890 } && test -s conftest
$ac_exeext &&
11891 $as_test_x conftest
$ac_exeext; then
11892 ac_cv_lib_artsc_arts_init
=yes
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.
$ac_ext >&5
11897 ac_cv_lib_artsc_arts_init
=no
11900 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11901 conftest
$ac_exeext conftest.
$ac_ext
11902 LIBS
=$ac_check_lib_save_LIBS
11904 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11905 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11906 if test $ac_cv_lib_artsc_arts_init = yes; then
11907 cat >conftest.
$ac_ext <<_ACEOF
11910 cat confdefs.h
>>conftest.
$ac_ext
11911 cat >>conftest.
$ac_ext <<_ACEOF
11912 /* end confdefs.h. */
11917 arts_stream_t stream;
11922 rm -f conftest.
$ac_objext
11923 if { (ac_try
="$ac_compile"
11924 case "(($ac_try" in
11925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11926 *) ac_try_echo=$ac_try;;
11928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11929 (eval "$ac_compile") 2>conftest.er1
11931 grep -v '^ *+' conftest.er1 >conftest.err
11933 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } && {
11936 test -z "$ac_c_werror_flag" ||
11937 test ! -s conftest.err
11938 } && test -s conftest.$ac_objext; then
11939 ARTSLIBS=$ARTSC_LIBS
11941 ARTSINCL=$ARTSC_CFLAGS
11944 cat >>confdefs.h <<\_ACEOF
11945 #define HAVE_ARTS 1
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11958 CFLAGS="$save_CFLAGS"
11961 # Extract the first word of "esd-config", so it can be a program name with args.
11962 set dummy esd-config; ac_word=$2
11963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11965 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 ESDCONFIG=$ac_cv_path_ESDCONFIG
11992 if test -n "$ESDCONFIG"; then
11993 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11994 echo "${ECHO_T}$ESDCONFIG" >&6; }
11996 { echo "$as_me:$LINENO: result: no" >&5
11997 echo "${ECHO_T}no" >&6; }
12001 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12004 for i in `$ESDCONFIG --cflags`
12007 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12010 ESD_LIBS=`$ESDCONFIG --libs`
12011 save_CFLAGS="$CFLAGS"
12012 CFLAGS="$CFLAGS $ESD_CFLAGS"
12013 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12014 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12015 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 ac_check_lib_save_LIBS=$LIBS
12020 cat >conftest.$ac_ext <<_ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12033 char esd_open_sound ();
12037 return esd_open_sound ();
12042 rm -f conftest.$ac_objext conftest$ac_exeext
12043 if { (ac_try="$ac_link"
12044 case "(($ac_try" in
12045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12046 *) ac_try_echo
=$ac_try;;
12048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12049 (eval "$ac_link") 2>conftest.er1
12051 grep -v '^ *+' conftest.er1
>conftest.err
12053 cat conftest.err
>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } && {
12056 test -z "$ac_c_werror_flag" ||
12057 test ! -s conftest.err
12058 } && test -s conftest
$ac_exeext &&
12059 $as_test_x conftest
$ac_exeext; then
12060 ac_cv_lib_esd_esd_open_sound
=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.
$ac_ext >&5
12065 ac_cv_lib_esd_esd_open_sound
=no
12068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12069 conftest
$ac_exeext conftest.
$ac_ext
12070 LIBS
=$ac_check_lib_save_LIBS
12072 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12073 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12074 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12077 ESDINCL
=$ESD_CFLAGS
12080 cat >>confdefs.h
<<\_ACEOF
12086 CFLAGS
="$save_CFLAGS"
12091 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12093 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12094 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12095 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 ac_check_lib_save_LIBS
=$LIBS
12099 LIBS
="-lasound $LIBS"
12100 cat >conftest.
$ac_ext <<_ACEOF
12103 cat confdefs.h
>>conftest.
$ac_ext
12104 cat >>conftest.
$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12113 char snd_pcm_hw_params_get_access ();
12117 return snd_pcm_hw_params_get_access ();
12122 rm -f conftest.
$ac_objext conftest
$ac_exeext
12123 if { (ac_try
="$ac_link"
12124 case "(($ac_try" in
12125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12126 *) ac_try_echo=$ac_try;;
12128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12129 (eval "$ac_link") 2>conftest.er1
12131 grep -v '^ *+' conftest.er1 >conftest.err
12133 cat conftest.err >&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } && {
12136 test -z "$ac_c_werror_flag" ||
12137 test ! -s conftest.err
12138 } && test -s conftest$ac_exeext &&
12139 $as_test_x conftest$ac_exeext; then
12140 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12145 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12152 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12153 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12154 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12155 cat >conftest.$ac_ext <<_ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 #ifdef HAVE_ALSA_ASOUNDLIB_H
12162 #include <alsa/asoundlib.h>
12163 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12164 #include <sys/asoundlib.h>
12169 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12174 rm -f conftest.$ac_objext
12175 if { (ac_try="$ac_compile"
12176 case "(($ac_try" in
12177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12178 *) ac_try_echo
=$ac_try;;
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_compile") 2>conftest.er1
12183 grep -v '^ *+' conftest.er1
>conftest.err
12185 cat conftest.err
>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && {
12188 test -z "$ac_c_werror_flag" ||
12189 test ! -s conftest.err
12190 } && test -s conftest.
$ac_objext; then
12192 cat >>confdefs.h
<<\_ACEOF
12193 #define HAVE_ALSA 1
12196 ALSALIBS
="-lasound"
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.
$ac_ext >&5
12204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12212 if test "$ac_cv_header_libaudioio_h" = "yes"
12214 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12215 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12216 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 ac_check_lib_save_LIBS
=$LIBS
12220 LIBS
="-laudioio $LIBS"
12221 cat >conftest.
$ac_ext <<_ACEOF
12224 cat confdefs.h
>>conftest.
$ac_ext
12225 cat >>conftest.
$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12234 char AudioIOGetVersion ();
12238 return AudioIOGetVersion ();
12243 rm -f conftest.
$ac_objext conftest
$ac_exeext
12244 if { (ac_try
="$ac_link"
12245 case "(($ac_try" in
12246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_link") 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } && {
12257 test -z "$ac_c_werror_flag" ||
12258 test ! -s conftest.err
12259 } && test -s conftest$ac_exeext &&
12260 $as_test_x conftest$ac_exeext; then
12261 ac_cv_lib_audioio_AudioIOGetVersion=yes
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ac_cv_lib_audioio_AudioIOGetVersion=no
12269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12274 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12275 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12276 AUDIOIOLIBS="-laudioio"
12278 cat >>confdefs.h <<\_ACEOF
12279 #define HAVE_LIBAUDIOIO 1
12287 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12289 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12290 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12291 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 ac_check_lib_save_LIBS=$LIBS
12295 LIBS="-lcapi20 $LIBS"
12296 cat >conftest.$ac_ext <<_ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12309 char capi20_register ();
12313 return capi20_register ();
12318 rm -f conftest.$ac_objext conftest$ac_exeext
12319 if { (ac_try="$ac_link"
12320 case "(($ac_try" in
12321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12322 *) ac_try_echo
=$ac_try;;
12324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12325 (eval "$ac_link") 2>conftest.er1
12327 grep -v '^ *+' conftest.er1
>conftest.err
12329 cat conftest.err
>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); } && {
12332 test -z "$ac_c_werror_flag" ||
12333 test ! -s conftest.err
12334 } && test -s conftest
$ac_exeext &&
12335 $as_test_x conftest
$ac_exeext; then
12336 ac_cv_lib_capi20_capi20_register
=yes
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.
$ac_ext >&5
12341 ac_cv_lib_capi20_capi20_register
=no
12344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12345 conftest
$ac_exeext conftest.
$ac_ext
12346 LIBS
=$ac_check_lib_save_LIBS
12348 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12349 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12350 if test $ac_cv_lib_capi20_capi20_register = yes; then
12352 cat >>confdefs.h
<<\_ACEOF
12353 #define HAVE_CAPI4LINUX 1
12363 if test "x${GCC}" = "xyes"
12365 EXTRACFLAGS
="-Wall -pipe"
12367 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12368 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12369 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6
12372 if test "$cross_compiling" = yes; then
12373 ac_cv_c_gcc_strength_bug
="yes"
12375 cat >conftest.
$ac_ext <<_ACEOF
12378 cat confdefs.h
>>conftest.
$ac_ext
12379 cat >>conftest.
$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12382 int L[4] = {0,1,2,3};
12384 static int Array[3];
12385 unsigned int B = 3;
12387 for(i=0; i<B; i++) Array[i] = i - 3;
12388 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12391 exit( Array[1] != -2 || L[2] != 3);
12394 rm -f conftest
$ac_exeext
12395 if { (ac_try
="$ac_link"
12396 case "(($ac_try" in
12397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12398 *) ac_try_echo=$ac_try;;
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_link") 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12405 { (case "(($ac_try" in
12406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12407 *) ac_try_echo
=$ac_try;;
12409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12410 (eval "$ac_try") 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; }; then
12414 ac_cv_c_gcc_strength_bug
="no"
12416 echo "$as_me: program exited with status $ac_status" >&5
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.
$ac_ext >&5
12420 ( exit $ac_status )
12421 ac_cv_c_gcc_strength_bug
="yes"
12423 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12428 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12429 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12430 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12432 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12436 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12437 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12438 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12439 echo $ECHO_N "(cached) $ECHO_C" >&6
12441 ac_wine_try_cflags_saved
=$CFLAGS
12442 CFLAGS
="$CFLAGS -fshort-wchar"
12443 cat >conftest.
$ac_ext <<_ACEOF
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12458 rm -f conftest.
$ac_objext conftest
$ac_exeext
12459 if { (ac_try
="$ac_link"
12460 case "(($ac_try" in
12461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12462 *) ac_try_echo=$ac_try;;
12464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12465 (eval "$ac_link") 2>conftest.er1
12467 grep -v '^ *+' conftest.er1 >conftest.err
12469 cat conftest.err >&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } && {
12472 test -z "$ac_c_werror_flag" ||
12473 test ! -s conftest.err
12474 } && test -s conftest$ac_exeext &&
12475 $as_test_x conftest$ac_exeext; then
12476 ac_cv_cflags__fshort_wchar=yes
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.$ac_ext >&5
12481 ac_cv_cflags__fshort_wchar=no
12484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12485 conftest$ac_exeext conftest.$ac_ext
12486 CFLAGS=$ac_wine_try_cflags_saved
12488 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12489 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12490 if test $ac_cv_cflags__fshort_wchar = yes; then
12492 cat >>confdefs.h <<\_ACEOF
12493 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12498 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12499 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12500 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 ac_wine_try_cflags_saved=$CFLAGS
12504 CFLAGS="$CFLAGS -fno-strict-aliasing"
12505 cat >conftest.$ac_ext <<_ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12520 rm -f conftest.$ac_objext conftest$ac_exeext
12521 if { (ac_try="$ac_link"
12522 case "(($ac_try" in
12523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12524 *) ac_try_echo
=$ac_try;;
12526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12527 (eval "$ac_link") 2>conftest.er1
12529 grep -v '^ *+' conftest.er1
>conftest.err
12531 cat conftest.err
>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } && {
12534 test -z "$ac_c_werror_flag" ||
12535 test ! -s conftest.err
12536 } && test -s conftest
$ac_exeext &&
12537 $as_test_x conftest
$ac_exeext; then
12538 ac_cv_cflags__fno_strict_aliasing
=yes
12540 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.
$ac_ext >&5
12543 ac_cv_cflags__fno_strict_aliasing
=no
12546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12547 conftest
$ac_exeext conftest.
$ac_ext
12548 CFLAGS
=$ac_wine_try_cflags_saved
12550 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12551 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12552 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12553 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12556 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12557 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12558 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 ac_wine_try_cflags_saved
=$CFLAGS
12562 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12563 cat >conftest.
$ac_ext <<_ACEOF
12566 cat confdefs.h
>>conftest.
$ac_ext
12567 cat >>conftest.
$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12578 rm -f conftest.
$ac_objext conftest
$ac_exeext
12579 if { (ac_try
="$ac_link"
12580 case "(($ac_try" in
12581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_link") 2>conftest.er1
12587 grep -v '^ *+' conftest.er1 >conftest.err
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest$ac_exeext &&
12595 $as_test_x conftest$ac_exeext; then
12596 ac_cv_cflags__Wdeclaration_after_statement=yes
12598 echo "$as_me: failed program was:" >&5
12599 sed 's/^/| /' conftest.$ac_ext >&5
12601 ac_cv_cflags__Wdeclaration_after_statement=no
12604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12605 conftest$ac_exeext conftest.$ac_ext
12606 CFLAGS=$ac_wine_try_cflags_saved
12608 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12609 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12610 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12611 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12614 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12615 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12616 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 ac_wine_try_cflags_saved=$CFLAGS
12620 CFLAGS="$CFLAGS -Wwrite-strings"
12621 cat >conftest.$ac_ext <<_ACEOF
12624 cat confdefs.h >>conftest.$ac_ext
12625 cat >>conftest.$ac_ext <<_ACEOF
12626 /* end confdefs.h. */
12636 rm -f conftest.$ac_objext conftest$ac_exeext
12637 if { (ac_try="$ac_link"
12638 case "(($ac_try" in
12639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12640 *) ac_try_echo
=$ac_try;;
12642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12643 (eval "$ac_link") 2>conftest.er1
12645 grep -v '^ *+' conftest.er1
>conftest.err
12647 cat conftest.err
>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } && {
12650 test -z "$ac_c_werror_flag" ||
12651 test ! -s conftest.err
12652 } && test -s conftest
$ac_exeext &&
12653 $as_test_x conftest
$ac_exeext; then
12654 ac_cv_cflags__Wwrite_strings
=yes
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.
$ac_ext >&5
12659 ac_cv_cflags__Wwrite_strings
=no
12662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12663 conftest
$ac_exeext conftest.
$ac_ext
12664 CFLAGS
=$ac_wine_try_cflags_saved
12666 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12667 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12668 if test $ac_cv_cflags__Wwrite_strings = yes; then
12669 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12673 saved_CFLAGS
="$CFLAGS"
12674 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12675 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12676 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12677 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12678 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 cat >conftest.
$ac_ext <<_ACEOF
12683 cat confdefs.h
>>conftest.
$ac_ext
12684 cat >>conftest.
$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12686 #include <string.h>
12695 rm -f conftest.
$ac_objext
12696 if { (ac_try
="$ac_compile"
12697 case "(($ac_try" in
12698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12699 *) ac_try_echo=$ac_try;;
12701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12702 (eval "$ac_compile") 2>conftest.er1
12704 grep -v '^ *+' conftest.er1 >conftest.err
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } && {
12709 test -z "$ac_c_werror_flag" ||
12710 test ! -s conftest.err
12711 } && test -s conftest.$ac_objext; then
12712 ac_cv_c_string_h_warnings=no
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12717 ac_cv_c_string_h_warnings=yes
12720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12722 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12723 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12724 CFLAGS="$saved_CFLAGS"
12725 if test "$ac_cv_c_string_h_warnings" = "no"
12727 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12732 saved_CFLAGS="$CFLAGS"
12733 CFLAGS="$CFLAGS -Werror"
12734 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12735 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12736 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12739 cat >conftest.$ac_ext <<_ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12749 int iswlower(unsigned short);
12754 rm -f conftest.$ac_objext
12755 if { (ac_try="$ac_compile"
12756 case "(($ac_try" in
12757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12758 *) ac_try_echo
=$ac_try;;
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_compile") 2>conftest.er1
12763 grep -v '^ *+' conftest.er1
>conftest.err
12765 cat conftest.err
>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest.
$ac_objext; then
12771 ac_cv_c_builtin_wchar_ctype
=no
12773 echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.
$ac_ext >&5
12776 ac_cv_c_builtin_wchar_ctype
=yes
12779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12781 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12782 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12783 CFLAGS
="$saved_CFLAGS"
12784 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12786 BUILTINFLAG
="-fno-builtin"
12791 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12792 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12793 if test "${ac_cv_asm_func_def+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 cat >conftest.
$ac_ext <<_ACEOF
12799 cat confdefs.h
>>conftest.
$ac_ext
12800 cat >>conftest.
$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12812 rm -f conftest.
$ac_objext conftest
$ac_exeext
12813 if { (ac_try
="$ac_link"
12814 case "(($ac_try" in
12815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12816 *) ac_try_echo=$ac_try;;
12818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12819 (eval "$ac_link") 2>conftest.er1
12821 grep -v '^ *+' conftest.er1 >conftest.err
12823 cat conftest.err >&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } && {
12826 test -z "$ac_c_werror_flag" ||
12827 test ! -s conftest.err
12828 } && test -s conftest$ac_exeext &&
12829 $as_test_x conftest$ac_exeext; then
12830 ac_cv_asm_func_def=".def"
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.$ac_ext >&5
12835 cat >conftest.$ac_ext <<_ACEOF
12838 cat confdefs.h >>conftest.$ac_ext
12839 cat >>conftest.$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12851 rm -f conftest.$ac_objext conftest$ac_exeext
12852 if { (ac_try="$ac_link"
12853 case "(($ac_try" in
12854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12855 *) ac_try_echo
=$ac_try;;
12857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12858 (eval "$ac_link") 2>conftest.er1
12860 grep -v '^ *+' conftest.er1
>conftest.err
12862 cat conftest.err
>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } && {
12865 test -z "$ac_c_werror_flag" ||
12866 test ! -s conftest.err
12867 } && test -s conftest
$ac_exeext &&
12868 $as_test_x conftest
$ac_exeext; then
12869 ac_cv_asm_func_def
=".type @function"
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12874 cat >conftest.
$ac_ext <<_ACEOF
12877 cat confdefs.h
>>conftest.
$ac_ext
12878 cat >>conftest.
$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12890 rm -f conftest.
$ac_objext conftest
$ac_exeext
12891 if { (ac_try
="$ac_link"
12892 case "(($ac_try" in
12893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_link") 2>conftest.er1
12899 grep -v '^ *+' conftest.er1 >conftest.err
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } && {
12904 test -z "$ac_c_werror_flag" ||
12905 test ! -s conftest.err
12906 } && test -s conftest$ac_exeext &&
12907 $as_test_x conftest$ac_exeext; then
12908 ac_cv_asm_func_def=".type 2"
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12913 ac_cv_asm_func_def="unknown"
12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12917 conftest$ac_exeext conftest.$ac_ext
12920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12921 conftest$ac_exeext conftest.$ac_ext
12924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12925 conftest$ac_exeext conftest.$ac_ext
12927 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12928 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12932 case "$ac_cv_asm_func_def" in
12934 cat >>confdefs.h <<\_ACEOF
12935 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12939 cat >>confdefs.h <<\_ACEOF
12940 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12944 cat >>confdefs.h <<\_ACEOF
12945 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12949 cat >>confdefs.h <<\_ACEOF
12950 #define __ASM_FUNC(name) ""
12956 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12957 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12958 if test "${ac_cv_c_extern_prefix+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 cat >conftest.$ac_ext <<_ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12968 extern int ac_test;
12972 if (ac_test) return 1
12977 rm -f conftest.$ac_objext conftest$ac_exeext
12978 if { (ac_try="$ac_link"
12979 case "(($ac_try" in
12980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12981 *) ac_try_echo
=$ac_try;;
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_link") 2>conftest.er1
12986 grep -v '^ *+' conftest.er1
>conftest.err
12988 cat conftest.err
>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } && {
12991 test -z "$ac_c_werror_flag" ||
12992 test ! -s conftest.err
12993 } && test -s conftest
$ac_exeext &&
12994 $as_test_x conftest
$ac_exeext; then
12995 ac_cv_c_extern_prefix
="yes"
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.
$ac_ext >&5
13000 ac_cv_c_extern_prefix
="no"
13003 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13004 conftest
$ac_exeext conftest.
$ac_ext
13006 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13007 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13011 if test "$ac_cv_c_extern_prefix" = "yes"
13013 cat >>confdefs.h
<<\_ACEOF
13014 #define __ASM_NAME(name) "_" name
13018 cat >>confdefs.h
<<\_ACEOF
13019 #define __ASM_NAME(name) name
13027 DLLFLAGS
="-D_REENTRANT"
13042 if test -n "$ac_tool_prefix"; then
13043 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13044 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13047 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 if test -n "$DLLTOOL"; then
13051 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13054 for as_dir
in $PATH
13057 test -z "$as_dir" && as_dir
=.
13058 for ac_exec_ext
in '' $ac_executable_extensions; do
13059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13070 DLLTOOL
=$ac_cv_prog_DLLTOOL
13071 if test -n "$DLLTOOL"; then
13072 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13073 echo "${ECHO_T}$DLLTOOL" >&6; }
13075 { echo "$as_me:$LINENO: result: no" >&5
13076 echo "${ECHO_T}no" >&6; }
13081 if test -z "$ac_cv_prog_DLLTOOL"; then
13082 ac_ct_DLLTOOL
=$DLLTOOL
13083 # Extract the first word of "dlltool", so it can be a program name with args.
13084 set dummy dlltool
; ac_word
=$2
13085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13087 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13088 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 if test -n "$ac_ct_DLLTOOL"; then
13091 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13094 for as_dir
in $PATH
13097 test -z "$as_dir" && as_dir
=.
13098 for ac_exec_ext
in '' $ac_executable_extensions; do
13099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13100 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13111 if test -n "$ac_ct_DLLTOOL"; then
13112 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13113 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13115 { echo "$as_me:$LINENO: result: no" >&5
13116 echo "${ECHO_T}no" >&6; }
13119 if test "x$ac_ct_DLLTOOL" = x
; then
13122 case $cross_compiling:$ac_tool_warned in
13124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13125 whose name does not start with the host triplet. If you think this
13126 configuration is useful to you, please write to autoconf@gnu.org." >&5
13127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13128 whose name does not start with the host triplet. If you think this
13129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13130 ac_tool_warned
=yes ;;
13132 DLLTOOL
=$ac_ct_DLLTOOL
13135 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13138 if test -n "$ac_tool_prefix"; then
13139 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13140 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13143 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 if test -n "$DLLWRAP"; then
13147 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13150 for as_dir
in $PATH
13153 test -z "$as_dir" && as_dir
=.
13154 for ac_exec_ext
in '' $ac_executable_extensions; do
13155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13156 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13166 DLLWRAP
=$ac_cv_prog_DLLWRAP
13167 if test -n "$DLLWRAP"; then
13168 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13169 echo "${ECHO_T}$DLLWRAP" >&6; }
13171 { echo "$as_me:$LINENO: result: no" >&5
13172 echo "${ECHO_T}no" >&6; }
13177 if test -z "$ac_cv_prog_DLLWRAP"; then
13178 ac_ct_DLLWRAP
=$DLLWRAP
13179 # Extract the first word of "dllwrap", so it can be a program name with args.
13180 set dummy dllwrap
; ac_word
=$2
13181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13183 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 if test -n "$ac_ct_DLLWRAP"; then
13187 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13190 for as_dir
in $PATH
13193 test -z "$as_dir" && as_dir
=.
13194 for ac_exec_ext
in '' $ac_executable_extensions; do
13195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13196 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13206 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13207 if test -n "$ac_ct_DLLWRAP"; then
13208 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13209 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13211 { echo "$as_me:$LINENO: result: no" >&5
13212 echo "${ECHO_T}no" >&6; }
13215 if test "x$ac_ct_DLLWRAP" = x
; then
13218 case $cross_compiling:$ac_tool_warned in
13220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13221 whose name does not start with the host triplet. If you think this
13222 configuration is useful to you, please write to autoconf@gnu.org." >&5
13223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13224 whose name does not start with the host triplet. If you think this
13225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13226 ac_tool_warned
=yes ;;
13228 DLLWRAP
=$ac_ct_DLLWRAP
13231 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13234 if test -n "$ac_tool_prefix"; then
13235 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13236 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13239 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 if test -n "$MINGWAR"; then
13243 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
13245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13246 for as_dir
in $PATH
13249 test -z "$as_dir" && as_dir
=.
13250 for ac_exec_ext
in '' $ac_executable_extensions; do
13251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13252 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
13253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13262 MINGWAR
=$ac_cv_prog_MINGWAR
13263 if test -n "$MINGWAR"; then
13264 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13265 echo "${ECHO_T}$MINGWAR" >&6; }
13267 { echo "$as_me:$LINENO: result: no" >&5
13268 echo "${ECHO_T}no" >&6; }
13273 if test -z "$ac_cv_prog_MINGWAR"; then
13274 ac_ct_MINGWAR
=$MINGWAR
13275 # Extract the first word of "ar", so it can be a program name with args.
13276 set dummy
ar; ac_word
=$2
13277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13279 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 if test -n "$ac_ct_MINGWAR"; then
13283 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
13285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13286 for as_dir
in $PATH
13289 test -z "$as_dir" && as_dir
=.
13290 for ac_exec_ext
in '' $ac_executable_extensions; do
13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13292 ac_cv_prog_ac_ct_MINGWAR
="ar"
13293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13302 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
13303 if test -n "$ac_ct_MINGWAR"; then
13304 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13305 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13307 { echo "$as_me:$LINENO: result: no" >&5
13308 echo "${ECHO_T}no" >&6; }
13311 if test "x$ac_ct_MINGWAR" = x
; then
13314 case $cross_compiling:$ac_tool_warned in
13316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13317 whose name does not start with the host triplet. If you think this
13318 configuration is useful to you, please write to autoconf@gnu.org." >&5
13319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13320 whose name does not start with the host triplet. If you think this
13321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13322 ac_tool_warned
=yes ;;
13324 MINGWAR
=$ac_ct_MINGWAR
13327 MINGWAR
="$ac_cv_prog_MINGWAR"
13330 if test "$DLLWRAP" = "false"; then
13342 DLLFLAGS
="$DLLFLAGS -fPIC"
13343 LDDLLFLAGS
="-bundle -multiply_defined suppress"
13344 LIBWINE_LDFLAGS
="-multiply_defined suppress"
13345 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13346 STRIP
="$STRIP -u -r"
13347 COREFOUNDATIONLIB
="-framework CoreFoundation"
13349 IOKITLIB
="-framework IOKit -framework CoreFoundation"
13351 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13353 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13355 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
13358 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13360 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13365 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
13367 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13369 CARBONLIB
="-framework Carbon"
13371 QUARTZFILES
='$(QUARTZFILES)'
13375 DLLFLAGS
="$DLLFLAGS -fPIC"
13377 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13378 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13379 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 ac_wine_try_cflags_saved
=$CFLAGS
13383 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13384 cat >conftest.
$ac_ext <<_ACEOF
13387 rm -f conftest.
$ac_objext conftest
$ac_exeext
13388 if { (ac_try
="$ac_link"
13389 case "(($ac_try" in
13390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13391 *) ac_try_echo=$ac_try;;
13393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13394 (eval "$ac_link") 2>conftest.er1
13396 grep -v '^ *+' conftest.er1 >conftest.err
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && {
13401 test -z "$ac_c_werror_flag" ||
13402 test ! -s conftest.err
13403 } && test -s conftest$ac_exeext &&
13404 $as_test_x conftest$ac_exeext; then
13405 ac_cv_c_dll_gnuelf="yes"
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 ac_cv_c_dll_gnuelf="no"
13413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13414 conftest$ac_exeext conftest.$ac_ext
13415 CFLAGS=$ac_wine_try_cflags_saved
13417 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13418 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13419 if test "$ac_cv_c_dll_gnuelf" = "yes"
13421 LDSHARED="\$(CC) -shared"
13422 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13423 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13424 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13425 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13428 ac_wine_try_cflags_saved=$CFLAGS
13429 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13430 cat >conftest.$ac_ext <<_ACEOF
13433 cat confdefs.h >>conftest.$ac_ext
13434 cat >>conftest.$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13445 rm -f conftest.$ac_objext conftest$ac_exeext
13446 if { (ac_try="$ac_link"
13447 case "(($ac_try" in
13448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13449 *) ac_try_echo
=$ac_try;;
13451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13452 (eval "$ac_link") 2>conftest.er1
13454 grep -v '^ *+' conftest.er1
>conftest.err
13456 cat conftest.err
>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } && {
13459 test -z "$ac_c_werror_flag" ||
13460 test ! -s conftest.err
13461 } && test -s conftest
$ac_exeext &&
13462 $as_test_x conftest
$ac_exeext; then
13463 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.
$ac_ext >&5
13468 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
13471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13472 conftest
$ac_exeext conftest.
$ac_ext
13473 CFLAGS
=$ac_wine_try_cflags_saved
13475 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13476 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13477 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13478 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13480 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13481 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13482 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 ac_wine_try_cflags_saved
=$CFLAGS
13486 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13487 cat >conftest.
$ac_ext <<_ACEOF
13490 cat confdefs.h
>>conftest.
$ac_ext
13491 cat >>conftest.
$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13502 rm -f conftest.
$ac_objext conftest
$ac_exeext
13503 if { (ac_try
="$ac_link"
13504 case "(($ac_try" in
13505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13506 *) ac_try_echo=$ac_try;;
13508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13509 (eval "$ac_link") 2>conftest.er1
13511 grep -v '^ *+' conftest.er1 >conftest.err
13513 cat conftest.err >&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } && {
13516 test -z "$ac_c_werror_flag" ||
13517 test ! -s conftest.err
13518 } && test -s conftest$ac_exeext &&
13519 $as_test_x conftest$ac_exeext; then
13520 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13525 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13529 conftest$ac_exeext conftest.$ac_ext
13530 CFLAGS=$ac_wine_try_cflags_saved
13532 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13533 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13534 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13535 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13541 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13542 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13543 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 ac_wine_try_cflags_saved=$CFLAGS
13547 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13548 cat >conftest.$ac_ext <<_ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13563 rm -f conftest.$ac_objext conftest$ac_exeext
13564 if { (ac_try="$ac_link"
13565 case "(($ac_try" in
13566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13567 *) ac_try_echo
=$ac_try;;
13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_link") 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } && {
13577 test -z "$ac_c_werror_flag" ||
13578 test ! -s conftest.err
13579 } && test -s conftest
$ac_exeext &&
13580 $as_test_x conftest
$ac_exeext; then
13581 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
13583 echo "$as_me: failed program was:" >&5
13584 sed 's/^/| /' conftest.
$ac_ext >&5
13586 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
13589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13590 conftest
$ac_exeext conftest.
$ac_ext
13591 CFLAGS
=$ac_wine_try_cflags_saved
13593 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13594 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13595 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13596 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13600 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13601 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13602 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 ac_wine_try_cflags_saved
=$CFLAGS
13606 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13607 cat >conftest.
$ac_ext <<_ACEOF
13610 cat confdefs.h
>>conftest.
$ac_ext
13611 cat >>conftest.
$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13622 rm -f conftest.
$ac_objext conftest
$ac_exeext
13623 if { (ac_try
="$ac_link"
13624 case "(($ac_try" in
13625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13626 *) ac_try_echo=$ac_try;;
13628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13629 (eval "$ac_link") 2>conftest.er1
13631 grep -v '^ *+' conftest.er1 >conftest.err
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } && {
13636 test -z "$ac_c_werror_flag" ||
13637 test ! -s conftest.err
13638 } && test -s conftest$ac_exeext &&
13639 $as_test_x conftest$ac_exeext; then
13640 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13645 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649 conftest$ac_exeext conftest.$ac_ext
13650 CFLAGS=$ac_wine_try_cflags_saved
13652 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13653 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13654 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13655 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13659 echo '{ global: *; };' >conftest.map
13660 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13661 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13662 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 ac_wine_try_cflags_saved=$CFLAGS
13666 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13667 cat >conftest.$ac_ext <<_ACEOF
13670 cat confdefs.h >>conftest.$ac_ext
13671 cat >>conftest.$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13682 rm -f conftest.$ac_objext conftest$ac_exeext
13683 if { (ac_try="$ac_link"
13684 case "(($ac_try" in
13685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13686 *) ac_try_echo
=$ac_try;;
13688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13689 (eval "$ac_link") 2>conftest.er1
13691 grep -v '^ *+' conftest.er1
>conftest.err
13693 cat conftest.err
>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } && {
13696 test -z "$ac_c_werror_flag" ||
13697 test ! -s conftest.err
13698 } && test -s conftest
$ac_exeext &&
13699 $as_test_x conftest
$ac_exeext; then
13700 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13705 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
13708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13709 conftest
$ac_exeext conftest.
$ac_ext
13710 CFLAGS
=$ac_wine_try_cflags_saved
13712 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13713 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13714 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13715 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13720 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13721 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13722 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 ac_wine_try_cflags_saved
=$CFLAGS
13726 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13742 rm -f conftest.
$ac_objext conftest
$ac_exeext
13743 if { (ac_try
="$ac_link"
13744 case "(($ac_try" in
13745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_link") 2>conftest.er1
13751 grep -v '^ *+' conftest.er1 >conftest.err
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } && {
13756 test -z "$ac_c_werror_flag" ||
13757 test ! -s conftest.err
13758 } && test -s conftest$ac_exeext &&
13759 $as_test_x conftest$ac_exeext; then
13760 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13765 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13769 conftest$ac_exeext conftest.$ac_ext
13770 CFLAGS=$ac_wine_try_cflags_saved
13772 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13773 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13774 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13775 LDEXECFLAGS="-Wl,--export-dynamic"
13780 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
13781 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13782 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 ac_wine_try_cflags_saved=$CFLAGS
13787 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13788 cat >conftest.$ac_ext <<_ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13803 rm -f conftest.$ac_objext conftest$ac_exeext
13804 if { (ac_try="$ac_link"
13805 case "(($ac_try" in
13806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13807 *) ac_try_echo
=$ac_try;;
13809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13810 (eval "$ac_link") 2>conftest.er1
13812 grep -v '^ *+' conftest.er1
>conftest.err
13814 cat conftest.err
>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); } && {
13817 test -z "$ac_c_werror_flag" ||
13818 test ! -s conftest.err
13819 } && test -s conftest
$ac_exeext &&
13820 $as_test_x conftest
$ac_exeext; then
13821 eval "$as_ac_var=yes"
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 eval "$as_ac_var=no"
13829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 CFLAGS
=$ac_wine_try_cflags_saved
13833 ac_res
=`eval echo '${'$as_ac_var'}'`
13834 { echo "$as_me:$LINENO: result: $ac_res" >&5
13835 echo "${ECHO_T}$ac_res" >&6; }
13836 if test `eval echo '${'$as_ac_var'}'` = yes; then
13837 LIBWINE_LDFLAGS
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13842 *i
[3456789]86* | x86_64
)
13843 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13844 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13845 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 ac_wine_try_cflags_saved
=$CFLAGS
13849 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13850 cat >conftest.
$ac_ext <<_ACEOF
13853 cat confdefs.h
>>conftest.
$ac_ext
13854 cat >>conftest.
$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13865 rm -f conftest.
$ac_objext conftest
$ac_exeext
13866 if { (ac_try
="$ac_link"
13867 case "(($ac_try" in
13868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13869 *) ac_try_echo=$ac_try;;
13871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13872 (eval "$ac_link") 2>conftest.er1
13874 grep -v '^ *+' conftest.er1 >conftest.err
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } && {
13879 test -z "$ac_c_werror_flag" ||
13880 test ! -s conftest.err
13881 } && test -s conftest$ac_exeext &&
13882 $as_test_x conftest$ac_exeext; then
13883 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13885 echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.$ac_ext >&5
13888 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13892 conftest$ac_exeext conftest.$ac_ext
13893 CFLAGS=$ac_wine_try_cflags_saved
13895 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13896 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13897 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13898 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13905 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13906 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13907 if test "${ac_cv_c_dll_unixware+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 ac_wine_try_cflags_saved=$CFLAGS
13911 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13912 cat >conftest.$ac_ext <<_ACEOF
13915 rm -f conftest.$ac_objext conftest$ac_exeext
13916 if { (ac_try="$ac_link"
13917 case "(($ac_try" in
13918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13919 *) ac_try_echo
=$ac_try;;
13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13922 (eval "$ac_link") 2>conftest.er1
13924 grep -v '^ *+' conftest.er1
>conftest.err
13926 cat conftest.err
>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err
13931 } && test -s conftest
$ac_exeext &&
13932 $as_test_x conftest
$ac_exeext; then
13933 ac_cv_c_dll_unixware
="yes"
13935 echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.
$ac_ext >&5
13938 ac_cv_c_dll_unixware
="no"
13941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13942 conftest
$ac_exeext conftest.
$ac_ext
13943 CFLAGS
=$ac_wine_try_cflags_saved
13945 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13946 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13947 if test "$ac_cv_c_dll_unixware" = "yes"
13949 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13950 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13953 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13954 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13955 if test "${ac_cv_c_dll_hpux+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 ac_wine_try_cflags_saved
=$CFLAGS
13959 CFLAGS
="$CFLAGS -shared"
13960 cat >conftest.
$ac_ext <<_ACEOF
13963 rm -f conftest.
$ac_objext conftest
$ac_exeext
13964 if { (ac_try
="$ac_link"
13965 case "(($ac_try" in
13966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13967 *) ac_try_echo=$ac_try;;
13969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970 (eval "$ac_link") 2>conftest.er1
13972 grep -v '^ *+' conftest.er1 >conftest.err
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && {
13977 test -z "$ac_c_werror_flag" ||
13978 test ! -s conftest.err
13979 } && test -s conftest$ac_exeext &&
13980 $as_test_x conftest$ac_exeext; then
13981 ac_cv_c_dll_hpux="yes"
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.$ac_ext >&5
13986 ac_cv_c_dll_hpux="no"
13989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13990 conftest$ac_exeext conftest.$ac_ext
13991 CFLAGS=$ac_wine_try_cflags_saved
13993 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13994 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13995 if test "$ac_cv_c_dll_hpux" = "yes"
13999 LDDLLFLAGS="-shared -fPIC"
14000 LDSHARED="\$(CC) -shared"
14007 if test "$cross_compiling" = "no"
14009 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14011 # Extract the first word of "$ac_prog", so it can be a program name with args.
14012 set dummy $ac_prog; ac_word=$2
14013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14015 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 if test -n "$CROSSCC"; then
14019 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14022 for as_dir in $PATH
14025 test -z "$as_dir" && as_dir=.
14026 for ac_exec_ext in '' $ac_executable_extensions; do
14027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14028 ac_cv_prog_CROSSCC="$ac_prog"
14029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14038 CROSSCC=$ac_cv_prog_CROSSCC
14039 if test -n "$CROSSCC"; then
14040 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14041 echo "${ECHO_T}$CROSSCC" >&6; }
14043 { echo "$as_me:$LINENO: result: no" >&5
14044 echo "${ECHO_T}no" >&6; }
14048 test -n "$CROSSCC" && break
14050 test -n "$CROSSCC" || CROSSCC="false"
14052 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14054 # Extract the first word of "$ac_prog", so it can be a program name with args.
14055 set dummy $ac_prog; ac_word=$2
14056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14058 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 if test -n "$DLLTOOL"; then
14062 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14065 for as_dir in $PATH
14068 test -z "$as_dir" && as_dir=.
14069 for ac_exec_ext in '' $ac_executable_extensions; do
14070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14071 ac_cv_prog_DLLTOOL="$ac_prog"
14072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14081 DLLTOOL=$ac_cv_prog_DLLTOOL
14082 if test -n "$DLLTOOL"; then
14083 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14084 echo "${ECHO_T}$DLLTOOL" >&6; }
14086 { echo "$as_me:$LINENO: result: no" >&5
14087 echo "${ECHO_T}no" >&6; }
14091 test -n "$DLLTOOL" && break
14093 test -n "$DLLTOOL" || DLLTOOL="false"
14095 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14097 # Extract the first word of "$ac_prog", so it can be a program name with args.
14098 set dummy $ac_prog; ac_word=$2
14099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14101 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14102 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 if test -n "$CROSSWINDRES"; then
14105 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14108 for as_dir in $PATH
14111 test -z "$as_dir" && as_dir=.
14112 for ac_exec_ext in '' $ac_executable_extensions; do
14113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14114 ac_cv_prog_CROSSWINDRES="$ac_prog"
14115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14124 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14125 if test -n "$CROSSWINDRES"; then
14126 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14127 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14129 { echo "$as_me:$LINENO: result: no" >&5
14130 echo "${ECHO_T}no" >&6; }
14134 test -n "$CROSSWINDRES" && break
14136 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14138 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14140 # Extract the first word of "$ac_prog", so it can be a program name with args.
14141 set dummy $ac_prog; ac_word=$2
14142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14144 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14145 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 if test -n "$MINGWAR"; then
14148 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14151 for as_dir in $PATH
14154 test -z "$as_dir" && as_dir=.
14155 for ac_exec_ext in '' $ac_executable_extensions; do
14156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14157 ac_cv_prog_MINGWAR="$ac_prog"
14158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14167 MINGWAR=$ac_cv_prog_MINGWAR
14168 if test -n "$MINGWAR"; then
14169 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14170 echo "${ECHO_T}$MINGWAR" >&6; }
14172 { echo "$as_me:$LINENO: result: no" >&5
14173 echo "${ECHO_T}no" >&6; }
14177 test -n "$MINGWAR" && break
14179 test -n "$MINGWAR" || MINGWAR="false"
14181 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14186 if test "$LIBEXT" = "a"; then
14187 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14188 It is currently not possible to build Wine without shared library
14189 (.so) support to allow transparent switch between .so and .dll files.
14190 If you are using Linux, you will need a newer binutils.
14192 echo "$as_me: error: could not find a way to build shared libraries.
14193 It is currently not possible to build Wine without shared library
14194 (.so) support to allow transparent switch between .so and .dll files.
14195 If you are using Linux, you will need a newer binutils.
14197 { (exit 1); exit 1; }; }
14202 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14205 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14208 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14216 SOCKETLIBS="-lws2_32"
14221 MAIN_BINARY="wine-pthread"
14225 linux* | k*bsd*-gnu)
14226 MAIN_BINARY="wine-glibc"
14228 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14235 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14237 # Extract the first word of "ldd", so it can be a program name with args.
14238 set dummy ldd; ac_word=$2
14239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14241 if test "${ac_cv_path_LDD+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14250 as_dummy="/sbin:/usr/sbin:$PATH"
14251 for as_dir in $as_dummy
14254 test -z "$as_dir" && as_dir=.
14255 for ac_exec_ext in '' $ac_executable_extensions; do
14256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14257 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14265 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14269 LDD=$ac_cv_path_LDD
14270 if test -n "$LDD"; then
14271 { echo "$as_me:$LINENO: result: $LDD" >&5
14272 echo "${ECHO_T}$LDD" >&6; }
14274 { echo "$as_me:$LINENO: result: no" >&5
14275 echo "${ECHO_T}no" >&6; }
14279 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14280 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14281 if test "${ac_cv_lib_soname_X11+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 ac_get_soname_save_LIBS=$LIBS
14285 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14286 cat >conftest.$ac_ext <<_ACEOF
14289 cat confdefs.h >>conftest.$ac_ext
14290 cat >>conftest.$ac_ext <<_ACEOF
14291 /* end confdefs.h. */
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14299 char XCreateWindow ();
14303 return XCreateWindow ();
14308 rm -f conftest.$ac_objext conftest$ac_exeext
14309 if { (ac_try="$ac_link"
14310 case "(($ac_try" in
14311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14312 *) ac_try_echo
=$ac_try;;
14314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14315 (eval "$ac_link") 2>conftest.er1
14317 grep -v '^ *+' conftest.er1
>conftest.err
14319 cat conftest.err
>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); } && {
14322 test -z "$ac_c_werror_flag" ||
14323 test ! -s conftest.err
14324 } && test -s conftest
$ac_exeext &&
14325 $as_test_x conftest
$ac_exeext; then
14327 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'` ;;
14328 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14330 if test "x$ac_cv_lib_soname_X11" = "x"
14332 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.
$ac_ext >&5
14338 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14342 conftest
$ac_exeext conftest.
$ac_ext
14343 LIBS
=$ac_get_soname_save_LIBS
14345 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14346 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14347 if test "${ac_cv_lib_soname_X11+set}" = set; then
14349 cat >>confdefs.h
<<_ACEOF
14350 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14355 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14356 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14357 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 ac_get_soname_save_LIBS
=$LIBS
14361 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14362 cat >conftest.
$ac_ext <<_ACEOF
14365 cat confdefs.h
>>conftest.
$ac_ext
14366 cat >>conftest.
$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14375 char XextCreateExtension ();
14379 return XextCreateExtension ();
14384 rm -f conftest.
$ac_objext conftest
$ac_exeext
14385 if { (ac_try
="$ac_link"
14386 case "(($ac_try" in
14387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_link") 2>conftest.er1
14393 grep -v '^ *+' conftest.er1 >conftest.err
14395 cat conftest.err >&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } && {
14398 test -z "$ac_c_werror_flag" ||
14399 test ! -s conftest.err
14400 } && test -s conftest$ac_exeext &&
14401 $as_test_x conftest$ac_exeext; then
14403 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'` ;;
14404 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14406 if test "x$ac_cv_lib_soname_Xext" = "x"
14408 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14414 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_get_soname_save_LIBS
14421 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14422 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14423 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14425 cat >>confdefs.h <<_ACEOF
14426 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14431 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14432 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14433 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 ac_get_soname_save_LIBS=$LIBS
14437 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14438 cat >conftest.$ac_ext <<_ACEOF
14441 cat confdefs.h >>conftest.$ac_ext
14442 cat >>conftest.$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14451 char XOpenDevice ();
14455 return XOpenDevice ();
14460 rm -f conftest.$ac_objext conftest$ac_exeext
14461 if { (ac_try="$ac_link"
14462 case "(($ac_try" in
14463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14464 *) ac_try_echo
=$ac_try;;
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_link") 2>conftest.er1
14469 grep -v '^ *+' conftest.er1
>conftest.err
14471 cat conftest.err
>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } && {
14474 test -z "$ac_c_werror_flag" ||
14475 test ! -s conftest.err
14476 } && test -s conftest
$ac_exeext &&
14477 $as_test_x conftest
$ac_exeext; then
14479 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'` ;;
14480 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14482 if test "x$ac_cv_lib_soname_Xi" = "x"
14484 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.
$ac_ext >&5
14490 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14494 conftest
$ac_exeext conftest.
$ac_ext
14495 LIBS
=$ac_get_soname_save_LIBS
14497 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14498 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14499 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14501 cat >>confdefs.h
<<_ACEOF
14502 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14507 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14508 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14509 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 ac_get_soname_save_LIBS
=$LIBS
14513 LIBS
="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14514 cat >conftest.
$ac_ext <<_ACEOF
14517 cat confdefs.h
>>conftest.
$ac_ext
14518 cat >>conftest.
$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14521 /* Override any GCC internal prototype to avoid an error.
14522 Use char because int might match the return type of a GCC
14523 builtin and then its argument prototype would still apply. */
14527 char XineramaQueryScreens ();
14531 return XineramaQueryScreens ();
14536 rm -f conftest.
$ac_objext conftest
$ac_exeext
14537 if { (ac_try
="$ac_link"
14538 case "(($ac_try" in
14539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14540 *) ac_try_echo=$ac_try;;
14542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14543 (eval "$ac_link") 2>conftest.er1
14545 grep -v '^ *+' conftest.er1 >conftest.err
14547 cat conftest.err >&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } && {
14550 test -z "$ac_c_werror_flag" ||
14551 test ! -s conftest.err
14552 } && test -s conftest$ac_exeext &&
14553 $as_test_x conftest$ac_exeext; then
14555 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'` ;;
14556 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXinerama
\\.so |
sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14558 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14560 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_get_soname_save_LIBS
14573 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14574 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14575 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14577 cat >>confdefs.h <<_ACEOF
14578 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14583 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14584 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14585 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 ac_get_soname_save_LIBS=$LIBS
14589 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14590 cat >conftest.$ac_ext <<_ACEOF
14593 cat confdefs.h >>conftest.$ac_ext
14594 cat >>conftest.$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14603 char XRenderQueryExtension ();
14607 return XRenderQueryExtension ();
14612 rm -f conftest.$ac_objext conftest$ac_exeext
14613 if { (ac_try="$ac_link"
14614 case "(($ac_try" in
14615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14616 *) ac_try_echo
=$ac_try;;
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_link") 2>conftest.er1
14621 grep -v '^ *+' conftest.er1
>conftest.err
14623 cat conftest.err
>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } && {
14626 test -z "$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14628 } && test -s conftest
$ac_exeext &&
14629 $as_test_x conftest
$ac_exeext; then
14631 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'` ;;
14632 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14634 if test "x$ac_cv_lib_soname_Xrender" = "x"
14636 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.
$ac_ext >&5
14642 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14646 conftest
$ac_exeext conftest.
$ac_ext
14647 LIBS
=$ac_get_soname_save_LIBS
14649 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14650 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14651 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14653 cat >>confdefs.h
<<_ACEOF
14654 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14659 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14660 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14661 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 ac_get_soname_save_LIBS
=$LIBS
14665 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14673 /* Override any GCC internal prototype to avoid an error.
14674 Use char because int might match the return type of a GCC
14675 builtin and then its argument prototype would still apply. */
14679 char XRRQueryExtension ();
14683 return XRRQueryExtension ();
14688 rm -f conftest.
$ac_objext conftest
$ac_exeext
14689 if { (ac_try
="$ac_link"
14690 case "(($ac_try" in
14691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14692 *) ac_try_echo=$ac_try;;
14694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14695 (eval "$ac_link") 2>conftest.er1
14697 grep -v '^ *+' conftest.er1 >conftest.err
14699 cat conftest.err >&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } && {
14702 test -z "$ac_c_werror_flag" ||
14703 test ! -s conftest.err
14704 } && test -s conftest$ac_exeext &&
14705 $as_test_x conftest$ac_exeext; then
14707 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'` ;;
14708 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14710 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14712 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14718 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_get_soname_save_LIBS
14725 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14726 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14727 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14729 cat >>confdefs.h <<_ACEOF
14730 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14735 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14736 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14737 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 ac_get_soname_save_LIBS=$LIBS
14741 LIBS="-lfreetype $X_LIBS $LIBS"
14742 cat >conftest.$ac_ext <<_ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14749 /* Override any GCC internal prototype to avoid an error.
14750 Use char because int might match the return type of a GCC
14751 builtin and then its argument prototype would still apply. */
14755 char FT_Init_FreeType ();
14759 return FT_Init_FreeType ();
14764 rm -f conftest.$ac_objext conftest$ac_exeext
14765 if { (ac_try="$ac_link"
14766 case "(($ac_try" in
14767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14768 *) ac_try_echo
=$ac_try;;
14770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14771 (eval "$ac_link") 2>conftest.er1
14773 grep -v '^ *+' conftest.er1
>conftest.err
14775 cat conftest.err
>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } && {
14778 test -z "$ac_c_werror_flag" ||
14779 test ! -s conftest.err
14780 } && test -s conftest
$ac_exeext &&
14781 $as_test_x conftest
$ac_exeext; then
14783 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'` ;;
14784 so
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14786 if test "x$ac_cv_lib_soname_freetype" = "x"
14788 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.
$ac_ext >&5
14794 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14797 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14798 conftest
$ac_exeext conftest.
$ac_ext
14799 LIBS
=$ac_get_soname_save_LIBS
14801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14802 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14803 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14805 cat >>confdefs.h
<<_ACEOF
14806 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14811 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14812 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14813 if test "${ac_cv_lib_soname_GL+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 ac_get_soname_save_LIBS
=$LIBS
14817 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14818 cat >conftest.
$ac_ext <<_ACEOF
14821 cat confdefs.h
>>conftest.
$ac_ext
14822 cat >>conftest.
$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14825 /* Override any GCC internal prototype to avoid an error.
14826 Use char because int might match the return type of a GCC
14827 builtin and then its argument prototype would still apply. */
14831 char glXQueryExtension ();
14835 return glXQueryExtension ();
14840 rm -f conftest.
$ac_objext conftest
$ac_exeext
14841 if { (ac_try
="$ac_link"
14842 case "(($ac_try" in
14843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14844 *) ac_try_echo=$ac_try;;
14846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14847 (eval "$ac_link") 2>conftest.er1
14849 grep -v '^ *+' conftest.er1 >conftest.err
14851 cat conftest.err >&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); } && {
14854 test -z "$ac_c_werror_flag" ||
14855 test ! -s conftest.err
14856 } && test -s conftest$ac_exeext &&
14857 $as_test_x conftest$ac_exeext; then
14859 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'` ;;
14860 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.so |
sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14862 if test "x$ac_cv_lib_soname_GL" = "x"
14864 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14870 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_get_soname_save_LIBS
14877 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14878 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14879 if test "${ac_cv_lib_soname_GL+set}" = set; then
14881 cat >>confdefs.h <<_ACEOF
14882 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14887 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14888 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14889 if test "${ac_cv_lib_soname_hal+set}" = set; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 ac_get_soname_save_LIBS=$LIBS
14894 cat >conftest.$ac_ext <<_ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14907 char libhal_ctx_new ();
14911 return libhal_ctx_new ();
14916 rm -f conftest.$ac_objext conftest$ac_exeext
14917 if { (ac_try="$ac_link"
14918 case "(($ac_try" in
14919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14920 *) ac_try_echo
=$ac_try;;
14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_link") 2>conftest.er1
14925 grep -v '^ *+' conftest.er1
>conftest.err
14927 cat conftest.err
>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest
$ac_exeext &&
14933 $as_test_x conftest
$ac_exeext; then
14935 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'` ;;
14936 so
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14938 if test "x$ac_cv_lib_soname_hal" = "x"
14940 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.
$ac_ext >&5
14946 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14949 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14950 conftest
$ac_exeext conftest.
$ac_ext
14951 LIBS
=$ac_get_soname_save_LIBS
14953 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14954 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14955 if test "${ac_cv_lib_soname_hal+set}" = set; then
14957 cat >>confdefs.h
<<_ACEOF
14958 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14963 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14964 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14965 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 ac_get_soname_save_LIBS
=$LIBS
14969 LIBS
="-ltxc_dxtn $LIBS"
14970 cat >conftest.
$ac_ext <<_ACEOF
14973 cat confdefs.h
>>conftest.
$ac_ext
14974 cat >>conftest.
$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14983 char fetch_2d_texel_rgba_dxt1 ();
14987 return fetch_2d_texel_rgba_dxt1 ();
14992 rm -f conftest.
$ac_objext conftest
$ac_exeext
14993 if { (ac_try
="$ac_link"
14994 case "(($ac_try" in
14995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>conftest.er1
15001 grep -v '^ *+' conftest.er1 >conftest.err
15003 cat conftest.err >&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } && {
15006 test -z "$ac_c_werror_flag" ||
15007 test ! -s conftest.err
15008 } && test -s conftest$ac_exeext &&
15009 $as_test_x conftest$ac_exeext; then
15011 dylib) ac_cv_lib_soname_txc_dxtn=`otool
-L conftest
$ac_exeext |
grep libtxc_dxtn
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15012 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libtxc_dxtn
\\.so |
sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15014 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15016 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.$ac_ext >&5
15022 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_get_soname_save_LIBS
15029 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15030 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15031 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15033 cat >>confdefs.h <<_ACEOF
15034 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15039 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15040 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15041 if test "${ac_cv_lib_soname_cups+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 ac_get_soname_save_LIBS=$LIBS
15045 LIBS="-lcups $LIBS"
15046 cat >conftest.$ac_ext <<_ACEOF
15049 cat confdefs.h >>conftest.$ac_ext
15050 cat >>conftest.$ac_ext <<_ACEOF
15051 /* end confdefs.h. */
15053 /* Override any GCC internal prototype to avoid an error.
15054 Use char because int might match the return type of a GCC
15055 builtin and then its argument prototype would still apply. */
15059 char cupsGetDefault ();
15063 return cupsGetDefault ();
15068 rm -f conftest.$ac_objext conftest$ac_exeext
15069 if { (ac_try="$ac_link"
15070 case "(($ac_try" in
15071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15072 *) ac_try_echo
=$ac_try;;
15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15075 (eval "$ac_link") 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } && {
15082 test -z "$ac_c_werror_flag" ||
15083 test ! -s conftest.err
15084 } && test -s conftest
$ac_exeext &&
15085 $as_test_x conftest
$ac_exeext; then
15087 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'` ;;
15088 so
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15090 if test "x$ac_cv_lib_soname_cups" = "x"
15092 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.
$ac_ext >&5
15098 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15102 conftest
$ac_exeext conftest.
$ac_ext
15103 LIBS
=$ac_get_soname_save_LIBS
15105 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15106 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15107 if test "${ac_cv_lib_soname_cups+set}" = set; then
15109 cat >>confdefs.h
<<_ACEOF
15110 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15115 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15116 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15117 if test "${ac_cv_lib_soname_jack+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 ac_get_soname_save_LIBS
=$LIBS
15121 LIBS
="-ljack $LIBS"
15122 cat >conftest.
$ac_ext <<_ACEOF
15125 cat confdefs.h
>>conftest.
$ac_ext
15126 cat >>conftest.
$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15135 char jack_client_new ();
15139 return jack_client_new ();
15144 rm -f conftest.
$ac_objext conftest
$ac_exeext
15145 if { (ac_try
="$ac_link"
15146 case "(($ac_try" in
15147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15148 *) ac_try_echo=$ac_try;;
15150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15151 (eval "$ac_link") 2>conftest.er1
15153 grep -v '^ *+' conftest.er1 >conftest.err
15155 cat conftest.err >&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } && {
15158 test -z "$ac_c_werror_flag" ||
15159 test ! -s conftest.err
15160 } && test -s conftest$ac_exeext &&
15161 $as_test_x conftest$ac_exeext; then
15163 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'` ;;
15164 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjack
\\.so |
sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15166 if test "x$ac_cv_lib_soname_jack" = "x"
15168 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15174 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15178 conftest$ac_exeext conftest.$ac_ext
15179 LIBS=$ac_get_soname_save_LIBS
15181 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15182 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15183 if test "${ac_cv_lib_soname_jack+set}" = set; then
15185 cat >>confdefs.h <<_ACEOF
15186 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15191 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15192 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15193 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 ac_get_soname_save_LIBS=$LIBS
15197 LIBS="-lfontconfig $LIBS"
15198 cat >conftest.$ac_ext <<_ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15205 /* Override any GCC internal prototype to avoid an error.
15206 Use char because int might match the return type of a GCC
15207 builtin and then its argument prototype would still apply. */
15220 rm -f conftest.$ac_objext conftest$ac_exeext
15221 if { (ac_try="$ac_link"
15222 case "(($ac_try" in
15223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15224 *) ac_try_echo
=$ac_try;;
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_link") 2>conftest.er1
15229 grep -v '^ *+' conftest.er1
>conftest.err
15231 cat conftest.err
>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } && {
15234 test -z "$ac_c_werror_flag" ||
15235 test ! -s conftest.err
15236 } && test -s conftest
$ac_exeext &&
15237 $as_test_x conftest
$ac_exeext; then
15239 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'` ;;
15240 so
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15242 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15244 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15250 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15254 conftest
$ac_exeext conftest.
$ac_ext
15255 LIBS
=$ac_get_soname_save_LIBS
15257 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15258 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15259 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15261 cat >>confdefs.h
<<_ACEOF
15262 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15267 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15268 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15269 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 ac_get_soname_save_LIBS
=$LIBS
15274 cat >conftest.
$ac_ext <<_ACEOF
15277 cat confdefs.h
>>conftest.
$ac_ext
15278 cat >>conftest.
$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15287 char SSL_library_init ();
15291 return SSL_library_init ();
15296 rm -f conftest.
$ac_objext conftest
$ac_exeext
15297 if { (ac_try
="$ac_link"
15298 case "(($ac_try" in
15299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;;
15302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 (eval "$ac_link") 2>conftest.er1
15305 grep -v '^ *+' conftest.er1 >conftest.err
15307 cat conftest.err >&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } && {
15310 test -z "$ac_c_werror_flag" ||
15311 test ! -s conftest.err
15312 } && test -s conftest$ac_exeext &&
15313 $as_test_x conftest$ac_exeext; then
15315 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'` ;;
15316 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libssl
\\.so |
sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15318 if test "x$ac_cv_lib_soname_ssl" = "x"
15320 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15326 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_get_soname_save_LIBS
15333 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15334 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15335 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15343 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15344 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15345 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 ac_get_soname_save_LIBS=$LIBS
15349 LIBS="-lcrypto $LIBS"
15350 cat >conftest.$ac_ext <<_ACEOF
15353 cat confdefs.h >>conftest.$ac_ext
15354 cat >>conftest.$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15363 char BIO_new_socket ();
15367 return BIO_new_socket ();
15372 rm -f conftest.$ac_objext conftest$ac_exeext
15373 if { (ac_try="$ac_link"
15374 case "(($ac_try" in
15375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15376 *) ac_try_echo
=$ac_try;;
15378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15379 (eval "$ac_link") 2>conftest.er1
15381 grep -v '^ *+' conftest.er1
>conftest.err
15383 cat conftest.err
>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } && {
15386 test -z "$ac_c_werror_flag" ||
15387 test ! -s conftest.err
15388 } && test -s conftest
$ac_exeext &&
15389 $as_test_x conftest
$ac_exeext; then
15391 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'` ;;
15392 so
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15394 if test "x$ac_cv_lib_soname_crypto" = "x"
15396 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15405 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15406 conftest
$ac_exeext conftest.
$ac_ext
15407 LIBS
=$ac_get_soname_save_LIBS
15409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15410 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15411 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15413 cat >>confdefs.h
<<_ACEOF
15414 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15419 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15420 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15421 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 ac_get_soname_save_LIBS
=$LIBS
15425 LIBS
="-lncurses $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. */
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
15467 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'` ;;
15468 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libncurses
\\.so |
sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15470 if test "x$ac_cv_lib_soname_ncurses" = "x"
15472 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15478 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15482 conftest$ac_exeext conftest.$ac_ext
15483 LIBS=$ac_get_soname_save_LIBS
15485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15486 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15487 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15489 cat >>confdefs.h <<_ACEOF
15490 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15495 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15496 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15497 if test "${ac_cv_lib_soname_curses+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 ac_get_soname_save_LIBS=$LIBS
15501 LIBS="-lcurses $LIBS"
15502 cat >conftest.$ac_ext <<_ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15524 rm -f conftest.$ac_objext conftest$ac_exeext
15525 if { (ac_try="$ac_link"
15526 case "(($ac_try" in
15527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15528 *) ac_try_echo
=$ac_try;;
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_link") 2>conftest.er1
15533 grep -v '^ *+' conftest.er1
>conftest.err
15535 cat conftest.err
>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && {
15538 test -z "$ac_c_werror_flag" ||
15539 test ! -s conftest.err
15540 } && test -s conftest
$ac_exeext &&
15541 $as_test_x conftest
$ac_exeext; then
15543 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'` ;;
15544 so
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15546 if test "x$ac_cv_lib_soname_curses" = "x"
15548 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15551 echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.
$ac_ext >&5
15554 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15558 conftest
$ac_exeext conftest.
$ac_ext
15559 LIBS
=$ac_get_soname_save_LIBS
15561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15562 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15563 if test "${ac_cv_lib_soname_curses+set}" = set; then
15565 cat >>confdefs.h
<<_ACEOF
15566 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15571 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15572 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15573 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15576 ac_get_soname_save_LIBS
=$LIBS
15577 LIBS
="-ljpeg $LIBS"
15578 cat >conftest.
$ac_ext <<_ACEOF
15581 cat confdefs.h
>>conftest.
$ac_ext
15582 cat >>conftest.
$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15585 /* Override any GCC internal prototype to avoid an error.
15586 Use char because int might match the return type of a GCC
15587 builtin and then its argument prototype would still apply. */
15591 char jpeg_start_decompress ();
15595 return jpeg_start_decompress ();
15600 rm -f conftest.
$ac_objext conftest
$ac_exeext
15601 if { (ac_try
="$ac_link"
15602 case "(($ac_try" in
15603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15604 *) ac_try_echo=$ac_try;;
15606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15607 (eval "$ac_link") 2>conftest.er1
15609 grep -v '^ *+' conftest.er1 >conftest.err
15611 cat conftest.err >&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); } && {
15614 test -z "$ac_c_werror_flag" ||
15615 test ! -s conftest.err
15616 } && test -s conftest$ac_exeext &&
15617 $as_test_x conftest$ac_exeext; then
15619 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'` ;;
15620 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjpeg
\\.so |
sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15622 if test "x$ac_cv_lib_soname_jpeg" = "x"
15624 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15627 echo "$as_me: failed program was:" >&5
15628 sed 's/^/| /' conftest.$ac_ext >&5
15630 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15634 conftest$ac_exeext conftest.$ac_ext
15635 LIBS=$ac_get_soname_save_LIBS
15637 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15638 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15639 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15641 cat >>confdefs.h <<_ACEOF
15642 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15647 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15648 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15649 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 ac_get_soname_save_LIBS=$LIBS
15653 LIBS="-lcapi20 $LIBS"
15654 cat >conftest.$ac_ext <<_ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15661 /* Override any GCC internal prototype to avoid an error.
15662 Use char because int might match the return type of a GCC
15663 builtin and then its argument prototype would still apply. */
15667 char capi20_isinstalled ();
15671 return capi20_isinstalled ();
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (ac_try="$ac_link"
15678 case "(($ac_try" in
15679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15680 *) ac_try_echo
=$ac_try;;
15682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15683 (eval "$ac_link") 2>conftest.er1
15685 grep -v '^ *+' conftest.er1
>conftest.err
15687 cat conftest.err
>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } && {
15690 test -z "$ac_c_werror_flag" ||
15691 test ! -s conftest.err
15692 } && test -s conftest
$ac_exeext &&
15693 $as_test_x conftest
$ac_exeext; then
15695 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'` ;;
15696 so
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15698 if test "x$ac_cv_lib_soname_capi20" = "x"
15700 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.
$ac_ext >&5
15706 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15710 conftest
$ac_exeext conftest.
$ac_ext
15711 LIBS
=$ac_get_soname_save_LIBS
15713 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15714 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15715 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15717 cat >>confdefs.h
<<_ACEOF
15718 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15723 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15724 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15725 if test "${ac_cv_lib_soname_sane+set}" = set; then
15726 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 ac_get_soname_save_LIBS
=$LIBS
15729 LIBS
="-lsane $LIBS"
15730 cat >conftest.
$ac_ext <<_ACEOF
15733 cat confdefs.h
>>conftest.
$ac_ext
15734 cat >>conftest.
$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15737 /* Override any GCC internal prototype to avoid an error.
15738 Use char because int might match the return type of a GCC
15739 builtin and then its argument prototype would still apply. */
15747 return sane_init ();
15752 rm -f conftest.
$ac_objext conftest
$ac_exeext
15753 if { (ac_try
="$ac_link"
15754 case "(($ac_try" in
15755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_link") 2>conftest.er1
15761 grep -v '^ *+' conftest.er1 >conftest.err
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest$ac_exeext &&
15769 $as_test_x conftest$ac_exeext; then
15771 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'` ;;
15772 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libsane
\\.so |
sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15774 if test "x$ac_cv_lib_soname_sane" = "x"
15776 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15782 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15786 conftest$ac_exeext conftest.$ac_ext
15787 LIBS=$ac_get_soname_save_LIBS
15789 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15790 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15791 if test "${ac_cv_lib_soname_sane+set}" = set; then
15793 cat >>confdefs.h <<_ACEOF
15794 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15948 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15952 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 cat >conftest.$ac_ext <<_ACEOF
15957 cat confdefs.h >>conftest.$ac_ext
15958 cat >>conftest.$ac_ext <<_ACEOF
15959 /* end confdefs.h. */
15960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15962 #define $ac_func innocuous_$ac_func
15964 /* System header to define __stub macros and hopefully few prototypes,
15965 which can conflict with char $ac_func (); below.
15966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15967 <limits.h> exists even on freestanding compilers. */
15970 # include <limits.h>
15972 # include <assert.h>
15977 /* Override any GCC internal prototype to avoid an error.
15978 Use char because int might match the return type of a GCC
15979 builtin and then its argument prototype would still apply. */
15984 /* The GNU C library defines this for functions which it implements
15985 to always fail with ENOSYS. Some functions are actually named
15986 something starting with __ and the normal name is an alias. */
15987 #if defined __stub_$ac_func || defined __stub___$ac_func
15994 return $ac_func ();
15999 rm -f conftest.$ac_objext conftest$ac_exeext
16000 if { (ac_try="$ac_link"
16001 case "(($ac_try" in
16002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16003 *) ac_try_echo
=$ac_try;;
16005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16006 (eval "$ac_link") 2>conftest.er1
16008 grep -v '^ *+' conftest.er1
>conftest.err
16010 cat conftest.err
>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } && {
16013 test -z "$ac_c_werror_flag" ||
16014 test ! -s conftest.err
16015 } && test -s conftest
$ac_exeext &&
16016 $as_test_x conftest
$ac_exeext; then
16017 eval "$as_ac_var=yes"
16019 echo "$as_me: failed program was:" >&5
16020 sed 's/^/| /' conftest.
$ac_ext >&5
16022 eval "$as_ac_var=no"
16025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16026 conftest
$ac_exeext conftest.
$ac_ext
16028 ac_res
=`eval echo '${'$as_ac_var'}'`
16029 { echo "$as_me:$LINENO: result: $ac_res" >&5
16030 echo "${ECHO_T}$ac_res" >&6; }
16031 if test `eval echo '${'$as_ac_var'}'` = yes; then
16032 cat >>confdefs.h
<<_ACEOF
16033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16040 if test "$ac_cv_func_dlopen" = no
16042 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16043 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16044 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 ac_check_lib_save_LIBS
=$LIBS
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 cat confdefs.h
>>conftest.
$ac_ext
16053 cat >>conftest.
$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16056 /* Override any GCC internal prototype to avoid an error.
16057 Use char because int might match the return type of a GCC
16058 builtin and then its argument prototype would still apply. */
16071 rm -f conftest.
$ac_objext conftest
$ac_exeext
16072 if { (ac_try
="$ac_link"
16073 case "(($ac_try" in
16074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16075 *) ac_try_echo=$ac_try;;
16077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16078 (eval "$ac_link") 2>conftest.er1
16080 grep -v '^ *+' conftest.er1 >conftest.err
16082 cat conftest.err >&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } && {
16085 test -z "$ac_c_werror_flag" ||
16086 test ! -s conftest.err
16087 } && test -s conftest$ac_exeext &&
16088 $as_test_x conftest$ac_exeext; then
16089 ac_cv_lib_dl_dlopen=yes
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.$ac_ext >&5
16094 ac_cv_lib_dl_dlopen=no
16097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16098 conftest$ac_exeext conftest.$ac_ext
16099 LIBS=$ac_check_lib_save_LIBS
16101 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16102 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16103 if test $ac_cv_lib_dl_dlopen = yes; then
16104 cat >>confdefs.h <<\_ACEOF
16105 #define HAVE_DLOPEN 1
16112 ac_wine_check_funcs_save_LIBS="$LIBS"
16113 LIBS="$LIBS $LIBDL"
16115 for ac_func in dladdr
16117 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16120 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16121 echo $ECHO_N "(cached) $ECHO_C" >&6
16123 cat >conftest.$ac_ext <<_ACEOF
16126 cat confdefs.h >>conftest.$ac_ext
16127 cat >>conftest.$ac_ext <<_ACEOF
16128 /* end confdefs.h. */
16129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16131 #define $ac_func innocuous_$ac_func
16133 /* System header to define __stub macros and hopefully few prototypes,
16134 which can conflict with char $ac_func (); below.
16135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16136 <limits.h> exists even on freestanding compilers. */
16139 # include <limits.h>
16141 # include <assert.h>
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16153 /* The GNU C library defines this for functions which it implements
16154 to always fail with ENOSYS. Some functions are actually named
16155 something starting with __ and the normal name is an alias. */
16156 #if defined __stub_$ac_func || defined __stub___$ac_func
16163 return $ac_func ();
16168 rm -f conftest.$ac_objext conftest$ac_exeext
16169 if { (ac_try="$ac_link"
16170 case "(($ac_try" in
16171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16172 *) ac_try_echo
=$ac_try;;
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_link") 2>conftest.er1
16177 grep -v '^ *+' conftest.er1
>conftest.err
16179 cat conftest.err
>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } && {
16182 test -z "$ac_c_werror_flag" ||
16183 test ! -s conftest.err
16184 } && test -s conftest
$ac_exeext &&
16185 $as_test_x conftest
$ac_exeext; then
16186 eval "$as_ac_var=yes"
16188 echo "$as_me: failed program was:" >&5
16189 sed 's/^/| /' conftest.
$ac_ext >&5
16191 eval "$as_ac_var=no"
16194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16195 conftest
$ac_exeext conftest.
$ac_ext
16197 ac_res
=`eval echo '${'$as_ac_var'}'`
16198 { echo "$as_me:$LINENO: result: $ac_res" >&5
16199 echo "${ECHO_T}$ac_res" >&6; }
16200 if test `eval echo '${'$as_ac_var'}'` = yes; then
16201 cat >>confdefs.h
<<_ACEOF
16202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16208 LIBS
="$ac_wine_check_funcs_save_LIBS"
16210 if test "$ac_cv_func_poll" = no
16212 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16213 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16214 if test "${ac_cv_lib_poll_poll+set}" = set; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 ac_check_lib_save_LIBS
=$LIBS
16218 LIBS
="-lpoll $LIBS"
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16226 /* Override any GCC internal prototype to avoid an error.
16227 Use char because int might match the return type of a GCC
16228 builtin and then its argument prototype would still apply. */
16241 rm -f conftest.
$ac_objext conftest
$ac_exeext
16242 if { (ac_try
="$ac_link"
16243 case "(($ac_try" in
16244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16245 *) ac_try_echo=$ac_try;;
16247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248 (eval "$ac_link") 2>conftest.er1
16250 grep -v '^ *+' conftest.er1 >conftest.err
16252 cat conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } && {
16255 test -z "$ac_c_werror_flag" ||
16256 test ! -s conftest.err
16257 } && test -s conftest$ac_exeext &&
16258 $as_test_x conftest$ac_exeext; then
16259 ac_cv_lib_poll_poll=yes
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16264 ac_cv_lib_poll_poll=no
16267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16268 conftest$ac_exeext conftest.$ac_ext
16269 LIBS=$ac_check_lib_save_LIBS
16271 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16272 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16273 if test $ac_cv_lib_poll_poll = yes; then
16274 cat >>confdefs.h <<\_ACEOF
16275 #define HAVE_POLL 1
16283 if test "$ac_cv_func_gethostbyname" = no
16286 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16287 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16288 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 ac_check_lib_save_LIBS=$LIBS
16293 cat >conftest.$ac_ext <<_ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16300 /* Override any GCC internal prototype to avoid an error.
16301 Use char because int might match the return type of a GCC
16302 builtin and then its argument prototype would still apply. */
16306 char gethostbyname ();
16310 return gethostbyname ();
16315 rm -f conftest.$ac_objext conftest$ac_exeext
16316 if { (ac_try="$ac_link"
16317 case "(($ac_try" in
16318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16319 *) ac_try_echo
=$ac_try;;
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_link") 2>conftest.er1
16324 grep -v '^ *+' conftest.er1
>conftest.err
16326 cat conftest.err
>&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && {
16329 test -z "$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16331 } && test -s conftest
$ac_exeext &&
16332 $as_test_x conftest
$ac_exeext; then
16333 ac_cv_lib_nsl_gethostbyname
=yes
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.
$ac_ext >&5
16338 ac_cv_lib_nsl_gethostbyname
=no
16341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16342 conftest
$ac_exeext conftest.
$ac_ext
16343 LIBS
=$ac_check_lib_save_LIBS
16345 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16346 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16347 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16348 cat >>confdefs.h
<<_ACEOF
16349 #define HAVE_LIBNSL 1
16358 if test "$ac_cv_func_connect" = no
16361 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16362 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16363 if test "${ac_cv_lib_socket_connect+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 ac_check_lib_save_LIBS
=$LIBS
16367 LIBS
="-lsocket $LIBS"
16368 cat >conftest.
$ac_ext <<_ACEOF
16371 cat confdefs.h
>>conftest.
$ac_ext
16372 cat >>conftest.
$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16390 rm -f conftest.
$ac_objext conftest
$ac_exeext
16391 if { (ac_try
="$ac_link"
16392 case "(($ac_try" in
16393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16394 *) ac_try_echo=$ac_try;;
16396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16397 (eval "$ac_link") 2>conftest.er1
16399 grep -v '^ *+' conftest.er1 >conftest.err
16401 cat conftest.err >&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } && {
16404 test -z "$ac_c_werror_flag" ||
16405 test ! -s conftest.err
16406 } && test -s conftest$ac_exeext &&
16407 $as_test_x conftest$ac_exeext; then
16408 ac_cv_lib_socket_connect=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16413 ac_cv_lib_socket_connect=no
16416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16417 conftest$ac_exeext conftest.$ac_ext
16418 LIBS=$ac_check_lib_save_LIBS
16420 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16421 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16422 if test $ac_cv_lib_socket_connect = yes; then
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_LIBSOCKET 1
16427 LIBS="-lsocket $LIBS"
16433 if test "$ac_cv_func_inet_aton" = no
16436 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16437 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16438 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 ac_check_lib_save_LIBS=$LIBS
16442 LIBS="-lresolv $LIBS"
16443 cat >conftest.$ac_ext <<_ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16450 /* Override any GCC internal prototype to avoid an error.
16451 Use char because int might match the return type of a GCC
16452 builtin and then its argument prototype would still apply. */
16460 return inet_aton ();
16465 rm -f conftest.$ac_objext conftest$ac_exeext
16466 if { (ac_try="$ac_link"
16467 case "(($ac_try" in
16468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16469 *) ac_try_echo
=$ac_try;;
16471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16472 (eval "$ac_link") 2>conftest.er1
16474 grep -v '^ *+' conftest.er1
>conftest.err
16476 cat conftest.err
>&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } && {
16479 test -z "$ac_c_werror_flag" ||
16480 test ! -s conftest.err
16481 } && test -s conftest
$ac_exeext &&
16482 $as_test_x conftest
$ac_exeext; then
16483 ac_cv_lib_resolv_inet_aton
=yes
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.
$ac_ext >&5
16488 ac_cv_lib_resolv_inet_aton
=no
16491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16492 conftest
$ac_exeext conftest.
$ac_ext
16493 LIBS
=$ac_check_lib_save_LIBS
16495 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16496 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16497 if test $ac_cv_lib_resolv_inet_aton = yes; then
16498 cat >>confdefs.h
<<_ACEOF
16499 #define HAVE_LIBRESOLV 1
16502 LIBS
="-lresolv $LIBS"
16509 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16510 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16511 if test "${ac_cv_c_const+set}" = set; then
16512 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 cat >conftest.
$ac_ext <<_ACEOF
16517 cat confdefs.h
>>conftest.
$ac_ext
16518 cat >>conftest.
$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16524 /* FIXME: Include the comments suggested by Paul. */
16525 #ifndef __cplusplus
16526 /* Ultrix mips cc rejects this. */
16527 typedef int charset[2];
16529 /* SunOS 4.1.1 cc rejects this. */
16530 char const *const *pcpcc;
16532 /* NEC SVR4.0.2 mips cc rejects this. */
16533 struct point {int x, y;};
16534 static struct point const zero = {0,0};
16535 /* AIX XL C 1.02.0.0 rejects this.
16536 It does not let you subtract one const X* pointer from another in
16537 an arm of an if-expression whose if-part is not a constant
16539 const char *g = "string";
16540 pcpcc = &g + (g ? g-g : 0);
16541 /* HPUX 7.0 cc rejects these. */
16543 ppc = (char**) pcpcc;
16544 pcpcc = (char const *const *) ppc;
16545 { /* SCO 3.2v4 cc rejects this. */
16547 char const *s = 0 ? (char *) 0 : (char const *) 0;
16552 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16553 int x[] = {25, 17};
16554 const int *foo = &x[0];
16557 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16558 typedef const int *iptr;
16562 { /* AIX XL C 1.02.0.0 rejects this saying
16563 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16564 struct s { int j; const int *ap[3]; };
16565 struct s *b; b->j = 5;
16567 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16568 const int foo = 10;
16569 if (!foo) return 0;
16571 return !cs[0] && !zero.x;
16578 rm -f conftest.
$ac_objext
16579 if { (ac_try
="$ac_compile"
16580 case "(($ac_try" in
16581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16582 *) ac_try_echo=$ac_try;;
16584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16585 (eval "$ac_compile") 2>conftest.er1
16587 grep -v '^ *+' conftest.er1 >conftest.err
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } && {
16592 test -z "$ac_c_werror_flag" ||
16593 test ! -s conftest.err
16594 } && test -s conftest.$ac_objext; then
16597 echo "$as_me: failed program was:" >&5
16598 sed 's/^/| /' conftest.$ac_ext >&5
16603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16605 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16606 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16607 if test $ac_cv_c_const = no; then
16609 cat >>confdefs.h <<\_ACEOF
16615 { echo "$as_me:$LINENO: checking for inline" >&5
16616 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16617 if test "${ac_cv_c_inline+set}" = set; then
16618 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 for ac_kw in inline __inline__ __inline; do
16622 cat >conftest.$ac_ext <<_ACEOF
16625 cat confdefs.h >>conftest.$ac_ext
16626 cat >>conftest.$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 #ifndef __cplusplus
16630 static $ac_kw foo_t static_foo () {return 0; }
16631 $ac_kw foo_t foo () {return 0; }
16635 rm -f conftest.$ac_objext
16636 if { (ac_try="$ac_compile"
16637 case "(($ac_try" in
16638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16639 *) ac_try_echo
=$ac_try;;
16641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16642 (eval "$ac_compile") 2>conftest.er1
16644 grep -v '^ *+' conftest.er1
>conftest.err
16646 cat conftest.err
>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); } && {
16649 test -z "$ac_c_werror_flag" ||
16650 test ! -s conftest.err
16651 } && test -s conftest.
$ac_objext; then
16652 ac_cv_c_inline
=$ac_kw
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16661 test "$ac_cv_c_inline" != no
&& break
16665 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16666 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16669 case $ac_cv_c_inline in
16672 case $ac_cv_c_inline in
16674 *) ac_val
=$ac_cv_c_inline;;
16676 cat >>confdefs.h
<<_ACEOF
16677 #ifndef __cplusplus
16678 #define inline $ac_val
16684 { echo "$as_me:$LINENO: checking for mode_t" >&5
16685 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16686 if test "${ac_cv_type_mode_t+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $ac_includes_default
16696 typedef mode_t ac__type_new_;
16700 if ((ac__type_new_ *) 0)
16702 if (sizeof (ac__type_new_))
16708 rm -f conftest.
$ac_objext
16709 if { (ac_try
="$ac_compile"
16710 case "(($ac_try" in
16711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_compile") 2>conftest.er1
16717 grep -v '^ *+' conftest.er1 >conftest.err
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } && {
16722 test -z "$ac_c_werror_flag" ||
16723 test ! -s conftest.err
16724 } && test -s conftest.$ac_objext; then
16725 ac_cv_type_mode_t=yes
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16730 ac_cv_type_mode_t=no
16733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16735 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16736 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16737 if test $ac_cv_type_mode_t = yes; then
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_MODE_T 1
16745 { echo "$as_me:$LINENO: checking for off_t" >&5
16746 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16747 if test "${ac_cv_type_off_t+set}" = set; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 cat >conftest.$ac_ext <<_ACEOF
16753 cat confdefs.h >>conftest.$ac_ext
16754 cat >>conftest.$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16756 $ac_includes_default
16757 typedef off_t ac__type_new_;
16761 if ((ac__type_new_ *) 0)
16763 if (sizeof (ac__type_new_))
16769 rm -f conftest.$ac_objext
16770 if { (ac_try="$ac_compile"
16771 case "(($ac_try" in
16772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16773 *) ac_try_echo
=$ac_try;;
16775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16776 (eval "$ac_compile") 2>conftest.er1
16778 grep -v '^ *+' conftest.er1
>conftest.err
16780 cat conftest.err
>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && {
16783 test -z "$ac_c_werror_flag" ||
16784 test ! -s conftest.err
16785 } && test -s conftest.
$ac_objext; then
16786 ac_cv_type_off_t
=yes
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.
$ac_ext >&5
16791 ac_cv_type_off_t
=no
16794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16796 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16797 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16798 if test $ac_cv_type_off_t = yes; then
16800 cat >>confdefs.h
<<_ACEOF
16801 #define HAVE_OFF_T 1
16806 { echo "$as_me:$LINENO: checking for pid_t" >&5
16807 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16808 if test "${ac_cv_type_pid_t+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 cat >conftest.
$ac_ext <<_ACEOF
16814 cat confdefs.h
>>conftest.
$ac_ext
16815 cat >>conftest.
$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 $ac_includes_default
16818 typedef pid_t ac__type_new_;
16822 if ((ac__type_new_ *) 0)
16824 if (sizeof (ac__type_new_))
16830 rm -f conftest.
$ac_objext
16831 if { (ac_try
="$ac_compile"
16832 case "(($ac_try" in
16833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16834 *) ac_try_echo=$ac_try;;
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_compile") 2>conftest.er1
16839 grep -v '^ *+' conftest.er1 >conftest.err
16841 cat conftest.err >&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } && {
16844 test -z "$ac_c_werror_flag" ||
16845 test ! -s conftest.err
16846 } && test -s conftest.$ac_objext; then
16847 ac_cv_type_pid_t=yes
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16852 ac_cv_type_pid_t=no
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16857 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16858 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16859 if test $ac_cv_type_pid_t = yes; then
16861 cat >>confdefs.h <<_ACEOF
16862 #define HAVE_PID_T 1
16867 { echo "$as_me:$LINENO: checking for size_t" >&5
16868 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16869 if test "${ac_cv_type_size_t+set}" = set; then
16870 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 cat >conftest.$ac_ext <<_ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 $ac_includes_default
16879 typedef size_t ac__type_new_;
16883 if ((ac__type_new_ *) 0)
16885 if (sizeof (ac__type_new_))
16891 rm -f conftest.$ac_objext
16892 if { (ac_try="$ac_compile"
16893 case "(($ac_try" in
16894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16895 *) ac_try_echo
=$ac_try;;
16897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16898 (eval "$ac_compile") 2>conftest.er1
16900 grep -v '^ *+' conftest.er1
>conftest.err
16902 cat conftest.err
>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } && {
16905 test -z "$ac_c_werror_flag" ||
16906 test ! -s conftest.err
16907 } && test -s conftest.
$ac_objext; then
16908 ac_cv_type_size_t
=yes
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.
$ac_ext >&5
16913 ac_cv_type_size_t
=no
16916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16918 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16919 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16920 if test $ac_cv_type_size_t = yes; then
16922 cat >>confdefs.h
<<_ACEOF
16923 #define HAVE_SIZE_T 1
16928 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16929 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16930 if test "${ac_cv_type_ssize_t+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 cat >conftest.
$ac_ext <<_ACEOF
16936 cat confdefs.h
>>conftest.
$ac_ext
16937 cat >>conftest.
$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 $ac_includes_default
16940 typedef ssize_t ac__type_new_;
16944 if ((ac__type_new_ *) 0)
16946 if (sizeof (ac__type_new_))
16952 rm -f conftest.
$ac_objext
16953 if { (ac_try
="$ac_compile"
16954 case "(($ac_try" in
16955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16956 *) ac_try_echo=$ac_try;;
16958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16959 (eval "$ac_compile") 2>conftest.er1
16961 grep -v '^ *+' conftest.er1 >conftest.err
16963 cat conftest.err >&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } && {
16966 test -z "$ac_c_werror_flag" ||
16967 test ! -s conftest.err
16968 } && test -s conftest.$ac_objext; then
16969 ac_cv_type_ssize_t=yes
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16974 ac_cv_type_ssize_t=no
16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16980 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16981 if test $ac_cv_type_ssize_t = yes; then
16983 cat >>confdefs.h <<_ACEOF
16984 #define HAVE_SSIZE_T 1
16989 { echo "$as_me:$LINENO: checking for long long" >&5
16990 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16991 if test "${ac_cv_type_long_long+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 cat >conftest.$ac_ext <<_ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000 $ac_includes_default
17001 typedef long long ac__type_new_;
17005 if ((ac__type_new_ *) 0)
17007 if (sizeof (ac__type_new_))
17013 rm -f conftest.$ac_objext
17014 if { (ac_try="$ac_compile"
17015 case "(($ac_try" in
17016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17017 *) ac_try_echo
=$ac_try;;
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compile") 2>conftest.er1
17022 grep -v '^ *+' conftest.er1
>conftest.err
17024 cat conftest.err
>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_c_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest.
$ac_objext; then
17030 ac_cv_type_long_long
=yes
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17035 ac_cv_type_long_long
=no
17038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17040 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17041 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17042 if test $ac_cv_type_long_long = yes; then
17044 cat >>confdefs.h
<<_ACEOF
17045 #define HAVE_LONG_LONG 1
17050 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17051 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17052 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 cat >conftest.
$ac_ext <<_ACEOF
17058 cat confdefs.h
>>conftest.
$ac_ext
17059 cat >>conftest.
$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 $ac_includes_default
17062 typedef fsblkcnt_t ac__type_new_;
17066 if ((ac__type_new_ *) 0)
17068 if (sizeof (ac__type_new_))
17074 rm -f conftest.
$ac_objext
17075 if { (ac_try
="$ac_compile"
17076 case "(($ac_try" in
17077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17078 *) ac_try_echo=$ac_try;;
17080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17081 (eval "$ac_compile") 2>conftest.er1
17083 grep -v '^ *+' conftest.er1 >conftest.err
17085 cat conftest.err >&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); } && {
17088 test -z "$ac_c_werror_flag" ||
17089 test ! -s conftest.err
17090 } && test -s conftest.$ac_objext; then
17091 ac_cv_type_fsblkcnt_t=yes
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17096 ac_cv_type_fsblkcnt_t=no
17099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17101 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17102 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17103 if test $ac_cv_type_fsblkcnt_t = yes; then
17105 cat >>confdefs.h <<_ACEOF
17106 #define HAVE_FSBLKCNT_T 1
17111 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17112 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17113 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 cat >conftest.$ac_ext <<_ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17122 $ac_includes_default
17123 typedef fsfilcnt_t ac__type_new_;
17127 if ((ac__type_new_ *) 0)
17129 if (sizeof (ac__type_new_))
17135 rm -f conftest.$ac_objext
17136 if { (ac_try="$ac_compile"
17137 case "(($ac_try" in
17138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17139 *) ac_try_echo
=$ac_try;;
17141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142 (eval "$ac_compile") 2>conftest.er1
17144 grep -v '^ *+' conftest.er1
>conftest.err
17146 cat conftest.err
>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } && {
17149 test -z "$ac_c_werror_flag" ||
17150 test ! -s conftest.err
17151 } && test -s conftest.
$ac_objext; then
17152 ac_cv_type_fsfilcnt_t
=yes
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.
$ac_ext >&5
17157 ac_cv_type_fsfilcnt_t
=no
17160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17162 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17163 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17164 if test $ac_cv_type_fsfilcnt_t = yes; then
17166 cat >>confdefs.h
<<_ACEOF
17167 #define HAVE_FSFILCNT_T 1
17173 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17174 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17175 if test "${ac_cv_type_sigset_t+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 cat >conftest.
$ac_ext <<_ACEOF
17181 cat confdefs.h
>>conftest.
$ac_ext
17182 cat >>conftest.
$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184 #include <signal.h>
17186 typedef sigset_t ac__type_new_;
17190 if ((ac__type_new_ *) 0)
17192 if (sizeof (ac__type_new_))
17198 rm -f conftest.
$ac_objext
17199 if { (ac_try
="$ac_compile"
17200 case "(($ac_try" in
17201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_compile") 2>conftest.er1
17207 grep -v '^ *+' conftest.er1 >conftest.err
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } && {
17212 test -z "$ac_c_werror_flag" ||
17213 test ! -s conftest.err
17214 } && test -s conftest.$ac_objext; then
17215 ac_cv_type_sigset_t=yes
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17220 ac_cv_type_sigset_t=no
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17225 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17226 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17227 if test $ac_cv_type_sigset_t = yes; then
17229 cat >>confdefs.h <<_ACEOF
17230 #define HAVE_SIGSET_T 1
17236 { echo "$as_me:$LINENO: checking for request_sense" >&5
17237 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17238 if test "${ac_cv_type_request_sense+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 cat >conftest.$ac_ext <<_ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247 #include <linux/cdrom.h>
17249 typedef request_sense ac__type_new_;
17253 if ((ac__type_new_ *) 0)
17255 if (sizeof (ac__type_new_))
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17265 *) ac_try_echo
=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.
$ac_objext; then
17278 ac_cv_type_request_sense
=yes
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.
$ac_ext >&5
17283 ac_cv_type_request_sense
=no
17286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17288 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17289 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17290 if test $ac_cv_type_request_sense = yes; then
17292 cat >>confdefs.h
<<_ACEOF
17293 #define HAVE_REQUEST_SENSE 1
17300 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17301 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17302 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 cat >conftest.
$ac_ext <<_ACEOF
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 #ifdef HAVE_LINUX_INPUT_H
17312 #include <linux/input.h>
17318 static struct ff_effect ac_aggr;
17319 if (ac_aggr.direction)
17325 rm -f conftest.
$ac_objext
17326 if { (ac_try
="$ac_compile"
17327 case "(($ac_try" in
17328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17329 *) ac_try_echo=$ac_try;;
17331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17332 (eval "$ac_compile") 2>conftest.er1
17334 grep -v '^ *+' conftest.er1 >conftest.err
17336 cat conftest.err >&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } && {
17339 test -z "$ac_c_werror_flag" ||
17340 test ! -s conftest.err
17341 } && test -s conftest.$ac_objext; then
17342 ac_cv_member_struct_ff_effect_direction=yes
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17347 cat >conftest.$ac_ext <<_ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 #ifdef HAVE_LINUX_INPUT_H
17354 #include <linux/input.h>
17360 static struct ff_effect ac_aggr;
17361 if (sizeof ac_aggr.direction)
17367 rm -f conftest.$ac_objext
17368 if { (ac_try="$ac_compile"
17369 case "(($ac_try" in
17370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17371 *) ac_try_echo
=$ac_try;;
17373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17374 (eval "$ac_compile") 2>conftest.er1
17376 grep -v '^ *+' conftest.er1
>conftest.err
17378 cat conftest.err
>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } && {
17381 test -z "$ac_c_werror_flag" ||
17382 test ! -s conftest.err
17383 } && test -s conftest.
$ac_objext; then
17384 ac_cv_member_struct_ff_effect_direction
=yes
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.
$ac_ext >&5
17389 ac_cv_member_struct_ff_effect_direction
=no
17392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17397 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17398 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17399 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17401 cat >>confdefs.h
<<_ACEOF
17402 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17409 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17410 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17411 if test "${wine_cv_have_sigaddset+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 #include <signal.h>
17424 sigset_t set; sigaddset(&set,SIGTERM);
17429 rm -f conftest.
$ac_objext conftest
$ac_exeext
17430 if { (ac_try
="$ac_link"
17431 case "(($ac_try" in
17432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_link") 2>conftest.er1
17438 grep -v '^ *+' conftest.er1 >conftest.err
17440 cat conftest.err >&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } && {
17443 test -z "$ac_c_werror_flag" ||
17444 test ! -s conftest.err
17445 } && test -s conftest$ac_exeext &&
17446 $as_test_x conftest$ac_exeext; then
17447 wine_cv_have_sigaddset=yes
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 wine_cv_have_sigaddset=no
17455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17456 conftest$ac_exeext conftest.$ac_ext
17458 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17459 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17460 if test "$wine_cv_have_sigaddset" = "yes"
17463 cat >>confdefs.h <<\_ACEOF
17464 #define HAVE_SIGADDSET 1
17470 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17471 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17472 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 cat >conftest.$ac_ext <<_ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17490 struct hostent *result;
17497 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17498 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17504 rm -f conftest.$ac_objext conftest$ac_exeext
17505 if { (ac_try="$ac_link"
17506 case "(($ac_try" in
17507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17508 *) ac_try_echo
=$ac_try;;
17510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17511 (eval "$ac_link") 2>conftest.er1
17513 grep -v '^ *+' conftest.er1
>conftest.err
17515 cat conftest.err
>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } && {
17518 test -z "$ac_c_werror_flag" ||
17519 test ! -s conftest.err
17520 } && test -s conftest
$ac_exeext &&
17521 $as_test_x conftest
$ac_exeext; then
17522 wine_cv_linux_gethostbyname_r_6
=yes
17524 echo "$as_me: failed program was:" >&5
17525 sed 's/^/| /' conftest.
$ac_ext >&5
17527 wine_cv_linux_gethostbyname_r_6
=no
17531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17532 conftest
$ac_exeext conftest.
$ac_ext
17535 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17536 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17537 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17540 cat >>confdefs.h
<<\_ACEOF
17541 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17546 if test "$ac_cv_header_linux_joystick_h" = "yes"
17548 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17549 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17550 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17551 echo $ECHO_N "(cached) $ECHO_C" >&6
17553 cat >conftest.
$ac_ext <<_ACEOF
17556 cat confdefs.h
>>conftest.
$ac_ext
17557 cat >>conftest.
$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17560 #include <sys/ioctl.h>
17561 #include <linux/joystick.h>
17563 struct js_event blub;
17564 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17565 #error "no 2.2 header"
17576 rm -f conftest.
$ac_objext
17577 if { (ac_try
="$ac_compile"
17578 case "(($ac_try" in
17579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_compile") 2>conftest.er1
17585 grep -v '^ *+' conftest.er1 >conftest.err
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_c_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest.$ac_objext; then
17593 wine_cv_linux_joystick_22_api=yes
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17598 wine_cv_linux_joystick_22_api=no
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17605 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17606 if test "$wine_cv_linux_joystick_22_api" = "yes"
17609 cat >>confdefs.h <<\_ACEOF
17610 #define HAVE_LINUX_22_JOYSTICK_API 1
17617 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17618 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17619 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17620 echo $ECHO_N "(cached) $ECHO_C" >&6
17622 cat >conftest.$ac_ext <<_ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 #include <sys/types.h>
17629 #ifdef HAVE_SYS_PARAM_H
17630 # include <sys/param.h>
17632 #ifdef HAVE_SYS_MOUNT_H
17633 # include <sys/mount.h>
17635 #ifdef HAVE_SYS_VFS_H
17636 # include <sys/vfs.h>
17638 #ifdef HAVE_SYS_STATFS_H
17639 # include <sys/statfs.h>
17645 static struct statfs ac_aggr;
17646 if (ac_aggr.f_bfree)
17652 rm -f conftest.$ac_objext
17653 if { (ac_try="$ac_compile"
17654 case "(($ac_try" in
17655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17656 *) ac_try_echo
=$ac_try;;
17658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17659 (eval "$ac_compile") 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } && {
17666 test -z "$ac_c_werror_flag" ||
17667 test ! -s conftest.err
17668 } && test -s conftest.
$ac_objext; then
17669 ac_cv_member_struct_statfs_f_bfree
=yes
17671 echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.
$ac_ext >&5
17674 cat >conftest.
$ac_ext <<_ACEOF
17677 cat confdefs.h
>>conftest.
$ac_ext
17678 cat >>conftest.
$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 #include <sys/types.h>
17681 #ifdef HAVE_SYS_PARAM_H
17682 # include <sys/param.h>
17684 #ifdef HAVE_SYS_MOUNT_H
17685 # include <sys/mount.h>
17687 #ifdef HAVE_SYS_VFS_H
17688 # include <sys/vfs.h>
17690 #ifdef HAVE_SYS_STATFS_H
17691 # include <sys/statfs.h>
17697 static struct statfs ac_aggr;
17698 if (sizeof ac_aggr.f_bfree)
17704 rm -f conftest.
$ac_objext
17705 if { (ac_try
="$ac_compile"
17706 case "(($ac_try" in
17707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17708 *) ac_try_echo=$ac_try;;
17710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17711 (eval "$ac_compile") 2>conftest.er1
17713 grep -v '^ *+' conftest.er1 >conftest.err
17715 cat conftest.err >&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } && {
17718 test -z "$ac_c_werror_flag" ||
17719 test ! -s conftest.err
17720 } && test -s conftest.$ac_objext; then
17721 ac_cv_member_struct_statfs_f_bfree=yes
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17726 ac_cv_member_struct_statfs_f_bfree=no
17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17734 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17735 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17736 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17738 cat >>confdefs.h <<_ACEOF
17739 #define HAVE_STRUCT_STATFS_F_BFREE 1
17744 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17745 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17746 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17747 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 cat >conftest.$ac_ext <<_ACEOF
17752 cat confdefs.h >>conftest.$ac_ext
17753 cat >>conftest.$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17755 #include <sys/types.h>
17756 #ifdef HAVE_SYS_PARAM_H
17757 # include <sys/param.h>
17759 #ifdef HAVE_SYS_MOUNT_H
17760 # include <sys/mount.h>
17762 #ifdef HAVE_SYS_VFS_H
17763 # include <sys/vfs.h>
17765 #ifdef HAVE_SYS_STATFS_H
17766 # include <sys/statfs.h>
17772 static struct statfs ac_aggr;
17773 if (ac_aggr.f_bavail)
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_member_struct_statfs_f_bavail
=yes
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.
$ac_ext >&5
17801 cat >conftest.
$ac_ext <<_ACEOF
17804 cat confdefs.h
>>conftest.
$ac_ext
17805 cat >>conftest.
$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 #include <sys/types.h>
17808 #ifdef HAVE_SYS_PARAM_H
17809 # include <sys/param.h>
17811 #ifdef HAVE_SYS_MOUNT_H
17812 # include <sys/mount.h>
17814 #ifdef HAVE_SYS_VFS_H
17815 # include <sys/vfs.h>
17817 #ifdef HAVE_SYS_STATFS_H
17818 # include <sys/statfs.h>
17824 static struct statfs ac_aggr;
17825 if (sizeof ac_aggr.f_bavail)
17831 rm -f conftest.
$ac_objext
17832 if { (ac_try
="$ac_compile"
17833 case "(($ac_try" in
17834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17835 *) ac_try_echo=$ac_try;;
17837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17838 (eval "$ac_compile") 2>conftest.er1
17840 grep -v '^ *+' conftest.er1 >conftest.err
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } && {
17845 test -z "$ac_c_werror_flag" ||
17846 test ! -s conftest.err
17847 } && test -s conftest.$ac_objext; then
17848 ac_cv_member_struct_statfs_f_bavail=yes
17850 echo "$as_me: failed program was:" >&5
17851 sed 's/^/| /' conftest.$ac_ext >&5
17853 ac_cv_member_struct_statfs_f_bavail=no
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17861 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17862 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17863 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17865 cat >>confdefs.h <<_ACEOF
17866 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17871 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17872 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17873 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17874 echo $ECHO_N "(cached) $ECHO_C" >&6
17876 cat >conftest.$ac_ext <<_ACEOF
17879 cat confdefs.h >>conftest.$ac_ext
17880 cat >>conftest.$ac_ext <<_ACEOF
17881 /* end confdefs.h. */
17882 #include <sys/types.h>
17883 #ifdef HAVE_SYS_PARAM_H
17884 # include <sys/param.h>
17886 #ifdef HAVE_SYS_MOUNT_H
17887 # include <sys/mount.h>
17889 #ifdef HAVE_SYS_VFS_H
17890 # include <sys/vfs.h>
17892 #ifdef HAVE_SYS_STATFS_H
17893 # include <sys/statfs.h>
17899 static struct statfs ac_aggr;
17900 if (ac_aggr.f_frsize)
17906 rm -f conftest.$ac_objext
17907 if { (ac_try="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17910 *) ac_try_echo
=$ac_try;;
17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17913 (eval "$ac_compile") 2>conftest.er1
17915 grep -v '^ *+' conftest.er1
>conftest.err
17917 cat conftest.err
>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } && {
17920 test -z "$ac_c_werror_flag" ||
17921 test ! -s conftest.err
17922 } && test -s conftest.
$ac_objext; then
17923 ac_cv_member_struct_statfs_f_frsize
=yes
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.
$ac_ext >&5
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 #include <sys/types.h>
17935 #ifdef HAVE_SYS_PARAM_H
17936 # include <sys/param.h>
17938 #ifdef HAVE_SYS_MOUNT_H
17939 # include <sys/mount.h>
17941 #ifdef HAVE_SYS_VFS_H
17942 # include <sys/vfs.h>
17944 #ifdef HAVE_SYS_STATFS_H
17945 # include <sys/statfs.h>
17951 static struct statfs ac_aggr;
17952 if (sizeof ac_aggr.f_frsize)
17958 rm -f conftest.
$ac_objext
17959 if { (ac_try
="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17967 grep -v '^ *+' conftest.er1 >conftest.err
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 ac_cv_member_struct_statfs_f_frsize=yes
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17980 ac_cv_member_struct_statfs_f_frsize=no
17983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17989 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17990 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17992 cat >>confdefs.h <<_ACEOF
17993 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17998 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17999 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18000 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18001 echo $ECHO_N "(cached) $ECHO_C" >&6
18003 cat >conftest.$ac_ext <<_ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18009 #include <sys/types.h>
18010 #ifdef HAVE_SYS_PARAM_H
18011 # include <sys/param.h>
18013 #ifdef HAVE_SYS_MOUNT_H
18014 # include <sys/mount.h>
18016 #ifdef HAVE_SYS_VFS_H
18017 # include <sys/vfs.h>
18019 #ifdef HAVE_SYS_STATFS_H
18020 # include <sys/statfs.h>
18026 static struct statfs ac_aggr;
18027 if (ac_aggr.f_ffree)
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18037 *) ac_try_echo
=$ac_try;;
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18042 grep -v '^ *+' conftest.er1
>conftest.err
18044 cat conftest.err
>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.
$ac_objext; then
18050 ac_cv_member_struct_statfs_f_ffree
=yes
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.
$ac_ext >&5
18055 cat >conftest.
$ac_ext <<_ACEOF
18058 cat confdefs.h
>>conftest.
$ac_ext
18059 cat >>conftest.
$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #include <sys/types.h>
18062 #ifdef HAVE_SYS_PARAM_H
18063 # include <sys/param.h>
18065 #ifdef HAVE_SYS_MOUNT_H
18066 # include <sys/mount.h>
18068 #ifdef HAVE_SYS_VFS_H
18069 # include <sys/vfs.h>
18071 #ifdef HAVE_SYS_STATFS_H
18072 # include <sys/statfs.h>
18078 static struct statfs ac_aggr;
18079 if (sizeof ac_aggr.f_ffree)
18085 rm -f conftest.
$ac_objext
18086 if { (ac_try
="$ac_compile"
18087 case "(($ac_try" in
18088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18089 *) ac_try_echo=$ac_try;;
18091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18092 (eval "$ac_compile") 2>conftest.er1
18094 grep -v '^ *+' conftest.er1 >conftest.err
18096 cat conftest.err >&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } && {
18099 test -z "$ac_c_werror_flag" ||
18100 test ! -s conftest.err
18101 } && test -s conftest.$ac_objext; then
18102 ac_cv_member_struct_statfs_f_ffree=yes
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18107 ac_cv_member_struct_statfs_f_ffree=no
18110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18116 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18117 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18119 cat >>confdefs.h <<_ACEOF
18120 #define HAVE_STRUCT_STATFS_F_FFREE 1
18125 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18126 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18127 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18128 echo $ECHO_N "(cached) $ECHO_C" >&6
18130 cat >conftest.$ac_ext <<_ACEOF
18133 cat confdefs.h >>conftest.$ac_ext
18134 cat >>conftest.$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 #include <sys/types.h>
18137 #ifdef HAVE_SYS_PARAM_H
18138 # include <sys/param.h>
18140 #ifdef HAVE_SYS_MOUNT_H
18141 # include <sys/mount.h>
18143 #ifdef HAVE_SYS_VFS_H
18144 # include <sys/vfs.h>
18146 #ifdef HAVE_SYS_STATFS_H
18147 # include <sys/statfs.h>
18153 static struct statfs ac_aggr;
18154 if (ac_aggr.f_favail)
18160 rm -f conftest.$ac_objext
18161 if { (ac_try="$ac_compile"
18162 case "(($ac_try" in
18163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18164 *) ac_try_echo
=$ac_try;;
18166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18167 (eval "$ac_compile") 2>conftest.er1
18169 grep -v '^ *+' conftest.er1
>conftest.err
18171 cat conftest.err
>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); } && {
18174 test -z "$ac_c_werror_flag" ||
18175 test ! -s conftest.err
18176 } && test -s conftest.
$ac_objext; then
18177 ac_cv_member_struct_statfs_f_favail
=yes
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.
$ac_ext >&5
18182 cat >conftest.
$ac_ext <<_ACEOF
18185 cat confdefs.h
>>conftest.
$ac_ext
18186 cat >>conftest.
$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #include <sys/types.h>
18189 #ifdef HAVE_SYS_PARAM_H
18190 # include <sys/param.h>
18192 #ifdef HAVE_SYS_MOUNT_H
18193 # include <sys/mount.h>
18195 #ifdef HAVE_SYS_VFS_H
18196 # include <sys/vfs.h>
18198 #ifdef HAVE_SYS_STATFS_H
18199 # include <sys/statfs.h>
18205 static struct statfs ac_aggr;
18206 if (sizeof ac_aggr.f_favail)
18212 rm -f conftest.
$ac_objext
18213 if { (ac_try
="$ac_compile"
18214 case "(($ac_try" in
18215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;;
18218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18219 (eval "$ac_compile") 2>conftest.er1
18221 grep -v '^ *+' conftest.er1 >conftest.err
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } && {
18226 test -z "$ac_c_werror_flag" ||
18227 test ! -s conftest.err
18228 } && test -s conftest.$ac_objext; then
18229 ac_cv_member_struct_statfs_f_favail=yes
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 ac_cv_member_struct_statfs_f_favail=no
18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18243 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18244 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18246 cat >>confdefs.h <<_ACEOF
18247 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18252 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18253 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18254 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 cat >conftest.$ac_ext <<_ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 #include <sys/types.h>
18264 #ifdef HAVE_SYS_PARAM_H
18265 # include <sys/param.h>
18267 #ifdef HAVE_SYS_MOUNT_H
18268 # include <sys/mount.h>
18270 #ifdef HAVE_SYS_VFS_H
18271 # include <sys/vfs.h>
18273 #ifdef HAVE_SYS_STATFS_H
18274 # include <sys/statfs.h>
18280 static struct statfs ac_aggr;
18281 if (ac_aggr.f_namelen)
18287 rm -f conftest.$ac_objext
18288 if { (ac_try="$ac_compile"
18289 case "(($ac_try" in
18290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18291 *) ac_try_echo
=$ac_try;;
18293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18294 (eval "$ac_compile") 2>conftest.er1
18296 grep -v '^ *+' conftest.er1
>conftest.err
18298 cat conftest.err
>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } && {
18301 test -z "$ac_c_werror_flag" ||
18302 test ! -s conftest.err
18303 } && test -s conftest.
$ac_objext; then
18304 ac_cv_member_struct_statfs_f_namelen
=yes
18306 echo "$as_me: failed program was:" >&5
18307 sed 's/^/| /' conftest.
$ac_ext >&5
18309 cat >conftest.
$ac_ext <<_ACEOF
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18315 #include <sys/types.h>
18316 #ifdef HAVE_SYS_PARAM_H
18317 # include <sys/param.h>
18319 #ifdef HAVE_SYS_MOUNT_H
18320 # include <sys/mount.h>
18322 #ifdef HAVE_SYS_VFS_H
18323 # include <sys/vfs.h>
18325 #ifdef HAVE_SYS_STATFS_H
18326 # include <sys/statfs.h>
18332 static struct statfs ac_aggr;
18333 if (sizeof ac_aggr.f_namelen)
18339 rm -f conftest.
$ac_objext
18340 if { (ac_try
="$ac_compile"
18341 case "(($ac_try" in
18342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_compile") 2>conftest.er1
18348 grep -v '^ *+' conftest.er1 >conftest.err
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest.$ac_objext; then
18356 ac_cv_member_struct_statfs_f_namelen=yes
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18361 ac_cv_member_struct_statfs_f_namelen=no
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18370 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18371 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18373 cat >>confdefs.h <<_ACEOF
18374 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18381 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18382 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18383 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 cat >conftest.$ac_ext <<_ACEOF
18389 cat confdefs.h >>conftest.$ac_ext
18390 cat >>conftest.$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18392 #ifdef HAVE_SYS_STATVFS_H
18393 #include <sys/statvfs.h>
18399 static struct statvfs ac_aggr;
18400 if (ac_aggr.f_blocks)
18406 rm -f conftest.$ac_objext
18407 if { (ac_try="$ac_compile"
18408 case "(($ac_try" in
18409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18410 *) ac_try_echo
=$ac_try;;
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_compile") 2>conftest.er1
18415 grep -v '^ *+' conftest.er1
>conftest.err
18417 cat conftest.err
>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_c_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest.
$ac_objext; then
18423 ac_cv_member_struct_statvfs_f_blocks
=yes
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.
$ac_ext >&5
18428 cat >conftest.
$ac_ext <<_ACEOF
18431 cat confdefs.h
>>conftest.
$ac_ext
18432 cat >>conftest.
$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434 #ifdef HAVE_SYS_STATVFS_H
18435 #include <sys/statvfs.h>
18441 static struct statvfs ac_aggr;
18442 if (sizeof ac_aggr.f_blocks)
18448 rm -f conftest.
$ac_objext
18449 if { (ac_try
="$ac_compile"
18450 case "(($ac_try" in
18451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18452 *) ac_try_echo=$ac_try;;
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_compile") 2>conftest.er1
18457 grep -v '^ *+' conftest.er1 >conftest.err
18459 cat conftest.err >&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && {
18462 test -z "$ac_c_werror_flag" ||
18463 test ! -s conftest.err
18464 } && test -s conftest.$ac_objext; then
18465 ac_cv_member_struct_statvfs_f_blocks=yes
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.$ac_ext >&5
18470 ac_cv_member_struct_statvfs_f_blocks=no
18473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18478 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18479 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18480 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18482 cat >>confdefs.h <<_ACEOF
18483 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18490 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18491 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18492 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 cat >conftest.$ac_ext <<_ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 #include <sys/types.h>
18502 #ifdef HAVE_SYS_SOCKET_H
18503 # include <sys/socket.h>
18505 #ifdef HAVE_SYS_UN_H
18506 # include <sys/un.h>
18512 static struct msghdr ac_aggr;
18513 if (ac_aggr.msg_accrights)
18519 rm -f conftest.$ac_objext
18520 if { (ac_try="$ac_compile"
18521 case "(($ac_try" in
18522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18523 *) ac_try_echo
=$ac_try;;
18525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18526 (eval "$ac_compile") 2>conftest.er1
18528 grep -v '^ *+' conftest.er1
>conftest.err
18530 cat conftest.err
>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } && {
18533 test -z "$ac_c_werror_flag" ||
18534 test ! -s conftest.err
18535 } && test -s conftest.
$ac_objext; then
18536 ac_cv_member_struct_msghdr_msg_accrights
=yes
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.
$ac_ext >&5
18541 cat >conftest.
$ac_ext <<_ACEOF
18544 cat confdefs.h
>>conftest.
$ac_ext
18545 cat >>conftest.
$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 #include <sys/types.h>
18548 #ifdef HAVE_SYS_SOCKET_H
18549 # include <sys/socket.h>
18551 #ifdef HAVE_SYS_UN_H
18552 # include <sys/un.h>
18558 static struct msghdr ac_aggr;
18559 if (sizeof ac_aggr.msg_accrights)
18565 rm -f conftest.
$ac_objext
18566 if { (ac_try
="$ac_compile"
18567 case "(($ac_try" in
18568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18569 *) ac_try_echo=$ac_try;;
18571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18572 (eval "$ac_compile") 2>conftest.er1
18574 grep -v '^ *+' conftest.er1 >conftest.err
18576 cat conftest.err >&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } && {
18579 test -z "$ac_c_werror_flag" ||
18580 test ! -s conftest.err
18581 } && test -s conftest.$ac_objext; then
18582 ac_cv_member_struct_msghdr_msg_accrights=yes
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.$ac_ext >&5
18587 ac_cv_member_struct_msghdr_msg_accrights=no
18590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18596 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18597 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18605 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18606 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18607 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18608 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 cat >conftest.$ac_ext <<_ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <sys/types.h>
18617 #ifdef HAVE_SYS_SOCKET_H
18618 # include <sys/socket.h>
18620 #ifdef HAVE_SYS_UN_H
18621 # include <sys/un.h>
18627 static struct sockaddr ac_aggr;
18628 if (ac_aggr.sa_len)
18634 rm -f conftest.$ac_objext
18635 if { (ac_try="$ac_compile"
18636 case "(($ac_try" in
18637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18638 *) ac_try_echo
=$ac_try;;
18640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18641 (eval "$ac_compile") 2>conftest.er1
18643 grep -v '^ *+' conftest.er1
>conftest.err
18645 cat conftest.err
>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } && {
18648 test -z "$ac_c_werror_flag" ||
18649 test ! -s conftest.err
18650 } && test -s conftest.
$ac_objext; then
18651 ac_cv_member_struct_sockaddr_sa_len
=yes
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.
$ac_ext >&5
18656 cat >conftest.
$ac_ext <<_ACEOF
18659 cat confdefs.h
>>conftest.
$ac_ext
18660 cat >>conftest.
$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 #include <sys/types.h>
18663 #ifdef HAVE_SYS_SOCKET_H
18664 # include <sys/socket.h>
18666 #ifdef HAVE_SYS_UN_H
18667 # include <sys/un.h>
18673 static struct sockaddr ac_aggr;
18674 if (sizeof ac_aggr.sa_len)
18680 rm -f conftest.
$ac_objext
18681 if { (ac_try
="$ac_compile"
18682 case "(($ac_try" in
18683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18684 *) ac_try_echo=$ac_try;;
18686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18687 (eval "$ac_compile") 2>conftest.er1
18689 grep -v '^ *+' conftest.er1 >conftest.err
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } && {
18694 test -z "$ac_c_werror_flag" ||
18695 test ! -s conftest.err
18696 } && test -s conftest.$ac_objext; then
18697 ac_cv_member_struct_sockaddr_sa_len=yes
18699 echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.$ac_ext >&5
18702 ac_cv_member_struct_sockaddr_sa_len=no
18705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18711 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18712 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18714 cat >>confdefs.h <<_ACEOF
18715 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18720 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18721 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18722 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18723 echo $ECHO_N "(cached) $ECHO_C" >&6
18725 cat >conftest.$ac_ext <<_ACEOF
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18731 #include <sys/types.h>
18732 #ifdef HAVE_SYS_SOCKET_H
18733 # include <sys/socket.h>
18735 #ifdef HAVE_SYS_UN_H
18736 # include <sys/un.h>
18742 static struct sockaddr_un ac_aggr;
18743 if (ac_aggr.sun_len)
18749 rm -f conftest.$ac_objext
18750 if { (ac_try="$ac_compile"
18751 case "(($ac_try" in
18752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18753 *) ac_try_echo
=$ac_try;;
18755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18756 (eval "$ac_compile") 2>conftest.er1
18758 grep -v '^ *+' conftest.er1
>conftest.err
18760 cat conftest.err
>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } && {
18763 test -z "$ac_c_werror_flag" ||
18764 test ! -s conftest.err
18765 } && test -s conftest.
$ac_objext; then
18766 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.
$ac_ext >&5
18771 cat >conftest.
$ac_ext <<_ACEOF
18774 cat confdefs.h
>>conftest.
$ac_ext
18775 cat >>conftest.
$ac_ext <<_ACEOF
18776 /* end confdefs.h. */
18777 #include <sys/types.h>
18778 #ifdef HAVE_SYS_SOCKET_H
18779 # include <sys/socket.h>
18781 #ifdef HAVE_SYS_UN_H
18782 # include <sys/un.h>
18788 static struct sockaddr_un ac_aggr;
18789 if (sizeof ac_aggr.sun_len)
18795 rm -f conftest.
$ac_objext
18796 if { (ac_try
="$ac_compile"
18797 case "(($ac_try" in
18798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18799 *) ac_try_echo=$ac_try;;
18801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18802 (eval "$ac_compile") 2>conftest.er1
18804 grep -v '^ *+' conftest.er1 >conftest.err
18806 cat conftest.err >&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } && {
18809 test -z "$ac_c_werror_flag" ||
18810 test ! -s conftest.err
18811 } && test -s conftest.$ac_objext; then
18812 ac_cv_member_struct_sockaddr_un_sun_len=yes
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.$ac_ext >&5
18817 ac_cv_member_struct_sockaddr_un_sun_len=no
18820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18825 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18826 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18827 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18837 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18838 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18839 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18842 cat >conftest.$ac_ext <<_ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848 #include <sys/types.h>
18849 #ifdef HAVE_SCSI_SG_H
18850 #include <scsi/sg.h>
18856 static scsireq_t ac_aggr;
18863 rm -f conftest.$ac_objext
18864 if { (ac_try="$ac_compile"
18865 case "(($ac_try" in
18866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18867 *) ac_try_echo
=$ac_try;;
18869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18870 (eval "$ac_compile") 2>conftest.er1
18872 grep -v '^ *+' conftest.er1
>conftest.err
18874 cat conftest.err
>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); } && {
18877 test -z "$ac_c_werror_flag" ||
18878 test ! -s conftest.err
18879 } && test -s conftest.
$ac_objext; then
18880 ac_cv_member_scsireq_t_cmd
=yes
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.
$ac_ext >&5
18885 cat >conftest.
$ac_ext <<_ACEOF
18888 cat confdefs.h
>>conftest.
$ac_ext
18889 cat >>conftest.
$ac_ext <<_ACEOF
18890 /* end confdefs.h. */
18891 #include <sys/types.h>
18892 #ifdef HAVE_SCSI_SG_H
18893 #include <scsi/sg.h>
18899 static scsireq_t ac_aggr;
18900 if (sizeof ac_aggr.cmd)
18906 rm -f conftest.
$ac_objext
18907 if { (ac_try
="$ac_compile"
18908 case "(($ac_try" in
18909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18910 *) ac_try_echo=$ac_try;;
18912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18913 (eval "$ac_compile") 2>conftest.er1
18915 grep -v '^ *+' conftest.er1 >conftest.err
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } && {
18920 test -z "$ac_c_werror_flag" ||
18921 test ! -s conftest.err
18922 } && test -s conftest.$ac_objext; then
18923 ac_cv_member_scsireq_t_cmd=yes
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18928 ac_cv_member_scsireq_t_cmd=no
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18936 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18937 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18938 if test $ac_cv_member_scsireq_t_cmd = yes; then
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_SCSIREQ_T_CMD 1
18946 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18947 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18948 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18951 cat >conftest.$ac_ext <<_ACEOF
18954 cat confdefs.h >>conftest.$ac_ext
18955 cat >>conftest.$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 #include <sys/types.h>
18958 #ifdef HAVE_SCSI_SG_H
18959 #include <scsi/sg.h>
18965 static sg_io_hdr_t ac_aggr;
18966 if (ac_aggr.interface_id)
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_sg_io_hdr_t_interface_id
=yes
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.
$ac_ext >&5
18994 cat >conftest.
$ac_ext <<_ACEOF
18997 cat confdefs.h
>>conftest.
$ac_ext
18998 cat >>conftest.
$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000 #include <sys/types.h>
19001 #ifdef HAVE_SCSI_SG_H
19002 #include <scsi/sg.h>
19008 static sg_io_hdr_t ac_aggr;
19009 if (sizeof ac_aggr.interface_id)
19015 rm -f conftest.
$ac_objext
19016 if { (ac_try
="$ac_compile"
19017 case "(($ac_try" in
19018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19019 *) ac_try_echo=$ac_try;;
19021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19022 (eval "$ac_compile") 2>conftest.er1
19024 grep -v '^ *+' conftest.er1 >conftest.err
19026 cat conftest.err >&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } && {
19029 test -z "$ac_c_werror_flag" ||
19030 test ! -s conftest.err
19031 } && test -s conftest.$ac_objext; then
19032 ac_cv_member_sg_io_hdr_t_interface_id=yes
19034 echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.$ac_ext >&5
19037 ac_cv_member_sg_io_hdr_t_interface_id=no
19040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19045 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19046 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19047 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19057 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19058 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19059 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 cat >conftest.$ac_ext <<_ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 #include <signal.h>
19073 static siginfo_t ac_aggr;
19080 rm -f conftest.$ac_objext
19081 if { (ac_try="$ac_compile"
19082 case "(($ac_try" in
19083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19084 *) ac_try_echo
=$ac_try;;
19086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19087 (eval "$ac_compile") 2>conftest.er1
19089 grep -v '^ *+' conftest.er1
>conftest.err
19091 cat conftest.err
>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } && {
19094 test -z "$ac_c_werror_flag" ||
19095 test ! -s conftest.err
19096 } && test -s conftest.
$ac_objext; then
19097 ac_cv_member_siginfo_t_si_fd
=yes
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.
$ac_ext >&5
19102 cat >conftest.
$ac_ext <<_ACEOF
19105 cat confdefs.h
>>conftest.
$ac_ext
19106 cat >>conftest.
$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 #include <signal.h>
19113 static siginfo_t ac_aggr;
19114 if (sizeof ac_aggr.si_fd)
19120 rm -f conftest.
$ac_objext
19121 if { (ac_try
="$ac_compile"
19122 case "(($ac_try" in
19123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19124 *) ac_try_echo=$ac_try;;
19126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19127 (eval "$ac_compile") 2>conftest.er1
19129 grep -v '^ *+' conftest.er1 >conftest.err
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } && {
19134 test -z "$ac_c_werror_flag" ||
19135 test ! -s conftest.err
19136 } && test -s conftest.$ac_objext; then
19137 ac_cv_member_siginfo_t_si_fd=yes
19139 echo "$as_me: failed program was:" >&5
19140 sed 's/^/| /' conftest.$ac_ext >&5
19142 ac_cv_member_siginfo_t_si_fd=no
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19150 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19151 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19152 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_SIGINFO_T_SI_FD 1
19162 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19163 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19164 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19165 echo $ECHO_N "(cached) $ECHO_C" >&6
19167 cat >conftest.$ac_ext <<_ACEOF
19170 cat confdefs.h >>conftest.$ac_ext
19171 cat >>conftest.$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19173 #include <sys/types.h>
19174 #ifdef HAVE_SYS_MTIO_H
19175 #include <sys/mtio.h>
19181 static struct mtget ac_aggr;
19182 if (ac_aggr.mt_blksiz)
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19192 *) ac_try_echo
=$ac_try;;
19194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19197 grep -v '^ *+' conftest.er1
>conftest.err
19199 cat conftest.err
>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_c_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.
$ac_objext; then
19205 ac_cv_member_struct_mtget_mt_blksiz
=yes
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.
$ac_ext >&5
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 #include <sys/types.h>
19217 #ifdef HAVE_SYS_MTIO_H
19218 #include <sys/mtio.h>
19224 static struct mtget ac_aggr;
19225 if (sizeof ac_aggr.mt_blksiz)
19231 rm -f conftest.
$ac_objext
19232 if { (ac_try
="$ac_compile"
19233 case "(($ac_try" in
19234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_compile") 2>conftest.er1
19240 grep -v '^ *+' conftest.er1 >conftest.err
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } && {
19245 test -z "$ac_c_werror_flag" ||
19246 test ! -s conftest.err
19247 } && test -s conftest.$ac_objext; then
19248 ac_cv_member_struct_mtget_mt_blksiz=yes
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19253 ac_cv_member_struct_mtget_mt_blksiz=no
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19262 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19263 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19265 cat >>confdefs.h <<_ACEOF
19266 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19271 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19272 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19273 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19274 echo $ECHO_N "(cached) $ECHO_C" >&6
19276 cat >conftest.$ac_ext <<_ACEOF
19279 cat confdefs.h >>conftest.$ac_ext
19280 cat >>conftest.$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19282 #include <sys/types.h>
19283 #ifdef HAVE_SYS_MTIO_H
19284 #include <sys/mtio.h>
19290 static struct mtget ac_aggr;
19291 if (ac_aggr.mt_gstat)
19297 rm -f conftest.$ac_objext
19298 if { (ac_try="$ac_compile"
19299 case "(($ac_try" in
19300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19301 *) ac_try_echo
=$ac_try;;
19303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19304 (eval "$ac_compile") 2>conftest.er1
19306 grep -v '^ *+' conftest.er1
>conftest.err
19308 cat conftest.err
>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } && {
19311 test -z "$ac_c_werror_flag" ||
19312 test ! -s conftest.err
19313 } && test -s conftest.
$ac_objext; then
19314 ac_cv_member_struct_mtget_mt_gstat
=yes
19316 echo "$as_me: failed program was:" >&5
19317 sed 's/^/| /' conftest.
$ac_ext >&5
19319 cat >conftest.
$ac_ext <<_ACEOF
19322 cat confdefs.h
>>conftest.
$ac_ext
19323 cat >>conftest.
$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 #include <sys/types.h>
19326 #ifdef HAVE_SYS_MTIO_H
19327 #include <sys/mtio.h>
19333 static struct mtget ac_aggr;
19334 if (sizeof ac_aggr.mt_gstat)
19340 rm -f conftest.
$ac_objext
19341 if { (ac_try
="$ac_compile"
19342 case "(($ac_try" in
19343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19344 *) ac_try_echo=$ac_try;;
19346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19347 (eval "$ac_compile") 2>conftest.er1
19349 grep -v '^ *+' conftest.er1 >conftest.err
19351 cat conftest.err >&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); } && {
19354 test -z "$ac_c_werror_flag" ||
19355 test ! -s conftest.err
19356 } && test -s conftest.$ac_objext; then
19357 ac_cv_member_struct_mtget_mt_gstat=yes
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19362 ac_cv_member_struct_mtget_mt_gstat=no
19365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19370 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19371 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19372 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19374 cat >>confdefs.h <<_ACEOF
19375 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19380 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19381 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19382 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19383 echo $ECHO_N "(cached) $ECHO_C" >&6
19385 cat >conftest.$ac_ext <<_ACEOF
19388 cat confdefs.h >>conftest.$ac_ext
19389 cat >>conftest.$ac_ext <<_ACEOF
19390 /* end confdefs.h. */
19391 #include <sys/types.h>
19392 #ifdef HAVE_SYS_MTIO_H
19393 #include <sys/mtio.h>
19399 static struct mtget ac_aggr;
19400 if (ac_aggr.mt_blkno)
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_mtget_mt_blkno
=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_MTIO_H
19436 #include <sys/mtio.h>
19442 static struct mtget ac_aggr;
19443 if (sizeof ac_aggr.mt_blkno)
19449 rm -f conftest.
$ac_objext
19450 if { (ac_try
="$ac_compile"
19451 case "(($ac_try" in
19452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19453 *) ac_try_echo=$ac_try;;
19455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19456 (eval "$ac_compile") 2>conftest.er1
19458 grep -v '^ *+' conftest.er1 >conftest.err
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } && {
19463 test -z "$ac_c_werror_flag" ||
19464 test ! -s conftest.err
19465 } && test -s conftest.$ac_objext; then
19466 ac_cv_member_struct_mtget_mt_blkno=yes
19468 echo "$as_me: failed program was:" >&5
19469 sed 's/^/| /' conftest.$ac_ext >&5
19471 ac_cv_member_struct_mtget_mt_blkno=no
19474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19479 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19480 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19481 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19483 cat >>confdefs.h <<_ACEOF
19484 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19491 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19492 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19493 if test "${ac_cv_member_struct_option_name+set}" = set; then
19494 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 cat >conftest.$ac_ext <<_ACEOF
19499 cat confdefs.h >>conftest.$ac_ext
19500 cat >>conftest.$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502 #ifdef HAVE_GETOPT_H
19503 #include <getopt.h>
19509 static struct option ac_aggr;
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19520 *) ac_try_echo
=$ac_try;;
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19525 grep -v '^ *+' conftest.er1
>conftest.err
19527 cat conftest.err
>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && {
19530 test -z "$ac_c_werror_flag" ||
19531 test ! -s conftest.err
19532 } && test -s conftest.
$ac_objext; then
19533 ac_cv_member_struct_option_name
=yes
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.
$ac_ext >&5
19538 cat >conftest.
$ac_ext <<_ACEOF
19541 cat confdefs.h
>>conftest.
$ac_ext
19542 cat >>conftest.
$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 #ifdef HAVE_GETOPT_H
19545 #include <getopt.h>
19551 static struct option ac_aggr;
19552 if (sizeof ac_aggr.name)
19558 rm -f conftest.
$ac_objext
19559 if { (ac_try
="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19567 grep -v '^ *+' conftest.er1 >conftest.err
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_member_struct_option_name=yes
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 ac_cv_member_struct_option_name=no
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19589 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19590 if test $ac_cv_member_struct_option_name = yes; then
19592 cat >>confdefs.h <<_ACEOF
19593 #define HAVE_STRUCT_OPTION_NAME 1
19600 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19601 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19602 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19615 static struct stat ac_aggr;
19616 if (ac_aggr.st_blocks)
19622 rm -f conftest.$ac_objext
19623 if { (ac_try="$ac_compile"
19624 case "(($ac_try" in
19625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19626 *) ac_try_echo
=$ac_try;;
19628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_compile") 2>conftest.er1
19631 grep -v '^ *+' conftest.er1
>conftest.err
19633 cat conftest.err
>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); } && {
19636 test -z "$ac_c_werror_flag" ||
19637 test ! -s conftest.err
19638 } && test -s conftest.
$ac_objext; then
19639 ac_cv_member_struct_stat_st_blocks
=yes
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.
$ac_ext >&5
19644 cat >conftest.
$ac_ext <<_ACEOF
19647 cat confdefs.h
>>conftest.
$ac_ext
19648 cat >>conftest.
$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 $ac_includes_default
19654 static struct stat ac_aggr;
19655 if (sizeof ac_aggr.st_blocks)
19661 rm -f conftest.
$ac_objext
19662 if { (ac_try
="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19670 grep -v '^ *+' conftest.er1 >conftest.err
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 ac_cv_member_struct_stat_st_blocks=yes
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19683 ac_cv_member_struct_stat_st_blocks=no
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19692 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19693 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19695 cat >>confdefs.h <<_ACEOF
19696 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19703 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19704 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19705 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19706 echo $ECHO_N "(cached) $ECHO_C" >&6
19708 cat >conftest.$ac_ext <<_ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 #ifdef HAVE_SYS_TYPES_H
19715 #include <sys/types.h>
19717 #ifdef HAVE_NETINET_IN_H
19718 #include <netinet/in.h>
19724 static struct sockaddr_in6 ac_aggr;
19725 if (ac_aggr.sin6_scope_id)
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19735 *) ac_try_echo
=$ac_try;;
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19740 grep -v '^ *+' conftest.er1
>conftest.err
19742 cat conftest.err
>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.
$ac_objext; then
19748 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.
$ac_ext >&5
19753 cat >conftest.
$ac_ext <<_ACEOF
19756 cat confdefs.h
>>conftest.
$ac_ext
19757 cat >>conftest.
$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 #ifdef HAVE_SYS_TYPES_H
19760 #include <sys/types.h>
19762 #ifdef HAVE_NETINET_IN_H
19763 #include <netinet/in.h>
19769 static struct sockaddr_in6 ac_aggr;
19770 if (sizeof ac_aggr.sin6_scope_id)
19776 rm -f conftest.
$ac_objext
19777 if { (ac_try
="$ac_compile"
19778 case "(($ac_try" in
19779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19780 *) ac_try_echo=$ac_try;;
19782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19783 (eval "$ac_compile") 2>conftest.er1
19785 grep -v '^ *+' conftest.er1 >conftest.err
19787 cat conftest.err >&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); } && {
19790 test -z "$ac_c_werror_flag" ||
19791 test ! -s conftest.err
19792 } && test -s conftest.$ac_objext; then
19793 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19798 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19806 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19807 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19808 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19810 cat >>confdefs.h <<_ACEOF
19811 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19818 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19819 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19820 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 cat >conftest.$ac_ext <<_ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 #ifdef HAVE_SYS_TYPES_H
19830 #include <sys/types.h>
19832 #ifdef HAVE_NETINET_IN_H
19833 # include <netinet/in.h>
19835 #ifdef HAVE_ARPA_NAMESER_H
19836 # include <arpa/nameser.h>
19842 static ns_msg ac_aggr;
19843 if (ac_aggr._msg_ptr)
19849 rm -f conftest.$ac_objext
19850 if { (ac_try="$ac_compile"
19851 case "(($ac_try" in
19852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19853 *) ac_try_echo
=$ac_try;;
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_compile") 2>conftest.er1
19858 grep -v '^ *+' conftest.er1
>conftest.err
19860 cat conftest.err
>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && {
19863 test -z "$ac_c_werror_flag" ||
19864 test ! -s conftest.err
19865 } && test -s conftest.
$ac_objext; then
19866 ac_cv_member_ns_msg__msg_ptr
=yes
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.
$ac_ext >&5
19871 cat >conftest.
$ac_ext <<_ACEOF
19874 cat confdefs.h
>>conftest.
$ac_ext
19875 cat >>conftest.
$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 #ifdef HAVE_SYS_TYPES_H
19878 #include <sys/types.h>
19880 #ifdef HAVE_NETINET_IN_H
19881 # include <netinet/in.h>
19883 #ifdef HAVE_ARPA_NAMESER_H
19884 # include <arpa/nameser.h>
19890 static ns_msg ac_aggr;
19891 if (sizeof ac_aggr._msg_ptr)
19897 rm -f conftest.
$ac_objext
19898 if { (ac_try
="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19906 grep -v '^ *+' conftest.er1 >conftest.err
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_c_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19914 ac_cv_member_ns_msg__msg_ptr=yes
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19919 ac_cv_member_ns_msg__msg_ptr=no
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19927 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19928 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19929 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19931 cat >>confdefs.h <<_ACEOF
19932 #define HAVE_NS_MSG__MSG_PTR 1
19939 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19940 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19941 if test "${ac_cv_have_timezone+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 cat >conftest.$ac_ext <<_ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19959 rm -f conftest.$ac_objext conftest$ac_exeext
19960 if { (ac_try="$ac_link"
19961 case "(($ac_try" in
19962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19963 *) ac_try_echo
=$ac_try;;
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_link") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1
>conftest.err
19970 cat conftest.err
>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest
$ac_exeext &&
19976 $as_test_x conftest
$ac_exeext; then
19977 ac_cv_have_timezone
="yes"
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19982 ac_cv_have_timezone
="no"
19985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19986 conftest
$ac_exeext conftest.
$ac_ext
19988 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19989 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19990 if test "$ac_cv_have_timezone" = "yes"
19993 cat >>confdefs.h
<<\_ACEOF
19994 #define HAVE_TIMEZONE 1
19998 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19999 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20000 if test "${ac_cv_have_daylight+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 cat >conftest.
$ac_ext <<_ACEOF
20006 cat confdefs.h
>>conftest.
$ac_ext
20007 cat >>conftest.
$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20018 rm -f conftest.
$ac_objext conftest
$ac_exeext
20019 if { (ac_try
="$ac_link"
20020 case "(($ac_try" in
20021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20022 *) ac_try_echo=$ac_try;;
20024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20025 (eval "$ac_link") 2>conftest.er1
20027 grep -v '^ *+' conftest.er1 >conftest.err
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } && {
20032 test -z "$ac_c_werror_flag" ||
20033 test ! -s conftest.err
20034 } && test -s conftest$ac_exeext &&
20035 $as_test_x conftest$ac_exeext; then
20036 ac_cv_have_daylight="yes"
20038 echo "$as_me: failed program was:" >&5
20039 sed 's/^/| /' conftest.$ac_ext >&5
20041 ac_cv_have_daylight="no"
20044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20045 conftest$ac_exeext conftest.$ac_ext
20047 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20048 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20049 if test "$ac_cv_have_daylight" = "yes"
20052 cat >>confdefs.h <<\_ACEOF
20053 #define HAVE_DAYLIGHT 1
20060 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20061 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20062 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20065 cat >conftest.$ac_ext <<_ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20076 $EGREP "yes" >/dev/null 2>&1; then
20077 ac_cv_cpp_def___i386__=yes
20079 ac_cv_cpp_def___i386__=no
20084 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20085 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20086 if test $ac_cv_cpp_def___i386__ = yes; then
20087 CFLAGS="$CFLAGS -D__i386__"
20088 LINTFLAGS="$LINTFLAGS -D__i386__"
20091 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20092 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20093 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 cat >conftest.$ac_ext <<_ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20107 $EGREP "yes" >/dev/null 2>&1; then
20108 ac_cv_cpp_def___x86_64__=yes
20110 ac_cv_cpp_def___x86_64__=no
20115 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20116 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20117 if test $ac_cv_cpp_def___x86_64__ = yes; then
20118 CFLAGS="$CFLAGS -D__x86_64__"
20119 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20122 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20123 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20124 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20125 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 cat >conftest.$ac_ext <<_ACEOF
20130 cat confdefs.h >>conftest.$ac_ext
20131 cat >>conftest.$ac_ext <<_ACEOF
20132 /* end confdefs.h. */
20137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20138 $EGREP "yes" >/dev/null 2>&1; then
20139 ac_cv_cpp_def___ALPHA__=yes
20141 ac_cv_cpp_def___ALPHA__=no
20146 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20147 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20148 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20149 CFLAGS="$CFLAGS -D__ALPHA__"
20150 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20153 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20154 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20155 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20156 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 cat >conftest.$ac_ext <<_ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20169 $EGREP "yes" >/dev/null 2>&1; then
20170 ac_cv_cpp_def___sparc__=yes
20172 ac_cv_cpp_def___sparc__=no
20177 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20178 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20179 if test $ac_cv_cpp_def___sparc__ = yes; then
20180 CFLAGS="$CFLAGS -D__sparc__"
20181 LINTFLAGS="$LINTFLAGS -D__sparc__"
20184 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20185 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20186 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20187 echo $ECHO_N "(cached) $ECHO_C" >&6
20189 cat >conftest.$ac_ext <<_ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 #ifndef __powerpc__
20199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20200 $EGREP "yes" >/dev/null 2>&1; then
20201 ac_cv_cpp_def___powerpc__=yes
20203 ac_cv_cpp_def___powerpc__=no
20208 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20209 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20210 if test $ac_cv_cpp_def___powerpc__ = yes; then
20211 CFLAGS="$CFLAGS -D__powerpc__"
20212 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20217 case $host_vendor in
20218 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20219 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20220 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20221 echo $ECHO_N "(cached) $ECHO_C" >&6
20223 cat >conftest.$ac_ext <<_ACEOF
20226 cat confdefs.h >>conftest.$ac_ext
20227 cat >>conftest.$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20234 $EGREP "yes" >/dev/null 2>&1; then
20235 ac_cv_cpp_def___sun__=yes
20237 ac_cv_cpp_def___sun__=no
20242 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20243 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20244 if test $ac_cv_cpp_def___sun__ = yes; then
20245 CFLAGS="$CFLAGS -D__sun__"
20246 LINTFLAGS="$LINTFLAGS -D__sun__"
20252 DEPENDENCIES="### Dependencies:
20257 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20259 \$(OBJS): \$(IDL_GEN_HEADERS)
20260 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20261 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20262 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20268 ac_config_commands="$ac_config_commands include/stamp-h"
20271 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20273 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20275 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20277 ac_config_commands="$ac_config_commands dlls/user32/resources"
20279 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20281 ac_config_commands="$ac_config_commands include/wine"
20284 MAKE_RULES=Make.rules
20287 MAKE_DLL_RULES=dlls/Makedll.rules
20290 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20293 MAKE_TEST_RULES=dlls/Maketest.rules
20296 MAKE_PROG_RULES=programs/Makeprog.rules
20299 ac_config_files="$ac_config_files Make.rules"
20301 ac_config_files="$ac_config_files dlls/Makedll.rules"
20303 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20305 ac_config_files="$ac_config_files dlls/Maketest.rules"
20307 ac_config_files="$ac_config_files programs/Makeprog.rules"
20309 ac_config_files="$ac_config_files Makefile"
20311 ac_config_files="$ac_config_files dlls/Makefile"
20313 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20315 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20317 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20319 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20321 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20323 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20325 ac_config_files="$ac_config_files dlls/atl/Makefile"
20327 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20329 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20331 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20333 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20335 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20337 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20339 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20341 ac_config_files="$ac_config_files dlls/cards/Makefile"
20343 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20345 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20347 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20349 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20351 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20353 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20355 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20357 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20359 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20361 ac_config_files="$ac_config_files dlls/credui/Makefile"
20363 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20365 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20367 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20369 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20371 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20373 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20375 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20377 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20379 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20381 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20383 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20385 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20387 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20389 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20391 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20393 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20395 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20397 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20401 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20403 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20405 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20407 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20409 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20411 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20413 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20415 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20417 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20419 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20421 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20423 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20425 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20427 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20429 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20431 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20433 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20435 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20437 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20439 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20441 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20443 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20445 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20447 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20449 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20451 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20453 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20455 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20457 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20459 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20461 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20463 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20465 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20467 ac_config_files="$ac_config_files dlls/hid/Makefile"
20469 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20471 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20473 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20475 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20477 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20479 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20481 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20483 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20485 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20487 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20491 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20493 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/itss/Makefile"
20497 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20499 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20501 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20505 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20509 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20511 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20513 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20515 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20517 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20519 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20521 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20523 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20525 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20527 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20529 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20531 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20533 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20535 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20537 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20539 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20541 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20543 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20545 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20547 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20549 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20551 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20553 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20555 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20557 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20559 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20561 ac_config_files="$ac_config_files dlls/msi/Makefile"
20563 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20567 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20569 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20571 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20573 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20575 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20579 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20581 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20583 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20585 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20587 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20589 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20591 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20593 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20597 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20599 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20601 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20603 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20605 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20609 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20611 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20613 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20615 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20619 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20621 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20623 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20625 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20627 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20629 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20631 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20633 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20635 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20637 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20639 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20641 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20645 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20647 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20649 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/query/Makefile"
20653 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20655 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20657 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20659 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20661 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20663 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20665 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20669 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20673 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20675 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20677 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20679 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20681 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/security/Makefile"
20685 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20687 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20689 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20693 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20695 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20697 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20699 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20701 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20703 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20707 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20709 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20711 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20713 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20715 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20717 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20719 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20721 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20723 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20725 ac_config_files="$ac_config_files dlls/sti/Makefile"
20727 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20729 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20731 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20733 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20735 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20737 ac_config_files="$ac_config_files dlls/url/Makefile"
20739 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20741 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20743 ac_config_files="$ac_config_files dlls/user32/Makefile"
20745 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20747 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20749 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20751 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20753 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20755 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20757 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20761 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20763 ac_config_files="$ac_config_files dlls/version/Makefile"
20765 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20767 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20769 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20771 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20773 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20775 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20777 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20779 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20781 ac_config_files="$ac_config_files dlls/winearts.drv/Makefile"
20783 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20785 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20787 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20789 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20791 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20793 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20795 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20799 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20801 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20803 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20805 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20807 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20809 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20811 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20813 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20815 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20819 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20821 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20823 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20825 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20827 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20829 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20831 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20833 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20835 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20837 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20839 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20841 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20843 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20845 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20847 ac_config_files="$ac_config_files documentation/Makefile"
20849 ac_config_files="$ac_config_files fonts/Makefile"
20851 ac_config_files="$ac_config_files include/Makefile"
20853 ac_config_files="$ac_config_files libs/Makefile"
20855 ac_config_files="$ac_config_files libs/port/Makefile"
20857 ac_config_files="$ac_config_files libs/wine/Makefile"
20859 ac_config_files="$ac_config_files libs/wpp/Makefile"
20861 ac_config_files="$ac_config_files loader/Makefile"
20863 ac_config_files="$ac_config_files programs/Makefile"
20865 ac_config_files="$ac_config_files programs/clock/Makefile"
20867 ac_config_files="$ac_config_files programs/cmd/Makefile"
20869 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20871 ac_config_files="$ac_config_files programs/control/Makefile"
20873 ac_config_files="$ac_config_files programs/eject/Makefile"
20875 ac_config_files="$ac_config_files programs/expand/Makefile"
20877 ac_config_files="$ac_config_files programs/explorer/Makefile"
20879 ac_config_files="$ac_config_files programs/hh/Makefile"
20881 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20883 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20885 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20887 ac_config_files="$ac_config_files programs/notepad/Makefile"
20889 ac_config_files="$ac_config_files programs/oleview/Makefile"
20891 ac_config_files="$ac_config_files programs/progman/Makefile"
20893 ac_config_files="$ac_config_files programs/regedit/Makefile"
20895 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20897 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20899 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20901 ac_config_files="$ac_config_files programs/start/Makefile"
20903 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20905 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20907 ac_config_files="$ac_config_files programs/view/Makefile"
20909 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20911 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20913 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20915 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20917 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20919 ac_config_files="$ac_config_files programs/winefile/Makefile"
20921 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20923 ac_config_files="$ac_config_files programs/winemine/Makefile"
20925 ac_config_files="$ac_config_files programs/winepath/Makefile"
20927 ac_config_files="$ac_config_files programs/winetest/Makefile"
20929 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20931 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20933 ac_config_files="$ac_config_files programs/winver/Makefile"
20935 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20937 ac_config_files="$ac_config_files server/Makefile"
20939 ac_config_files="$ac_config_files tools/Makefile"
20941 ac_config_files="$ac_config_files tools/widl/Makefile"
20943 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20945 ac_config_files="$ac_config_files tools/winedump/Makefile"
20947 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20949 ac_config_files="$ac_config_files tools/wmc/Makefile"
20951 ac_config_files="$ac_config_files tools/wrc/Makefile"
20954 cat >confcache <<\_ACEOF
20955 # This file is a shell script that caches the results of configure
20956 # tests run on this system so they can be shared between configure
20957 # scripts and configure runs, see configure's option --config-cache.
20958 # It is not useful on other systems. If it contains results you don't
20959 # want to keep, you may remove or edit it.
20961 # config.status only pays attention to the cache file if you give it
20962 # the --recheck option to rerun configure.
20964 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20966 # following values.
20970 # The following way of writing the cache mishandles newlines in values,
20971 # but we know of no workaround that is simple, portable, and efficient.
20972 # So, we kill variables containing newlines.
20973 # Ultrix sh set writes to stderr and can't be redirected directly,
20974 # and sets the high bit in the cache file unless we assign to the vars.
20976 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20977 eval ac_val
=\$
$ac_var
20981 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20982 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20985 _ | IFS | as_nl
) ;; #(
20986 *) $as_unset $ac_var ;;
20992 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20993 *${as_nl}ac_space
=\
*)
20994 # `set' does not quote correctly, so add quotes (double-quote
20995 # substitution turns \\\\ into \\, and sed turns \\ into \).
20998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21001 # `set' quotes correctly as required by POSIX, so do not add quotes.
21002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21011 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21013 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21015 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21016 if test -w "$cache_file"; then
21017 test "x$cache_file" != "x/dev/null" &&
21018 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21019 echo "$as_me: updating cache $cache_file" >&6;}
21020 cat confcache
>$cache_file
21022 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21023 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21028 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21029 # Let make expand exec_prefix.
21030 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21032 DEFS
=-DHAVE_CONFIG_H
21036 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21037 # 1. Remove the extension, and $U if already installed.
21038 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21039 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21040 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21041 # will be set to the directory where LIBOBJS objects are built.
21042 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21043 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21045 LIBOBJS
=$ac_libobjs
21047 LTLIBOBJS
=$ac_ltlibobjs
21051 : ${CONFIG_STATUS=./config.status}
21052 ac_clean_files_save
=$ac_clean_files
21053 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21054 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21055 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21056 cat >$CONFIG_STATUS <<_ACEOF
21058 # Generated by $as_me.
21059 # Run this file to recreate the current configuration.
21060 # Compiler output produced by configure, useful for debugging
21061 # configure, is in config.log if it exists.
21064 ac_cs_recheck=false
21066 SHELL=\${CONFIG_SHELL-$SHELL}
21069 cat >>$CONFIG_STATUS <<\_ACEOF
21070 ## --------------------- ##
21071 ## M4sh Initialization. ##
21072 ## --------------------- ##
21074 # Be more Bourne compatible
21075 DUALCASE
=1; export DUALCASE
# for MKS sh
21076 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21079 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21080 # is contrary to our usage. Disable this feature.
21081 alias -g '${1+"$@"}'='"$@"'
21082 setopt NO_GLOB_SUBST
21084 case `(set -o) 2>/dev/null` in
21085 *posix
*) set -o posix
;;
21094 # Avoid depending upon Character Ranges.
21095 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21096 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21097 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21098 as_cr_digits
='0123456789'
21099 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21101 # The user is always right.
21102 if test "${PATH_SEPARATOR+set}" != set; then
21103 echo "#! /bin/sh" >conf$$.sh
21104 echo "exit 0" >>conf$$.sh
21106 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21114 # Support unset when possible.
21115 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21123 # We need space, tab and new line, in precisely that order. Quoting is
21124 # there to prevent editors from complaining about space-tab.
21125 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21126 # splitting by setting IFS to empty value.)
21131 # Find who we are. Look in the path if we contain no directory separator.
21133 *[\\/]* ) as_myself
=$0 ;;
21134 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21135 for as_dir
in $PATH
21138 test -z "$as_dir" && as_dir
=.
21139 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21145 # We did not find ourselves, most probably we were run as `sh COMMAND'
21146 # in which case we are not to be found in the path.
21147 if test "x$as_myself" = x
; then
21150 if test ! -f "$as_myself"; then
21151 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21152 { (exit 1); exit 1; }
21155 # Work around bugs in pre-3.0 UWIN ksh.
21156 for as_var
in ENV MAIL MAILPATH
21157 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21165 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21166 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21167 LC_TELEPHONE LC_TIME
21169 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21170 eval $as_var=C
; export $as_var
21172 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21176 # Required to use basename.
21177 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21178 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21184 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21185 as_basename
=basename
21191 # Name of the executable.
21192 as_me
=`$as_basename -- "$0" ||
21193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21194 X"$0" : 'X\(//\)$' \| \
21195 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21197 sed '/^.*\/\([^/][^/]*\)\/*$/{
21216 as_lineno_1
=$LINENO
21217 as_lineno_2
=$LINENO
21218 test "x$as_lineno_1" != "x$as_lineno_2" &&
21219 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21221 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21222 # uniformly replaced by the line number. The first 'sed' inserts a
21223 # line-number line after each line using $LINENO; the second 'sed'
21224 # does the real work. The second script uses 'N' to pair each
21225 # line-number line with the line containing $LINENO, and appends
21226 # trailing '-' during substitution so that $LINENO is not a special
21227 # case at line end.
21228 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21229 # scripts with optimization help from Paolo Bonzini. Blame Lee
21230 # E. McMahon (1931-1989) for sed's syntax. :-)
21242 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21245 ' >$as_me.lineno
&&
21246 chmod +x
"$as_me.lineno" ||
21247 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21248 { (exit 1); exit 1; }; }
21250 # Don't try to exec as it changes $[0], causing all sort of problems
21251 # (the dirname of $[0] is not the place where we might find the
21252 # original and so on. Autoconf is especially sensitive to this).
21253 .
"./$as_me.lineno"
21254 # Exit status is that of the last command.
21259 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21265 ECHO_C
= ECHO_N
= ECHO_T
=
21266 case `echo -n x` in
21268 case `echo 'x\c'` in
21269 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21276 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21277 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21283 rm -f conf$$ conf$$.exe conf$$.
file
21284 if test -d conf$$.dir
; then
21285 rm -f conf$$.dir
/conf$$.
file
21291 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21293 # ... but there are two gotchas:
21294 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21295 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21296 # In both cases, we have to default to `cp -p'.
21297 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21299 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21304 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21305 rmdir conf$$.dir
2>/dev
/null
21307 if mkdir
-p .
2>/dev
/null
; then
21310 test -d .
/-p && rmdir .
/-p
21314 if test -x / >/dev
/null
2>&1; then
21315 as_test_x
='test -x'
21317 if ls -dL / >/dev
/null
2>&1; then
21324 if test -d "$1"; then
21330 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21331 ???[sx]*):;;*)false;;esac;fi
21335 as_executable_p
=$as_test_x
21337 # Sed expression to map a string onto a valid CPP name.
21338 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21340 # Sed expression to map a string onto a valid variable name.
21341 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21346 # Save the log message, to keep $[0] and so on meaningful, and to
21347 # report actual input values of CONFIG_FILES etc. instead of their
21348 # values after options handling.
21350 This file was extended by Wine $as_me 0.9.32, which was
21351 generated by GNU Autoconf 2.61. Invocation command line was
21353 CONFIG_FILES = $CONFIG_FILES
21354 CONFIG_HEADERS = $CONFIG_HEADERS
21355 CONFIG_LINKS = $CONFIG_LINKS
21356 CONFIG_COMMANDS = $CONFIG_COMMANDS
21359 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21364 cat >>$CONFIG_STATUS <<_ACEOF
21365 # Files that config.status was made for.
21366 config_files="$ac_config_files"
21367 config_headers="$ac_config_headers"
21368 config_commands="$ac_config_commands"
21372 cat >>$CONFIG_STATUS <<\_ACEOF
21374 \`$as_me' instantiates files from templates according to the
21375 current configuration.
21377 Usage: $0 [OPTIONS] [FILE]...
21379 -h, --help print this help, then exit
21380 -V, --version print version number and configuration settings, then exit
21381 -q, --quiet do not print progress messages
21382 -d, --debug don't remove temporary files
21383 --recheck update $as_me by reconfiguring in the same conditions
21384 --file=FILE[:TEMPLATE]
21385 instantiate the configuration file FILE
21386 --header=FILE[:TEMPLATE]
21387 instantiate the configuration header FILE
21389 Configuration files:
21392 Configuration headers:
21395 Configuration commands:
21398 Report bugs to <bug-autoconf@gnu.org>."
21401 cat >>$CONFIG_STATUS <<_ACEOF
21403 Wine config.status 0.9.32
21404 configured by $0, generated by GNU Autoconf 2.61,
21405 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21407 Copyright (C) 2006 Free Software Foundation, Inc.
21408 This config.status script is free software; the Free Software Foundation
21409 gives unlimited permission to copy, distribute and modify it."
21416 cat >>$CONFIG_STATUS <<\_ACEOF
21417 # If no file are specified by the user, then we need to provide default
21418 # value. By we need to know if files were specified by the user.
21424 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21425 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21436 # Handling of the options.
21437 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21439 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21440 echo "$ac_cs_version"; exit ;;
21441 --debug |
--debu |
--deb |
--de |
--d |
-d )
21443 --file |
--fil |
--fi |
--f )
21445 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21446 ac_need_defaults
=false
;;
21447 --header |
--heade |
--head |
--hea )
21449 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21450 ac_need_defaults
=false
;;
21452 # Conflict between --help and --header
21453 { echo "$as_me: error: ambiguous option: $1
21454 Try \`$0 --help' for more information." >&2
21455 { (exit 1); exit 1; }; };;
21456 --help |
--hel |
-h )
21457 echo "$ac_cs_usage"; exit ;;
21458 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21459 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21462 # This is an error.
21463 -*) { echo "$as_me: error: unrecognized option: $1
21464 Try \`$0 --help' for more information." >&2
21465 { (exit 1); exit 1; }; } ;;
21467 *) ac_config_targets
="$ac_config_targets $1"
21468 ac_need_defaults
=false
;;
21474 ac_configure_extra_args
=
21476 if $ac_cs_silent; then
21478 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21482 cat >>$CONFIG_STATUS <<_ACEOF
21483 if \$ac_cs_recheck; then
21484 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21485 CONFIG_SHELL=$SHELL
21486 export CONFIG_SHELL
21487 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21491 cat >>$CONFIG_STATUS <<\_ACEOF
21495 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21496 ## Running $as_me. ##
21502 cat >>$CONFIG_STATUS <<_ACEOF
21505 cat >>$CONFIG_STATUS <<\_ACEOF
21507 # Handling of arguments.
21508 for ac_config_target
in $ac_config_targets
21510 case $ac_config_target in
21511 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21512 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21513 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21514 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21515 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21516 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21517 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21518 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21519 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21520 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21521 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21522 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21523 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21524 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21525 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21526 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21527 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21528 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21529 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21530 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21531 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21532 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21533 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21534 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21535 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21536 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21537 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21538 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21539 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21540 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21541 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21542 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21543 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21544 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21545 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21546 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21547 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21548 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21549 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21550 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21551 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21552 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21553 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21554 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21555 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21556 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21557 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21558 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21559 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21560 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21561 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21562 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21563 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21564 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21565 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21566 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21567 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21568 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21569 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21570 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21571 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21572 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21573 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21574 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21575 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21576 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21577 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21578 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21579 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21580 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21581 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21582 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21583 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21584 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21585 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21586 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21587 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21588 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21589 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21590 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21591 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21592 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21593 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21594 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21595 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21596 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21597 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21598 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21599 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21600 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21601 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21602 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21603 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21604 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21605 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21606 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21607 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21608 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21609 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21610 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21611 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21612 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21613 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21614 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21615 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21616 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21617 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21618 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21619 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21620 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21621 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21622 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21623 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21624 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21625 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21626 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21627 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21628 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21629 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21630 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21631 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21632 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21633 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21634 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21635 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21636 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21637 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21638 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21639 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21640 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21641 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21642 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21643 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21644 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21645 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21646 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21647 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21648 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21649 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21650 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21651 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21652 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21653 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21654 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21655 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21656 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21657 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21658 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21659 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21660 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21661 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21662 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21663 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21664 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21665 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21666 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21667 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21668 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21669 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21670 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21671 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21672 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21673 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21674 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21675 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21676 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21677 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21678 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21679 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21680 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21681 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21682 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21683 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21684 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21685 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21686 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21687 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21688 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21689 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21690 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21691 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21692 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21693 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21694 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21695 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21696 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21697 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21698 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21699 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21700 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21701 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21702 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21703 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21704 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21705 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21706 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21707 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21708 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21709 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21710 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21711 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21712 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21713 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21714 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21715 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21716 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21717 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21718 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21719 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21720 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21721 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21722 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21723 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21724 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21725 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21726 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21727 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21728 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21729 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21730 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21731 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21732 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21733 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21734 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21735 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21736 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21737 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21738 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21739 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21740 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21741 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21742 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21743 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21744 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21745 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21746 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21747 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21748 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21749 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21750 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21751 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21752 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21753 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21754 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21755 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21756 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21757 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21758 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21759 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21760 "dlls/winearts.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21761 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21762 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21763 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21764 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21765 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21766 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21767 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21768 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21769 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21770 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21771 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21772 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21773 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21774 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21775 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21776 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21777 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21778 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21779 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21780 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21781 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21782 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21783 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21784 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21785 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21786 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21787 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21788 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21789 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21790 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21791 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21792 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21793 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21794 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21795 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21796 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21797 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21798 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21799 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21800 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21801 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21802 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21803 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21804 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21805 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21806 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21807 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21808 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21809 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21810 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21811 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21812 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21813 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21814 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21815 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21816 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21817 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21818 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21819 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21820 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21821 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21822 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21823 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21824 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21825 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21826 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21827 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21828 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21829 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21830 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21831 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21832 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21833 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21834 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21835 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21836 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21837 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21838 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21839 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21840 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21841 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21842 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21843 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21844 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21845 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21847 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21848 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21849 { (exit 1); exit 1; }; };;
21854 # If the user did not use the arguments to specify the items to instantiate,
21855 # then the envvar interface is used. Set only those that are not.
21856 # We use the long form for the default assignment because of an extremely
21857 # bizarre bug on SunOS 4.1.3.
21858 if $ac_need_defaults; then
21859 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21860 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21861 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21864 # Have a temporary directory for convenience. Make it in the build tree
21865 # simply because there is no reason against having it here, and in addition,
21866 # creating and moving files from /tmp can sometimes cause problems.
21867 # Hook for its removal unless debugging.
21868 # Note that there is a small window in which the directory will not be cleaned:
21869 # after its creation but before its name has been assigned to `$tmp'.
21873 trap 'exit_status=$?
21874 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21876 trap '{ (exit 1); exit 1; }' 1 2 13 15
21878 # Create a (secure) tmp directory for tmp files.
21881 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21882 test -n "$tmp" && test -d "$tmp"
21885 tmp
=.
/conf$$
-$RANDOM
21886 (umask 077 && mkdir
"$tmp")
21889 echo "$me: cannot create a temporary directory in ." >&2
21890 { (exit 1); exit 1; }
21894 # Set up the sed scripts for CONFIG_FILES section.
21897 # No need to generate the scripts if there are no CONFIG_FILES.
21898 # This happens for instance when ./config.status config.h
21899 if test -n "$CONFIG_FILES"; then
21903 # Create sed commands to just substitute file output variables.
21905 # Remaining file output variables are in a fragment that also has non-file
21911 for ac_last_try
in false false false false false
:; do
21912 cat >conf$
$subs.
sed <<_ACEOF
21913 SHELL!$SHELL$ac_delim
21914 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21915 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21916 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21917 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21918 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21919 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21920 exec_prefix!$exec_prefix$ac_delim
21921 prefix!$prefix$ac_delim
21922 program_transform_name!$program_transform_name$ac_delim
21923 bindir!$bindir$ac_delim
21924 sbindir!$sbindir$ac_delim
21925 libexecdir!$libexecdir$ac_delim
21926 datarootdir!$datarootdir$ac_delim
21927 datadir!$datadir$ac_delim
21928 sysconfdir!$sysconfdir$ac_delim
21929 sharedstatedir!$sharedstatedir$ac_delim
21930 localstatedir!$localstatedir$ac_delim
21931 includedir!$includedir$ac_delim
21932 oldincludedir!$oldincludedir$ac_delim
21933 docdir!$docdir$ac_delim
21934 infodir!$infodir$ac_delim
21935 htmldir!$htmldir$ac_delim
21936 dvidir!$dvidir$ac_delim
21937 pdfdir!$pdfdir$ac_delim
21938 psdir!$psdir$ac_delim
21939 libdir!$libdir$ac_delim
21940 localedir!$localedir$ac_delim
21941 mandir!$mandir$ac_delim
21942 DEFS!$DEFS$ac_delim
21943 ECHO_C!$ECHO_C$ac_delim
21944 ECHO_N!$ECHO_N$ac_delim
21945 ECHO_T!$ECHO_T$ac_delim
21946 LIBS!$LIBS$ac_delim
21947 build_alias!$build_alias$ac_delim
21948 host_alias!$host_alias$ac_delim
21949 target_alias!$target_alias$ac_delim
21950 build!$build$ac_delim
21951 build_cpu!$build_cpu$ac_delim
21952 build_vendor!$build_vendor$ac_delim
21953 build_os!$build_os$ac_delim
21954 host!$host$ac_delim
21955 host_cpu!$host_cpu$ac_delim
21956 host_vendor!$host_vendor$ac_delim
21957 host_os!$host_os$ac_delim
21958 WIN16_FILES!$WIN16_FILES$ac_delim
21959 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21960 SET_MAKE!$SET_MAKE$ac_delim
21962 CFLAGS!$CFLAGS$ac_delim
21963 LDFLAGS!$LDFLAGS$ac_delim
21964 CPPFLAGS!$CPPFLAGS$ac_delim
21965 ac_ct_CC!$ac_ct_CC$ac_delim
21966 EXEEXT!$EXEEXT$ac_delim
21967 OBJEXT!$OBJEXT$ac_delim
21969 CXXFLAGS!$CXXFLAGS$ac_delim
21970 ac_ct_CXX!$ac_ct_CXX$ac_delim
21971 CPPBIN!$CPPBIN$ac_delim
21972 TOOLSDIR!$TOOLSDIR$ac_delim
21973 XMKMF!$XMKMF$ac_delim
21975 X_CFLAGS!$X_CFLAGS$ac_delim
21976 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21977 X_LIBS!$X_LIBS$ac_delim
21978 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21979 FLEX!$FLEX$ac_delim
21980 BISON!$BISON$ac_delim
21982 ac_ct_AS!$ac_ct_AS$ac_delim
21985 RANLIB!$RANLIB$ac_delim
21986 STRIP!$STRIP$ac_delim
21987 WINDRES!$WINDRES$ac_delim
21988 LN_S!$LN_S$ac_delim
21990 GREP!$GREP$ac_delim
21991 EGREP!$EGREP$ac_delim
21992 LDCONFIG!$LDCONFIG$ac_delim
21993 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21994 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21997 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21999 elif $ac_last_try; then
22000 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22001 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22002 { (exit 1); exit 1; }; }
22004 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22008 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22009 if test -n "$ac_eof"; then
22010 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22011 ac_eof
=`expr $ac_eof + 1`
22014 cat >>$CONFIG_STATUS <<_ACEOF
22015 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22016 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22017 /^[ ]*@MAKE_RULES@[ ]*$/{
22021 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22025 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22026 r $MAKE_IMPLIB_RULES
22029 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22033 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22039 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22040 s/^/s,@/; s/!/@,|#_!!_#|/
22043 s/'"$ac_delim"'$/,g/; t
22045 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22046 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22047 rm -f conf$
$subs.
sed
22048 cat >>$CONFIG_STATUS <<_ACEOF
22054 for ac_last_try
in false false false false false
:; do
22055 cat >conf$
$subs.
sed <<_ACEOF
22056 INSTALL_DATA!$INSTALL_DATA$ac_delim
22057 LINT!$LINT$ac_delim
22058 LINTFLAGS!$LINTFLAGS$ac_delim
22059 FONTFORGE!$FONTFORGE$ac_delim
22060 PKG_CONFIG!$PKG_CONFIG$ac_delim
22061 PRELINK!$PRELINK$ac_delim
22062 LIBPTHREAD!$LIBPTHREAD$ac_delim
22063 XLIB!$XLIB$ac_delim
22064 XFILES!$XFILES$ac_delim
22065 OPENGLFILES!$OPENGLFILES$ac_delim
22066 GLU32FILES!$GLU32FILES$ac_delim
22067 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22068 QUARTZFILES!$QUARTZFILES$ac_delim
22069 NASLIBS!$NASLIBS$ac_delim
22070 XML2LIBS!$XML2LIBS$ac_delim
22071 XML2INCL!$XML2INCL$ac_delim
22072 XSLTLIBS!$XSLTLIBS$ac_delim
22073 XSLTINCL!$XSLTINCL$ac_delim
22074 HALINCL!$HALINCL$ac_delim
22075 sane_devel!$sane_devel$ac_delim
22076 SANELIBS!$SANELIBS$ac_delim
22077 SANEINCL!$SANEINCL$ac_delim
22078 gphoto2_devel!$gphoto2_devel$ac_delim
22079 gphoto2port_devel!$gphoto2port_devel$ac_delim
22080 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22081 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22082 ICULIBS!$ICULIBS$ac_delim
22083 RESOLVLIBS!$RESOLVLIBS$ac_delim
22084 LCMSLIBS!$LCMSLIBS$ac_delim
22085 LDAPLIBS!$LDAPLIBS$ac_delim
22086 FREETYPELIBS!$FREETYPELIBS$ac_delim
22087 FREETYPEINCL!$FREETYPEINCL$ac_delim
22088 ft_devel!$ft_devel$ac_delim
22089 ft_devel2!$ft_devel2$ac_delim
22090 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22091 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22092 ARTSLIBS!$ARTSLIBS$ac_delim
22093 ARTSINCL!$ARTSINCL$ac_delim
22094 ESDCONFIG!$ESDCONFIG$ac_delim
22095 ESDLIBS!$ESDLIBS$ac_delim
22096 ESDINCL!$ESDINCL$ac_delim
22097 ALSALIBS!$ALSALIBS$ac_delim
22098 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22099 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22100 BUILTINFLAG!$BUILTINFLAG$ac_delim
22101 DLLEXT!$DLLEXT$ac_delim
22102 DLLFLAGS!$DLLFLAGS$ac_delim
22103 LDSHARED!$LDSHARED$ac_delim
22104 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22105 LIBEXT!$LIBEXT$ac_delim
22106 IMPLIBEXT!$IMPLIBEXT$ac_delim
22107 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22108 DLLTOOL!$DLLTOOL$ac_delim
22109 DLLWRAP!$DLLWRAP$ac_delim
22110 MINGWAR!$MINGWAR$ac_delim
22111 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22112 IOKITLIB!$IOKITLIB$ac_delim
22113 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22114 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22115 COREAUDIO!$COREAUDIO$ac_delim
22116 CARBONLIB!$CARBONLIB$ac_delim
22117 CROSSTEST!$CROSSTEST$ac_delim
22118 CROSSCC!$CROSSCC$ac_delim
22119 CROSSWINDRES!$CROSSWINDRES$ac_delim
22120 LDPATH!$LDPATH$ac_delim
22121 CRTLIBS!$CRTLIBS$ac_delim
22122 SOCKETLIBS!$SOCKETLIBS$ac_delim
22123 MAIN_BINARY!$MAIN_BINARY$ac_delim
22124 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22126 LIBDL!$LIBDL$ac_delim
22127 LIBPOLL!$LIBPOLL$ac_delim
22128 DEPENDENCIES!$DEPENDENCIES$ac_delim
22129 LIBOBJS!$LIBOBJS$ac_delim
22130 LTLIBOBJS!$LTLIBOBJS$ac_delim
22133 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
22135 elif $ac_last_try; then
22136 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22137 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22138 { (exit 1); exit 1; }; }
22140 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22144 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22145 if test -n "$ac_eof"; then
22146 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22147 ac_eof
=`expr $ac_eof + 1`
22150 cat >>$CONFIG_STATUS <<_ACEOF
22151 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22155 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22156 s/^/s,@/; s/!/@,|#_!!_#|/
22159 s/'"$ac_delim"'$/,g/; t
22161 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22162 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22163 rm -f conf$
$subs.
sed
22164 cat >>$CONFIG_STATUS <<_ACEOF
22171 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22172 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22173 # trailing colons and then remove the whole line if VPATH becomes empty
22174 # (actually we leave an empty line to preserve line numbers).
22175 if test "x$srcdir" = x.
; then
22176 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22177 s/:*\$(srcdir):*/:/
22178 s/:*\${srcdir}:*/:/
22180 s/^\([^=]*=[ ]*\):*/\1/
22186 cat >>$CONFIG_STATUS <<\_ACEOF
22187 fi # test -n "$CONFIG_FILES"
22190 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22193 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22195 case $ac_mode$ac_tag in
22197 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22198 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22199 { (exit 1); exit 1; }; };;
22200 :[FH
]-) ac_tag
=-:-;;
22201 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22218 -) ac_f
="$tmp/stdin";;
22219 *) # Look for the file first in the build tree, then in the source tree
22220 # (if the path is not absolute). The absolute path cannot be DOS-style,
22221 # because $ac_f cannot contain `:'.
22225 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22227 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22228 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22229 { (exit 1); exit 1; }; };;
22231 ac_file_inputs
="$ac_file_inputs $ac_f"
22234 # Let's still pretend it is `configure' which instantiates (i.e., don't
22235 # use $as_me), people would be surprised to read:
22236 # /* config.h. Generated by config.status. */
22237 configure_input
="Generated from "`IFS=:
22238 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22239 if test x
"$ac_file" != x-
; then
22240 configure_input
="$ac_file. $configure_input"
22241 { echo "$as_me:$LINENO: creating $ac_file" >&5
22242 echo "$as_me: creating $ac_file" >&6;}
22246 *:-:* |
*:-) cat >"$tmp/stdin";;
22251 ac_dir
=`$as_dirname -- "$ac_file" ||
22252 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22253 X"$ac_file" : 'X\(//\)[^/]' \| \
22254 X"$ac_file" : 'X\(//\)$' \| \
22255 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22261 /^X\(\/\/\)[^/].*/{
22276 -*) as_dir
=.
/$as_dir;;
22278 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22282 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22283 *) as_qdir
=$as_dir;;
22285 as_dirs
="'$as_qdir' $as_dirs"
22286 as_dir
=`$as_dirname -- "$as_dir" ||
22287 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22288 X"$as_dir" : 'X\(//\)[^/]' \| \
22289 X"$as_dir" : 'X\(//\)$' \| \
22290 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22296 /^X\(\/\/\)[^/].*/{
22309 test -d "$as_dir" && break
22311 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22312 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22313 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22314 { (exit 1); exit 1; }; }; }
22318 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22320 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22321 # A ".." for each directory in $ac_dir_suffix.
22322 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22323 case $ac_top_builddir_sub in
22324 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22325 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22328 ac_abs_top_builddir
=$ac_pwd
22329 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22330 # for backward compatibility:
22331 ac_top_builddir
=$ac_top_build_prefix
22334 .
) # We are building in place.
22336 ac_top_srcdir
=$ac_top_builddir_sub
22337 ac_abs_top_srcdir
=$ac_pwd ;;
22338 [\\/]* | ?
:[\\/]* ) # Absolute name.
22339 ac_srcdir
=$srcdir$ac_dir_suffix;
22340 ac_top_srcdir
=$srcdir
22341 ac_abs_top_srcdir
=$srcdir ;;
22342 *) # Relative name.
22343 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22344 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22345 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22347 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22357 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22358 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22362 cat >>$CONFIG_STATUS <<\_ACEOF
22363 # If the template does not know about datarootdir, expand it.
22364 # FIXME: This hack should be removed a few years after 2.60.
22365 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22367 case `sed -n '/datarootdir/ {
22376 ' $ac_file_inputs` in
22377 *datarootdir
*) ac_datarootdir_seen
=yes;;
22378 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22379 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22380 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22382 cat >>$CONFIG_STATUS <<_ACEOF
22383 ac_datarootdir_hack='
22384 s&@datadir@&$datadir&g
22385 s&@docdir@&$docdir&g
22386 s&@infodir@&$infodir&g
22387 s&@localedir@&$localedir&g
22388 s&@mandir@&$mandir&g
22389 s&\\\${datarootdir}&$datarootdir&g' ;;
22393 # Neutralize VPATH when `$srcdir' = `.'.
22394 # Shell code in configure.ac might set extrasub.
22395 # FIXME: do we really want to maintain this feature?
22396 cat >>$CONFIG_STATUS <<_ACEOF
22400 cat >>$CONFIG_STATUS <<\_ACEOF
22402 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22403 s
&@configure_input@
&$configure_input&;t t
22404 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22405 s
&@srcdir@
&$ac_srcdir&;t t
22406 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22407 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22408 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22409 s
&@builddir@
&$ac_builddir&;t t
22410 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22411 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22412 s
&@INSTALL@
&$ac_INSTALL&;t t
22413 $ac_datarootdir_hack
22414 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22416 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22417 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22418 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22419 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22420 which seems to be undefined. Please make sure it is defined." >&5
22421 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22422 which seems to be undefined. Please make sure it is defined." >&2;}
22426 -) cat "$tmp/out"; rm -f "$tmp/out";;
22427 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22436 # Transform confdefs.h into a sed script `conftest.defines', that
22437 # substitutes the proper values into config.h.in to produce config.h.
22438 rm -f conftest.defines conftest.
tail
22439 # First, append a space to every undef/define line, to ease matching.
22440 echo 's/$/ /' >conftest.defines
22441 # Then, protect against being on the right side of a sed subst, or in
22442 # an unquoted here document, in config.status. If some macros were
22443 # called several times there might be several #defines for the same
22444 # symbol, which is useless. But do not sort them, since the last
22445 # AC_DEFINE must be honored.
22446 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22447 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22448 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22449 # PARAMS is the parameter list in the macro definition--in most cases, it's
22450 # just an empty string.
22451 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22452 ac_dB
='\\)[ (].*,\\1define\\2'
22460 s/^[ ]*#[ ]*define[ ][ ]*//
22465 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22466 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22467 ' >>conftest.defines
22469 # Remove the space that was appended to ease matching.
22470 # Then replace #undef with comments. This is necessary, for
22471 # example, in the case of _POSIX_SOURCE, which is predefined and required
22472 # on some systems where configure will not decide to define it.
22473 # (The regexp can be short, since the line contains either #define or #undef.)
22475 s,^[ #]*u.*,/* & */,' >>conftest.defines
22477 # Break up conftest.defines:
22478 ac_max_sed_lines
=50
22480 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22481 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22482 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22484 ac_in
='$ac_file_inputs'
22485 ac_out
='"$tmp/out1"'
22486 ac_nxt
='"$tmp/out2"'
22490 # Write a here document:
22491 cat >>$CONFIG_STATUS <<_ACEOF
22492 # First, check the format of the line:
22493 cat >"\$tmp/defines.sed" <<\\CEOF
22494 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22495 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22499 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22501 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22502 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22503 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22504 grep . conftest.
tail >/dev
/null ||
break
22505 rm -f conftest.defines
22506 mv conftest.
tail conftest.defines
22508 rm -f conftest.defines conftest.
tail
22510 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22511 cat >>$CONFIG_STATUS <<\_ACEOF
22512 if test x
"$ac_file" != x-
; then
22513 echo "/* $configure_input */" >"$tmp/config.h"
22514 cat "$ac_result" >>"$tmp/config.h"
22515 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22516 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22517 echo "$as_me: $ac_file is unchanged" >&6;}
22520 mv "$tmp/config.h" $ac_file
22523 echo "/* $configure_input */"
22529 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22530 echo "$as_me: executing $ac_file commands" >&6;}
22535 case $ac_file$ac_mode in
22536 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22537 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22538 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22539 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22540 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22541 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22542 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22543 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22544 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22545 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22546 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22547 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22548 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22554 { (exit 0); exit 0; }
22556 chmod +x
$CONFIG_STATUS
22557 ac_clean_files
=$ac_clean_files_save
22560 # configure is writing to config.log, and then calls config.status.
22561 # config.status does its own redirection, appending to config.log.
22562 # Unfortunately, on DOS this fails, as config.log is still kept open
22563 # by configure, so config.status won't be able to write to it; its
22564 # output is simply discarded. So we exec the FD to /dev/null,
22565 # effectively closing config.log, so it can be properly (re)opened and
22566 # appended to by config.status. When coming back to configure, we
22567 # need to make the FD available again.
22568 if test "$no_create" != yes; then
22570 ac_config_status_args
=
22571 test "$silent" = yes &&
22572 ac_config_status_args
="$ac_config_status_args --quiet"
22574 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22576 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22577 # would make configure fail if this is the last instruction.
22578 $ac_cs_success ||
{ (exit 1); exit 1; }
22583 if test "$no_create" = "yes"
22588 if test "$verbose" = "yes"
22590 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22593 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22594 echo "$as_me: libcapi20 development files not found." >&6;}
22595 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22596 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22599 if test "$ac_cv_header_cups_cups_h" != "yes"
22602 { echo "$as_me:$LINENO: libcups development files not found." >&5
22603 echo "$as_me: libcups development files not found." >&6;}
22604 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22605 echo "$as_me: Wine will be built without CUPS support." >&6;}
22609 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22612 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22613 echo "$as_me: libgphoto2 development files not found." >&6;}
22614 if test "$ac_cv_header_sane_sane_h" = "yes"
22616 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22617 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22619 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22620 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22624 if test "$ac_cv_header_hal_libhal_h" != "yes"
22627 { echo "$as_me:$LINENO: libhal development files not found." >&5
22628 echo "$as_me: libhal development files not found." >&6;}
22629 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22630 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22633 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22636 { echo "$as_me:$LINENO: libicu development files not found." >&5
22637 echo "$as_me: libicu development files not found." >&6;}
22638 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22639 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22642 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22645 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22646 echo "$as_me: liblcms development files not found." >&6;}
22647 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22648 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22651 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22654 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22655 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22656 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22657 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22660 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22663 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22664 echo "$as_me: lib(n)curses development files not found." >&6;}
22665 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22666 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22669 if test "$ac_cv_header_sane_sane_h" != "yes"
22672 { echo "$as_me:$LINENO: libsane development files not found." >&5
22673 echo "$as_me: libsane development files not found." >&6;}
22674 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22675 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22678 if test "$have_x" = "yes"
22680 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22683 { echo "$as_me:$LINENO: libxext development files not found." >&5
22684 echo "$as_me: libxext development files not found." >&6;}
22685 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22686 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22689 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22692 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22693 echo "$as_me: libXrandr development files not found." >&6;}
22694 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22695 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22698 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22701 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22702 echo "$as_me: libXrender development files not found." >&6;}
22703 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22704 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22707 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22710 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22711 echo "$as_me: libXxf86vm development files not found." >&6;}
22712 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22713 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22717 if test "$ac_cv_header_libxml_parser_h" != "yes"
22720 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22721 echo "$as_me: libxml2 development files not found." >&6;}
22722 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22723 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22726 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22729 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22730 echo "$as_me: libxslt development files not found." >&6;}
22731 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22732 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22737 if test "$have_x" = "no"
22740 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22741 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22742 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22743 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22744 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22745 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22746 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22747 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22750 if test -z "$OPENGLFILES"
22753 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22754 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22755 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22756 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22757 if test "$wine_cv_opengl_headers_found" = "no"
22759 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22760 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22762 if test "$wine_cv_opengl_header_version_OK" = "no"
22764 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22765 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22766 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22768 if test -f /usr
/X11R
6/lib
/libGL.a
22770 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22771 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22772 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22773 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22775 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22776 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22781 if test "$wine_cv_msg_freetype" = "yes"
22784 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22785 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22786 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22787 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22788 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22789 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22790 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22791 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22794 if test -z "$FONTSSUBDIRS"
22797 if test "$FONTFORGE" = "false"
22799 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22800 echo "$as_me: WARNING: FontForge is missing." >&2;}
22802 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22803 echo "$as_me: WARNING: FreeType is missing." >&2;}
22805 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22806 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22809 if test -z "$ALSALIBS" -a \
22810 -z "$ARTSC_LIBS" -a \
22811 -z "$AUDIOIOLIBS" -a \
22813 -z "$ESD_LIBS" -a \
22814 -z "$ac_cv_lib_soname_jack" -a \
22815 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22816 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22817 "$ac_cv_header_soundcard_h" != "yes"
22820 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22821 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22822 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22823 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22824 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22825 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22829 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."