2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.33.
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.33'
578 PACKAGE_STRING
='Wine 0.9.33'
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
774 ac_subst_files
='MAKE_RULES
779 ac_precious_vars
='build_alias
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
864 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
867 -build |
--build |
--buil |
--bui |
--bu)
868 ac_prev
=build_alias
;;
869 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
870 build_alias
=$ac_optarg ;;
872 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
873 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
874 ac_prev
=cache_file
;;
875 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
876 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
877 cache_file
=$ac_optarg ;;
880 cache_file
=config.cache
;;
882 -datadir |
--datadir |
--datadi |
--datad)
884 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
885 datadir
=$ac_optarg ;;
887 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
888 |
--dataroo |
--dataro |
--datar)
889 ac_prev
=datarootdir
;;
890 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
891 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
892 datarootdir
=$ac_optarg ;;
894 -disable-* |
--disable-*)
895 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_
$ac_feature=no
;;
903 -docdir |
--docdir |
--docdi |
--doc |
--do)
905 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
908 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
910 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
913 -enable-* |
--enable-*)
914 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_
$ac_feature=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_
$ac_package=\
$ac_optarg ;;
1119 -without-* |
--without-*)
1120 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_
$ac_package=no
;;
1129 # Obsolete; use --with-x.
1132 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1133 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1134 ac_prev
=x_includes
;;
1135 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1136 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1137 x_includes
=$ac_optarg ;;
1139 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1140 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1141 ac_prev
=x_libraries
;;
1142 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1143 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1144 x_libraries
=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1152 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\
$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val
=\$
$ac_var
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target
=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x
; then
1201 if test "x$build_alias" = x
; then
1202 cross_compiling
=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1213 test "$silent" = yes && exec 6>/dev
/null
1216 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di
=`ls -di .` &&
1218 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted
=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir
=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted
=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var
in $ac_precious_vars; do
1281 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1283 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures Wine 0.9.33 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --x-includes=DIR X include files are
in DIR
1353 --x-libraries=DIR X library files are
in DIR
1356 --build=BUILD configure
for building on BUILD
[guessed
]
1357 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive
) echo "Configuration of Wine 0.9.33:";;
1368 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1369 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to
help
1395 it to
find libraries and programs with nonstandard names
/locations.
1397 Report bugs to
<wine-devel@winehq.org
>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1405 test -d "$ac_dir" ||
continue
1409 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1411 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1416 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir
=$ac_pwd
1420 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir
=$ac_top_build_prefix
1425 .
) # We are building in place.
1427 ac_top_srcdir
=$ac_top_builddir_sub
1428 ac_abs_top_srcdir
=$ac_pwd ;;
1429 [\\/]* | ?
:[\\/]* ) # Absolute name.
1430 ac_srcdir
=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir
=$srcdir
1432 ac_abs_top_srcdir
=$srcdir ;;
1434 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure
0.9.33
1459 generated by GNU Autoconf
2.61
1461 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1463 This configure
script is free software
; the Free Software Foundation
1464 gives unlimited permission to copy
, distribute and modify it.
1468 cat >config.log
<<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.33, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next
=false
1539 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1541 |
-silent |
--silent |
--silen |
--sile |
--sil)
1544 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true
; then
1551 ac_must_keep_next
=false
# Got value, back to normal.
1554 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1555 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1556 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1557 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next
=true
;;
1565 ac_configure_args
="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1571 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var
in $ac_subst_files
1645 eval ac_val
=\$
$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal
in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest
* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h
<<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h
<<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x
"$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE
; then
1712 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x
"$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1736 *) .
"./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted
=false
1748 for ac_var
in $ac_precious_vars; do
1749 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1750 eval ac_new_set
=\
$ac_env_${ac_var}_set
1751 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1752 eval ac_new_val
=\
$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted
=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted
=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted
=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg
=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp
='$CPP $CPPFLAGS'
1820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1826 ac_config_headers
="$ac_config_headers include/config.h"
1829 for ac_dir
in tools
"$srcdir"/tools
; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh
="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh
="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh
="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval
=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval
=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval
=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval
=$with_wine_tools;
1885 # Make sure we can run config.sub.
1886 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1887 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1888 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1889 { (exit 1); exit 1; }; }
1891 { echo "$as_me:$LINENO: checking build system type" >&5
1892 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1893 if test "${ac_cv_build+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 ac_build_alias
=$build_alias
1897 test "x$ac_build_alias" = x
&&
1898 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1899 test "x$ac_build_alias" = x
&&
1900 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1901 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1902 { (exit 1); exit 1; }; }
1903 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1904 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1905 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1906 { (exit 1); exit 1; }; }
1909 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1910 echo "${ECHO_T}$ac_cv_build" >&6; }
1911 case $ac_cv_build in
1913 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1914 echo "$as_me: error: invalid value of canonical build" >&2;}
1915 { (exit 1); exit 1; }; };;
1918 ac_save_IFS
=$IFS; IFS
='-'
1924 # Remember, the first character of IFS is used to create $*,
1925 # except with old shells:
1928 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1931 { echo "$as_me:$LINENO: checking host system type" >&5
1932 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1933 if test "${ac_cv_host+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test "x$host_alias" = x
; then
1937 ac_cv_host
=$ac_cv_build
1939 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1940 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1941 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1942 { (exit 1); exit 1; }; }
1946 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1947 echo "${ECHO_T}$ac_cv_host" >&6; }
1950 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1951 echo "$as_me: error: invalid value of canonical host" >&2;}
1952 { (exit 1); exit 1; }; };;
1955 ac_save_IFS
=$IFS; IFS
='-'
1961 # Remember, the first character of IFS is used to create $*,
1962 # except with old shells:
1965 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1970 if test "x$enable_win64" != "xyes"
1972 test -n "$CC" || CC
="gcc -m32"
1973 test -n "$LD" || LD
="ld -m elf_i386"
1974 test -n "$AS" || AS
="as --32"
1982 if test "x$enable_win16" != "xno"
1989 WIN16_FILES
="\$(WIN16_FILES)"
1991 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1993 if test "x$enable_win16" != "xyes"
2001 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2002 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&5
2004 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2005 You need to run 'make distclean' in the source tree first." >&2;}
2006 { (exit 1); exit 1; }; }
2011 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 cat >conftest.
make <<\_ACEOF
2020 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2025 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2027 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2031 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2038 SET_MAKE
="MAKE=${MAKE-make}"
2042 ac_cpp
='$CPP $CPPFLAGS'
2043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2046 if test -n "$ac_tool_prefix"; then
2047 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2048 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2051 if test "${ac_cv_prog_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$CC"; then
2055 ac_cv_prog_CC
="$CC" # Let the user override the test.
2057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir
=.
2062 for ac_exec_ext
in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 if test -n "$CC"; then
2076 { echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6; }
2079 { echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6; }
2085 if test -z "$ac_cv_prog_CC"; then
2087 # Extract the first word of "gcc", so it can be a program name with args.
2088 set dummy gcc
; ac_word
=$2
2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 if test -n "$ac_ct_CC"; then
2095 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir
=.
2102 for ac_exec_ext
in '' $ac_executable_extensions; do
2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2104 ac_cv_prog_ac_ct_CC
="gcc"
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2117 echo "${ECHO_T}$ac_ct_CC" >&6; }
2119 { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2123 if test "x$ac_ct_CC" = x
; then
2126 case $cross_compiling:$ac_tool_warned in
2128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&5
2131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2132 whose name does not start with the host triplet. If you think this
2133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2134 ac_tool_warned
=yes ;;
2142 if test -z "$CC"; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2145 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2148 if test "${ac_cv_prog_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$CC"; then
2152 ac_cv_prog_CC
="$CC" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 if test -n "$CC"; then
2173 { echo "$as_me:$LINENO: result: $CC" >&5
2174 echo "${ECHO_T}$CC" >&6; }
2176 { echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6; }
2183 if test -z "$CC"; then
2184 # Extract the first word of "cc", so it can be a program name with args.
2185 set dummy cc
; ac_word
=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$CC"; then
2192 ac_cv_prog_CC
="$CC" # Let the user override the test.
2195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir
=.
2200 for ac_exec_ext
in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2203 ac_prog_rejected
=yes
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 if test $ac_prog_rejected = yes; then
2215 # We found a bogon in the path, so make sure we never use it.
2216 set dummy
$ac_cv_prog_CC
2218 if test $# != 0; then
2219 # We chose a different compiler from the bogus one.
2220 # However, it has the same basename, so the bogon will be chosen
2221 # first if we set CC to just the basename; use the full file name.
2223 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2229 if test -n "$CC"; then
2230 { echo "$as_me:$LINENO: result: $CC" >&5
2231 echo "${ECHO_T}$CC" >&6; }
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2241 for ac_prog
in cl.exe
2243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2244 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC
="$CC" # Let the user override the test.
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 for ac_exec_ext
in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$CC"; then
2272 { echo "$as_me:$LINENO: result: $CC" >&5
2273 echo "${ECHO_T}$CC" >&6; }
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2280 test -n "$CC" && break
2283 if test -z "$CC"; then
2285 for ac_prog
in cl.exe
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy
$ac_prog; ac_word
=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir
=.
2302 for ac_exec_ext
in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_CC
="$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2317 echo "${ECHO_T}$ac_ct_CC" >&6; }
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2324 test -n "$ac_ct_CC" && break
2327 if test "x$ac_ct_CC" = x
; then
2330 case $cross_compiling:$ac_tool_warned in
2332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&5
2335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2338 ac_tool_warned
=yes ;;
2347 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: no acceptable C compiler found in \$PATH
2350 See \`config.log' for more details." >&2;}
2351 { (exit 1); exit 1; }; }
2353 # Provide some information about the compiler.
2354 echo "$as_me:$LINENO: checking for C compiler version" >&5
2355 ac_compiler
=`set X $ac_compile; echo $2`
2356 { (ac_try
="$ac_compiler --version >&5"
2358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2362 (eval "$ac_compiler --version >&5") 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366 { (ac_try="$ac_compiler -v >&5"
2368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2369 *) ac_try_echo
=$ac_try;;
2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2372 (eval "$ac_compiler -v >&5") 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }
2376 { (ac_try
="$ac_compiler -V >&5"
2378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler -V >&5") 2>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2387 cat >conftest.$ac_ext <<_ACEOF
2390 cat confdefs.h >>conftest.$ac_ext
2391 cat >>conftest.$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2407 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2408 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2409 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2411 # List of possible output files, starting from the most likely.
2412 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2413 # only as a last resort. b.out is created by i960 compilers.
2414 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2416 # The IRIX 6 linker writes into existing files which may not be
2417 # executable, retaining their permissions. Remove them first so a
2418 # subsequent execution test works.
2420 for ac_file in $ac_files
2423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2424 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2429 if { (ac_try="$ac_link_default"
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 (eval "$ac_link_default") 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2440 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2441 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2442 # so that the user can short-circuit this test for compilers unknown to
2444 for ac_file
in $ac_files ''
2446 test -f "$ac_file" ||
continue
2448 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2451 # We found the default executable, but exeext='' is most
2455 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2457 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459 # We set ac_cv_exeext here because the later test for it is not
2460 # safe: cross compilers may not add the suffix if given an `-o'
2461 # argument, so we may need to know it at that point already.
2462 # Even if this section looks crufty: it has the advantage of
2469 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2475 { echo "$as_me:$LINENO: result: $ac_file" >&5
2476 echo "${ECHO_T}$ac_file" >&6; }
2477 if test -z "$ac_file"; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.
$ac_ext >&5
2481 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: C compiler cannot create executables
2484 See \`config.log' for more details." >&2;}
2485 { (exit 77); exit 77; }; }
2488 ac_exeext
=$ac_cv_exeext
2490 # Check that the compiler produces executables we can run. If not, either
2491 # the compiler is broken, or we cross compile.
2492 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2493 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2494 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2495 # If not cross compiling, check that we can run a simple program.
2496 if test "$cross_compiling" != yes; then
2497 if { ac_try
='./$ac_file'
2498 { (case "(($ac_try" in
2499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503 (eval "$ac_try") 2>&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 if test "$cross_compiling" = maybe; then
2512 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details.
" >&5
2515 echo "$as_me: error
: cannot run C compiled programs.
2516 If you meant to cross compile
, use \
`--host'.
2517 See \`config.log
' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2522 { echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6; }
2525 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2526 ac_clean_files=$ac_clean_files_save
2527 # Check that the compiler produces executables we can run. If not, either
2528 # the compiler is broken, or we cross compile.
2529 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2530 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2531 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2532 echo "${ECHO_T}$cross_compiling" >&6; }
2534 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2535 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2536 if { (ac_try="$ac_link"
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542 (eval "$ac_link") 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2547 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2548 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2550 for ac_file
in conftest.exe conftest conftest.
*; do
2551 test -f "$ac_file" ||
continue
2553 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2554 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest
$ac_cv_exeext
2568 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2571 rm -f conftest.
$ac_ext
2572 EXEEXT
=$ac_cv_exeext
2574 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2575 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2576 if test "${ac_cv_objext+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 cat >conftest.
$ac_ext <<_ACEOF
2582 cat confdefs.h
>>conftest.
$ac_ext
2583 cat >>conftest.
$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2594 rm -f conftest.o conftest.obj
2595 if { (ac_try
="$ac_compile"
2597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; then
2605 for ac_file in conftest.o conftest.obj conftest.*; do
2606 test -f "$ac_file" || continue;
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log
' for more details." >&5
2619 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2620 See \`config.log' for more details.
" >&2;}
2621 { (exit 1); exit 1; }; }
2624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2626 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2627 echo "${ECHO_T}$ac_cv_objext" >&6; }
2628 OBJEXT=$ac_cv_objext
2630 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2631 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2632 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2633 echo $ECHO_N "(cached
) $ECHO_C" >&6
2635 cat >conftest.$ac_ext <<_ACEOF
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2653 rm -f conftest.$ac_objext
2654 if { (ac_try="$ac_compile"
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_compile") 2>conftest.er1
2662 grep -v '^ *+' conftest.er1 >conftest.err
2664 cat conftest.err >&5
2665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2666 (exit $ac_status); } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext; then
2672 echo "$as_me: failed program was
:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2688 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached
) $ECHO_C" >&6
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then
2730 echo "$as_me: failed program was
:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2758 grep -v '^ *+' conftest.er1 >conftest.err
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_c_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then
2768 echo "$as_me: failed program was
:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_c_werror_flag=$ac_save_c_werror_flag
2773 cat >conftest.$ac_ext <<_ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2788 rm -f conftest.$ac_objext
2789 if { (ac_try="$ac_compile"
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then
2807 echo "$as_me: failed program was
:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 ac_c_werror_flag=$ac_save_c_werror_flag
2822 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2824 if test "$ac_test_CFLAGS" = set; then
2825 CFLAGS=$ac_save_CFLAGS
2826 elif test $ac_cv_prog_cc_g = yes; then
2827 if test "$GCC" = yes; then
2833 if test "$GCC" = yes; then
2839 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2840 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2841 if test "${ac_cv_prog_cc_c89+set}" = set; then
2842 echo $ECHO_N "(cached
) $ECHO_C" >&6
2844 ac_cv_prog_cc_c89=no
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2854 #include <sys/types.h>
2855 #include <sys/stat.h>
2856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2857 struct buf { int x; };
2858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2859 static char *e (p, i)
2865 static char *f (char * (*g) (char **, int), char **p, ...)
2870 s = g (p, va_arg (v,int));
2875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2876 function prototypes and stuff, but not '\xHH' hex character constants.
2877 These don't provoke an error unfortunately, instead are silently treated
2878 as 'x'. The following induces an error, until -std is added to get
2879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2880 array size at least. It's necessary to write '\x00'==0 to get something
2881 that's true only with -std. */
2882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2885 inside strings and character constants. */
2887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2889 int test (int i, double x);
2890 struct s1 {int (*f) (int a);};
2891 struct s2 {int (*f) (double a);};
2892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2906 CC="$ac_save_CC $ac_arg"
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2916 grep -v '^ *+' conftest.er1 >conftest.err
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then
2924 ac_cv_prog_cc_c89=$ac_arg
2926 echo "$as_me: failed program was
:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2932 rm -f core conftest.err conftest.$ac_objext
2933 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2935 rm -f conftest.$ac_ext
2940 case "x
$ac_cv_prog_cc_c89" in
2942 { echo "$as_me:$LINENO: result
: none needed
" >&5
2943 echo "${ECHO_T}none needed
" >&6; } ;;
2945 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2946 echo "${ECHO_T}unsupported
" >&6; } ;;
2948 CC="$CC $ac_cv_prog_cc_c89"
2949 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2950 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961 ac_cpp='$CXXCPP $CPPFLAGS'
2962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2965 if test -z "$CXX"; then
2966 if test -n "$CCC"; then
2969 if test -n "$ac_tool_prefix"; then
2970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2974 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2975 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2976 if test "${ac_cv_prog_CXX+set}" = set; then
2977 echo $ECHO_N "(cached
) $ECHO_C" >&6
2979 if test -n "$CXX"; then
2980 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2990 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3000 if test -n "$CXX"; then
3001 { echo "$as_me:$LINENO: result
: $CXX" >&5
3002 echo "${ECHO_T}$CXX" >&6; }
3004 { echo "$as_me:$LINENO: result
: no
" >&5
3005 echo "${ECHO_T}no
" >&6; }
3009 test -n "$CXX" && break
3012 if test -z "$CXX"; then
3014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3016 # Extract the first word of "$ac_prog", so it can be a program name with args.
3017 set dummy $ac_prog; ac_word=$2
3018 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3019 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3020 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3021 echo $ECHO_N "(cached
) $ECHO_C" >&6
3023 if test -n "$ac_ct_CXX"; then
3024 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_ac_ct_CXX="$ac_prog"
3034 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3044 if test -n "$ac_ct_CXX"; then
3045 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3046 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3048 { echo "$as_me:$LINENO: result
: no
" >&5
3049 echo "${ECHO_T}no
" >&6; }
3053 test -n "$ac_ct_CXX" && break
3056 if test "x
$ac_ct_CXX" = x; then
3059 case $cross_compiling:$ac_tool_warned in
3061 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3062 whose name does not start with the
host triplet. If you think this
3063 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3064 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3065 whose name does not start with the
host triplet. If you think this
3066 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3067 ac_tool_warned=yes ;;
3075 # Provide some information about the compiler.
3076 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (ac_try="$ac_compiler --version >&5"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compiler --version >&5") 2>&5
3086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3087 (exit $ac_status); }
3088 { (ac_try="$ac_compiler -v >&5"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compiler -v >&5") 2>&5
3096 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3097 (exit $ac_status); }
3098 { (ac_try="$ac_compiler -V >&5"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compiler -V >&5") 2>&5
3106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3107 (exit $ac_status); }
3109 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached
) $ECHO_C" >&6
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_cxx_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3151 echo "$as_me: failed program was
:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3161 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3163 GXX=`test $ac_compiler_gnu = yes && echo yes`
3164 ac_test_CXXFLAGS=${CXXFLAGS+set}
3165 ac_save_CXXFLAGS=$CXXFLAGS
3166 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3167 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3168 if test "${ac_cv_prog_cxx_g+set}" = set; then
3169 echo $ECHO_N "(cached
) $ECHO_C" >&6
3171 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3172 ac_cxx_werror_flag=yes
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_cxx_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3207 ac_cv_prog_cxx_g=yes
3209 echo "$as_me: failed program was
:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3213 cat >conftest.$ac_ext <<_ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_compile") 2>conftest.er1
3237 grep -v '^ *+' conftest.er1 >conftest.err
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3241 (exit $ac_status); } && {
3242 test -z "$ac_cxx_werror_flag" ||
3243 test ! -s conftest.err
3244 } && test -s conftest.$ac_objext; then
3247 echo "$as_me: failed program was
:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3252 cat >conftest.$ac_ext <<_ACEOF
3255 cat confdefs.h >>conftest.$ac_ext
3256 cat >>conftest.$ac_ext <<_ACEOF
3257 /* end confdefs.h. */
3267 rm -f conftest.$ac_objext
3268 if { (ac_try="$ac_compile"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3274 (eval "$ac_compile") 2>conftest.er1
3276 grep -v '^ *+' conftest.er1 >conftest.err
3278 cat conftest.err >&5
3279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3280 (exit $ac_status); } && {
3281 test -z "$ac_cxx_werror_flag" ||
3282 test ! -s conftest.err
3283 } && test -s conftest.$ac_objext; then
3284 ac_cv_prog_cxx_g=yes
3286 echo "$as_me: failed program was
:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3301 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3302 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3303 if test "$ac_test_CXXFLAGS" = set; then
3304 CXXFLAGS=$ac_save_CXXFLAGS
3305 elif test $ac_cv_prog_cxx_g = yes; then
3306 if test "$GXX" = yes; then
3312 if test "$GXX" = yes; then
3319 ac_cpp='$CPP $CPPFLAGS'
3320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3327 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3328 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3329 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3330 echo $ECHO_N "(cached
) $ECHO_C" >&6
3332 if test -n "$CPPBIN"; then
3333 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3343 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3352 CPPBIN=$ac_cv_prog_CPPBIN
3353 if test -n "$CPPBIN"; then
3354 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3355 echo "${ECHO_T}$CPPBIN" >&6; }
3357 { echo "$as_me:$LINENO: result
: no
" >&5
3358 echo "${ECHO_T}no
" >&6; }
3363 if test -z "$ac_cv_prog_CPPBIN"; then
3364 ac_ct_CPPBIN=$CPPBIN
3365 # Extract the first word of "cpp
", so it can be a program name with args.
3366 set dummy cpp; ac_word=$2
3367 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3369 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3370 echo $ECHO_N "(cached
) $ECHO_C" >&6
3372 if test -n "$ac_ct_CPPBIN"; then
3373 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3383 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3393 if test -n "$ac_ct_CPPBIN"; then
3394 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3395 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3397 { echo "$as_me:$LINENO: result
: no
" >&5
3398 echo "${ECHO_T}no
" >&6; }
3401 if test "x
$ac_ct_CPPBIN" = x; then
3404 case $cross_compiling:$ac_tool_warned in
3406 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3407 whose name does not start with the
host triplet. If you think this
3408 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3409 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3410 whose name does not start with the
host triplet. If you think this
3411 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3412 ac_tool_warned=yes ;;
3414 CPPBIN=$ac_ct_CPPBIN
3417 CPPBIN="$ac_cv_prog_CPPBIN"
3421 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3422 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3423 if test "${wine_cv_toolsdir+set}" = set; then
3424 echo $ECHO_N "(cached
) $ECHO_C" >&6
3426 if test -z "$with_wine_tools"; then
3427 if test "$cross_compiling" = "yes"; then
3428 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3429 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3430 { (exit 1); exit 1; }; }
3432 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3434 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3435 case $with_wine_tools in
3436 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3437 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3440 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3441 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3442 { (exit 1); exit 1; }; }
3445 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3446 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3447 TOOLSDIR=$wine_cv_toolsdir
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3457 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3458 # On Suns, sometimes $CPP names a directory.
3459 if test -n "$CPP" && test -d "$CPP"; then
3462 if test -z "$CPP"; then
3463 if test "${ac_cv_prog_CPP+set}" = set; then
3464 echo $ECHO_N "(cached
) $ECHO_C" >&6
3466 # Double quotes because CPP needs to be expanded
3467 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3470 for ac_c_preproc_warn_flag in '' yes
3472 # Use a header file that comes with gcc, so configuring glibc
3473 # with a fresh cross-compiler works.
3474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3475 # <limits.h> exists even on freestanding compilers.
3476 # On the NeXT, cc -E runs the code through the compiler's parser,
3477 # not just through cpp. "Syntax error
" is here to catch this case.
3478 cat >conftest.$ac_ext <<_ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3485 # include <limits.h>
3487 # include <assert.h>
3491 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3497 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3499 grep -v '^ *+' conftest.er1 >conftest.err
3501 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3503 (exit $ac_status); } >/dev/null && {
3504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3505 test ! -s conftest.err
3509 echo "$as_me: failed program was
:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 # Broken: fails on valid input.
3516 rm -f conftest.err conftest.$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat >conftest.$ac_ext <<_ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3528 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3540 (exit $ac_status); } >/dev/null && {
3541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3544 # Broken: success on invalid input.
3547 echo "$as_me: failed program was
:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 # Passes both tests.
3555 rm -f conftest.err conftest.$ac_ext
3558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3559 rm -f conftest.err conftest.$ac_ext
3560 if $ac_preproc_ok; then
3572 { echo "$as_me:$LINENO: result
: $CPP" >&5
3573 echo "${ECHO_T}$CPP" >&6; }
3575 for ac_c_preproc_warn_flag in '' yes
3577 # Use a header file that comes with gcc, so configuring glibc
3578 # with a fresh cross-compiler works.
3579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3580 # <limits.h> exists even on freestanding compilers.
3581 # On the NeXT, cc -E runs the code through the compiler's parser,
3582 # not just through cpp. "Syntax error
" is here to catch this case.
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 # include <limits.h>
3592 # include <assert.h>
3596 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3602 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3604 grep -v '^ *+' conftest.er1 >conftest.err
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3608 (exit $ac_status); } >/dev/null && {
3609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3614 echo "$as_me: failed program was
:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 # Broken: fails on valid input.
3621 rm -f conftest.err conftest.$ac_ext
3623 # OK, works on sane cases. Now check whether nonexistent headers
3624 # can be detected and how.
3625 cat >conftest.$ac_ext <<_ACEOF
3628 cat confdefs.h >>conftest.$ac_ext
3629 cat >>conftest.$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3631 #include <ac_nonexistent.h>
3633 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3639 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3641 grep -v '^ *+' conftest.er1 >conftest.err
3643 cat conftest.err >&5
3644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3645 (exit $ac_status); } >/dev/null && {
3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3647 test ! -s conftest.err
3649 # Broken: success on invalid input.
3652 echo "$as_me: failed program was
:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Passes both tests.
3660 rm -f conftest.err conftest.$ac_ext
3663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3664 rm -f conftest.err conftest.$ac_ext
3665 if $ac_preproc_ok; then
3668 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3669 See \
`config.log' for more details." >&5
3670 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3671 See \`config.log
' for more details." >&2;}
3672 { (exit 1); exit 1; }; }
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3678 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 { echo "$as_me:$LINENO: checking for X" >&5
3683 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3686 # Check whether --with-x was given.
3687 if test "${with_x+set}" = set; then
3691 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3692 if test "x$with_x" = xno; then
3693 # The user explicitly disabled X.
3696 case $x_includes,$x_libraries in #(
3697 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3698 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3699 { (exit 1); exit 1; }; };; #(
3700 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 # One or both of the vars are not set, and there is no cached value.
3704 ac_x_includes=no ac_x_libraries=no
3705 rm -f -r conftest.dir
3706 if mkdir conftest.dir; then
3708 cat >Imakefile <<'_ACEOF'
3710 @echo incroot='${INCROOT}'
3712 @echo usrlibdir='${USRLIBDIR}'
3714 @echo libdir='${LIBDIR}'
3716 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3718 for ac_var in incroot usrlibdir libdir; do
3719 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3721 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3722 for ac_extension in a so sl; do
3723 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3724 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3725 ac_im_usrlibdir=$ac_im_libdir; break
3728 # Screen out bogus values from the imake configuration. They are
3729 # bogus both because they are the default anyway, and because
3730 # using them would break gcc on systems where it needs fixed includes.
3731 case $ac_im_incroot in
3732 /usr/include) ac_x_includes= ;;
3733 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3735 case $ac_im_usrlibdir in
3737 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3741 rm -f -r conftest.dir
3744 # Standard set of common directories for X headers.
3745 # Check X11 before X11Rn because it is often a symlink to the current release.
3757 /usr
/local
/X11
/include
3758 /usr
/local
/X11R
6/include
3759 /usr
/local
/X11R
5/include
3760 /usr
/local
/X11R
4/include
3762 /usr
/local
/include
/X11
3763 /usr
/local
/include
/X11R6
3764 /usr
/local
/include
/X11R5
3765 /usr
/local
/include
/X11R4
3769 /usr
/XFree86
/include
/X11
3773 /usr
/unsupported
/include
3775 /usr
/local
/x11r
5/include
3776 /usr
/lpp
/Xamples
/include
3778 /usr
/openwin
/include
3779 /usr
/openwin
/share
/include
'
3781 if test "$ac_x_includes" = no; then
3782 # Guess where to find include files, by looking for Xlib.h.
3783 # First, try using that file with no special directory specified.
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <X11/Xlib.h>
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3800 grep -v '^
*+' conftest.er1 >conftest.err
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3808 # We can compile using X headers with no special include directory.
3811 echo "$as_me: failed program was:" >&5
3812 sed 's
/^
/|
/' conftest.$ac_ext >&5
3814 for ac_dir in $ac_x_header_dirs; do
3815 if test -r "$ac_dir/X11/Xlib.h"; then
3816 ac_x_includes=$ac_dir
3822 rm -f conftest.err conftest.$ac_ext
3823 fi # $ac_x_includes = no
3825 if test "$ac_x_libraries" = no; then
3826 # Check for the libraries.
3827 # See if we find them without any special options.
3828 # Don't add to
$LIBS permanently.
3831 cat >conftest.
$ac_ext <<_ACEOF
3834 cat confdefs.h
>>conftest.
$ac_ext
3835 cat >>conftest.
$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3837 #include <X11/Xlib.h>
3846 rm -f conftest.
$ac_objext conftest
$ac_exeext
3847 if { (ac_try
="$ac_link"
3849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853 (eval "$ac_link") 2>conftest.er1
3855 grep -v '^ *+' conftest.er1 >conftest.err
3857 cat conftest.err >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } && {
3860 test -z "$ac_c_werror_flag" ||
3861 test ! -s conftest.err
3862 } && test -s conftest$ac_exeext &&
3863 $as_test_x conftest$ac_exeext; then
3865 # We can link X programs with no special library path.
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3872 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3874 # Don't even attempt the hair of trying to link an X program!
3875 for ac_extension in a so sl; do
3876 if test -r "$ac_dir/libX11.$ac_extension"; then
3877 ac_x_libraries=$ac_dir
3884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3885 conftest$ac_exeext conftest.$ac_ext
3886 fi # $ac_x_libraries = no
3888 case $ac_x_includes,$ac_x_libraries in #(
3890 # Didn't find X, or a directory has "'" in its name.
3891 ac_cv_have_x="have_x=no";; #(
3893 # Record where we found X for the cache.
3894 ac_cv_have_x="have_x=yes\
3895 ac_x_includes='$ac_x_includes'\
3896 ac_x_libraries='$ac_x_libraries'"
3902 eval "$ac_cv_have_x"
3905 if test "$have_x" != yes; then
3906 { echo "$as_me:$LINENO: result: $have_x" >&5
3907 echo "${ECHO_T}$have_x" >&6; }
3910 # If each of the values was on the command line, it overrides each guess.
3911 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3912 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3913 # Update the cache value to reflect the command line values.
3914 ac_cv_have_x="have_x=yes\
3915 ac_x_includes='$x_includes'\
3916 ac_x_libraries='$x_libraries'"
3917 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3918 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3921 if test "$no_x" = yes; then
3922 # Not all programs may use this symbol, but it does not hurt to define it.
3924 cat >>confdefs.h <<\_ACEOF
3925 #define X_DISPLAY_MISSING 1
3928 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3930 if test -n "$x_includes"; then
3931 X_CFLAGS="$X_CFLAGS -I$x_includes"
3934 # It would also be nice to do this for all -L options, not just this one.
3935 if test -n "$x_libraries"; then
3936 X_LIBS="$X_LIBS -L$x_libraries"
3937 # For Solaris; some versions of Sun CC require a space after -R and
3938 # others require no space. Words are not sufficient . . . .
3939 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3940 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3941 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3942 ac_xsave_c_werror_flag=$ac_c_werror_flag
3943 ac_c_werror_flag=yes
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3959 rm -f conftest.$ac_objext conftest$ac_exeext
3960 if { (ac_try="$ac_link"
3962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3963 *) ac_try_echo
=$ac_try;;
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_link") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1
>conftest.err
3970 cat conftest.err
>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest
$ac_exeext &&
3976 $as_test_x conftest
$ac_exeext; then
3977 { echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6; }
3979 X_LIBS
="$X_LIBS -R$x_libraries"
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.
$ac_ext >&5
3984 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3985 cat >conftest.
$ac_ext <<_ACEOF
3988 cat confdefs.h
>>conftest.
$ac_ext
3989 cat >>conftest.
$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
4000 rm -f conftest.
$ac_objext conftest
$ac_exeext
4001 if { (ac_try
="$ac_link"
4003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007 (eval "$ac_link") 2>conftest.er1
4009 grep -v '^ *+' conftest.er1 >conftest.err
4011 cat conftest.err >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && {
4014 test -z "$ac_c_werror_flag" ||
4015 test ! -s conftest.err
4016 } && test -s conftest$ac_exeext &&
4017 $as_test_x conftest$ac_exeext; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 X_LIBS="$X_LIBS -R $x_libraries"
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 { echo "$as_me:$LINENO: result: neither works" >&5
4026 echo "${ECHO_T}neither works" >&6; }
4029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4030 conftest$ac_exeext conftest.$ac_ext
4033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034 conftest$ac_exeext conftest.$ac_ext
4035 ac_c_werror_flag=$ac_xsave_c_werror_flag
4039 # Check for system-dependent libraries X programs must link with.
4040 # Do this before checking for the system-independent R6 libraries
4041 # (-lICE), since we may need -lsocket or whatever for X linking.
4043 if test "$ISC" = yes; then
4044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4046 # Martyn Johnson says this is needed for Ultrix, if the X
4047 # libraries were built with DECnet support. And Karl Berry says
4048 # the Alpha needs dnet_stub (dnet does not exist).
4049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4050 cat >conftest.$ac_ext <<_ACEOF
4053 cat confdefs.h >>conftest.$ac_ext
4054 cat >>conftest.$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4057 /* Override any GCC internal prototype to avoid an error.
4058 Use char because int might match the return type of a GCC
4059 builtin and then its argument prototype would still apply. */
4063 char XOpenDisplay ();
4067 return XOpenDisplay ();
4072 rm -f conftest.$ac_objext conftest$ac_exeext
4073 if { (ac_try="$ac_link"
4075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4076 *) ac_try_echo
=$ac_try;;
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_link") 2>conftest.er1
4081 grep -v '^ *+' conftest.er1
>conftest.err
4083 cat conftest.err
>&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } && {
4086 test -z "$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 } && test -s conftest
$ac_exeext &&
4089 $as_test_x conftest
$ac_exeext; then
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.
$ac_ext >&5
4095 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4096 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4097 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 ac_check_lib_save_LIBS
=$LIBS
4102 cat >conftest.
$ac_ext <<_ACEOF
4105 cat confdefs.h
>>conftest.
$ac_ext
4106 cat >>conftest.
$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4109 /* Override any GCC internal prototype to avoid an error.
4110 Use char because int might match the return type of a GCC
4111 builtin and then its argument prototype would still apply. */
4119 return dnet_ntoa ();
4124 rm -f conftest.
$ac_objext conftest
$ac_exeext
4125 if { (ac_try
="$ac_link"
4127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_link") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest$ac_exeext &&
4141 $as_test_x conftest$ac_exeext; then
4142 ac_cv_lib_dnet_dnet_ntoa=yes
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 ac_cv_lib_dnet_dnet_ntoa=no
4150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4151 conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4154 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4157 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4160 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4161 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 ac_check_lib_save_LIBS=$LIBS
4167 LIBS="-ldnet_stub $LIBS"
4168 cat >conftest.$ac_ext <<_ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4175 /* Override any GCC internal prototype to avoid an error.
4176 Use char because int might match the return type of a GCC
4177 builtin and then its argument prototype would still apply. */
4185 return dnet_ntoa ();
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4194 *) ac_try_echo
=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1
>conftest.err
4201 cat conftest.err
>&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest
$ac_exeext &&
4207 $as_test_x conftest
$ac_exeext; then
4208 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.
$ac_ext >&5
4213 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4216 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4217 conftest
$ac_exeext conftest.
$ac_ext
4218 LIBS
=$ac_check_lib_save_LIBS
4220 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4221 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4222 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4223 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4229 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4230 conftest
$ac_exeext conftest.
$ac_ext
4231 LIBS
="$ac_xsave_LIBS"
4233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4234 # to get the SysV transport functions.
4235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4237 # The nsl library prevents programs from opening the X display
4238 # on Irix 5.2, according to T.E. Dickey.
4239 # The functions gethostbyname, getservbyname, and inet_addr are
4240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4241 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4242 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4243 if test "${ac_cv_func_gethostbyname+set}" = set; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4246 cat >conftest.
$ac_ext <<_ACEOF
4249 cat confdefs.h
>>conftest.
$ac_ext
4250 cat >>conftest.
$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4254 #define gethostbyname innocuous_gethostbyname
4256 /* System header to define __stub macros and hopefully few prototypes,
4257 which can conflict with char gethostbyname (); below.
4258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4259 <limits.h> exists even on freestanding compilers. */
4262 # include <limits.h>
4264 # include <assert.h>
4267 #undef gethostbyname
4269 /* Override any GCC internal prototype to avoid an error.
4270 Use char because int might match the return type of a GCC
4271 builtin and then its argument prototype would still apply. */
4275 char gethostbyname ();
4276 /* The GNU C library defines this for functions which it implements
4277 to always fail with ENOSYS. Some functions are actually named
4278 something starting with __ and the normal name is an alias. */
4279 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4286 return gethostbyname ();
4291 rm -f conftest.
$ac_objext conftest
$ac_exeext
4292 if { (ac_try
="$ac_link"
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } && {
4305 test -z "$ac_c_werror_flag" ||
4306 test ! -s conftest.err
4307 } && test -s conftest$ac_exeext &&
4308 $as_test_x conftest$ac_exeext; then
4309 ac_cv_func_gethostbyname=yes
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 ac_cv_func_gethostbyname=no
4317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4318 conftest$ac_exeext conftest.$ac_ext
4320 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4321 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4323 if test $ac_cv_func_gethostbyname = no; then
4324 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4325 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 ac_check_lib_save_LIBS=$LIBS
4331 cat >conftest.$ac_ext <<_ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4344 char gethostbyname ();
4348 return gethostbyname ();
4353 rm -f conftest.$ac_objext conftest$ac_exeext
4354 if { (ac_try="$ac_link"
4356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4357 *) ac_try_echo
=$ac_try;;
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4362 grep -v '^ *+' conftest.er1
>conftest.err
4364 cat conftest.err
>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } && {
4367 test -z "$ac_c_werror_flag" ||
4368 test ! -s conftest.err
4369 } && test -s conftest
$ac_exeext &&
4370 $as_test_x conftest
$ac_exeext; then
4371 ac_cv_lib_nsl_gethostbyname
=yes
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4376 ac_cv_lib_nsl_gethostbyname
=no
4379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4380 conftest
$ac_exeext conftest.
$ac_ext
4381 LIBS
=$ac_check_lib_save_LIBS
4383 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4384 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4385 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4386 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4389 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4390 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4391 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4392 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 ac_check_lib_save_LIBS
=$LIBS
4397 cat >conftest.
$ac_ext <<_ACEOF
4400 cat confdefs.h
>>conftest.
$ac_ext
4401 cat >>conftest.
$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4404 /* Override any GCC internal prototype to avoid an error.
4405 Use char because int might match the return type of a GCC
4406 builtin and then its argument prototype would still apply. */
4410 char gethostbyname ();
4414 return gethostbyname ();
4419 rm -f conftest.
$ac_objext conftest
$ac_exeext
4420 if { (ac_try
="$ac_link"
4422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4426 (eval "$ac_link") 2>conftest.er1
4428 grep -v '^ *+' conftest.er1 >conftest.err
4430 cat conftest.err >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } && {
4433 test -z "$ac_c_werror_flag" ||
4434 test ! -s conftest.err
4435 } && test -s conftest$ac_exeext &&
4436 $as_test_x conftest$ac_exeext; then
4437 ac_cv_lib_bsd_gethostbyname=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 ac_cv_lib_bsd_gethostbyname=no
4445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4446 conftest$ac_exeext conftest.$ac_ext
4447 LIBS=$ac_check_lib_save_LIBS
4449 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4450 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4451 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4458 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4459 # socket/setsockopt and other routines are undefined under SCO ODT
4460 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4461 # on later versions), says Simon Leinen: it contains gethostby*
4462 # variants that don't use the name server (or something). -lsocket
4463 # must be given before -lnsl if both are needed. We assume that
4464 # if connect needs -lnsl, so does gethostbyname.
4465 { echo "$as_me:$LINENO: checking for connect" >&5
4466 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_connect+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 cat >conftest.$ac_ext <<_ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define connect innocuous_connect
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char connect (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4486 # include <limits.h>
4488 # include <assert.h>
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_connect || defined __stub___connect
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4519 *) ac_try_echo
=$ac_try;;
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4524 grep -v '^ *+' conftest.er1
>conftest.err
4526 cat conftest.err
>&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest
$ac_exeext &&
4532 $as_test_x conftest
$ac_exeext; then
4533 ac_cv_func_connect
=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.
$ac_ext >&5
4538 ac_cv_func_connect
=no
4541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4542 conftest
$ac_exeext conftest.
$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4545 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4547 if test $ac_cv_func_connect = no
; then
4548 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4549 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_socket_connect+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_check_lib_save_LIBS
=$LIBS
4554 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4555 cat >conftest.
$ac_ext <<_ACEOF
4558 cat confdefs.h
>>conftest.
$ac_ext
4559 cat >>conftest.
$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4577 rm -f conftest.
$ac_objext conftest
$ac_exeext
4578 if { (ac_try
="$ac_link"
4580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_socket_connect=yes
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_socket_connect=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4608 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4609 if test $ac_cv_lib_socket_connect = yes; then
4610 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4615 # Guillermo Gomez says -lposix is necessary on A/UX.
4616 { echo "$as_me:$LINENO: checking for remove" >&5
4617 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4618 if test "${ac_cv_func_remove+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4629 #define remove innocuous_remove
4631 /* System header to define __stub macros and hopefully few prototypes,
4632 which can conflict with char remove (); below.
4633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4634 <limits.h> exists even on freestanding compilers. */
4637 # include <limits.h>
4639 # include <assert.h>
4644 /* Override any GCC internal prototype to avoid an error.
4645 Use char because int might match the return type of a GCC
4646 builtin and then its argument prototype would still apply. */
4651 /* The GNU C library defines this for functions which it implements
4652 to always fail with ENOSYS. Some functions are actually named
4653 something starting with __ and the normal name is an alias. */
4654 #if defined __stub_remove || defined __stub___remove
4666 rm -f conftest.$ac_objext conftest$ac_exeext
4667 if { (ac_try="$ac_link"
4669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4670 *) ac_try_echo
=$ac_try;;
4672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4673 (eval "$ac_link") 2>conftest.er1
4675 grep -v '^ *+' conftest.er1
>conftest.err
4677 cat conftest.err
>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } && {
4680 test -z "$ac_c_werror_flag" ||
4681 test ! -s conftest.err
4682 } && test -s conftest
$ac_exeext &&
4683 $as_test_x conftest
$ac_exeext; then
4684 ac_cv_func_remove
=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.
$ac_ext >&5
4689 ac_cv_func_remove
=no
4692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4693 conftest
$ac_exeext conftest.
$ac_ext
4695 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4696 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4698 if test $ac_cv_func_remove = no
; then
4699 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4700 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4701 if test "${ac_cv_lib_posix_remove+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 ac_check_lib_save_LIBS
=$LIBS
4705 LIBS
="-lposix $LIBS"
4706 cat >conftest.
$ac_ext <<_ACEOF
4709 cat confdefs.h
>>conftest.
$ac_ext
4710 cat >>conftest.
$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4713 /* Override any GCC internal prototype to avoid an error.
4714 Use char because int might match the return type of a GCC
4715 builtin and then its argument prototype would still apply. */
4728 rm -f conftest.
$ac_objext conftest
$ac_exeext
4729 if { (ac_try
="$ac_link"
4731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4732 *) ac_try_echo=$ac_try;;
4734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4735 (eval "$ac_link") 2>conftest.er1
4737 grep -v '^ *+' conftest.er1 >conftest.err
4739 cat conftest.err >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } && {
4742 test -z "$ac_c_werror_flag" ||
4743 test ! -s conftest.err
4744 } && test -s conftest$ac_exeext &&
4745 $as_test_x conftest$ac_exeext; then
4746 ac_cv_lib_posix_remove=yes
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_posix_remove=no
4754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4759 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4760 if test $ac_cv_lib_posix_remove = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4766 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4767 { echo "$as_me:$LINENO: checking for shmat" >&5
4768 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4769 if test "${ac_cv_func_shmat+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 cat >conftest.$ac_ext <<_ACEOF
4775 cat confdefs.h >>conftest.$ac_ext
4776 cat >>conftest.$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4780 #define shmat innocuous_shmat
4782 /* System header to define __stub macros and hopefully few prototypes,
4783 which can conflict with char shmat (); below.
4784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4785 <limits.h> exists even on freestanding compilers. */
4788 # include <limits.h>
4790 # include <assert.h>
4795 /* Override any GCC internal prototype to avoid an error.
4796 Use char because int might match the return type of a GCC
4797 builtin and then its argument prototype would still apply. */
4802 /* The GNU C library defines this for functions which it implements
4803 to always fail with ENOSYS. Some functions are actually named
4804 something starting with __ and the normal name is an alias. */
4805 #if defined __stub_shmat || defined __stub___shmat
4817 rm -f conftest.$ac_objext conftest$ac_exeext
4818 if { (ac_try="$ac_link"
4820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4821 *) ac_try_echo
=$ac_try;;
4823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4824 (eval "$ac_link") 2>conftest.er1
4826 grep -v '^ *+' conftest.er1
>conftest.err
4828 cat conftest.err
>&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } && {
4831 test -z "$ac_c_werror_flag" ||
4832 test ! -s conftest.err
4833 } && test -s conftest
$ac_exeext &&
4834 $as_test_x conftest
$ac_exeext; then
4835 ac_cv_func_shmat
=yes
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.
$ac_ext >&5
4843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4844 conftest
$ac_exeext conftest.
$ac_ext
4846 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4847 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4849 if test $ac_cv_func_shmat = no
; then
4850 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4851 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4852 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 ac_check_lib_save_LIBS
=$LIBS
4857 cat >conftest.
$ac_ext <<_ACEOF
4860 cat confdefs.h
>>conftest.
$ac_ext
4861 cat >>conftest.
$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4864 /* Override any GCC internal prototype to avoid an error.
4865 Use char because int might match the return type of a GCC
4866 builtin and then its argument prototype would still apply. */
4879 rm -f conftest.
$ac_objext conftest
$ac_exeext
4880 if { (ac_try
="$ac_link"
4882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;;
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886 (eval "$ac_link") 2>conftest.er1
4888 grep -v '^ *+' conftest.er1 >conftest.err
4890 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } && {
4893 test -z "$ac_c_werror_flag" ||
4894 test ! -s conftest.err
4895 } && test -s conftest$ac_exeext &&
4896 $as_test_x conftest$ac_exeext; then
4897 ac_cv_lib_ipc_shmat=yes
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.$ac_ext >&5
4902 ac_cv_lib_ipc_shmat=no
4905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4906 conftest$ac_exeext conftest.$ac_ext
4907 LIBS=$ac_check_lib_save_LIBS
4909 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4910 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4911 if test $ac_cv_lib_ipc_shmat = yes; then
4912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4918 # Check for libraries that X11R6 Xt/Xaw programs need.
4919 ac_save_LDFLAGS=$LDFLAGS
4920 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4921 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4922 # check for ICE first), but we must link in the order -lSM -lICE or
4923 # we get undefined symbols. So assume we have SM if we have ICE.
4924 # These have to be linked with before -lX11, unlike the other
4925 # libraries we check for below, so use a different variable.
4926 # John Interrante, Karl Berry
4927 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4928 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4929 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 ac_check_lib_save_LIBS=$LIBS
4933 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4934 cat >conftest.$ac_ext <<_ACEOF
4937 cat confdefs.h >>conftest.$ac_ext
4938 cat >>conftest.$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4941 /* Override any GCC internal prototype to avoid an error.
4942 Use char because int might match the return type of a GCC
4943 builtin and then its argument prototype would still apply. */
4947 char IceConnectionNumber ();
4951 return IceConnectionNumber ();
4956 rm -f conftest.$ac_objext conftest$ac_exeext
4957 if { (ac_try="$ac_link"
4959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4960 *) ac_try_echo
=$ac_try;;
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_link") 2>conftest.er1
4965 grep -v '^ *+' conftest.er1
>conftest.err
4967 cat conftest.err
>&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest
$ac_exeext &&
4973 $as_test_x conftest
$ac_exeext; then
4974 ac_cv_lib_ICE_IceConnectionNumber
=yes
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.
$ac_ext >&5
4979 ac_cv_lib_ICE_IceConnectionNumber
=no
4982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4983 conftest
$ac_exeext conftest.
$ac_ext
4984 LIBS
=$ac_check_lib_save_LIBS
4986 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4987 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4988 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4989 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4992 LDFLAGS
=$ac_save_LDFLAGS
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy
$ac_prog; ac_word
=$2
5001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5003 if test "${ac_cv_prog_FLEX+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 if test -n "$FLEX"; then
5007 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir
=.
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_FLEX
="$ac_prog"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 FLEX
=$ac_cv_prog_FLEX
5027 if test -n "$FLEX"; then
5028 { echo "$as_me:$LINENO: result: $FLEX" >&5
5029 echo "${ECHO_T}$FLEX" >&6; }
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5036 test -n "$FLEX" && break
5038 test -n "$FLEX" || FLEX
="none"
5040 if test "$FLEX" = "none"
5042 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5043 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5044 { (exit 1); exit 1; }; }
5047 for ac_prog
in bison
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy
$ac_prog; ac_word
=$2
5051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5053 if test "${ac_cv_prog_BISON+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 if test -n "$BISON"; then
5057 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_BISON
="$ac_prog"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 BISON
=$ac_cv_prog_BISON
5077 if test -n "$BISON"; then
5078 { echo "$as_me:$LINENO: result: $BISON" >&5
5079 echo "${ECHO_T}$BISON" >&6; }
5081 { echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6; }
5086 test -n "$BISON" && break
5088 test -n "$BISON" || BISON
="none"
5090 if test "$BISON" = "none"
5092 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5093 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5094 { (exit 1); exit 1; }; }
5097 if test -n "$ac_tool_prefix"; then
5098 for ac_prog
in gas as
5100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5104 if test "${ac_cv_prog_AS+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 if test -n "$AS"; then
5108 ac_cv_prog_AS
="$AS" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 if test -n "$AS"; then
5129 { echo "$as_me:$LINENO: result: $AS" >&5
5130 echo "${ECHO_T}$AS" >&6; }
5132 { echo "$as_me:$LINENO: result: no" >&5
5133 echo "${ECHO_T}no" >&6; }
5137 test -n "$AS" && break
5140 if test -z "$AS"; then
5142 for ac_prog
in gas as
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy
$ac_prog; ac_word
=$2
5146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5148 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 if test -n "$ac_ct_AS"; then
5152 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_AS
="$ac_prog"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5172 if test -n "$ac_ct_AS"; then
5173 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5174 echo "${ECHO_T}$ac_ct_AS" >&6; }
5176 { echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6; }
5181 test -n "$ac_ct_AS" && break
5184 if test "x$ac_ct_AS" = x
; then
5187 case $cross_compiling:$ac_tool_warned in
5189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&5
5192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5193 whose name does not start with the host triplet. If you think this
5194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5195 ac_tool_warned
=yes ;;
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5203 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5206 if test "${ac_cv_prog_LD+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 if test -n "$LD"; then
5210 ac_cv_prog_LD
="$LD" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 if test -n "$LD"; then
5231 { echo "$as_me:$LINENO: result: $LD" >&5
5232 echo "${ECHO_T}$LD" >&6; }
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5240 if test -z "$ac_cv_prog_LD"; then
5242 # Extract the first word of "ld", so it can be a program name with args.
5243 set dummy ld
; ac_word
=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$ac_ct_LD"; then
5250 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_ac_ct_LD
="ld"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5270 if test -n "$ac_ct_LD"; then
5271 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5272 echo "${ECHO_T}$ac_ct_LD" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5278 if test "x$ac_ct_LD" = x
; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&5
5286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5287 whose name does not start with the host triplet. If you think this
5288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5289 ac_tool_warned
=yes ;;
5297 if test -n "$ac_tool_prefix"; then
5298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5299 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5302 if test "${ac_cv_prog_AR+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 if test -n "$AR"; then
5306 ac_cv_prog_AR
="$AR" # Let the user override the test.
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_exec_ext
in '' $ac_executable_extensions; do
5314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5315 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 if test -n "$AR"; then
5327 { echo "$as_me:$LINENO: result: $AR" >&5
5328 echo "${ECHO_T}$AR" >&6; }
5330 { echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6; }
5336 if test -z "$ac_cv_prog_AR"; then
5338 # Extract the first word of "ar", so it can be a program name with args.
5339 set dummy
ar; ac_word
=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_AR"; then
5346 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_ac_ct_AR
="ar"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5366 if test -n "$ac_ct_AR"; then
5367 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5368 echo "${ECHO_T}$ac_ct_AR" >&6; }
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5374 if test "x$ac_ct_AR" = x
; then
5377 case $cross_compiling:$ac_tool_warned in
5379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&5
5382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5383 whose name does not start with the host triplet. If you think this
5384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5385 ac_tool_warned
=yes ;;
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5395 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5398 if test "${ac_cv_prog_RANLIB+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 if test -n "$RANLIB"; then
5402 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 RANLIB
=$ac_cv_prog_RANLIB
5422 if test -n "$RANLIB"; then
5423 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5424 echo "${ECHO_T}$RANLIB" >&6; }
5426 { echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6; }
5432 if test -z "$ac_cv_prog_RANLIB"; then
5433 ac_ct_RANLIB
=$RANLIB
5434 # Extract the first word of "ranlib", so it can be a program name with args.
5435 set dummy ranlib
; ac_word
=$2
5436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 if test -n "$ac_ct_RANLIB"; then
5442 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5462 if test -n "$ac_ct_RANLIB"; then
5463 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5464 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5466 { echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6; }
5470 if test "x$ac_ct_RANLIB" = x
; then
5473 case $cross_compiling:$ac_tool_warned in
5475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&5
5478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5479 whose name does not start with the host triplet. If you think this
5480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5481 ac_tool_warned
=yes ;;
5483 RANLIB
=$ac_ct_RANLIB
5486 RANLIB
="$ac_cv_prog_RANLIB"
5489 if test -n "$ac_tool_prefix"; then
5490 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5491 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_STRIP+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -n "$STRIP"; then
5498 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir
=.
5505 for ac_exec_ext
in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 STRIP
=$ac_cv_prog_STRIP
5518 if test -n "$STRIP"; then
5519 { echo "$as_me:$LINENO: result: $STRIP" >&5
5520 echo "${ECHO_T}$STRIP" >&6; }
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5528 if test -z "$ac_cv_prog_STRIP"; then
5530 # Extract the first word of "strip", so it can be a program name with args.
5531 set dummy strip
; ac_word
=$2
5532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5534 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 if test -n "$ac_ct_STRIP"; then
5538 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir
=.
5545 for ac_exec_ext
in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_ac_ct_STRIP
="strip"
5548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5558 if test -n "$ac_ct_STRIP"; then
5559 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5560 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5566 if test "x$ac_ct_STRIP" = x
; then
5569 case $cross_compiling:$ac_tool_warned in
5571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&5
5574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5575 whose name does not start with the host triplet. If you think this
5576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5577 ac_tool_warned
=yes ;;
5582 STRIP
="$ac_cv_prog_STRIP"
5585 if test -n "$ac_tool_prefix"; then
5586 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5587 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5590 if test "${ac_cv_prog_WINDRES+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 if test -n "$WINDRES"; then
5594 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 WINDRES
=$ac_cv_prog_WINDRES
5614 if test -n "$WINDRES"; then
5615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5616 echo "${ECHO_T}$WINDRES" >&6; }
5618 { echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6; }
5624 if test -z "$ac_cv_prog_WINDRES"; then
5625 ac_ct_WINDRES
=$WINDRES
5626 # Extract the first word of "windres", so it can be a program name with args.
5627 set dummy windres
; ac_word
=$2
5628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 if test -n "$ac_ct_WINDRES"; then
5634 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir
=.
5641 for ac_exec_ext
in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_ac_ct_WINDRES
="windres"
5644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5654 if test -n "$ac_ct_WINDRES"; then
5655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5658 { echo "$as_me:$LINENO: result: no" >&5
5659 echo "${ECHO_T}no" >&6; }
5662 if test "x$ac_ct_WINDRES" = x
; then
5665 case $cross_compiling:$ac_tool_warned in
5667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&5
5670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5671 whose name does not start with the host triplet. If you think this
5672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5673 ac_tool_warned
=yes ;;
5675 WINDRES
=$ac_ct_WINDRES
5678 WINDRES
="$ac_cv_prog_WINDRES"
5681 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5682 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5684 if test "$LN_S" = "ln -s"; then
5685 { echo "$as_me:$LINENO: result: yes" >&5
5686 echo "${ECHO_T}yes" >&6; }
5688 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5689 echo "${ECHO_T}no, using $LN_S" >&6; }
5692 { echo "$as_me:$LINENO: checking whether ln works" >&5
5693 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5694 rm -f conf$$ conf$$.
file
5696 if ln conf$$.
file conf$$
2>/dev
/null
; then
5699 { echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6; }
5704 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5705 echo "${ECHO_T}no, using $LN" >&6; }
5707 rm -f conf$$ conf$$.
file
5708 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5709 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5710 if test "${ac_cv_path_GREP+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 # Extract the first word of "grep ggrep" to use in msg output
5714 if test -z "$GREP"; then
5715 set dummy
grep ggrep
; ac_prog_name
=$2
5716 if test "${ac_cv_path_GREP+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 ac_path_GREP_found
=false
5720 # Loop through the user's path and test for each of PROGNAME-LIST
5721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5722 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5725 test -z "$as_dir" && as_dir
=.
5726 for ac_prog
in grep ggrep
; do
5727 for ac_exec_ext
in '' $ac_executable_extensions; do
5728 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5729 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5730 # Check for GNU ac_path_GREP and select it if it is found.
5731 # Check for GNU $ac_path_GREP
5732 case `"$ac_path_GREP" --version 2>&1` in
5734 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5737 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5740 cat "conftest.in" "conftest.in" >"conftest.tmp"
5741 mv "conftest.tmp" "conftest.in"
5742 cp "conftest.in" "conftest.nl"
5743 echo 'GREP' >> "conftest.nl"
5744 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5745 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5746 ac_count
=`expr $ac_count + 1`
5747 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5748 # Best one so far, save it but keep looking for a better one
5749 ac_cv_path_GREP
="$ac_path_GREP"
5750 ac_path_GREP_max
=$ac_count
5752 # 10*(2^10) chars as input seems more than enough
5753 test $ac_count -gt 10 && break
5755 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5759 $ac_path_GREP_found && break 3
5769 GREP
="$ac_cv_path_GREP"
5770 if test -z "$GREP"; then
5771 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5772 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5773 { (exit 1); exit 1; }; }
5777 ac_cv_path_GREP
=$GREP
5782 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5783 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5784 GREP
="$ac_cv_path_GREP"
5787 { echo "$as_me:$LINENO: checking for egrep" >&5
5788 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5789 if test "${ac_cv_path_EGREP+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5793 then ac_cv_path_EGREP
="$GREP -E"
5795 # Extract the first word of "egrep" to use in msg output
5796 if test -z "$EGREP"; then
5797 set dummy
egrep; ac_prog_name
=$2
5798 if test "${ac_cv_path_EGREP+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 ac_path_EGREP_found
=false
5802 # Loop through the user's path and test for each of PROGNAME-LIST
5803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5804 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5807 test -z "$as_dir" && as_dir
=.
5808 for ac_prog
in egrep; do
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5812 # Check for GNU ac_path_EGREP and select it if it is found.
5813 # Check for GNU $ac_path_EGREP
5814 case `"$ac_path_EGREP" --version 2>&1` in
5816 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5822 cat "conftest.in" "conftest.in" >"conftest.tmp"
5823 mv "conftest.tmp" "conftest.in"
5824 cp "conftest.in" "conftest.nl"
5825 echo 'EGREP' >> "conftest.nl"
5826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5827 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5828 ac_count
=`expr $ac_count + 1`
5829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5830 # Best one so far, save it but keep looking for a better one
5831 ac_cv_path_EGREP
="$ac_path_EGREP"
5832 ac_path_EGREP_max
=$ac_count
5834 # 10*(2^10) chars as input seems more than enough
5835 test $ac_count -gt 10 && break
5837 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5841 $ac_path_EGREP_found && break 3
5851 EGREP
="$ac_cv_path_EGREP"
5852 if test -z "$EGREP"; then
5853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5855 { (exit 1); exit 1; }; }
5859 ac_cv_path_EGREP
=$EGREP
5865 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5866 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5867 EGREP
="$ac_cv_path_EGREP"
5870 # Extract the first word of "ldconfig", so it can be a program name with args.
5871 set dummy ldconfig
; ac_word
=$2
5872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5874 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5883 for as_dir
in /sbin
/usr
/sbin
$PATH
5886 test -z "$as_dir" && as_dir
=.
5887 for ac_exec_ext
in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5901 LDCONFIG
=$ac_cv_path_LDCONFIG
5902 if test -n "$LDCONFIG"; then
5903 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5904 echo "${ECHO_T}$LDCONFIG" >&6; }
5906 { echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6; }
5911 # Find a good install program. We prefer a C program (faster),
5912 # so one script is as good as another. But avoid the broken or
5913 # incompatible versions:
5914 # SysV /etc/install, /usr/sbin/install
5915 # SunOS /usr/etc/install
5916 # IRIX /sbin/install
5918 # AmigaOS /C/install, which installs bootblocks on floppy discs
5919 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5920 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5921 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5922 # OS/2's system install, which has a completely different semantic
5923 # ./install, which can be erroneously created by make from ./install.sh.
5924 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5925 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5926 if test -z "$INSTALL"; then
5927 if test "${ac_cv_path_install+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir
=.
5935 # Account for people who put trailing slashes in PATH elements.
5937 .
/ | .
// |
/cC
/* | \
5938 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5939 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5942 # OSF1 and SCO ODT 3.0 have their own names for install.
5943 # Don't use installbsd from OSF since it installs stuff as root
5945 for ac_prog
in ginstall scoinst
install; do
5946 for ac_exec_ext
in '' $ac_executable_extensions; do
5947 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5948 if test $ac_prog = install &&
5949 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5950 # AIX install. It has an incompatible calling convention.
5952 elif test $ac_prog = install &&
5953 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5954 # program-specific install script used by HP pwplus--don't use.
5957 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5970 if test "${ac_cv_path_install+set}" = set; then
5971 INSTALL
=$ac_cv_path_install
5973 # As a last resort, use the slow shell script. Don't cache a
5974 # value for INSTALL within a source directory, because that will
5975 # break other packages using the cache if that directory is
5976 # removed, or if the value is a relative name.
5977 INSTALL
=$ac_install_sh
5980 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5981 echo "${ECHO_T}$INSTALL" >&6; }
5983 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5984 # It thinks the first close brace ends the variable substitution.
5985 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5987 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5989 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5992 [\\/$
]* | ?
:[\\/]* ) ;;
5993 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5996 for ac_prog
in lclint lint
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy
$ac_prog; ac_word
=$2
6000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6002 if test "${ac_cv_prog_LINT+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 if test -n "$LINT"; then
6006 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir
=.
6013 for ac_exec_ext
in '' $ac_executable_extensions; do
6014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015 ac_cv_prog_LINT
="$ac_prog"
6016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 LINT
=$ac_cv_prog_LINT
6026 if test -n "$LINT"; then
6027 { echo "$as_me:$LINENO: result: $LINT" >&5
6028 echo "${ECHO_T}$LINT" >&6; }
6030 { echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6; }
6035 test -n "$LINT" && break
6038 if test "$LINT" = "lint"
6040 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6045 for ac_prog
in fontforge
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy
$ac_prog; ac_word
=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 if test -n "$FONTFORGE"; then
6055 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir
=.
6062 for ac_exec_ext
in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_FONTFORGE
="$ac_prog"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 FONTFORGE
=$ac_cv_prog_FONTFORGE
6075 if test -n "$FONTFORGE"; then
6076 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6077 echo "${ECHO_T}$FONTFORGE" >&6; }
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6084 test -n "$FONTFORGE" && break
6086 test -n "$FONTFORGE" || FONTFORGE
="false"
6088 for ac_prog
in pkg-config
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy
$ac_prog; ac_word
=$2
6092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6094 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 if test -n "$PKG_CONFIG"; then
6098 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir
=.
6105 for ac_exec_ext
in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6118 if test -n "$PKG_CONFIG"; then
6119 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6120 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6127 test -n "$PKG_CONFIG" && break
6129 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6134 # Extract the first word of "prelink", so it can be a program name with args.
6135 set dummy prelink
; ac_word
=$2
6136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6138 if test "${ac_cv_path_PRELINK+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6147 for as_dir
in /sbin
/usr
/sbin
$PATH
6150 test -z "$as_dir" && as_dir
=.
6151 for ac_exec_ext
in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6165 PRELINK
=$ac_cv_path_PRELINK
6166 if test -n "$PRELINK"; then
6167 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6168 echo "${ECHO_T}$PRELINK" >&6; }
6170 { echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6; }
6180 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6181 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6182 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6183 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 ac_check_lib_save_LIBS
=$LIBS
6187 cat >conftest.
$ac_ext <<_ACEOF
6190 cat confdefs.h
>>conftest.
$ac_ext
6191 cat >>conftest.
$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6194 /* Override any GCC internal prototype to avoid an error.
6195 Use char because int might match the return type of a GCC
6196 builtin and then its argument prototype would still apply. */
6200 char i386_set_ldt ();
6204 return i386_set_ldt ();
6209 rm -f conftest.
$ac_objext conftest
$ac_exeext
6210 if { (ac_try
="$ac_link"
6212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6213 *) ac_try_echo=$ac_try;;
6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6216 (eval "$ac_link") 2>conftest.er1
6218 grep -v '^ *+' conftest.er1 >conftest.err
6220 cat conftest.err >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } && {
6223 test -z "$ac_c_werror_flag" ||
6224 test ! -s conftest.err
6225 } && test -s conftest$ac_exeext &&
6226 $as_test_x conftest$ac_exeext; then
6227 ac_cv_lib_i386_i386_set_ldt=yes
6229 echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.$ac_ext >&5
6232 ac_cv_lib_i386_i386_set_ldt=no
6235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6236 conftest$ac_exeext conftest.$ac_ext
6237 LIBS=$ac_check_lib_save_LIBS
6239 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6240 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6241 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_LIBI386 1
6251 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6252 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6253 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 ac_check_lib_save_LIBS=$LIBS
6257 LIBS="-lossaudio $LIBS"
6258 cat >conftest.$ac_ext <<_ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6275 return _oss_ioctl ();
6280 rm -f conftest.$ac_objext conftest$ac_exeext
6281 if { (ac_try="$ac_link"
6283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6284 *) ac_try_echo
=$ac_try;;
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_link") 2>conftest.er1
6289 grep -v '^ *+' conftest.er1
>conftest.err
6291 cat conftest.err
>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest
$ac_exeext &&
6297 $as_test_x conftest
$ac_exeext; then
6298 ac_cv_lib_ossaudio__oss_ioctl
=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.
$ac_ext >&5
6303 ac_cv_lib_ossaudio__oss_ioctl
=no
6306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6307 conftest
$ac_exeext conftest.
$ac_ext
6308 LIBS
=$ac_check_lib_save_LIBS
6310 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6311 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6312 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6313 cat >>confdefs.h
<<_ACEOF
6314 #define HAVE_LIBOSSAUDIO 1
6317 LIBS
="-lossaudio $LIBS"
6322 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6323 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6324 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 ac_check_lib_save_LIBS
=$LIBS
6329 cat >conftest.
$ac_ext <<_ACEOF
6332 cat confdefs.h
>>conftest.
$ac_ext
6333 cat >>conftest.
$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6336 /* Override any GCC internal prototype to avoid an error.
6337 Use char because int might match the return type of a GCC
6338 builtin and then its argument prototype would still apply. */
6342 char _xpg4_setrunelocale ();
6346 return _xpg4_setrunelocale ();
6351 rm -f conftest.
$ac_objext conftest
$ac_exeext
6352 if { (ac_try
="$ac_link"
6354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358 (eval "$ac_link") 2>conftest.er1
6360 grep -v '^ *+' conftest.er1 >conftest.err
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err
6367 } && test -s conftest$ac_exeext &&
6368 $as_test_x conftest$ac_exeext; then
6369 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378 conftest$ac_exeext conftest.$ac_ext
6379 LIBS=$ac_check_lib_save_LIBS
6381 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6382 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6383 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6384 cat >>confdefs.h <<_ACEOF
6385 #define HAVE_LIBXPG4 1
6392 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6393 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6394 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 ac_check_lib_save_LIBS=$LIBS
6398 LIBS="-lpthread $LIBS"
6399 cat >conftest.$ac_ext <<_ACEOF
6402 cat confdefs.h >>conftest.$ac_ext
6403 cat >>conftest.$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6406 /* Override any GCC internal prototype to avoid an error.
6407 Use char because int might match the return type of a GCC
6408 builtin and then its argument prototype would still apply. */
6412 char pthread_create ();
6416 return pthread_create ();
6421 rm -f conftest.$ac_objext conftest$ac_exeext
6422 if { (ac_try="$ac_link"
6424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6425 *) ac_try_echo
=$ac_try;;
6427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428 (eval "$ac_link") 2>conftest.er1
6430 grep -v '^ *+' conftest.er1
>conftest.err
6432 cat conftest.err
>&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && {
6435 test -z "$ac_c_werror_flag" ||
6436 test ! -s conftest.err
6437 } && test -s conftest
$ac_exeext &&
6438 $as_test_x conftest
$ac_exeext; then
6439 ac_cv_lib_pthread_pthread_create
=yes
6441 echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.
$ac_ext >&5
6444 ac_cv_lib_pthread_pthread_create
=no
6447 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6448 conftest
$ac_exeext conftest.
$ac_ext
6449 LIBS
=$ac_check_lib_save_LIBS
6451 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6452 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6453 if test $ac_cv_lib_pthread_pthread_create = yes; then
6454 LIBPTHREAD
="-lpthread"
6473 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6475 if test "${ac_cv_header_stdc+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 cat >conftest.
$ac_ext <<_ACEOF
6481 cat confdefs.h
>>conftest.
$ac_ext
6482 cat >>conftest.
$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6497 rm -f conftest.
$ac_objext
6498 if { (ac_try
="$ac_compile"
6500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_compile") 2>conftest.er1
6506 grep -v '^ *+' conftest.er1 >conftest.err
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && {
6511 test -z "$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6513 } && test -s conftest.$ac_objext; then
6514 ac_cv_header_stdc=yes
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6519 ac_cv_header_stdc=no
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 if test $ac_cv_header_stdc = yes; then
6525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6526 cat >conftest.$ac_ext <<_ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6536 $EGREP "memchr" >/dev/null 2>&1; then
6539 ac_cv_header_stdc=no
6545 if test $ac_cv_header_stdc = yes; then
6546 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6547 cat >conftest.$ac_ext <<_ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6557 $EGREP "free" >/dev/null 2>&1; then
6560 ac_cv_header_stdc=no
6566 if test $ac_cv_header_stdc = yes; then
6567 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6568 if test "$cross_compiling" = yes; then
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6579 #if ((' ' & 0x0FF) == 0x020)
6580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6583 # define ISLOWER(c) \
6584 (('a' <= (c) && (c) <= 'i') \
6585 || ('j' <= (c) && (c) <= 'r') \
6586 || ('s' <= (c) && (c) <= 'z'))
6587 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6590 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6595 for (i = 0; i < 256; i++)
6596 if (XOR (islower (i), ISLOWER (i))
6597 || toupper (i) != TOUPPER (i))
6602 rm -f conftest$ac_exeext
6603 if { (ac_try="$ac_link"
6605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6606 *) ac_try_echo
=$ac_try;;
6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6609 (eval "$ac_link") 2>&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6613 { (case "(($ac_try" in
6614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6615 *) ac_try_echo=$ac_try;;
6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618 (eval "$ac_try") 2>&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6624 echo "$as_me: program exited with status $ac_status" >&5
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_header_stdc=no
6631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6637 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6638 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6639 if test $ac_cv_header_stdc = yes; then
6641 cat >>confdefs.h <<\_ACEOF
6642 #define STDC_HEADERS 1
6647 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6657 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6658 inttypes.h stdint.h unistd.h
6660 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 $ac_includes_default
6674 #include <$ac_header>
6676 rm -f conftest.$ac_objext
6677 if { (ac_try="$ac_compile"
6679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6680 *) ac_try_echo
=$ac_try;;
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_compile") 2>conftest.er1
6685 grep -v '^ *+' conftest.er1
>conftest.err
6687 cat conftest.err
>&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest.
$ac_objext; then
6693 eval "$as_ac_Header=yes"
6695 echo "$as_me: failed program was:" >&5
6696 sed 's/^/| /' conftest.
$ac_ext >&5
6698 eval "$as_ac_Header=no"
6701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6703 ac_res
=`eval echo '${'$as_ac_Header'}'`
6704 { echo "$as_me:$LINENO: result: $ac_res" >&5
6705 echo "${ECHO_T}$ac_res" >&6; }
6706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6707 cat >>confdefs.h
<<_ACEOF
6708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 AudioUnit
/AudioUnit.h \
6828 CoreAudio
/CoreAudio.h \
6829 DiskArbitration
/DiskArbitration.h \
6842 fontconfig
/fontconfig.h \
6868 machine
/soundcard.h \
6873 netinet
/in_systm.h \
6937 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res
=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.
$ac_ext <<_ACEOF
6954 cat confdefs.h
>>conftest.
$ac_ext
6955 cat >>conftest.
$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6960 rm -f conftest.
$ac_objext
6961 if { (ac_try
="$ac_compile"
6963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6969 grep -v '^ *+' conftest.er1 >conftest.err
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7003 *) ac_try_echo
=$ac_try;;
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7008 grep -v '^ *+' conftest.er1
>conftest.err
7010 cat conftest.err
>&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev
/null
&& {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7016 ac_header_preproc
=yes
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.
$ac_ext >&5
7021 ac_header_preproc
=no
7024 rm -f conftest.err conftest.
$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc
=yes
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7055 ) |
sed "s/^/$as_me: WARNING: /" >&2
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res
=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h
<<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 cat >conftest.
$ac_ext <<_ACEOF
7087 cat confdefs.h
>>conftest.
$ac_ext
7088 cat >>conftest.
$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7110 rm -f conftest.
$ac_objext
7111 if { (ac_try
="$ac_compile"
7113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7119 grep -v '^ *+' conftest.er1 >conftest.err
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 cat >conftest.$ac_ext <<_ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7172 #include <$ac_header>
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7178 *) ac_try_echo
=$ac_try;;
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7183 grep -v '^ *+' conftest.er1
>conftest.err
7185 cat conftest.err
>&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.
$ac_objext; then
7191 eval "$as_ac_Header=yes"
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.
$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7201 ac_res
=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h
<<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 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
7222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 cat >conftest.
$ac_ext <<_ACEOF
7231 cat confdefs.h
>>conftest.
$ac_ext
7232 cat >>conftest.
$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7239 #include <$ac_header>
7241 rm -f conftest.
$ac_objext
7242 if { (ac_try
="$ac_compile"
7244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1 >conftest.err
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 cat >conftest.$ac_ext <<_ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7304 #include <$ac_header>
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7310 *) ac_try_echo
=$ac_try;;
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7315 grep -v '^ *+' conftest.er1
>conftest.err
7317 cat conftest.err
>&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.
$ac_objext; then
7323 eval "$as_ac_Header=yes"
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.
$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7333 ac_res
=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h
<<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7347 for ac_header
in resolv.h
7349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 cat >conftest.
$ac_ext <<_ACEOF
7358 cat confdefs.h
>>conftest.
$ac_ext
7359 cat >>conftest.
$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7372 #include <$ac_header>
7374 rm -f conftest.
$ac_objext
7375 if { (ac_try
="$ac_compile"
7377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7383 grep -v '^ *+' conftest.er1 >conftest.err
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7431 #include <$ac_header>
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7437 *) ac_try_echo
=$ac_try;;
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7442 grep -v '^ *+' conftest.er1
>conftest.err
7444 cat conftest.err
>&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.
$ac_objext; then
7450 eval "$as_ac_Header=yes"
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.
$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7460 ac_res
=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h
<<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 for ac_header
in pthread_np.h
7476 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 cat >conftest.
$ac_ext <<_ACEOF
7485 cat confdefs.h
>>conftest.
$ac_ext
7486 cat >>conftest.
$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7492 #include <$ac_header>
7494 rm -f conftest.
$ac_objext
7495 if { (ac_try
="$ac_compile"
7497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7503 grep -v '^ *+' conftest.er1 >conftest.err
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 cat >conftest.$ac_ext <<_ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7557 #include <$ac_header>
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7563 *) ac_try_echo
=$ac_try;;
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7568 grep -v '^ *+' conftest.er1
>conftest.err
7570 cat conftest.err
>&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.
$ac_objext; then
7576 eval "$as_ac_Header=yes"
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.
$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7586 ac_res
=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h
<<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7600 for ac_header
in linux
/capi.h
7602 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 cat >conftest.
$ac_ext <<_ACEOF
7611 cat confdefs.h
>>conftest.
$ac_ext
7612 cat >>conftest.
$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7616 #include <$ac_header>
7618 rm -f conftest.
$ac_objext
7619 if { (ac_try
="$ac_compile"
7621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7627 grep -v '^ *+' conftest.er1 >conftest.err
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7659 if test "$have_x" = "yes"
7662 ac_save_CPPFLAGS="$CPPFLAGS"
7663 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7675 for ac_header in X11/Xlib.h \
7678 X11/extensions/shape.h \
7679 X11/extensions/XInput.h \
7680 X11/extensions/XShm.h \
7681 X11/extensions/Xinerama.h \
7682 X11/extensions/Xrandr.h \
7683 X11/extensions/Xrender.h \
7684 X11/extensions/xf86vmode.h
7686 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 cat >conftest.$ac_ext <<_ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7698 #ifdef HAVE_X11_XLIB_H
7699 # include <X11/Xlib.h>
7701 #ifdef HAVE_X11_XUTIL_H
7702 # include <X11/Xutil.h>
7705 #include <$ac_header>
7707 rm -f conftest.$ac_objext
7708 if { (ac_try="$ac_compile"
7710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7711 *) ac_try_echo
=$ac_try;;
7713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7714 (eval "$ac_compile") 2>conftest.er1
7716 grep -v '^ *+' conftest.er1
>conftest.err
7718 cat conftest.err
>&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } && {
7721 test -z "$ac_c_werror_flag" ||
7722 test ! -s conftest.err
7723 } && test -s conftest.
$ac_objext; then
7724 eval "$as_ac_Header=yes"
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.
$ac_ext >&5
7729 eval "$as_ac_Header=no"
7732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7734 ac_res
=`eval echo '${'$as_ac_Header'}'`
7735 { echo "$as_me:$LINENO: result: $ac_res" >&5
7736 echo "${ECHO_T}$ac_res" >&6; }
7737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7738 cat >>confdefs.h
<<_ACEOF
7739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7747 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7749 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7750 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7751 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7752 echo $ECHO_N "(cached) $ECHO_C" >&6
7754 ac_check_lib_save_LIBS
=$LIBS
7755 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7756 cat >conftest.
$ac_ext <<_ACEOF
7759 cat confdefs.h
>>conftest.
$ac_ext
7760 cat >>conftest.
$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7763 /* Override any GCC internal prototype to avoid an error.
7764 Use char because int might match the return type of a GCC
7765 builtin and then its argument prototype would still apply. */
7769 char XkbQueryExtension ();
7773 return XkbQueryExtension ();
7778 rm -f conftest.
$ac_objext conftest
$ac_exeext
7779 if { (ac_try
="$ac_link"
7781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785 (eval "$ac_link") 2>conftest.er1
7787 grep -v '^ *+' conftest.er1 >conftest.err
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } && {
7792 test -z "$ac_c_werror_flag" ||
7793 test ! -s conftest.err
7794 } && test -s conftest$ac_exeext &&
7795 $as_test_x conftest$ac_exeext; then
7796 ac_cv_lib_X11_XkbQueryExtension=yes
7798 echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7801 ac_cv_lib_X11_XkbQueryExtension=no
7804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7805 conftest$ac_exeext conftest.$ac_ext
7806 LIBS=$ac_check_lib_save_LIBS
7808 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7809 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7810 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7812 cat >>confdefs.h <<\_ACEOF
7820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7822 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 ac_check_lib_save_LIBS=$LIBS
7828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.$ac_ext <<_ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any GCC internal prototype to avoid an error.
7837 Use char because int might match the return type of a GCC
7838 builtin and then its argument prototype would still apply. */
7842 char XShmQueryExtension ();
7846 return XShmQueryExtension ();
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (ac_try="$ac_link"
7854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7855 *) ac_try_echo
=$ac_try;;
7857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7858 (eval "$ac_link") 2>conftest.er1
7860 grep -v '^ *+' conftest.er1
>conftest.err
7862 cat conftest.err
>&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } && {
7865 test -z "$ac_c_werror_flag" ||
7866 test ! -s conftest.err
7867 } && test -s conftest
$ac_exeext &&
7868 $as_test_x conftest
$ac_exeext; then
7869 ac_cv_lib_Xext_XShmQueryExtension
=yes
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.
$ac_ext >&5
7874 ac_cv_lib_Xext_XShmQueryExtension
=no
7877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7878 conftest
$ac_exeext conftest.
$ac_ext
7879 LIBS
=$ac_check_lib_save_LIBS
7881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7885 cat >>confdefs.h
<<\_ACEOF
7886 #define HAVE_LIBXXSHM 1
7893 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7895 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 ac_check_lib_save_LIBS
=$LIBS
7901 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7902 cat >conftest.
$ac_ext <<_ACEOF
7905 cat confdefs.h
>>conftest.
$ac_ext
7906 cat >>conftest.
$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7909 /* Override any GCC internal prototype to avoid an error.
7910 Use char because int might match the return type of a GCC
7911 builtin and then its argument prototype would still apply. */
7915 char XShapeQueryExtension ();
7919 return XShapeQueryExtension ();
7924 rm -f conftest.
$ac_objext conftest
$ac_exeext
7925 if { (ac_try
="$ac_link"
7927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_link") 2>conftest.er1
7933 grep -v '^ *+' conftest.er1 >conftest.err
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest$ac_exeext &&
7941 $as_test_x conftest$ac_exeext; then
7942 ac_cv_lib_Xext_XShapeQueryExtension=yes
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7947 ac_cv_lib_Xext_XShapeQueryExtension=no
7950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7951 conftest$ac_exeext conftest.$ac_ext
7952 LIBS=$ac_check_lib_save_LIBS
7954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7958 cat >>confdefs.h <<\_ACEOF
7959 #define HAVE_LIBXSHAPE 1
7966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 ac_check_lib_save_LIBS=$LIBS
7974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7975 cat >conftest.$ac_ext <<_ACEOF
7978 cat confdefs.h >>conftest.$ac_ext
7979 cat >>conftest.$ac_ext <<_ACEOF
7980 /* end confdefs.h. */
7982 /* Override any GCC internal prototype to avoid an error.
7983 Use char because int might match the return type of a GCC
7984 builtin and then its argument prototype would still apply. */
7988 char XF86VidModeQueryExtension ();
7992 return XF86VidModeQueryExtension ();
7997 rm -f conftest.$ac_objext conftest$ac_exeext
7998 if { (ac_try="$ac_link"
8000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8001 *) ac_try_echo
=$ac_try;;
8003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8004 (eval "$ac_link") 2>conftest.er1
8006 grep -v '^ *+' conftest.er1
>conftest.err
8008 cat conftest.err
>&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } && {
8011 test -z "$ac_c_werror_flag" ||
8012 test ! -s conftest.err
8013 } && test -s conftest
$ac_exeext &&
8014 $as_test_x conftest
$ac_exeext; then
8015 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.
$ac_ext >&5
8020 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8023 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8024 conftest
$ac_exeext conftest.
$ac_ext
8025 LIBS
=$ac_check_lib_save_LIBS
8027 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8028 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8029 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8031 cat >>confdefs.h
<<\_ACEOF
8032 #define HAVE_LIBXXF86VM 1
8035 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8041 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8043 cat >conftest.
$ac_ext <<_ACEOF
8046 cat confdefs.h
>>conftest.
$ac_ext
8047 cat >>conftest.
$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8049 #include <X11/Xlib.h>
8050 #include <X11/extensions/Xrandr.h>
8054 static typeof(XRRSetScreenConfigAndRate) * func;
8059 rm -f conftest.
$ac_objext
8060 if { (ac_try
="$ac_compile"
8062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_compile") 2>conftest.er1
8068 grep -v '^ *+' conftest.er1 >conftest.err
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest.$ac_objext; then
8077 cat >>confdefs.h <<\_ACEOF
8078 #define HAVE_LIBXRANDR 1
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8093 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8094 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8095 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 ac_check_lib_save_LIBS=$LIBS
8099 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8100 cat >conftest.$ac_ext <<_ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8113 char XRenderSetPictureTransform ();
8117 return XRenderSetPictureTransform ();
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (ac_try="$ac_link"
8125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8126 *) ac_try_echo
=$ac_try;;
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_link") 2>conftest.er1
8131 grep -v '^ *+' conftest.er1
>conftest.err
8133 cat conftest.err
>&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } && {
8136 test -z "$ac_c_werror_flag" ||
8137 test ! -s conftest.err
8138 } && test -s conftest
$ac_exeext &&
8139 $as_test_x conftest
$ac_exeext; then
8140 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.
$ac_ext >&5
8145 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8149 conftest
$ac_exeext conftest.
$ac_ext
8150 LIBS
=$ac_check_lib_save_LIBS
8152 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8153 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8154 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8156 cat >>confdefs.h
<<\_ACEOF
8157 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8164 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8166 cat >conftest.
$ac_ext <<_ACEOF
8169 cat confdefs.h
>>conftest.
$ac_ext
8170 cat >>conftest.
$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 #include <X11/Xlib.h>
8173 #include <X11/extensions/Xinerama.h>
8177 static typeof(XineramaQueryScreens) * func;
8182 rm -f conftest.
$ac_objext
8183 if { (ac_try
="$ac_compile"
8185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8191 grep -v '^ *+' conftest.er1 >conftest.err
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } && {
8196 test -z "$ac_c_werror_flag" ||
8197 test ! -s conftest.err
8198 } && test -s conftest.$ac_objext; then
8200 cat >>confdefs.h <<\_ACEOF
8201 #define HAVE_LIBXINERAMA 1
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215 if test "x$with_opengl" != "xno"
8221 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8223 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 cat >conftest.$ac_ext <<_ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8235 #ifdef HAVE_GL_GLX_H
8236 # include <GL/glx.h>
8239 #include <$ac_header>
8241 rm -f conftest.$ac_objext
8242 if { (ac_try="$ac_compile"
8244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8245 *) ac_try_echo
=$ac_try;;
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248 (eval "$ac_compile") 2>conftest.er1
8250 grep -v '^ *+' conftest.er1
>conftest.err
8252 cat conftest.err
>&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err
8257 } && test -s conftest.
$ac_objext; then
8258 eval "$as_ac_Header=yes"
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.
$ac_ext >&5
8263 eval "$as_ac_Header=no"
8266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8268 ac_res
=`eval echo '${'$as_ac_Header'}'`
8269 { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272 cat >>confdefs.h
<<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8280 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8282 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8283 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8284 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 cat >conftest.
$ac_ext <<_ACEOF
8290 cat confdefs.h
>>conftest.
$ac_ext
8291 cat >>conftest.
$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8297 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8302 rm -f conftest.
$ac_objext
8303 if { (ac_try
="$ac_compile"
8305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_compile") 2>conftest.er1
8311 grep -v '^ *+' conftest.er1 >conftest.err
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest.$ac_objext; then
8319 wine_cv_opengl_header_version_OK="yes"
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 wine_cv_opengl_header_version_OK="no"
8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8332 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8334 if test "$wine_cv_opengl_header_version_OK" = "yes"
8336 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8337 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8338 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 ac_check_lib_save_LIBS=$LIBS
8342 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8343 cat >conftest.$ac_ext <<_ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8350 /* Override any GCC internal prototype to avoid an error.
8351 Use char because int might match the return type of a GCC
8352 builtin and then its argument prototype would still apply. */
8356 char glXCreateContext ();
8360 return glXCreateContext ();
8365 rm -f conftest.$ac_objext conftest$ac_exeext
8366 if { (ac_try="$ac_link"
8368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8369 *) ac_try_echo
=$ac_try;;
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_link") 2>conftest.er1
8374 grep -v '^ *+' conftest.er1
>conftest.err
8376 cat conftest.err
>&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_c_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest
$ac_exeext &&
8382 $as_test_x conftest
$ac_exeext; then
8383 ac_cv_lib_GL_glXCreateContext
=yes
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.
$ac_ext >&5
8388 ac_cv_lib_GL_glXCreateContext
=no
8391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8392 conftest
$ac_exeext conftest.
$ac_ext
8393 LIBS
=$ac_check_lib_save_LIBS
8395 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8396 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8397 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8399 OPENGLFILES
='$(OPENGLFILES)'
8401 cat >>confdefs.h
<<\_ACEOF
8402 #define HAVE_OPENGL 1
8409 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8410 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8411 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 ac_check_lib_save_LIBS
=$LIBS
8415 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8417 cat >conftest.
$ac_ext <<_ACEOF
8420 cat confdefs.h
>>conftest.
$ac_ext
8421 cat >>conftest.
$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any GCC internal prototype to avoid an error.
8425 Use char because int might match the return type of a GCC
8426 builtin and then its argument prototype would still apply. */
8434 return gluLookAt ();
8439 rm -f conftest.
$ac_objext conftest
$ac_exeext
8440 if { (ac_try
="$ac_link"
8442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8446 (eval "$ac_link") 2>conftest.er1
8448 grep -v '^ *+' conftest.er1 >conftest.err
8450 cat conftest.err >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_c_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest$ac_exeext &&
8456 $as_test_x conftest$ac_exeext; then
8457 ac_cv_lib_GLU_gluLookAt=yes
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8462 ac_cv_lib_GLU_gluLookAt=no
8465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8466 conftest$ac_exeext conftest.$ac_ext
8467 LIBS=$ac_check_lib_save_LIBS
8469 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8470 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8471 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8472 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8473 GLU32FILES='$(GLU32FILES)'
8479 wine_cv_opengl_headers_found="no"
8485 for ac_header in audio/audiolib.h
8487 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 ac_res=`eval echo '${'$as_ac_Header'}'`
8495 { echo "$as_me:$LINENO: result: $ac_res" >&5
8496 echo "${ECHO_T}$ac_res" >&6; }
8498 # Is the header compilable?
8499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8501 cat >conftest.$ac_ext <<_ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507 $ac_includes_default
8508 #include <$ac_header>
8510 rm -f conftest.$ac_objext
8511 if { (ac_try="$ac_compile"
8513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8514 *) ac_try_echo
=$ac_try;;
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517 (eval "$ac_compile") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1
>conftest.err
8521 cat conftest.err
>&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest.
$ac_objext; then
8527 ac_header_compiler
=yes
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.
$ac_ext >&5
8532 ac_header_compiler
=no
8535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8537 echo "${ECHO_T}$ac_header_compiler" >&6; }
8539 # Is the header present?
8540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8542 cat >conftest.
$ac_ext <<_ACEOF
8545 cat confdefs.h
>>conftest.
$ac_ext
8546 cat >>conftest.
$ac_ext <<_ACEOF
8547 /* end confdefs.h. */
8548 #include <$ac_header>
8550 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8558 grep -v '^ *+' conftest.er1 >conftest.err
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } >/dev/null && {
8563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8564 test ! -s conftest.err
8566 ac_header_preproc=yes
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 ac_header_preproc=no
8574 rm -f conftest.err conftest.$ac_ext
8575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8576 echo "${ECHO_T}$ac_header_preproc" >&6; }
8578 # So? What about this header?
8579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8585 ac_header_preproc=yes
8588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8601 ## ------------------------------------ ##
8602 ## Report this to wine-devel@winehq.org ##
8603 ## ------------------------------------ ##
8605 ) | sed "s/^/$as_me: WARNING: /" >&2
8608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8611 echo $ECHO_N "(cached) $ECHO_C" >&6
8613 eval "$as_ac_Header=\$ac_header_preproc"
8615 ac_res=`eval echo '${'$as_ac_Header'}'`
8616 { echo "$as_me:$LINENO: result: $ac_res" >&5
8617 echo "${ECHO_T}$ac_res" >&6; }
8620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8621 cat >>confdefs.h <<_ACEOF
8622 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8625 for ac_header in audio/soundlib.h
8627 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 cat >conftest.$ac_ext <<_ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8639 #include <audio/audiolib.h>
8641 #include <$ac_header>
8643 rm -f conftest.$ac_objext
8644 if { (ac_try="$ac_compile"
8646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8647 *) ac_try_echo
=$ac_try;;
8649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8650 (eval "$ac_compile") 2>conftest.er1
8652 grep -v '^ *+' conftest.er1
>conftest.err
8654 cat conftest.err
>&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } && {
8657 test -z "$ac_c_werror_flag" ||
8658 test ! -s conftest.err
8659 } && test -s conftest.
$ac_objext; then
8660 eval "$as_ac_Header=yes"
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 eval "$as_ac_Header=no"
8668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8670 ac_res
=`eval echo '${'$as_ac_Header'}'`
8671 { echo "$as_me:$LINENO: result: $ac_res" >&5
8672 echo "${ECHO_T}$ac_res" >&6; }
8673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8674 cat >>confdefs.h
<<_ACEOF
8675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8682 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8683 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8684 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 ac_check_lib_save_LIBS
=$LIBS
8688 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8689 cat >conftest.
$ac_ext <<_ACEOF
8692 cat confdefs.h
>>conftest.
$ac_ext
8693 cat >>conftest.
$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8696 /* Override any GCC internal prototype to avoid an error.
8697 Use char because int might match the return type of a GCC
8698 builtin and then its argument prototype would still apply. */
8702 char AuCreateFlow ();
8706 return AuCreateFlow ();
8711 rm -f conftest.
$ac_objext conftest
$ac_exeext
8712 if { (ac_try
="$ac_link"
8714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8715 *) ac_try_echo=$ac_try;;
8717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8718 (eval "$ac_link") 2>conftest.er1
8720 grep -v '^ *+' conftest.er1 >conftest.err
8722 cat conftest.err >&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } && {
8725 test -z "$ac_c_werror_flag" ||
8726 test ! -s conftest.err
8727 } && test -s conftest$ac_exeext &&
8728 $as_test_x conftest$ac_exeext; then
8729 ac_cv_lib_audio_AuCreateFlow=yes
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 ac_cv_lib_audio_AuCreateFlow=no
8737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LIBS=$ac_check_lib_save_LIBS
8741 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8742 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8743 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8745 cat >>confdefs.h <<\_ACEOF
8749 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8750 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8751 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8754 ac_check_lib_save_LIBS=$LIBS
8755 LIBS="-lXau $X_LIBS $LIBS"
8756 cat >conftest.$ac_ext <<_ACEOF
8759 cat confdefs.h >>conftest.$ac_ext
8760 cat >>conftest.$ac_ext <<_ACEOF
8761 /* end confdefs.h. */
8763 /* Override any GCC internal prototype to avoid an error.
8764 Use char because int might match the return type of a GCC
8765 builtin and then its argument prototype would still apply. */
8769 char XauGetBestAuthByAddr ();
8773 return XauGetBestAuthByAddr ();
8778 rm -f conftest.$ac_objext conftest$ac_exeext
8779 if { (ac_try="$ac_link"
8781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8782 *) ac_try_echo
=$ac_try;;
8784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8785 (eval "$ac_link") 2>conftest.er1
8787 grep -v '^ *+' conftest.er1
>conftest.err
8789 cat conftest.err
>&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); } && {
8792 test -z "$ac_c_werror_flag" ||
8793 test ! -s conftest.err
8794 } && test -s conftest
$ac_exeext &&
8795 $as_test_x conftest
$ac_exeext; then
8796 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8798 echo "$as_me: failed program was:" >&5
8799 sed 's/^/| /' conftest.
$ac_ext >&5
8801 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8804 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8805 conftest
$ac_exeext conftest.
$ac_ext
8806 LIBS
=$ac_check_lib_save_LIBS
8808 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8809 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8810 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8811 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8813 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8824 CPPFLAGS
="$ac_save_CPPFLAGS"
8841 if test "$PKG_CONFIG" != "false"
8843 ac_save_CPPFLAGS
="$CPPFLAGS"
8844 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8845 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8846 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8848 for ac_header
in libxml
/parser.h
8850 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8851 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8854 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 ac_res
=`eval echo '${'$as_ac_Header'}'`
8858 { echo "$as_me:$LINENO: result: $ac_res" >&5
8859 echo "${ECHO_T}$ac_res" >&6; }
8861 # Is the header compilable?
8862 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8864 cat >conftest.
$ac_ext <<_ACEOF
8867 cat confdefs.h
>>conftest.
$ac_ext
8868 cat >>conftest.
$ac_ext <<_ACEOF
8869 /* end confdefs.h. */
8870 $ac_includes_default
8871 #include <$ac_header>
8873 rm -f conftest.
$ac_objext
8874 if { (ac_try
="$ac_compile"
8876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8877 *) ac_try_echo=$ac_try;;
8879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8880 (eval "$ac_compile") 2>conftest.er1
8882 grep -v '^ *+' conftest.er1 >conftest.err
8884 cat conftest.err >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } && {
8887 test -z "$ac_c_werror_flag" ||
8888 test ! -s conftest.err
8889 } && test -s conftest.$ac_objext; then
8890 ac_header_compiler=yes
8892 echo "$as_me: failed program was:" >&5
8893 sed 's/^/| /' conftest.$ac_ext >&5
8895 ac_header_compiler=no
8898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8899 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8900 echo "${ECHO_T}$ac_header_compiler" >&6; }
8902 # Is the header present?
8903 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8905 cat >conftest.$ac_ext <<_ACEOF
8908 cat confdefs.h >>conftest.$ac_ext
8909 cat >>conftest.$ac_ext <<_ACEOF
8910 /* end confdefs.h. */
8911 #include <$ac_header>
8913 if { (ac_try="$ac_cpp conftest.$ac_ext"
8915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8916 *) ac_try_echo
=$ac_try;;
8918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8921 grep -v '^ *+' conftest.er1
>conftest.err
8923 cat conftest.err
>&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } >/dev
/null
&& {
8926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8927 test ! -s conftest.err
8929 ac_header_preproc
=yes
8931 echo "$as_me: failed program was:" >&5
8932 sed 's/^/| /' conftest.
$ac_ext >&5
8934 ac_header_preproc
=no
8937 rm -f conftest.err conftest.
$ac_ext
8938 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8939 echo "${ECHO_T}$ac_header_preproc" >&6; }
8941 # So? What about this header?
8942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8948 ac_header_preproc
=yes
8951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8964 ## ------------------------------------ ##
8965 ## Report this to wine-devel@winehq.org ##
8966 ## ------------------------------------ ##
8968 ) |
sed "s/^/$as_me: WARNING: /" >&2
8971 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8973 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8976 eval "$as_ac_Header=\$ac_header_preproc"
8978 ac_res
=`eval echo '${'$as_ac_Header'}'`
8979 { echo "$as_me:$LINENO: result: $ac_res" >&5
8980 echo "${ECHO_T}$ac_res" >&6; }
8983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8984 cat >>confdefs.h
<<_ACEOF
8985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8987 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8988 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8989 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8992 ac_check_lib_save_LIBS
=$LIBS
8993 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8994 cat >conftest.
$ac_ext <<_ACEOF
8997 cat confdefs.h
>>conftest.
$ac_ext
8998 cat >>conftest.
$ac_ext <<_ACEOF
8999 /* end confdefs.h. */
9001 /* Override any GCC internal prototype to avoid an error.
9002 Use char because int might match the return type of a GCC
9003 builtin and then its argument prototype would still apply. */
9007 char xmlParseMemory ();
9011 return xmlParseMemory ();
9016 rm -f conftest.
$ac_objext conftest
$ac_exeext
9017 if { (ac_try
="$ac_link"
9019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9020 *) ac_try_echo=$ac_try;;
9022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9023 (eval "$ac_link") 2>conftest.er1
9025 grep -v '^ *+' conftest.er1 >conftest.err
9027 cat conftest.err >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); } && {
9030 test -z "$ac_c_werror_flag" ||
9031 test ! -s conftest.err
9032 } && test -s conftest$ac_exeext &&
9033 $as_test_x conftest$ac_exeext; then
9034 ac_cv_lib_xml2_xmlParseMemory=yes
9036 echo "$as_me: failed program was:" >&5
9037 sed 's/^/| /' conftest.$ac_ext >&5
9039 ac_cv_lib_xml2_xmlParseMemory=no
9042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9043 conftest$ac_exeext conftest.$ac_ext
9044 LIBS=$ac_check_lib_save_LIBS
9046 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9047 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9048 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9050 cat >>confdefs.h <<\_ACEOF
9051 #define HAVE_LIBXML2 1
9054 XML2LIBS="$ac_xml_libs"
9055 XML2INCL="$ac_xml_cflags"
9058 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9059 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9060 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 ac_check_lib_save_LIBS=$LIBS
9064 LIBS="-lxml2 $ac_xml_libs $LIBS"
9065 cat >conftest.$ac_ext <<_ACEOF
9068 cat confdefs.h >>conftest.$ac_ext
9069 cat >>conftest.$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9072 /* Override any GCC internal prototype to avoid an error.
9073 Use char because int might match the return type of a GCC
9074 builtin and then its argument prototype would still apply. */
9078 char xmlReadMemory ();
9082 return xmlReadMemory ();
9087 rm -f conftest.$ac_objext conftest$ac_exeext
9088 if { (ac_try="$ac_link"
9090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9091 *) ac_try_echo
=$ac_try;;
9093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9094 (eval "$ac_link") 2>conftest.er1
9096 grep -v '^ *+' conftest.er1
>conftest.err
9098 cat conftest.err
>&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); } && {
9101 test -z "$ac_c_werror_flag" ||
9102 test ! -s conftest.err
9103 } && test -s conftest
$ac_exeext &&
9104 $as_test_x conftest
$ac_exeext; then
9105 ac_cv_lib_xml2_xmlReadMemory
=yes
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.
$ac_ext >&5
9110 ac_cv_lib_xml2_xmlReadMemory
=no
9113 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9114 conftest
$ac_exeext conftest.
$ac_ext
9115 LIBS
=$ac_check_lib_save_LIBS
9117 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9118 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9119 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9121 cat >>confdefs.h
<<\_ACEOF
9122 #define HAVE_XMLREADMEMORY 1
9127 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9128 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9129 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 ac_check_lib_save_LIBS
=$LIBS
9133 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9134 cat >conftest.
$ac_ext <<_ACEOF
9137 cat confdefs.h
>>conftest.
$ac_ext
9138 cat >>conftest.
$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9147 char xmlNewDocPI ();
9151 return xmlNewDocPI ();
9156 rm -f conftest.
$ac_objext conftest
$ac_exeext
9157 if { (ac_try
="$ac_link"
9159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_link") 2>conftest.er1
9165 grep -v '^ *+' conftest.er1 >conftest.err
9167 cat conftest.err >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest$ac_exeext &&
9173 $as_test_x conftest$ac_exeext; then
9174 ac_cv_lib_xml2_xmlNewDocPI=yes
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_cv_lib_xml2_xmlNewDocPI=no
9182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9183 conftest$ac_exeext conftest.$ac_ext
9184 LIBS=$ac_check_lib_save_LIBS
9186 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9187 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9188 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9190 cat >>confdefs.h <<\_ACEOF
9191 #define HAVE_XMLNEWDOCPI 1
9201 CPPFLAGS="$ac_save_CPPFLAGS"
9202 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
9203 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
9204 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9207 for ac_header in libxslt/pattern.h libxslt/transform.h
9209 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9213 echo $ECHO_N "(cached) $ECHO_C" >&6
9215 cat >conftest.$ac_ext <<_ACEOF
9218 cat confdefs.h >>conftest.$ac_ext
9219 cat >>conftest.$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9221 #ifdef HAVE_LIBXSLT_PATTERN_H
9222 # include <libxslt/pattern.h>
9225 #include <$ac_header>
9227 rm -f conftest.$ac_objext
9228 if { (ac_try="$ac_compile"
9230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9231 *) ac_try_echo
=$ac_try;;
9233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9234 (eval "$ac_compile") 2>conftest.er1
9236 grep -v '^ *+' conftest.er1
>conftest.err
9238 cat conftest.err
>&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); } && {
9241 test -z "$ac_c_werror_flag" ||
9242 test ! -s conftest.err
9243 } && test -s conftest.
$ac_objext; then
9244 eval "$as_ac_Header=yes"
9246 echo "$as_me: failed program was:" >&5
9247 sed 's/^/| /' conftest.
$ac_ext >&5
9249 eval "$as_ac_Header=no"
9252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9254 ac_res
=`eval echo '${'$as_ac_Header'}'`
9255 { echo "$as_me:$LINENO: result: $ac_res" >&5
9256 echo "${ECHO_T}$ac_res" >&6; }
9257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9258 cat >>confdefs.h
<<_ACEOF
9259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9261 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9262 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9263 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9266 ac_check_lib_save_LIBS
=$LIBS
9267 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9268 cat >conftest.
$ac_ext <<_ACEOF
9271 cat confdefs.h
>>conftest.
$ac_ext
9272 cat >>conftest.
$ac_ext <<_ACEOF
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9281 char xsltCompilePattern ();
9285 return xsltCompilePattern ();
9290 rm -f conftest.
$ac_objext conftest
$ac_exeext
9291 if { (ac_try
="$ac_link"
9293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9294 *) ac_try_echo=$ac_try;;
9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_link") 2>conftest.er1
9299 grep -v '^ *+' conftest.er1 >conftest.err
9301 cat conftest.err >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } && {
9304 test -z "$ac_c_werror_flag" ||
9305 test ! -s conftest.err
9306 } && test -s conftest$ac_exeext &&
9307 $as_test_x conftest$ac_exeext; then
9308 ac_cv_lib_xslt_xsltCompilePattern=yes
9310 echo "$as_me: failed program was:" >&5
9311 sed 's/^/| /' conftest.$ac_ext >&5
9313 ac_cv_lib_xslt_xsltCompilePattern=no
9316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9317 conftest$ac_exeext conftest.$ac_ext
9318 LIBS=$ac_check_lib_save_LIBS
9320 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9321 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9322 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9324 cat >>confdefs.h <<\_ACEOF
9325 #define HAVE_LIBXSLT 1
9328 XSLTLIBS="$ac_xslt_libs"
9329 XSLTINCL="$ac_xslt_cflags"
9337 CPPFLAGS="$ac_save_CPPFLAGS"
9342 if test "$PKG_CONFIG" != "false"
9344 ac_save_CPPFLAGS="$CPPFLAGS"
9345 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
9346 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
9347 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9350 for ac_header in dbus/dbus.h hal/libhal.h
9352 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9354 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 ac_res=`eval echo '${'$as_ac_Header'}'`
9360 { echo "$as_me:$LINENO: result: $ac_res" >&5
9361 echo "${ECHO_T}$ac_res" >&6; }
9363 # Is the header compilable?
9364 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9366 cat >conftest.$ac_ext <<_ACEOF
9369 cat confdefs.h >>conftest.$ac_ext
9370 cat >>conftest.$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9372 $ac_includes_default
9373 #include <$ac_header>
9375 rm -f conftest.$ac_objext
9376 if { (ac_try="$ac_compile"
9378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9379 *) ac_try_echo
=$ac_try;;
9381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9382 (eval "$ac_compile") 2>conftest.er1
9384 grep -v '^ *+' conftest.er1
>conftest.err
9386 cat conftest.err
>&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); } && {
9389 test -z "$ac_c_werror_flag" ||
9390 test ! -s conftest.err
9391 } && test -s conftest.
$ac_objext; then
9392 ac_header_compiler
=yes
9394 echo "$as_me: failed program was:" >&5
9395 sed 's/^/| /' conftest.
$ac_ext >&5
9397 ac_header_compiler
=no
9400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9401 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9402 echo "${ECHO_T}$ac_header_compiler" >&6; }
9404 # Is the header present?
9405 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9407 cat >conftest.
$ac_ext <<_ACEOF
9410 cat confdefs.h
>>conftest.
$ac_ext
9411 cat >>conftest.
$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9413 #include <$ac_header>
9415 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9418 *) ac_try_echo=$ac_try;;
9420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9423 grep -v '^ *+' conftest.er1 >conftest.err
9425 cat conftest.err >&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); } >/dev/null && {
9428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9429 test ! -s conftest.err
9431 ac_header_preproc=yes
9433 echo "$as_me: failed program was:" >&5
9434 sed 's/^/| /' conftest.$ac_ext >&5
9436 ac_header_preproc=no
9439 rm -f conftest.err conftest.$ac_ext
9440 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9441 echo "${ECHO_T}$ac_header_preproc" >&6; }
9443 # So? What about this header?
9444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9450 ac_header_preproc=yes
9453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9466 ## ------------------------------------ ##
9467 ## Report this to wine-devel@winehq.org ##
9468 ## ------------------------------------ ##
9470 ) | sed "s/^/$as_me: WARNING: /" >&2
9473 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9478 eval "$as_ac_Header=\$ac_header_preproc"
9480 ac_res=`eval echo '${'$as_ac_Header'}'`
9481 { echo "$as_me:$LINENO: result: $ac_res" >&5
9482 echo "${ECHO_T}$ac_res" >&6; }
9485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9486 cat >>confdefs.h <<_ACEOF
9487 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9494 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9496 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9497 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9498 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 ac_check_lib_save_LIBS=$LIBS
9503 cat >conftest.$ac_ext <<_ACEOF
9506 cat confdefs.h >>conftest.$ac_ext
9507 cat >>conftest.$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9516 char libhal_ctx_new ();
9520 return libhal_ctx_new ();
9525 rm -f conftest.$ac_objext conftest$ac_exeext
9526 if { (ac_try="$ac_link"
9528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9529 *) ac_try_echo
=$ac_try;;
9531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 (eval "$ac_link") 2>conftest.er1
9534 grep -v '^ *+' conftest.er1
>conftest.err
9536 cat conftest.err
>&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && {
9539 test -z "$ac_c_werror_flag" ||
9540 test ! -s conftest.err
9541 } && test -s conftest
$ac_exeext &&
9542 $as_test_x conftest
$ac_exeext; then
9543 ac_cv_lib_hal_libhal_ctx_new
=yes
9545 echo "$as_me: failed program was:" >&5
9546 sed 's/^/| /' conftest.
$ac_ext >&5
9548 ac_cv_lib_hal_libhal_ctx_new
=no
9551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9552 conftest
$ac_exeext conftest.
$ac_ext
9553 LIBS
=$ac_check_lib_save_LIBS
9555 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9556 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9557 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9558 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9559 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9560 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 ac_check_lib_save_LIBS
=$LIBS
9564 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9565 cat >conftest.
$ac_ext <<_ACEOF
9568 cat confdefs.h
>>conftest.
$ac_ext
9569 cat >>conftest.
$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9578 char dbus_connection_close ();
9582 return dbus_connection_close ();
9587 rm -f conftest.
$ac_objext conftest
$ac_exeext
9588 if { (ac_try
="$ac_link"
9590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9591 *) ac_try_echo=$ac_try;;
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_link") 2>conftest.er1
9596 grep -v '^ *+' conftest.er1 >conftest.err
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } && {
9601 test -z "$ac_c_werror_flag" ||
9602 test ! -s conftest.err
9603 } && test -s conftest$ac_exeext &&
9604 $as_test_x conftest$ac_exeext; then
9605 ac_cv_lib_dbus_1_dbus_connection_close=yes
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.$ac_ext >&5
9610 ac_cv_lib_dbus_1_dbus_connection_close=no
9613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9618 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9619 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9621 cat >>confdefs.h <<\_ACEOF
9622 #define HAVE_LIBHAL 1
9625 HALINCL="$ac_hal_cflags"
9631 CPPFLAGS="$ac_save_CPPFLAGS"
9635 if test "$ac_cv_header_ncurses_h" = "yes"
9637 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9638 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9639 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 ac_check_lib_save_LIBS=$LIBS
9643 LIBS="-lncurses $LIBS"
9644 cat >conftest.$ac_ext <<_ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9666 rm -f conftest.$ac_objext conftest$ac_exeext
9667 if { (ac_try="$ac_link"
9669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9670 *) ac_try_echo
=$ac_try;;
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_link") 2>conftest.er1
9675 grep -v '^ *+' conftest.er1
>conftest.err
9677 cat conftest.err
>&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } && {
9680 test -z "$ac_c_werror_flag" ||
9681 test ! -s conftest.err
9682 } && test -s conftest
$ac_exeext &&
9683 $as_test_x conftest
$ac_exeext; then
9684 ac_cv_lib_ncurses_waddch
=yes
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.
$ac_ext >&5
9689 ac_cv_lib_ncurses_waddch
=no
9692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9693 conftest
$ac_exeext conftest.
$ac_ext
9694 LIBS
=$ac_check_lib_save_LIBS
9696 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9697 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9698 if test $ac_cv_lib_ncurses_waddch = yes; then
9699 CURSESLIBS
="-lncurses"
9702 elif test "$ac_cv_header_curses_h" = "yes"
9704 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9705 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9706 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9707 echo $ECHO_N "(cached) $ECHO_C" >&6
9709 ac_check_lib_save_LIBS
=$LIBS
9710 LIBS
="-lcurses $LIBS"
9711 cat >conftest.
$ac_ext <<_ACEOF
9714 cat confdefs.h
>>conftest.
$ac_ext
9715 cat >>conftest.
$ac_ext <<_ACEOF
9716 /* end confdefs.h. */
9718 /* Override any GCC internal prototype to avoid an error.
9719 Use char because int might match the return type of a GCC
9720 builtin and then its argument prototype would still apply. */
9733 rm -f conftest.
$ac_objext conftest
$ac_exeext
9734 if { (ac_try
="$ac_link"
9736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_link") 2>conftest.er1
9742 grep -v '^ *+' conftest.er1 >conftest.err
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } && {
9747 test -z "$ac_c_werror_flag" ||
9748 test ! -s conftest.err
9749 } && test -s conftest$ac_exeext &&
9750 $as_test_x conftest$ac_exeext; then
9751 ac_cv_lib_curses_waddch=yes
9753 echo "$as_me: failed program was:" >&5
9754 sed 's/^/| /' conftest.$ac_ext >&5
9756 ac_cv_lib_curses_waddch=no
9759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9760 conftest$ac_exeext conftest.$ac_ext
9761 LIBS=$ac_check_lib_save_LIBS
9763 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9764 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9765 if test $ac_cv_lib_curses_waddch = yes; then
9766 CURSESLIBS="-lcurses"
9770 ac_save_LIBS="$LIBS"
9771 LIBS="$LIBS $CURSESLIBS"
9773 for ac_func in mousemask
9775 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 cat >conftest.$ac_ext <<_ACEOF
9784 cat confdefs.h >>conftest.$ac_ext
9785 cat >>conftest.$ac_ext <<_ACEOF
9786 /* end confdefs.h. */
9787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9789 #define $ac_func innocuous_$ac_func
9791 /* System header to define __stub macros and hopefully few prototypes,
9792 which can conflict with char $ac_func (); below.
9793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9794 <limits.h> exists even on freestanding compilers. */
9797 # include <limits.h>
9799 # include <assert.h>
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9811 /* The GNU C library defines this for functions which it implements
9812 to always fail with ENOSYS. Some functions are actually named
9813 something starting with __ and the normal name is an alias. */
9814 #if defined __stub_$ac_func || defined __stub___$ac_func
9826 rm -f conftest.$ac_objext conftest$ac_exeext
9827 if { (ac_try="$ac_link"
9829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9830 *) ac_try_echo
=$ac_try;;
9832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9833 (eval "$ac_link") 2>conftest.er1
9835 grep -v '^ *+' conftest.er1
>conftest.err
9837 cat conftest.err
>&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } && {
9840 test -z "$ac_c_werror_flag" ||
9841 test ! -s conftest.err
9842 } && test -s conftest
$ac_exeext &&
9843 $as_test_x conftest
$ac_exeext; then
9844 eval "$as_ac_var=yes"
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.
$ac_ext >&5
9849 eval "$as_ac_var=no"
9852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9853 conftest
$ac_exeext conftest.
$ac_ext
9855 ac_res
=`eval echo '${'$as_ac_var'}'`
9856 { echo "$as_me:$LINENO: result: $ac_res" >&5
9857 echo "${ECHO_T}$ac_res" >&6; }
9858 if test `eval echo '${'$as_ac_var'}'` = yes; then
9859 cat >>confdefs.h
<<_ACEOF
9860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9866 LIBS
="$ac_save_LIBS"
9868 # Extract the first word of "sane-config", so it can be a program name with args.
9869 set dummy sane-config
; ac_word
=$2
9870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9872 if test "${ac_cv_prog_sane_devel+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 if test -n "$sane_devel"; then
9876 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9882 test -z "$as_dir" && as_dir
=.
9883 for ac_exec_ext
in '' $ac_executable_extensions; do
9884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9885 ac_cv_prog_sane_devel
="sane-config"
9886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9893 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9896 sane_devel
=$ac_cv_prog_sane_devel
9897 if test -n "$sane_devel"; then
9898 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9899 echo "${ECHO_T}$sane_devel" >&6; }
9901 { echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6; }
9908 if test "$sane_devel" != "no"
9910 SANEINCL
="`$sane_devel --cflags`"
9911 ac_save_CPPFLAGS
="$CPPFLAGS"
9912 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9913 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9914 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9915 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9916 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9920 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9922 # Is the header compilable?
9923 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9924 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9925 cat >conftest.
$ac_ext <<_ACEOF
9928 cat confdefs.h
>>conftest.
$ac_ext
9929 cat >>conftest.
$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9931 $ac_includes_default
9932 #include <sane/sane.h>
9934 rm -f conftest.
$ac_objext
9935 if { (ac_try
="$ac_compile"
9937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9938 *) ac_try_echo=$ac_try;;
9940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9941 (eval "$ac_compile") 2>conftest.er1
9943 grep -v '^ *+' conftest.er1 >conftest.err
9945 cat conftest.err >&5
9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); } && {
9948 test -z "$ac_c_werror_flag" ||
9949 test ! -s conftest.err
9950 } && test -s conftest.$ac_objext; then
9951 ac_header_compiler=yes
9953 echo "$as_me: failed program was:" >&5
9954 sed 's/^/| /' conftest.$ac_ext >&5
9956 ac_header_compiler=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9960 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9961 echo "${ECHO_T}$ac_header_compiler" >&6; }
9963 # Is the header present?
9964 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9965 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9966 cat >conftest.$ac_ext <<_ACEOF
9969 cat confdefs.h >>conftest.$ac_ext
9970 cat >>conftest.$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9972 #include <sane/sane.h>
9974 if { (ac_try="$ac_cpp conftest.$ac_ext"
9976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9977 *) ac_try_echo
=$ac_try;;
9979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9982 grep -v '^ *+' conftest.er1
>conftest.err
9984 cat conftest.err
>&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } >/dev
/null
&& {
9987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9988 test ! -s conftest.err
9990 ac_header_preproc
=yes
9992 echo "$as_me: failed program was:" >&5
9993 sed 's/^/| /' conftest.
$ac_ext >&5
9995 ac_header_preproc
=no
9998 rm -f conftest.err conftest.
$ac_ext
9999 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10000 echo "${ECHO_T}$ac_header_preproc" >&6; }
10002 # So? What about this header?
10003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10005 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10006 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10007 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10008 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10009 ac_header_preproc
=yes
10012 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10013 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10014 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10015 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10016 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10017 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10018 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10019 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10020 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10021 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10022 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10023 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10025 ## ------------------------------------ ##
10026 ## Report this to wine-devel@winehq.org ##
10027 ## ------------------------------------ ##
10029 ) |
sed "s/^/$as_me: WARNING: /" >&2
10032 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10033 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10034 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10035 echo $ECHO_N "(cached) $ECHO_C" >&6
10037 ac_cv_header_sane_sane_h
=$ac_header_preproc
10039 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10040 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10043 if test $ac_cv_header_sane_sane_h = yes; then
10045 cat >>confdefs.h
<<\_ACEOF
10046 #define HAVE_SANE 1
10054 CPPFLAGS
="$ac_save_CPPFLAGS"
10057 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10058 set dummy gphoto2-config
; ac_word
=$2
10059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10061 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 if test -n "$gphoto2_devel"; then
10065 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10068 for as_dir
in $PATH
10071 test -z "$as_dir" && as_dir
=.
10072 for ac_exec_ext
in '' $ac_executable_extensions; do
10073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10074 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10082 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10085 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10086 if test -n "$gphoto2_devel"; then
10087 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10088 echo "${ECHO_T}$gphoto2_devel" >&6; }
10090 { echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6; }
10095 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10096 set dummy gphoto2-port-config
; ac_word
=$2
10097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10099 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 if test -n "$gphoto2port_devel"; then
10103 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10106 for as_dir
in $PATH
10109 test -z "$as_dir" && as_dir
=.
10110 for ac_exec_ext
in '' $ac_executable_extensions; do
10111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10112 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10120 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10123 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10124 if test -n "$gphoto2port_devel"; then
10125 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10126 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10128 { echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6; }
10137 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10139 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10141 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10144 -L/usr
/lib|
-L/usr
/lib64
) ;;
10145 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
10148 ac_save_CPPFLAGS
="$CPPFLAGS"
10149 ac_save_LIBS
="$LIBS"
10150 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
10151 LIBS
="$LIBS $GPHOTO2LIBS"
10152 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10153 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10154 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10155 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10159 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10161 # Is the header compilable?
10162 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10163 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10164 cat >conftest.
$ac_ext <<_ACEOF
10167 cat confdefs.h
>>conftest.
$ac_ext
10168 cat >>conftest.
$ac_ext <<_ACEOF
10169 /* end confdefs.h. */
10170 $ac_includes_default
10171 #include <gphoto2-camera.h>
10173 rm -f conftest.
$ac_objext
10174 if { (ac_try
="$ac_compile"
10175 case "(($ac_try" in
10176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10177 *) ac_try_echo=$ac_try;;
10179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10180 (eval "$ac_compile") 2>conftest.er1
10182 grep -v '^ *+' conftest.er1 >conftest.err
10184 cat conftest.err >&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } && {
10187 test -z "$ac_c_werror_flag" ||
10188 test ! -s conftest.err
10189 } && test -s conftest.$ac_objext; then
10190 ac_header_compiler=yes
10192 echo "$as_me: failed program was:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10195 ac_header_compiler=no
10198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10199 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10200 echo "${ECHO_T}$ac_header_compiler" >&6; }
10202 # Is the header present?
10203 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10204 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10205 cat >conftest.$ac_ext <<_ACEOF
10208 cat confdefs.h >>conftest.$ac_ext
10209 cat >>conftest.$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10211 #include <gphoto2-camera.h>
10213 if { (ac_try="$ac_cpp conftest.$ac_ext"
10214 case "(($ac_try" in
10215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10216 *) ac_try_echo
=$ac_try;;
10218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10221 grep -v '^ *+' conftest.er1
>conftest.err
10223 cat conftest.err
>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } >/dev
/null
&& {
10226 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10227 test ! -s conftest.err
10229 ac_header_preproc
=yes
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.
$ac_ext >&5
10234 ac_header_preproc
=no
10237 rm -f conftest.err conftest.
$ac_ext
10238 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10239 echo "${ECHO_T}$ac_header_preproc" >&6; }
10241 # So? What about this header?
10242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10244 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10245 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10246 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10247 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10248 ac_header_preproc
=yes
10251 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10252 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10254 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10255 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10256 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10257 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10258 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10260 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10262 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10264 ## ------------------------------------ ##
10265 ## Report this to wine-devel@winehq.org ##
10266 ## ------------------------------------ ##
10268 ) |
sed "s/^/$as_me: WARNING: /" >&2
10271 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10272 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10273 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
10278 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10279 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10282 if test $ac_cv_header_gphoto2_camera_h = yes; then
10283 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10284 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10285 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 ac_check_lib_save_LIBS
=$LIBS
10289 LIBS
="-lgphoto2 $LIBS"
10290 cat >conftest.
$ac_ext <<_ACEOF
10293 cat confdefs.h
>>conftest.
$ac_ext
10294 cat >>conftest.
$ac_ext <<_ACEOF
10295 /* end confdefs.h. */
10297 /* Override any GCC internal prototype to avoid an error.
10298 Use char because int might match the return type of a GCC
10299 builtin and then its argument prototype would still apply. */
10303 char gp_camera_new ();
10307 return gp_camera_new ();
10312 rm -f conftest.
$ac_objext conftest
$ac_exeext
10313 if { (ac_try
="$ac_link"
10314 case "(($ac_try" in
10315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10316 *) ac_try_echo=$ac_try;;
10318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10319 (eval "$ac_link") 2>conftest.er1
10321 grep -v '^ *+' conftest.er1 >conftest.err
10323 cat conftest.err >&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); } && {
10326 test -z "$ac_c_werror_flag" ||
10327 test ! -s conftest.err
10328 } && test -s conftest$ac_exeext &&
10329 $as_test_x conftest$ac_exeext; then
10330 ac_cv_lib_gphoto2_gp_camera_new=yes
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_cv_lib_gphoto2_gp_camera_new=no
10338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_lib_save_LIBS
10342 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10343 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10344 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10346 cat >>confdefs.h <<\_ACEOF
10347 #define HAVE_GPHOTO2 1
10361 LIBS="$ac_save_LIBS"
10362 CPPFLAGS="$ac_save_CPPFLAGS"
10365 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10368 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10370 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10371 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10372 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10373 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10374 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10375 cat >conftest.$ac_ext <<_ACEOF
10378 cat confdefs.h >>conftest.$ac_ext
10379 cat >>conftest.$ac_ext <<_ACEOF
10380 /* end confdefs.h. */
10381 #include <unicode/ubidi.h>
10390 rm -f conftest.$ac_objext conftest$ac_exeext
10391 if { (ac_try="$ac_link"
10392 case "(($ac_try" in
10393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10394 *) ac_try_echo
=$ac_try;;
10396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10397 (eval "$ac_link") 2>conftest.er1
10399 grep -v '^ *+' conftest.er1
>conftest.err
10401 cat conftest.err
>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } && {
10404 test -z "$ac_c_werror_flag" ||
10405 test ! -s conftest.err
10406 } && test -s conftest
$ac_exeext &&
10407 $as_test_x conftest
$ac_exeext; then
10409 cat >>confdefs.h
<<\_ACEOF
10413 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10415 { echo "$as_me:$LINENO: result: yes" >&5
10416 echo "${ECHO_T}yes" >&6; }
10418 echo "$as_me: failed program was:" >&5
10419 sed 's/^/| /' conftest.
$ac_ext >&5
10421 { echo "$as_me:$LINENO: result: no" >&5
10422 echo "${ECHO_T}no" >&6; }
10425 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10426 conftest
$ac_exeext conftest.
$ac_ext
10433 if test "$ac_cv_header_resolv_h" = "yes"
10435 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10436 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10437 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 ac_check_lib_save_LIBS
=$LIBS
10441 LIBS
="-lresolv $LIBS"
10442 cat >conftest.
$ac_ext <<_ACEOF
10445 cat confdefs.h
>>conftest.
$ac_ext
10446 cat >>conftest.
$ac_ext <<_ACEOF
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10459 return res_query ();
10464 rm -f conftest.
$ac_objext conftest
$ac_exeext
10465 if { (ac_try
="$ac_link"
10466 case "(($ac_try" in
10467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10468 *) ac_try_echo=$ac_try;;
10470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10471 (eval "$ac_link") 2>conftest.er1
10473 grep -v '^ *+' conftest.er1 >conftest.err
10475 cat conftest.err >&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); } && {
10478 test -z "$ac_c_werror_flag" ||
10479 test ! -s conftest.err
10480 } && test -s conftest$ac_exeext &&
10481 $as_test_x conftest$ac_exeext; then
10482 ac_cv_lib_resolv_res_query=yes
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.$ac_ext >&5
10487 ac_cv_lib_resolv_res_query=no
10490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10491 conftest$ac_exeext conftest.$ac_ext
10492 LIBS=$ac_check_lib_save_LIBS
10494 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10495 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10496 if test $ac_cv_lib_resolv_res_query = yes; then
10498 cat >>confdefs.h <<\_ACEOF
10499 #define HAVE_RESOLV 1
10502 RESOLVLIBS="-lresolv"
10509 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10511 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10512 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10513 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10516 ac_check_lib_save_LIBS=$LIBS
10517 LIBS="-llcms $LIBS"
10518 cat >conftest.$ac_ext <<_ACEOF
10521 cat confdefs.h >>conftest.$ac_ext
10522 cat >>conftest.$ac_ext <<_ACEOF
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10531 char cmsOpenProfileFromFile ();
10535 return cmsOpenProfileFromFile ();
10540 rm -f conftest.$ac_objext conftest$ac_exeext
10541 if { (ac_try="$ac_link"
10542 case "(($ac_try" in
10543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10544 *) ac_try_echo
=$ac_try;;
10546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10547 (eval "$ac_link") 2>conftest.er1
10549 grep -v '^ *+' conftest.er1
>conftest.err
10551 cat conftest.err
>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } && {
10554 test -z "$ac_c_werror_flag" ||
10555 test ! -s conftest.err
10556 } && test -s conftest
$ac_exeext &&
10557 $as_test_x conftest
$ac_exeext; then
10558 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10560 echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.
$ac_ext >&5
10563 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10567 conftest
$ac_exeext conftest.
$ac_ext
10568 LIBS
=$ac_check_lib_save_LIBS
10570 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10571 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10572 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10574 cat >>confdefs.h
<<\_ACEOF
10575 #define HAVE_LCMS 1
10585 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10587 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10588 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10589 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 ac_check_lib_save_LIBS
=$LIBS
10593 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
10594 cat >conftest.
$ac_ext <<_ACEOF
10597 cat confdefs.h
>>conftest.
$ac_ext
10598 cat >>conftest.
$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10601 /* Override any GCC internal prototype to avoid an error.
10602 Use char because int might match the return type of a GCC
10603 builtin and then its argument prototype would still apply. */
10607 char ldap_initialize ();
10611 return ldap_initialize ();
10616 rm -f conftest.
$ac_objext conftest
$ac_exeext
10617 if { (ac_try
="$ac_link"
10618 case "(($ac_try" in
10619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10620 *) ac_try_echo=$ac_try;;
10622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10623 (eval "$ac_link") 2>conftest.er1
10625 grep -v '^ *+' conftest.er1 >conftest.err
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } && {
10630 test -z "$ac_c_werror_flag" ||
10631 test ! -s conftest.err
10632 } && test -s conftest$ac_exeext &&
10633 $as_test_x conftest$ac_exeext; then
10634 ac_cv_lib_ldap_r_ldap_initialize=yes
10636 echo "$as_me: failed program was:" >&5
10637 sed 's/^/| /' conftest.$ac_ext >&5
10639 ac_cv_lib_ldap_r_ldap_initialize=no
10642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10643 conftest$ac_exeext conftest.$ac_ext
10644 LIBS=$ac_check_lib_save_LIBS
10646 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10647 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10648 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10649 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10650 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10651 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 ac_check_lib_save_LIBS=$LIBS
10655 LIBS="-llber $LIBPTHREAD $LIBS"
10656 cat >conftest.$ac_ext <<_ACEOF
10659 cat confdefs.h >>conftest.$ac_ext
10660 cat >>conftest.$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10673 return ber_init ();
10678 rm -f conftest.$ac_objext conftest$ac_exeext
10679 if { (ac_try="$ac_link"
10680 case "(($ac_try" in
10681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10682 *) ac_try_echo
=$ac_try;;
10684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10685 (eval "$ac_link") 2>conftest.er1
10687 grep -v '^ *+' conftest.er1
>conftest.err
10689 cat conftest.err
>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } && {
10692 test -z "$ac_c_werror_flag" ||
10693 test ! -s conftest.err
10694 } && test -s conftest
$ac_exeext &&
10695 $as_test_x conftest
$ac_exeext; then
10696 ac_cv_lib_lber_ber_init
=yes
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.
$ac_ext >&5
10701 ac_cv_lib_lber_ber_init
=no
10704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10705 conftest
$ac_exeext conftest.
$ac_ext
10706 LIBS
=$ac_check_lib_save_LIBS
10708 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10709 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10710 if test $ac_cv_lib_lber_ber_init = yes; then
10712 cat >>confdefs.h
<<\_ACEOF
10713 #define HAVE_LDAP 1
10716 LDAPLIBS
="-lldap_r -llber"
10721 ac_wine_check_funcs_save_LIBS
="$LIBS"
10722 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
10728 ldap_count_references \
10729 ldap_first_reference \
10730 ldap_next_reference \
10731 ldap_parse_reference
10733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10736 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6
10739 cat >conftest.
$ac_ext <<_ACEOF
10742 cat confdefs.h
>>conftest.
$ac_ext
10743 cat >>conftest.
$ac_ext <<_ACEOF
10744 /* end confdefs.h. */
10745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10747 #define $ac_func innocuous_$ac_func
10749 /* System header to define __stub macros and hopefully few prototypes,
10750 which can conflict with char $ac_func (); below.
10751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10752 <limits.h> exists even on freestanding compilers. */
10755 # include <limits.h>
10757 # include <assert.h>
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10769 /* The GNU C library defines this for functions which it implements
10770 to always fail with ENOSYS. Some functions are actually named
10771 something starting with __ and the normal name is an alias. */
10772 #if defined __stub_$ac_func || defined __stub___$ac_func
10779 return $ac_func ();
10784 rm -f conftest.
$ac_objext conftest
$ac_exeext
10785 if { (ac_try
="$ac_link"
10786 case "(($ac_try" in
10787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10788 *) ac_try_echo=$ac_try;;
10790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10791 (eval "$ac_link") 2>conftest.er1
10793 grep -v '^ *+' conftest.er1 >conftest.err
10795 cat conftest.err >&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } && {
10798 test -z "$ac_c_werror_flag" ||
10799 test ! -s conftest.err
10800 } && test -s conftest$ac_exeext &&
10801 $as_test_x conftest$ac_exeext; then
10802 eval "$as_ac_var=yes"
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.$ac_ext >&5
10807 eval "$as_ac_var=no"
10810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10811 conftest$ac_exeext conftest.$ac_ext
10813 ac_res=`eval echo '${'$as_ac_var'}'`
10814 { echo "$as_me:$LINENO: result: $ac_res" >&5
10815 echo "${ECHO_T}$ac_res" >&6; }
10816 if test `eval echo '${'$as_ac_var'}'` = yes; then
10817 cat >>confdefs.h <<_ACEOF
10818 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10824 LIBS="$ac_wine_check_funcs_save_LIBS"
10831 # Extract the first word of "freetype-config", so it can be a program name with args.
10832 set dummy freetype-config; ac_word=$2
10833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10835 if test "${ac_cv_prog_ft_devel+set}" = set; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6
10838 if test -n "$ft_devel"; then
10839 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10842 for as_dir in $PATH
10845 test -z "$as_dir" && as_dir=.
10846 for ac_exec_ext in '' $ac_executable_extensions; do
10847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10848 ac_cv_prog_ft_devel="freetype-config"
10849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10859 ft_devel=$ac_cv_prog_ft_devel
10860 if test -n "$ft_devel"; then
10861 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10862 echo "${ECHO_T}$ft_devel" >&6; }
10864 { echo "$as_me:$LINENO: result: no" >&5
10865 echo "${ECHO_T}no" >&6; }
10869 if test "$ft_devel" = "no"
10871 # Extract the first word of "freetype2-config", so it can be a program name with args.
10872 set dummy freetype2-config; ac_word=$2
10873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10875 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 if test -n "$ft_devel2"; then
10879 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10882 for as_dir in $PATH
10885 test -z "$as_dir" && as_dir=.
10886 for ac_exec_ext in '' $ac_executable_extensions; do
10887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10888 ac_cv_prog_ft_devel2="freetype2-config"
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10896 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10899 ft_devel2=$ac_cv_prog_ft_devel2
10900 if test -n "$ft_devel2"; then
10901 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10902 echo "${ECHO_T}$ft_devel2" >&6; }
10904 { echo "$as_me:$LINENO: result: no" >&5
10905 echo "${ECHO_T}no" >&6; }
10909 if test "$ft_devel2" = "freetype2-config"
10911 ft_devel=$ft_devel2
10915 if test "$ft_devel" = "no"
10917 wine_cv_msg_freetype=yes
10919 FREETYPELIBS=`$ft_devel --libs`
10920 FREETYPEINCL=`$ft_devel --cflags`
10921 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10922 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10923 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10928 cat >conftest.$ac_ext <<_ACEOF
10931 cat confdefs.h >>conftest.$ac_ext
10932 cat >>conftest.$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10941 char FT_Init_FreeType ();
10945 return FT_Init_FreeType ();
10950 rm -f conftest.$ac_objext conftest$ac_exeext
10951 if { (ac_try="$ac_link"
10952 case "(($ac_try" in
10953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10954 *) ac_try_echo
=$ac_try;;
10956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10957 (eval "$ac_link") 2>conftest.er1
10959 grep -v '^ *+' conftest.er1
>conftest.err
10961 cat conftest.err
>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } && {
10964 test -z "$ac_c_werror_flag" ||
10965 test ! -s conftest.err
10966 } && test -s conftest
$ac_exeext &&
10967 $as_test_x conftest
$ac_exeext; then
10968 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.
$ac_ext >&5
10973 ac_cv_lib_freetype_FT_Init_FreeType
=no
10976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10977 conftest
$ac_exeext conftest.
$ac_ext
10978 LIBS
=$ac_check_lib_save_LIBS
10980 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10981 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10982 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10988 if test "$ft_lib" = "no"
10990 wine_cv_msg_freetype
=yes
10994 ac_save_CPPFLAGS
="$CPPFLAGS"
10995 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
11007 for ac_header
in ft2build.h \
11008 freetype
/freetype.h \
11009 freetype
/ftglyph.h \
11010 freetype
/tttables.h \
11011 freetype
/ftnames.h \
11012 freetype
/ftsnames.h \
11013 freetype
/ttnameid.h \
11014 freetype
/ftoutln.h \
11015 freetype
/ftwinfnt.h \
11016 freetype
/ftmodapi.h \
11017 freetype
/internal
/sfnt.h
11019 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11020 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11022 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 cat >conftest.
$ac_ext <<_ACEOF
11028 cat confdefs.h
>>conftest.
$ac_ext
11029 cat >>conftest.
$ac_ext <<_ACEOF
11030 /* end confdefs.h. */
11031 #if HAVE_FT2BUILD_H
11032 #include <ft2build.h>
11035 #include <$ac_header>
11037 rm -f conftest.
$ac_objext
11038 if { (ac_try
="$ac_compile"
11039 case "(($ac_try" in
11040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;;
11043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11044 (eval "$ac_compile") 2>conftest.er1
11046 grep -v '^ *+' conftest.er1 >conftest.err
11048 cat conftest.err >&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); } && {
11051 test -z "$ac_c_werror_flag" ||
11052 test ! -s conftest.err
11053 } && test -s conftest.$ac_objext; then
11054 eval "$as_ac_Header=yes"
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11059 eval "$as_ac_Header=no"
11062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11064 ac_res=`eval echo '${'$as_ac_Header'}'`
11065 { echo "$as_me:$LINENO: result: $ac_res" >&5
11066 echo "${ECHO_T}$ac_res" >&6; }
11067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11068 cat >>confdefs.h <<_ACEOF
11069 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11076 cat >conftest.$ac_ext <<_ACEOF
11079 cat confdefs.h >>conftest.$ac_ext
11080 cat >>conftest.$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11082 #include <ft2build.h>
11083 #include <freetype/fttrigon.h>
11085 if { (ac_try="$ac_cpp conftest.$ac_ext"
11086 case "(($ac_try" in
11087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11088 *) ac_try_echo
=$ac_try;;
11090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11093 grep -v '^ *+' conftest.er1
>conftest.err
11095 cat conftest.err
>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } >/dev
/null
&& {
11098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11099 test ! -s conftest.err
11102 cat >>confdefs.h
<<\_ACEOF
11103 #define HAVE_FREETYPE_FTTRIGON_H 1
11106 wine_cv_fttrigon
=yes
11108 echo "$as_me: failed program was:" >&5
11109 sed 's/^/| /' conftest.
$ac_ext >&5
11111 wine_cv_fttrigon
=no
11114 rm -f conftest.err conftest.
$ac_ext
11115 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11116 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11117 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 cat >conftest.
$ac_ext <<_ACEOF
11123 cat confdefs.h
>>conftest.
$ac_ext
11124 cat >>conftest.
$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126 #include <freetype/ftmodapi.h>
11128 typedef FT_TrueTypeEngineType ac__type_new_;
11132 if ((ac__type_new_ *) 0)
11134 if (sizeof (ac__type_new_))
11140 rm -f conftest.
$ac_objext
11141 if { (ac_try
="$ac_compile"
11142 case "(($ac_try" in
11143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_compile") 2>conftest.er1
11149 grep -v '^ *+' conftest.er1 >conftest.err
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest.$ac_objext; then
11157 ac_cv_type_FT_TrueTypeEngineType=yes
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 ac_cv_type_FT_TrueTypeEngineType=no
11165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11167 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11168 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11169 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11171 cat >>confdefs.h <<_ACEOF
11172 #define HAVE_FT_TRUETYPEENGINETYPE 1
11178 ac_save_CFLAGS="$CFLAGS"
11179 CFLAGS="$CFLAGS $FREETYPELIBS"
11181 for ac_func in FT_Load_Sfnt_Table
11183 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11184 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11186 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11189 cat >conftest.$ac_ext <<_ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11197 #define $ac_func innocuous_$ac_func
11199 /* System header to define __stub macros and hopefully few prototypes,
11200 which can conflict with char $ac_func (); below.
11201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11202 <limits.h> exists even on freestanding compilers. */
11205 # include <limits.h>
11207 # include <assert.h>
11212 /* Override any GCC internal prototype to avoid an error.
11213 Use char because int might match the return type of a GCC
11214 builtin and then its argument prototype would still apply. */
11219 /* The GNU C library defines this for functions which it implements
11220 to always fail with ENOSYS. Some functions are actually named
11221 something starting with __ and the normal name is an alias. */
11222 #if defined __stub_$ac_func || defined __stub___$ac_func
11229 return $ac_func ();
11234 rm -f conftest.$ac_objext conftest$ac_exeext
11235 if { (ac_try="$ac_link"
11236 case "(($ac_try" in
11237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11238 *) ac_try_echo
=$ac_try;;
11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241 (eval "$ac_link") 2>conftest.er1
11243 grep -v '^ *+' conftest.er1
>conftest.err
11245 cat conftest.err
>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } && {
11248 test -z "$ac_c_werror_flag" ||
11249 test ! -s conftest.err
11250 } && test -s conftest
$ac_exeext &&
11251 $as_test_x conftest
$ac_exeext; then
11252 eval "$as_ac_var=yes"
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.
$ac_ext >&5
11257 eval "$as_ac_var=no"
11260 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11261 conftest
$ac_exeext conftest.
$ac_ext
11263 ac_res
=`eval echo '${'$as_ac_var'}'`
11264 { echo "$as_me:$LINENO: result: $ac_res" >&5
11265 echo "${ECHO_T}$ac_res" >&6; }
11266 if test `eval echo '${'$as_ac_var'}'` = yes; then
11267 cat >>confdefs.h
<<_ACEOF
11268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11274 CFLAGS
="$ac_save_CFLAGS"
11275 CPPFLAGS
="$ac_save_CPPFLAGS"
11276 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11279 cat >>confdefs.h
<<\_ACEOF
11280 #define HAVE_FREETYPE 1
11283 wine_cv_msg_freetype
=no
11287 wine_cv_msg_freetype
=yes
11292 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11294 FONTSSUBDIRS
="fonts"
11298 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11299 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11300 if test "${ac_cv_c_ppdev+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 cat >conftest.
$ac_ext <<_ACEOF
11306 cat confdefs.h
>>conftest.
$ac_ext
11307 cat >>conftest.
$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11309 #include <linux/ppdev.h>
11313 ioctl (1,PPCLAIM,0)
11318 rm -f conftest.
$ac_objext
11319 if { (ac_try
="$ac_compile"
11320 case "(($ac_try" in
11321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11322 *) ac_try_echo=$ac_try;;
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_compile") 2>conftest.er1
11327 grep -v '^ *+' conftest.er1 >conftest.err
11329 cat conftest.err >&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } && {
11332 test -z "$ac_c_werror_flag" ||
11333 test ! -s conftest.err
11334 } && test -s conftest.$ac_objext; then
11335 ac_cv_c_ppdev="yes"
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.$ac_ext >&5
11343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11346 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11347 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11348 if test "$ac_cv_c_ppdev" = "yes"
11351 cat >>confdefs.h <<\_ACEOF
11352 #define HAVE_PPDEV 1
11357 { echo "$as_me:$LINENO: checking for va_copy" >&5
11358 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11359 if test "${ac_cv_c_va_copy+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 cat >conftest.$ac_ext <<_ACEOF
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 #include <stdarg.h>
11379 rm -f conftest.$ac_objext conftest$ac_exeext
11380 if { (ac_try="$ac_link"
11381 case "(($ac_try" in
11382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11383 *) ac_try_echo
=$ac_try;;
11385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11386 (eval "$ac_link") 2>conftest.er1
11388 grep -v '^ *+' conftest.er1
>conftest.err
11390 cat conftest.err
>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } && {
11393 test -z "$ac_c_werror_flag" ||
11394 test ! -s conftest.err
11395 } && test -s conftest
$ac_exeext &&
11396 $as_test_x conftest
$ac_exeext; then
11397 ac_cv_c_va_copy
="yes"
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.
$ac_ext >&5
11402 ac_cv_c_va_copy
="no"
11405 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11406 conftest
$ac_exeext conftest.
$ac_ext
11409 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11410 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11411 if test "$ac_cv_c_va_copy" = "yes"
11414 cat >>confdefs.h
<<\_ACEOF
11415 #define HAVE_VA_COPY 1
11419 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11420 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11421 if test "${ac_cv_c___va_copy+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 cat >conftest.
$ac_ext <<_ACEOF
11427 cat confdefs.h
>>conftest.
$ac_ext
11428 cat >>conftest.
$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 #include <stdarg.h>
11435 __va_copy(ap1,ap2);
11441 rm -f conftest.
$ac_objext conftest
$ac_exeext
11442 if { (ac_try
="$ac_link"
11443 case "(($ac_try" in
11444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11445 *) ac_try_echo=$ac_try;;
11447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11448 (eval "$ac_link") 2>conftest.er1
11450 grep -v '^ *+' conftest.er1 >conftest.err
11452 cat conftest.err >&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } && {
11455 test -z "$ac_c_werror_flag" ||
11456 test ! -s conftest.err
11457 } && test -s conftest$ac_exeext &&
11458 $as_test_x conftest$ac_exeext; then
11459 ac_cv_c___va_copy="yes"
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11464 ac_cv_c___va_copy="no"
11467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11468 conftest$ac_exeext conftest.$ac_ext
11471 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11472 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11473 if test "$ac_cv_c___va_copy" = "yes"
11476 cat >>confdefs.h <<\_ACEOF
11477 #define HAVE___VA_COPY 1
11482 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11483 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11484 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 cat >conftest.$ac_ext <<_ACEOF
11490 cat confdefs.h >>conftest.$ac_ext
11491 cat >>conftest.$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11493 #include <setjmp.h>
11498 sigsetjmp( buf, 1 );
11499 siglongjmp( buf, 1 );
11504 rm -f conftest.$ac_objext conftest$ac_exeext
11505 if { (ac_try="$ac_link"
11506 case "(($ac_try" in
11507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11508 *) ac_try_echo
=$ac_try;;
11510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11511 (eval "$ac_link") 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } && {
11518 test -z "$ac_c_werror_flag" ||
11519 test ! -s conftest.err
11520 } && test -s conftest
$ac_exeext &&
11521 $as_test_x conftest
$ac_exeext; then
11522 ac_cv_c_sigsetjmp
="yes"
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.
$ac_ext >&5
11527 ac_cv_c_sigsetjmp
="no"
11530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11531 conftest
$ac_exeext conftest.
$ac_ext
11534 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11535 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11536 if test "$ac_cv_c_sigsetjmp" = "yes"
11539 cat >>confdefs.h
<<\_ACEOF
11540 #define HAVE_SIGSETJMP 1
11545 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11546 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11547 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11550 cat >conftest.
$ac_ext <<_ACEOF
11553 cat confdefs.h
>>conftest.
$ac_ext
11554 cat >>conftest.
$ac_ext <<_ACEOF
11555 /* end confdefs.h. */
11556 #define _GNU_SOURCE
11557 #include <pthread.h>
11559 typedef pthread_rwlock_t ac__type_new_;
11563 if ((ac__type_new_ *) 0)
11565 if (sizeof (ac__type_new_))
11571 rm -f conftest.
$ac_objext
11572 if { (ac_try
="$ac_compile"
11573 case "(($ac_try" in
11574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11575 *) ac_try_echo=$ac_try;;
11577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11578 (eval "$ac_compile") 2>conftest.er1
11580 grep -v '^ *+' conftest.er1 >conftest.err
11582 cat conftest.err >&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); } && {
11585 test -z "$ac_c_werror_flag" ||
11586 test ! -s conftest.err
11587 } && test -s conftest.$ac_objext; then
11588 ac_cv_type_pthread_rwlock_t=yes
11590 echo "$as_me: failed program was:" >&5
11591 sed 's/^/| /' conftest.$ac_ext >&5
11593 ac_cv_type_pthread_rwlock_t=no
11596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11598 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11599 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11600 if test $ac_cv_type_pthread_rwlock_t = yes; then
11602 cat >>confdefs.h <<_ACEOF
11603 #define HAVE_PTHREAD_RWLOCK_T 1
11608 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11609 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11610 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 cat >conftest.$ac_ext <<_ACEOF
11616 cat confdefs.h >>conftest.$ac_ext
11617 cat >>conftest.$ac_ext <<_ACEOF
11618 /* end confdefs.h. */
11619 #define _GNU_SOURCE
11620 #include <pthread.h>
11622 typedef pthread_rwlockattr_t ac__type_new_;
11626 if ((ac__type_new_ *) 0)
11628 if (sizeof (ac__type_new_))
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11638 *) ac_try_echo
=$ac_try;;
11640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11643 grep -v '^ *+' conftest.er1
>conftest.err
11645 cat conftest.err
>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } && {
11648 test -z "$ac_c_werror_flag" ||
11649 test ! -s conftest.err
11650 } && test -s conftest.
$ac_objext; then
11651 ac_cv_type_pthread_rwlockattr_t
=yes
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.
$ac_ext >&5
11656 ac_cv_type_pthread_rwlockattr_t
=no
11659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11661 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11662 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11663 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11665 cat >>confdefs.h
<<_ACEOF
11666 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11673 ac_wine_check_funcs_save_LIBS
="$LIBS"
11674 LIBS
="$LIBS $LIBPTHREAD"
11680 pthread_attr_get_np \
11681 pthread_getattr_np \
11682 pthread_get_stackaddr_np \
11683 pthread_get_stacksize_np
11685 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11688 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 cat >conftest.
$ac_ext <<_ACEOF
11694 cat confdefs.h
>>conftest.
$ac_ext
11695 cat >>conftest.
$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11699 #define $ac_func innocuous_$ac_func
11701 /* System header to define __stub macros and hopefully few prototypes,
11702 which can conflict with char $ac_func (); below.
11703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11704 <limits.h> exists even on freestanding compilers. */
11707 # include <limits.h>
11709 # include <assert.h>
11714 /* Override any GCC internal prototype to avoid an error.
11715 Use char because int might match the return type of a GCC
11716 builtin and then its argument prototype would still apply. */
11721 /* The GNU C library defines this for functions which it implements
11722 to always fail with ENOSYS. Some functions are actually named
11723 something starting with __ and the normal name is an alias. */
11724 #if defined __stub_$ac_func || defined __stub___$ac_func
11731 return $ac_func ();
11736 rm -f conftest.
$ac_objext conftest
$ac_exeext
11737 if { (ac_try
="$ac_link"
11738 case "(($ac_try" in
11739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11740 *) ac_try_echo=$ac_try;;
11742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11743 (eval "$ac_link") 2>conftest.er1
11745 grep -v '^ *+' conftest.er1 >conftest.err
11747 cat conftest.err >&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } && {
11750 test -z "$ac_c_werror_flag" ||
11751 test ! -s conftest.err
11752 } && test -s conftest$ac_exeext &&
11753 $as_test_x conftest$ac_exeext; then
11754 eval "$as_ac_var=yes"
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11759 eval "$as_ac_var=no"
11762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11763 conftest$ac_exeext conftest.$ac_ext
11765 ac_res=`eval echo '${'$as_ac_var'}'`
11766 { echo "$as_me:$LINENO: result: $ac_res" >&5
11767 echo "${ECHO_T}$ac_res" >&6; }
11768 if test `eval echo '${'$as_ac_var'}'` = yes; then
11769 cat >>confdefs.h <<_ACEOF
11770 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11776 LIBS="$ac_wine_check_funcs_save_LIBS"
11778 # Extract the first word of "artsc-config", so it can be a program name with args.
11779 set dummy artsc-config; ac_word=$2
11780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11782 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 case $ARTSCCONFIG in
11787 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11808 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11809 if test -n "$ARTSCCONFIG"; then
11810 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11811 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11813 { echo "$as_me:$LINENO: result: no" >&5
11814 echo "${ECHO_T}no" >&6; }
11818 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11821 for i in `$ARTSCCONFIG --cflags`
11824 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11828 for i in `$ARTSCCONFIG --libs`
11831 -L/usr/lib|-L/usr/lib64) ;;
11832 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11835 save_CFLAGS="$CFLAGS"
11836 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11837 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11838 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11839 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 ac_check_lib_save_LIBS=$LIBS
11843 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11844 cat >conftest.$ac_ext <<_ACEOF
11847 cat confdefs.h >>conftest.$ac_ext
11848 cat >>conftest.$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11861 return arts_init ();
11866 rm -f conftest.$ac_objext conftest$ac_exeext
11867 if { (ac_try="$ac_link"
11868 case "(($ac_try" in
11869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11870 *) ac_try_echo
=$ac_try;;
11872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_link") 2>conftest.er1
11875 grep -v '^ *+' conftest.er1
>conftest.err
11877 cat conftest.err
>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } && {
11880 test -z "$ac_c_werror_flag" ||
11881 test ! -s conftest.err
11882 } && test -s conftest
$ac_exeext &&
11883 $as_test_x conftest
$ac_exeext; then
11884 ac_cv_lib_artsc_arts_init
=yes
11886 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.
$ac_ext >&5
11889 ac_cv_lib_artsc_arts_init
=no
11892 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11893 conftest
$ac_exeext conftest.
$ac_ext
11894 LIBS
=$ac_check_lib_save_LIBS
11896 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11897 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11898 if test $ac_cv_lib_artsc_arts_init = yes; then
11899 cat >conftest.
$ac_ext <<_ACEOF
11902 cat confdefs.h
>>conftest.
$ac_ext
11903 cat >>conftest.
$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11909 arts_stream_t stream;
11914 rm -f conftest.
$ac_objext
11915 if { (ac_try
="$ac_compile"
11916 case "(($ac_try" in
11917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11918 *) ac_try_echo=$ac_try;;
11920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11921 (eval "$ac_compile") 2>conftest.er1
11923 grep -v '^ *+' conftest.er1 >conftest.err
11925 cat conftest.err >&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); } && {
11928 test -z "$ac_c_werror_flag" ||
11929 test ! -s conftest.err
11930 } && test -s conftest.$ac_objext; then
11931 ARTSLIBS=$ARTSC_LIBS
11933 ARTSINCL=$ARTSC_CFLAGS
11936 cat >>confdefs.h <<\_ACEOF
11937 #define HAVE_ARTS 1
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.$ac_ext >&5
11947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11950 CFLAGS="$save_CFLAGS"
11953 # Extract the first word of "esd-config", so it can be a program name with args.
11954 set dummy esd-config; ac_word=$2
11955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11957 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11962 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11966 for as_dir in $PATH
11969 test -z "$as_dir" && as_dir=.
11970 for ac_exec_ext in '' $ac_executable_extensions; do
11971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11972 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11983 ESDCONFIG=$ac_cv_path_ESDCONFIG
11984 if test -n "$ESDCONFIG"; then
11985 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11986 echo "${ECHO_T}$ESDCONFIG" >&6; }
11988 { echo "$as_me:$LINENO: result: no" >&5
11989 echo "${ECHO_T}no" >&6; }
11993 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11996 for i in `$ESDCONFIG --cflags`
11999 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12002 ESD_LIBS=`$ESDCONFIG --libs`
12003 save_CFLAGS="$CFLAGS"
12004 CFLAGS="$CFLAGS $ESD_CFLAGS"
12005 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12006 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12007 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 ac_check_lib_save_LIBS=$LIBS
12012 cat >conftest.$ac_ext <<_ACEOF
12015 cat confdefs.h >>conftest.$ac_ext
12016 cat >>conftest.$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12025 char esd_open_sound ();
12029 return esd_open_sound ();
12034 rm -f conftest.$ac_objext conftest$ac_exeext
12035 if { (ac_try="$ac_link"
12036 case "(($ac_try" in
12037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12038 *) ac_try_echo
=$ac_try;;
12040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12041 (eval "$ac_link") 2>conftest.er1
12043 grep -v '^ *+' conftest.er1
>conftest.err
12045 cat conftest.err
>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } && {
12048 test -z "$ac_c_werror_flag" ||
12049 test ! -s conftest.err
12050 } && test -s conftest
$ac_exeext &&
12051 $as_test_x conftest
$ac_exeext; then
12052 ac_cv_lib_esd_esd_open_sound
=yes
12054 echo "$as_me: failed program was:" >&5
12055 sed 's/^/| /' conftest.
$ac_ext >&5
12057 ac_cv_lib_esd_esd_open_sound
=no
12060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12061 conftest
$ac_exeext conftest.
$ac_ext
12062 LIBS
=$ac_check_lib_save_LIBS
12064 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12065 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12066 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12069 ESDINCL
=$ESD_CFLAGS
12072 cat >>confdefs.h
<<\_ACEOF
12078 CFLAGS
="$save_CFLAGS"
12083 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12085 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12086 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12087 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6
12090 ac_check_lib_save_LIBS
=$LIBS
12091 LIBS
="-lasound $LIBS"
12092 cat >conftest.
$ac_ext <<_ACEOF
12095 cat confdefs.h
>>conftest.
$ac_ext
12096 cat >>conftest.
$ac_ext <<_ACEOF
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12105 char snd_pcm_hw_params_get_access ();
12109 return snd_pcm_hw_params_get_access ();
12114 rm -f conftest.
$ac_objext conftest
$ac_exeext
12115 if { (ac_try
="$ac_link"
12116 case "(($ac_try" in
12117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12118 *) ac_try_echo=$ac_try;;
12120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12121 (eval "$ac_link") 2>conftest.er1
12123 grep -v '^ *+' conftest.er1 >conftest.err
12125 cat conftest.err >&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } && {
12128 test -z "$ac_c_werror_flag" ||
12129 test ! -s conftest.err
12130 } && test -s conftest$ac_exeext &&
12131 $as_test_x conftest$ac_exeext; then
12132 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12137 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12141 conftest$ac_exeext conftest.$ac_ext
12142 LIBS=$ac_check_lib_save_LIBS
12144 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12145 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12146 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12147 cat >conftest.$ac_ext <<_ACEOF
12150 cat confdefs.h >>conftest.$ac_ext
12151 cat >>conftest.$ac_ext <<_ACEOF
12152 /* end confdefs.h. */
12153 #ifdef HAVE_ALSA_ASOUNDLIB_H
12154 #include <alsa/asoundlib.h>
12155 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12156 #include <sys/asoundlib.h>
12161 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12166 rm -f conftest.$ac_objext
12167 if { (ac_try="$ac_compile"
12168 case "(($ac_try" in
12169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12170 *) ac_try_echo
=$ac_try;;
12172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12173 (eval "$ac_compile") 2>conftest.er1
12175 grep -v '^ *+' conftest.er1
>conftest.err
12177 cat conftest.err
>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && {
12180 test -z "$ac_c_werror_flag" ||
12181 test ! -s conftest.err
12182 } && test -s conftest.
$ac_objext; then
12184 cat >>confdefs.h
<<\_ACEOF
12185 #define HAVE_ALSA 1
12188 ALSALIBS
="-lasound"
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.
$ac_ext >&5
12196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12204 if test "$ac_cv_header_libaudioio_h" = "yes"
12206 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12207 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12208 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 ac_check_lib_save_LIBS
=$LIBS
12212 LIBS
="-laudioio $LIBS"
12213 cat >conftest.
$ac_ext <<_ACEOF
12216 cat confdefs.h
>>conftest.
$ac_ext
12217 cat >>conftest.
$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12226 char AudioIOGetVersion ();
12230 return AudioIOGetVersion ();
12235 rm -f conftest.
$ac_objext conftest
$ac_exeext
12236 if { (ac_try
="$ac_link"
12237 case "(($ac_try" in
12238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12239 *) ac_try_echo=$ac_try;;
12241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12242 (eval "$ac_link") 2>conftest.er1
12244 grep -v '^ *+' conftest.er1 >conftest.err
12246 cat conftest.err >&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && {
12249 test -z "$ac_c_werror_flag" ||
12250 test ! -s conftest.err
12251 } && test -s conftest$ac_exeext &&
12252 $as_test_x conftest$ac_exeext; then
12253 ac_cv_lib_audioio_AudioIOGetVersion=yes
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.$ac_ext >&5
12258 ac_cv_lib_audioio_AudioIOGetVersion=no
12261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_lib_save_LIBS
12265 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12266 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12267 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12268 AUDIOIOLIBS="-laudioio"
12270 cat >>confdefs.h <<\_ACEOF
12271 #define HAVE_LIBAUDIOIO 1
12279 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12281 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12282 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12283 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 ac_check_lib_save_LIBS=$LIBS
12287 LIBS="-lcapi20 $LIBS"
12288 cat >conftest.$ac_ext <<_ACEOF
12291 cat confdefs.h >>conftest.$ac_ext
12292 cat >>conftest.$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12301 char capi20_register ();
12305 return capi20_register ();
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (ac_try="$ac_link"
12312 case "(($ac_try" in
12313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12314 *) ac_try_echo
=$ac_try;;
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_link") 2>conftest.er1
12319 grep -v '^ *+' conftest.er1
>conftest.err
12321 cat conftest.err
>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } && {
12324 test -z "$ac_c_werror_flag" ||
12325 test ! -s conftest.err
12326 } && test -s conftest
$ac_exeext &&
12327 $as_test_x conftest
$ac_exeext; then
12328 ac_cv_lib_capi20_capi20_register
=yes
12330 echo "$as_me: failed program was:" >&5
12331 sed 's/^/| /' conftest.
$ac_ext >&5
12333 ac_cv_lib_capi20_capi20_register
=no
12336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12337 conftest
$ac_exeext conftest.
$ac_ext
12338 LIBS
=$ac_check_lib_save_LIBS
12340 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12341 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12342 if test $ac_cv_lib_capi20_capi20_register = yes; then
12344 cat >>confdefs.h
<<\_ACEOF
12345 #define HAVE_CAPI4LINUX 1
12355 if test "x${GCC}" = "xyes"
12357 EXTRACFLAGS
="-Wall -pipe"
12359 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12360 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12361 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12364 if test "$cross_compiling" = yes; then
12365 ac_cv_c_gcc_strength_bug
="yes"
12367 cat >conftest.
$ac_ext <<_ACEOF
12370 cat confdefs.h
>>conftest.
$ac_ext
12371 cat >>conftest.
$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12374 int L[4] = {0,1,2,3};
12376 static int Array[3];
12377 unsigned int B = 3;
12379 for(i=0; i<B; i++) Array[i] = i - 3;
12380 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12383 exit( Array[1] != -2 || L[2] != 3);
12386 rm -f conftest
$ac_exeext
12387 if { (ac_try
="$ac_link"
12388 case "(($ac_try" in
12389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12390 *) ac_try_echo=$ac_try;;
12392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12393 (eval "$ac_link") 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12397 { (case "(($ac_try" in
12398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12399 *) ac_try_echo
=$ac_try;;
12401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12402 (eval "$ac_try") 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_cv_c_gcc_strength_bug
="no"
12408 echo "$as_me: program exited with status $ac_status" >&5
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.
$ac_ext >&5
12412 ( exit $ac_status )
12413 ac_cv_c_gcc_strength_bug
="yes"
12415 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12420 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12421 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12422 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12424 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12428 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12429 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12430 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12433 ac_wine_try_cflags_saved
=$CFLAGS
12434 CFLAGS
="$CFLAGS -fshort-wchar"
12435 cat >conftest.
$ac_ext <<_ACEOF
12438 cat confdefs.h
>>conftest.
$ac_ext
12439 cat >>conftest.
$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12450 rm -f conftest.
$ac_objext conftest
$ac_exeext
12451 if { (ac_try
="$ac_link"
12452 case "(($ac_try" in
12453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12454 *) ac_try_echo=$ac_try;;
12456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12457 (eval "$ac_link") 2>conftest.er1
12459 grep -v '^ *+' conftest.er1 >conftest.err
12461 cat conftest.err >&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } && {
12464 test -z "$ac_c_werror_flag" ||
12465 test ! -s conftest.err
12466 } && test -s conftest$ac_exeext &&
12467 $as_test_x conftest$ac_exeext; then
12468 ac_cv_cflags__fshort_wchar=yes
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_cv_cflags__fshort_wchar=no
12476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12477 conftest$ac_exeext conftest.$ac_ext
12478 CFLAGS=$ac_wine_try_cflags_saved
12480 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12481 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12482 if test $ac_cv_cflags__fshort_wchar = yes; then
12484 cat >>confdefs.h <<\_ACEOF
12485 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12490 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12491 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12492 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 ac_wine_try_cflags_saved=$CFLAGS
12496 CFLAGS="$CFLAGS -fno-strict-aliasing"
12497 cat >conftest.$ac_ext <<_ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12512 rm -f conftest.$ac_objext conftest$ac_exeext
12513 if { (ac_try="$ac_link"
12514 case "(($ac_try" in
12515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12516 *) ac_try_echo
=$ac_try;;
12518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12519 (eval "$ac_link") 2>conftest.er1
12521 grep -v '^ *+' conftest.er1
>conftest.err
12523 cat conftest.err
>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } && {
12526 test -z "$ac_c_werror_flag" ||
12527 test ! -s conftest.err
12528 } && test -s conftest
$ac_exeext &&
12529 $as_test_x conftest
$ac_exeext; then
12530 ac_cv_cflags__fno_strict_aliasing
=yes
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.
$ac_ext >&5
12535 ac_cv_cflags__fno_strict_aliasing
=no
12538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12539 conftest
$ac_exeext conftest.
$ac_ext
12540 CFLAGS
=$ac_wine_try_cflags_saved
12542 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12543 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12544 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12545 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12548 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12549 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12550 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 ac_wine_try_cflags_saved
=$CFLAGS
12554 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12555 cat >conftest.
$ac_ext <<_ACEOF
12558 cat confdefs.h
>>conftest.
$ac_ext
12559 cat >>conftest.
$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12570 rm -f conftest.
$ac_objext conftest
$ac_exeext
12571 if { (ac_try
="$ac_link"
12572 case "(($ac_try" in
12573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12574 *) ac_try_echo=$ac_try;;
12576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12577 (eval "$ac_link") 2>conftest.er1
12579 grep -v '^ *+' conftest.er1 >conftest.err
12581 cat conftest.err >&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } && {
12584 test -z "$ac_c_werror_flag" ||
12585 test ! -s conftest.err
12586 } && test -s conftest$ac_exeext &&
12587 $as_test_x conftest$ac_exeext; then
12588 ac_cv_cflags__Wdeclaration_after_statement=yes
12590 echo "$as_me: failed program was:" >&5
12591 sed 's/^/| /' conftest.$ac_ext >&5
12593 ac_cv_cflags__Wdeclaration_after_statement=no
12596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12597 conftest$ac_exeext conftest.$ac_ext
12598 CFLAGS=$ac_wine_try_cflags_saved
12600 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12601 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12602 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12603 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12606 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12607 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12608 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12611 ac_wine_try_cflags_saved=$CFLAGS
12612 CFLAGS="$CFLAGS -Wwrite-strings"
12613 cat >conftest.$ac_ext <<_ACEOF
12616 cat confdefs.h >>conftest.$ac_ext
12617 cat >>conftest.$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12628 rm -f conftest.$ac_objext conftest$ac_exeext
12629 if { (ac_try="$ac_link"
12630 case "(($ac_try" in
12631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12632 *) ac_try_echo
=$ac_try;;
12634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12635 (eval "$ac_link") 2>conftest.er1
12637 grep -v '^ *+' conftest.er1
>conftest.err
12639 cat conftest.err
>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } && {
12642 test -z "$ac_c_werror_flag" ||
12643 test ! -s conftest.err
12644 } && test -s conftest
$ac_exeext &&
12645 $as_test_x conftest
$ac_exeext; then
12646 ac_cv_cflags__Wwrite_strings
=yes
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.
$ac_ext >&5
12651 ac_cv_cflags__Wwrite_strings
=no
12654 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12655 conftest
$ac_exeext conftest.
$ac_ext
12656 CFLAGS
=$ac_wine_try_cflags_saved
12658 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12659 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12660 if test $ac_cv_cflags__Wwrite_strings = yes; then
12661 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12665 saved_CFLAGS
="$CFLAGS"
12666 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12667 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12668 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12669 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 cat >conftest.
$ac_ext <<_ACEOF
12675 cat confdefs.h
>>conftest.
$ac_ext
12676 cat >>conftest.
$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12678 #include <string.h>
12687 rm -f conftest.
$ac_objext
12688 if { (ac_try
="$ac_compile"
12689 case "(($ac_try" in
12690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12691 *) ac_try_echo=$ac_try;;
12693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12694 (eval "$ac_compile") 2>conftest.er1
12696 grep -v '^ *+' conftest.er1 >conftest.err
12698 cat conftest.err >&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } && {
12701 test -z "$ac_c_werror_flag" ||
12702 test ! -s conftest.err
12703 } && test -s conftest.$ac_objext; then
12704 ac_cv_c_string_h_warnings=no
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12709 ac_cv_c_string_h_warnings=yes
12712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12714 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12715 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12716 CFLAGS="$saved_CFLAGS"
12717 if test "$ac_cv_c_string_h_warnings" = "no"
12719 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12724 saved_CFLAGS="$CFLAGS"
12725 CFLAGS="$CFLAGS -Werror"
12726 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12727 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12728 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12729 echo $ECHO_N "(cached) $ECHO_C" >&6
12731 cat >conftest.$ac_ext <<_ACEOF
12734 cat confdefs.h >>conftest.$ac_ext
12735 cat >>conftest.$ac_ext <<_ACEOF
12736 /* end confdefs.h. */
12741 int iswlower(unsigned short);
12746 rm -f conftest.$ac_objext
12747 if { (ac_try="$ac_compile"
12748 case "(($ac_try" in
12749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12750 *) ac_try_echo
=$ac_try;;
12752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12753 (eval "$ac_compile") 2>conftest.er1
12755 grep -v '^ *+' conftest.er1
>conftest.err
12757 cat conftest.err
>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } && {
12760 test -z "$ac_c_werror_flag" ||
12761 test ! -s conftest.err
12762 } && test -s conftest.
$ac_objext; then
12763 ac_cv_c_builtin_wchar_ctype
=no
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 ac_cv_c_builtin_wchar_ctype
=yes
12771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12773 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12774 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12775 CFLAGS
="$saved_CFLAGS"
12776 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12778 BUILTINFLAG
="-fno-builtin"
12783 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12784 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12785 if test "${ac_cv_asm_func_def+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 cat >conftest.
$ac_ext <<_ACEOF
12791 cat confdefs.h
>>conftest.
$ac_ext
12792 cat >>conftest.
$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794 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"); }
12804 rm -f conftest.
$ac_objext conftest
$ac_exeext
12805 if { (ac_try
="$ac_link"
12806 case "(($ac_try" in
12807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12808 *) ac_try_echo=$ac_try;;
12810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12811 (eval "$ac_link") 2>conftest.er1
12813 grep -v '^ *+' conftest.er1 >conftest.err
12815 cat conftest.err >&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); } && {
12818 test -z "$ac_c_werror_flag" ||
12819 test ! -s conftest.err
12820 } && test -s conftest$ac_exeext &&
12821 $as_test_x conftest$ac_exeext; then
12822 ac_cv_asm_func_def=".def"
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12827 cat >conftest.$ac_ext <<_ACEOF
12830 cat confdefs.h >>conftest.$ac_ext
12831 cat >>conftest.$ac_ext <<_ACEOF
12832 /* end confdefs.h. */
12833 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12843 rm -f conftest.$ac_objext conftest$ac_exeext
12844 if { (ac_try="$ac_link"
12845 case "(($ac_try" in
12846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12847 *) ac_try_echo
=$ac_try;;
12849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12850 (eval "$ac_link") 2>conftest.er1
12852 grep -v '^ *+' conftest.er1
>conftest.err
12854 cat conftest.err
>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } && {
12857 test -z "$ac_c_werror_flag" ||
12858 test ! -s conftest.err
12859 } && test -s conftest
$ac_exeext &&
12860 $as_test_x conftest
$ac_exeext; then
12861 ac_cv_asm_func_def
=".type @function"
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12866 cat >conftest.
$ac_ext <<_ACEOF
12869 cat confdefs.h
>>conftest.
$ac_ext
12870 cat >>conftest.
$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12882 rm -f conftest.
$ac_objext conftest
$ac_exeext
12883 if { (ac_try
="$ac_link"
12884 case "(($ac_try" in
12885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12889 (eval "$ac_link") 2>conftest.er1
12891 grep -v '^ *+' conftest.er1 >conftest.err
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } && {
12896 test -z "$ac_c_werror_flag" ||
12897 test ! -s conftest.err
12898 } && test -s conftest$ac_exeext &&
12899 $as_test_x conftest$ac_exeext; then
12900 ac_cv_asm_func_def=".type 2"
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12905 ac_cv_asm_func_def="unknown"
12908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12909 conftest$ac_exeext conftest.$ac_ext
12912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12913 conftest$ac_exeext conftest.$ac_ext
12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12917 conftest$ac_exeext conftest.$ac_ext
12919 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12920 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12924 case "$ac_cv_asm_func_def" in
12926 cat >>confdefs.h <<\_ACEOF
12927 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12931 cat >>confdefs.h <<\_ACEOF
12932 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12936 cat >>confdefs.h <<\_ACEOF
12937 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12941 cat >>confdefs.h <<\_ACEOF
12942 #define __ASM_FUNC(name) ""
12948 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12949 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12950 if test "${ac_cv_c_extern_prefix+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 cat >conftest.$ac_ext <<_ACEOF
12956 cat confdefs.h >>conftest.$ac_ext
12957 cat >>conftest.$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12959 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12960 extern int ac_test;
12964 if (ac_test) return 1
12969 rm -f conftest.$ac_objext conftest$ac_exeext
12970 if { (ac_try="$ac_link"
12971 case "(($ac_try" in
12972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12973 *) ac_try_echo
=$ac_try;;
12975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12976 (eval "$ac_link") 2>conftest.er1
12978 grep -v '^ *+' conftest.er1
>conftest.err
12980 cat conftest.err
>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } && {
12983 test -z "$ac_c_werror_flag" ||
12984 test ! -s conftest.err
12985 } && test -s conftest
$ac_exeext &&
12986 $as_test_x conftest
$ac_exeext; then
12987 ac_cv_c_extern_prefix
="yes"
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.
$ac_ext >&5
12992 ac_cv_c_extern_prefix
="no"
12995 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12996 conftest
$ac_exeext conftest.
$ac_ext
12998 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12999 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13003 if test "$ac_cv_c_extern_prefix" = "yes"
13005 cat >>confdefs.h
<<\_ACEOF
13006 #define __ASM_NAME(name) "_" name
13010 cat >>confdefs.h
<<\_ACEOF
13011 #define __ASM_NAME(name) name
13019 DLLFLAGS
="-D_REENTRANT"
13034 if test -n "$ac_tool_prefix"; then
13035 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13036 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13039 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 if test -n "$DLLTOOL"; then
13043 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13046 for as_dir
in $PATH
13049 test -z "$as_dir" && as_dir
=.
13050 for ac_exec_ext
in '' $ac_executable_extensions; do
13051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13052 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13062 DLLTOOL
=$ac_cv_prog_DLLTOOL
13063 if test -n "$DLLTOOL"; then
13064 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13065 echo "${ECHO_T}$DLLTOOL" >&6; }
13067 { echo "$as_me:$LINENO: result: no" >&5
13068 echo "${ECHO_T}no" >&6; }
13073 if test -z "$ac_cv_prog_DLLTOOL"; then
13074 ac_ct_DLLTOOL
=$DLLTOOL
13075 # Extract the first word of "dlltool", so it can be a program name with args.
13076 set dummy dlltool
; ac_word
=$2
13077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13079 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 if test -n "$ac_ct_DLLTOOL"; then
13083 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13086 for as_dir
in $PATH
13089 test -z "$as_dir" && as_dir
=.
13090 for ac_exec_ext
in '' $ac_executable_extensions; do
13091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13092 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13102 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13103 if test -n "$ac_ct_DLLTOOL"; then
13104 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13105 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13107 { echo "$as_me:$LINENO: result: no" >&5
13108 echo "${ECHO_T}no" >&6; }
13111 if test "x$ac_ct_DLLTOOL" = x
; then
13114 case $cross_compiling:$ac_tool_warned in
13116 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13117 whose name does not start with the host triplet. If you think this
13118 configuration is useful to you, please write to autoconf@gnu.org." >&5
13119 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13120 whose name does not start with the host triplet. If you think this
13121 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13122 ac_tool_warned
=yes ;;
13124 DLLTOOL
=$ac_ct_DLLTOOL
13127 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13130 if test -n "$ac_tool_prefix"; then
13131 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13132 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13135 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 if test -n "$DLLWRAP"; then
13139 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13142 for as_dir
in $PATH
13145 test -z "$as_dir" && as_dir
=.
13146 for ac_exec_ext
in '' $ac_executable_extensions; do
13147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13148 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13158 DLLWRAP
=$ac_cv_prog_DLLWRAP
13159 if test -n "$DLLWRAP"; then
13160 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13161 echo "${ECHO_T}$DLLWRAP" >&6; }
13163 { echo "$as_me:$LINENO: result: no" >&5
13164 echo "${ECHO_T}no" >&6; }
13169 if test -z "$ac_cv_prog_DLLWRAP"; then
13170 ac_ct_DLLWRAP
=$DLLWRAP
13171 # Extract the first word of "dllwrap", so it can be a program name with args.
13172 set dummy dllwrap
; ac_word
=$2
13173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13175 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13176 echo $ECHO_N "(cached) $ECHO_C" >&6
13178 if test -n "$ac_ct_DLLWRAP"; then
13179 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13182 for as_dir
in $PATH
13185 test -z "$as_dir" && as_dir
=.
13186 for ac_exec_ext
in '' $ac_executable_extensions; do
13187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13188 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13198 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13199 if test -n "$ac_ct_DLLWRAP"; then
13200 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13201 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13203 { echo "$as_me:$LINENO: result: no" >&5
13204 echo "${ECHO_T}no" >&6; }
13207 if test "x$ac_ct_DLLWRAP" = x
; then
13210 case $cross_compiling:$ac_tool_warned in
13212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13213 whose name does not start with the host triplet. If you think this
13214 configuration is useful to you, please write to autoconf@gnu.org." >&5
13215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13216 whose name does not start with the host triplet. If you think this
13217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13218 ac_tool_warned
=yes ;;
13220 DLLWRAP
=$ac_ct_DLLWRAP
13223 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13226 if test -n "$ac_tool_prefix"; then
13227 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13228 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13231 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13234 if test -n "$MINGWAR"; then
13235 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
13237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13238 for as_dir
in $PATH
13241 test -z "$as_dir" && as_dir
=.
13242 for ac_exec_ext
in '' $ac_executable_extensions; do
13243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13244 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
13245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13254 MINGWAR
=$ac_cv_prog_MINGWAR
13255 if test -n "$MINGWAR"; then
13256 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13257 echo "${ECHO_T}$MINGWAR" >&6; }
13259 { echo "$as_me:$LINENO: result: no" >&5
13260 echo "${ECHO_T}no" >&6; }
13265 if test -z "$ac_cv_prog_MINGWAR"; then
13266 ac_ct_MINGWAR
=$MINGWAR
13267 # Extract the first word of "ar", so it can be a program name with args.
13268 set dummy
ar; ac_word
=$2
13269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13271 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13274 if test -n "$ac_ct_MINGWAR"; then
13275 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
13277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13278 for as_dir
in $PATH
13281 test -z "$as_dir" && as_dir
=.
13282 for ac_exec_ext
in '' $ac_executable_extensions; do
13283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13284 ac_cv_prog_ac_ct_MINGWAR
="ar"
13285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13294 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
13295 if test -n "$ac_ct_MINGWAR"; then
13296 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13297 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13299 { echo "$as_me:$LINENO: result: no" >&5
13300 echo "${ECHO_T}no" >&6; }
13303 if test "x$ac_ct_MINGWAR" = x
; then
13306 case $cross_compiling:$ac_tool_warned in
13308 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13309 whose name does not start with the host triplet. If you think this
13310 configuration is useful to you, please write to autoconf@gnu.org." >&5
13311 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13312 whose name does not start with the host triplet. If you think this
13313 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13314 ac_tool_warned
=yes ;;
13316 MINGWAR
=$ac_ct_MINGWAR
13319 MINGWAR
="$ac_cv_prog_MINGWAR"
13322 if test "$DLLWRAP" = "false"; then
13334 DLLFLAGS
="$DLLFLAGS -fPIC"
13335 LDDLLFLAGS
="-bundle -multiply_defined suppress"
13336 LIBWINE_LDFLAGS
="-multiply_defined suppress"
13337 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13338 STRIP
="$STRIP -u -r"
13339 COREFOUNDATIONLIB
="-framework CoreFoundation"
13341 IOKITLIB
="-framework IOKit -framework CoreFoundation"
13343 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13345 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13347 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
13350 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13352 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13357 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
13359 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13361 CARBONLIB
="-framework Carbon"
13363 QUARTZFILES
='$(QUARTZFILES)'
13367 DLLFLAGS
="$DLLFLAGS -fPIC"
13369 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13370 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13371 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 ac_wine_try_cflags_saved
=$CFLAGS
13375 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13376 cat >conftest.
$ac_ext <<_ACEOF
13379 rm -f conftest.
$ac_objext conftest
$ac_exeext
13380 if { (ac_try
="$ac_link"
13381 case "(($ac_try" in
13382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13383 *) ac_try_echo=$ac_try;;
13385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_link") 2>conftest.er1
13388 grep -v '^ *+' conftest.er1 >conftest.err
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } && {
13393 test -z "$ac_c_werror_flag" ||
13394 test ! -s conftest.err
13395 } && test -s conftest$ac_exeext &&
13396 $as_test_x conftest$ac_exeext; then
13397 ac_cv_c_dll_gnuelf="yes"
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.$ac_ext >&5
13402 ac_cv_c_dll_gnuelf="no"
13405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13406 conftest$ac_exeext conftest.$ac_ext
13407 CFLAGS=$ac_wine_try_cflags_saved
13409 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13410 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13411 if test "$ac_cv_c_dll_gnuelf" = "yes"
13413 LDSHARED="\$(CC) -shared"
13414 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13415 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13416 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13417 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 ac_wine_try_cflags_saved=$CFLAGS
13421 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13422 cat >conftest.$ac_ext <<_ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (ac_try="$ac_link"
13439 case "(($ac_try" in
13440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13441 *) ac_try_echo
=$ac_try;;
13443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13444 (eval "$ac_link") 2>conftest.er1
13446 grep -v '^ *+' conftest.er1
>conftest.err
13448 cat conftest.err
>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } && {
13451 test -z "$ac_c_werror_flag" ||
13452 test ! -s conftest.err
13453 } && test -s conftest
$ac_exeext &&
13454 $as_test_x conftest
$ac_exeext; then
13455 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.
$ac_ext >&5
13460 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
13463 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13464 conftest
$ac_exeext conftest.
$ac_ext
13465 CFLAGS
=$ac_wine_try_cflags_saved
13467 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13468 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13469 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13470 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13472 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13473 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13474 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 ac_wine_try_cflags_saved
=$CFLAGS
13478 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13479 cat >conftest.
$ac_ext <<_ACEOF
13482 cat confdefs.h
>>conftest.
$ac_ext
13483 cat >>conftest.
$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13494 rm -f conftest.
$ac_objext conftest
$ac_exeext
13495 if { (ac_try
="$ac_link"
13496 case "(($ac_try" in
13497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_link") 2>conftest.er1
13503 grep -v '^ *+' conftest.er1 >conftest.err
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest$ac_exeext &&
13511 $as_test_x conftest$ac_exeext; then
13512 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13517 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13521 conftest$ac_exeext conftest.$ac_ext
13522 CFLAGS=$ac_wine_try_cflags_saved
13524 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13525 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13526 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13527 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13533 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13534 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13535 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 ac_wine_try_cflags_saved=$CFLAGS
13539 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13540 cat >conftest.$ac_ext <<_ACEOF
13543 cat confdefs.h >>conftest.$ac_ext
13544 cat >>conftest.$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13555 rm -f conftest.$ac_objext conftest$ac_exeext
13556 if { (ac_try="$ac_link"
13557 case "(($ac_try" in
13558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13559 *) ac_try_echo
=$ac_try;;
13561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13562 (eval "$ac_link") 2>conftest.er1
13564 grep -v '^ *+' conftest.er1
>conftest.err
13566 cat conftest.err
>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } && {
13569 test -z "$ac_c_werror_flag" ||
13570 test ! -s conftest.err
13571 } && test -s conftest
$ac_exeext &&
13572 $as_test_x conftest
$ac_exeext; then
13573 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.
$ac_ext >&5
13578 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
13581 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13582 conftest
$ac_exeext conftest.
$ac_ext
13583 CFLAGS
=$ac_wine_try_cflags_saved
13585 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13586 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13587 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13588 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13592 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13593 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13594 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13595 echo $ECHO_N "(cached) $ECHO_C" >&6
13597 ac_wine_try_cflags_saved
=$CFLAGS
13598 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13599 cat >conftest.
$ac_ext <<_ACEOF
13602 cat confdefs.h
>>conftest.
$ac_ext
13603 cat >>conftest.
$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13614 rm -f conftest.
$ac_objext conftest
$ac_exeext
13615 if { (ac_try
="$ac_link"
13616 case "(($ac_try" in
13617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13618 *) ac_try_echo=$ac_try;;
13620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13621 (eval "$ac_link") 2>conftest.er1
13623 grep -v '^ *+' conftest.er1 >conftest.err
13625 cat conftest.err >&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } && {
13628 test -z "$ac_c_werror_flag" ||
13629 test ! -s conftest.err
13630 } && test -s conftest$ac_exeext &&
13631 $as_test_x conftest$ac_exeext; then
13632 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13637 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13641 conftest$ac_exeext conftest.$ac_ext
13642 CFLAGS=$ac_wine_try_cflags_saved
13644 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13645 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13646 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13647 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13651 echo '{ global: *; };' >conftest.map
13652 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13653 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13654 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13655 echo $ECHO_N "(cached) $ECHO_C" >&6
13657 ac_wine_try_cflags_saved=$CFLAGS
13658 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13659 cat >conftest.$ac_ext <<_ACEOF
13662 cat confdefs.h >>conftest.$ac_ext
13663 cat >>conftest.$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13674 rm -f conftest.$ac_objext conftest$ac_exeext
13675 if { (ac_try="$ac_link"
13676 case "(($ac_try" in
13677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13678 *) ac_try_echo
=$ac_try;;
13680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13681 (eval "$ac_link") 2>conftest.er1
13683 grep -v '^ *+' conftest.er1
>conftest.err
13685 cat conftest.err
>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } && {
13688 test -z "$ac_c_werror_flag" ||
13689 test ! -s conftest.err
13690 } && test -s conftest
$ac_exeext &&
13691 $as_test_x conftest
$ac_exeext; then
13692 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.
$ac_ext >&5
13697 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
13700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13701 conftest
$ac_exeext conftest.
$ac_ext
13702 CFLAGS
=$ac_wine_try_cflags_saved
13704 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13705 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13706 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13707 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13712 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13713 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13714 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 ac_wine_try_cflags_saved
=$CFLAGS
13718 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13719 cat >conftest.
$ac_ext <<_ACEOF
13722 cat confdefs.h
>>conftest.
$ac_ext
13723 cat >>conftest.
$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13734 rm -f conftest.
$ac_objext conftest
$ac_exeext
13735 if { (ac_try
="$ac_link"
13736 case "(($ac_try" in
13737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_link") 2>conftest.er1
13743 grep -v '^ *+' conftest.er1 >conftest.err
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest$ac_exeext &&
13751 $as_test_x conftest$ac_exeext; then
13752 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.$ac_ext >&5
13757 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13761 conftest$ac_exeext conftest.$ac_ext
13762 CFLAGS=$ac_wine_try_cflags_saved
13764 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13765 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13766 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13767 LDEXECFLAGS="-Wl,--export-dynamic"
13772 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
13773 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13774 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13776 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 ac_wine_try_cflags_saved=$CFLAGS
13779 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13780 cat >conftest.$ac_ext <<_ACEOF
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13795 rm -f conftest.$ac_objext conftest$ac_exeext
13796 if { (ac_try="$ac_link"
13797 case "(($ac_try" in
13798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13799 *) ac_try_echo
=$ac_try;;
13801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13802 (eval "$ac_link") 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } && {
13809 test -z "$ac_c_werror_flag" ||
13810 test ! -s conftest.err
13811 } && test -s conftest
$ac_exeext &&
13812 $as_test_x conftest
$ac_exeext; then
13813 eval "$as_ac_var=yes"
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.
$ac_ext >&5
13818 eval "$as_ac_var=no"
13821 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13822 conftest
$ac_exeext conftest.
$ac_ext
13823 CFLAGS
=$ac_wine_try_cflags_saved
13825 ac_res
=`eval echo '${'$as_ac_var'}'`
13826 { echo "$as_me:$LINENO: result: $ac_res" >&5
13827 echo "${ECHO_T}$ac_res" >&6; }
13828 if test `eval echo '${'$as_ac_var'}'` = yes; then
13829 LIBWINE_LDFLAGS
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13834 *i
[3456789]86* | x86_64
)
13835 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13836 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13837 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 ac_wine_try_cflags_saved
=$CFLAGS
13841 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13842 cat >conftest.
$ac_ext <<_ACEOF
13845 cat confdefs.h
>>conftest.
$ac_ext
13846 cat >>conftest.
$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13857 rm -f conftest.
$ac_objext conftest
$ac_exeext
13858 if { (ac_try
="$ac_link"
13859 case "(($ac_try" in
13860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13861 *) ac_try_echo=$ac_try;;
13863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13864 (eval "$ac_link") 2>conftest.er1
13866 grep -v '^ *+' conftest.er1 >conftest.err
13868 cat conftest.err >&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); } && {
13871 test -z "$ac_c_werror_flag" ||
13872 test ! -s conftest.err
13873 } && test -s conftest$ac_exeext &&
13874 $as_test_x conftest$ac_exeext; then
13875 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.$ac_ext >&5
13880 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13884 conftest$ac_exeext conftest.$ac_ext
13885 CFLAGS=$ac_wine_try_cflags_saved
13887 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13888 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13889 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13890 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13897 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13898 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13899 if test "${ac_cv_c_dll_unixware+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 ac_wine_try_cflags_saved=$CFLAGS
13903 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13904 cat >conftest.$ac_ext <<_ACEOF
13907 rm -f conftest.$ac_objext conftest$ac_exeext
13908 if { (ac_try="$ac_link"
13909 case "(($ac_try" in
13910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13911 *) ac_try_echo
=$ac_try;;
13913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13914 (eval "$ac_link") 2>conftest.er1
13916 grep -v '^ *+' conftest.er1
>conftest.err
13918 cat conftest.err
>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); } && {
13921 test -z "$ac_c_werror_flag" ||
13922 test ! -s conftest.err
13923 } && test -s conftest
$ac_exeext &&
13924 $as_test_x conftest
$ac_exeext; then
13925 ac_cv_c_dll_unixware
="yes"
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.
$ac_ext >&5
13930 ac_cv_c_dll_unixware
="no"
13933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13934 conftest
$ac_exeext conftest.
$ac_ext
13935 CFLAGS
=$ac_wine_try_cflags_saved
13937 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13938 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13939 if test "$ac_cv_c_dll_unixware" = "yes"
13941 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13942 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13945 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13946 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13947 if test "${ac_cv_c_dll_hpux+set}" = set; then
13948 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 ac_wine_try_cflags_saved
=$CFLAGS
13951 CFLAGS
="$CFLAGS -shared"
13952 cat >conftest.
$ac_ext <<_ACEOF
13955 rm -f conftest.
$ac_objext conftest
$ac_exeext
13956 if { (ac_try
="$ac_link"
13957 case "(($ac_try" in
13958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13959 *) ac_try_echo=$ac_try;;
13961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13962 (eval "$ac_link") 2>conftest.er1
13964 grep -v '^ *+' conftest.er1 >conftest.err
13966 cat conftest.err >&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } && {
13969 test -z "$ac_c_werror_flag" ||
13970 test ! -s conftest.err
13971 } && test -s conftest$ac_exeext &&
13972 $as_test_x conftest$ac_exeext; then
13973 ac_cv_c_dll_hpux="yes"
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13978 ac_cv_c_dll_hpux="no"
13981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13982 conftest$ac_exeext conftest.$ac_ext
13983 CFLAGS=$ac_wine_try_cflags_saved
13985 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13986 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13987 if test "$ac_cv_c_dll_hpux" = "yes"
13991 LDDLLFLAGS="-shared -fPIC"
13992 LDSHARED="\$(CC) -shared"
13999 if test "$cross_compiling" = "no"
14001 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14003 # Extract the first word of "$ac_prog", so it can be a program name with args.
14004 set dummy $ac_prog; ac_word=$2
14005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14007 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 if test -n "$CROSSCC"; then
14011 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14014 for as_dir in $PATH
14017 test -z "$as_dir" && as_dir=.
14018 for ac_exec_ext in '' $ac_executable_extensions; do
14019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14020 ac_cv_prog_CROSSCC="$ac_prog"
14021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14030 CROSSCC=$ac_cv_prog_CROSSCC
14031 if test -n "$CROSSCC"; then
14032 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14033 echo "${ECHO_T}$CROSSCC" >&6; }
14035 { echo "$as_me:$LINENO: result: no" >&5
14036 echo "${ECHO_T}no" >&6; }
14040 test -n "$CROSSCC" && break
14042 test -n "$CROSSCC" || CROSSCC="false"
14044 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14046 # Extract the first word of "$ac_prog", so it can be a program name with args.
14047 set dummy $ac_prog; ac_word=$2
14048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14050 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 if test -n "$DLLTOOL"; then
14054 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14057 for as_dir in $PATH
14060 test -z "$as_dir" && as_dir=.
14061 for ac_exec_ext in '' $ac_executable_extensions; do
14062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14063 ac_cv_prog_DLLTOOL="$ac_prog"
14064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14073 DLLTOOL=$ac_cv_prog_DLLTOOL
14074 if test -n "$DLLTOOL"; then
14075 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14076 echo "${ECHO_T}$DLLTOOL" >&6; }
14078 { echo "$as_me:$LINENO: result: no" >&5
14079 echo "${ECHO_T}no" >&6; }
14083 test -n "$DLLTOOL" && break
14085 test -n "$DLLTOOL" || DLLTOOL="false"
14087 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14089 # Extract the first word of "$ac_prog", so it can be a program name with args.
14090 set dummy $ac_prog; ac_word=$2
14091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14093 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 if test -n "$CROSSWINDRES"; then
14097 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14100 for as_dir in $PATH
14103 test -z "$as_dir" && as_dir=.
14104 for ac_exec_ext in '' $ac_executable_extensions; do
14105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14106 ac_cv_prog_CROSSWINDRES="$ac_prog"
14107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14116 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14117 if test -n "$CROSSWINDRES"; then
14118 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14119 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14121 { echo "$as_me:$LINENO: result: no" >&5
14122 echo "${ECHO_T}no" >&6; }
14126 test -n "$CROSSWINDRES" && break
14128 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14130 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14132 # Extract the first word of "$ac_prog", so it can be a program name with args.
14133 set dummy $ac_prog; ac_word=$2
14134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14136 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 if test -n "$MINGWAR"; then
14140 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143 for as_dir in $PATH
14146 test -z "$as_dir" && as_dir=.
14147 for ac_exec_ext in '' $ac_executable_extensions; do
14148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14149 ac_cv_prog_MINGWAR="$ac_prog"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 MINGWAR=$ac_cv_prog_MINGWAR
14160 if test -n "$MINGWAR"; then
14161 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14162 echo "${ECHO_T}$MINGWAR" >&6; }
14164 { echo "$as_me:$LINENO: result: no" >&5
14165 echo "${ECHO_T}no" >&6; }
14169 test -n "$MINGWAR" && break
14171 test -n "$MINGWAR" || MINGWAR="false"
14173 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14178 if test "$LIBEXT" = "a"; then
14179 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14180 It is currently not possible to build Wine without shared library
14181 (.so) support to allow transparent switch between .so and .dll files.
14182 If you are using Linux, you will need a newer binutils.
14184 echo "$as_me: error: could not find a way to build shared libraries.
14185 It is currently not possible to build Wine without shared library
14186 (.so) support to allow transparent switch between .so and .dll files.
14187 If you are using Linux, you will need a newer binutils.
14189 { (exit 1); exit 1; }; }
14194 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14197 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14200 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14208 SOCKETLIBS="-lws2_32"
14213 MAIN_BINARY="wine-pthread"
14217 linux* | k*bsd*-gnu)
14218 MAIN_BINARY="wine-glibc"
14220 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14227 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14229 # Extract the first word of "ldd", so it can be a program name with args.
14230 set dummy ldd; ac_word=$2
14231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14233 if test "${ac_cv_path_LDD+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14238 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14242 as_dummy="/sbin:/usr/sbin:$PATH"
14243 for as_dir in $as_dummy
14246 test -z "$as_dir" && as_dir=.
14247 for ac_exec_ext in '' $ac_executable_extensions; do
14248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14249 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14257 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14261 LDD=$ac_cv_path_LDD
14262 if test -n "$LDD"; then
14263 { echo "$as_me:$LINENO: result: $LDD" >&5
14264 echo "${ECHO_T}$LDD" >&6; }
14266 { echo "$as_me:$LINENO: result: no" >&5
14267 echo "${ECHO_T}no" >&6; }
14271 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14272 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14273 if test "${ac_cv_lib_soname_X11+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 ac_get_soname_save_LIBS=$LIBS
14277 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14278 cat >conftest.$ac_ext <<_ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14291 char XCreateWindow ();
14295 return XCreateWindow ();
14300 rm -f conftest.$ac_objext conftest$ac_exeext
14301 if { (ac_try="$ac_link"
14302 case "(($ac_try" in
14303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14304 *) ac_try_echo
=$ac_try;;
14306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14307 (eval "$ac_link") 2>conftest.er1
14309 grep -v '^ *+' conftest.er1
>conftest.err
14311 cat conftest.err
>&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); } && {
14314 test -z "$ac_c_werror_flag" ||
14315 test ! -s conftest.err
14316 } && test -s conftest
$ac_exeext &&
14317 $as_test_x conftest
$ac_exeext; then
14319 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'` ;;
14320 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14322 if test "x$ac_cv_lib_soname_X11" = "x"
14324 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14327 echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.
$ac_ext >&5
14330 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14334 conftest
$ac_exeext conftest.
$ac_ext
14335 LIBS
=$ac_get_soname_save_LIBS
14337 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14338 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14339 if test "${ac_cv_lib_soname_X11+set}" = set; then
14341 cat >>confdefs.h
<<_ACEOF
14342 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14347 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14348 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14349 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 ac_get_soname_save_LIBS
=$LIBS
14353 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14354 cat >conftest.
$ac_ext <<_ACEOF
14357 cat confdefs.h
>>conftest.
$ac_ext
14358 cat >>conftest.
$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14361 /* Override any GCC internal prototype to avoid an error.
14362 Use char because int might match the return type of a GCC
14363 builtin and then its argument prototype would still apply. */
14367 char XextCreateExtension ();
14371 return XextCreateExtension ();
14376 rm -f conftest.
$ac_objext conftest
$ac_exeext
14377 if { (ac_try
="$ac_link"
14378 case "(($ac_try" in
14379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14380 *) ac_try_echo=$ac_try;;
14382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14383 (eval "$ac_link") 2>conftest.er1
14385 grep -v '^ *+' conftest.er1 >conftest.err
14387 cat conftest.err >&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } && {
14390 test -z "$ac_c_werror_flag" ||
14391 test ! -s conftest.err
14392 } && test -s conftest$ac_exeext &&
14393 $as_test_x conftest$ac_exeext; then
14395 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'` ;;
14396 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14398 if test "x$ac_cv_lib_soname_Xext" = "x"
14400 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14406 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14410 conftest$ac_exeext conftest.$ac_ext
14411 LIBS=$ac_get_soname_save_LIBS
14413 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14414 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14415 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14417 cat >>confdefs.h <<_ACEOF
14418 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14423 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14424 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14425 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14428 ac_get_soname_save_LIBS=$LIBS
14429 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14430 cat >conftest.$ac_ext <<_ACEOF
14433 cat confdefs.h >>conftest.$ac_ext
14434 cat >>conftest.$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14437 /* Override any GCC internal prototype to avoid an error.
14438 Use char because int might match the return type of a GCC
14439 builtin and then its argument prototype would still apply. */
14443 char XOpenDevice ();
14447 return XOpenDevice ();
14452 rm -f conftest.$ac_objext conftest$ac_exeext
14453 if { (ac_try="$ac_link"
14454 case "(($ac_try" in
14455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14456 *) ac_try_echo
=$ac_try;;
14458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14459 (eval "$ac_link") 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } && {
14466 test -z "$ac_c_werror_flag" ||
14467 test ! -s conftest.err
14468 } && test -s conftest
$ac_exeext &&
14469 $as_test_x conftest
$ac_exeext; then
14471 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'` ;;
14472 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14474 if test "x$ac_cv_lib_soname_Xi" = "x"
14476 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14479 echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.
$ac_ext >&5
14482 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14485 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14486 conftest
$ac_exeext conftest.
$ac_ext
14487 LIBS
=$ac_get_soname_save_LIBS
14489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14490 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14491 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14493 cat >>confdefs.h
<<_ACEOF
14494 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14499 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14500 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14501 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 ac_get_soname_save_LIBS
=$LIBS
14505 LIBS
="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14506 cat >conftest.
$ac_ext <<_ACEOF
14509 cat confdefs.h
>>conftest.
$ac_ext
14510 cat >>conftest.
$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14513 /* Override any GCC internal prototype to avoid an error.
14514 Use char because int might match the return type of a GCC
14515 builtin and then its argument prototype would still apply. */
14519 char XineramaQueryScreens ();
14523 return XineramaQueryScreens ();
14528 rm -f conftest.
$ac_objext conftest
$ac_exeext
14529 if { (ac_try
="$ac_link"
14530 case "(($ac_try" in
14531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_link") 2>conftest.er1
14537 grep -v '^ *+' conftest.er1 >conftest.err
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } && {
14542 test -z "$ac_c_werror_flag" ||
14543 test ! -s conftest.err
14544 } && test -s conftest$ac_exeext &&
14545 $as_test_x conftest$ac_exeext; then
14547 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'` ;;
14548 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXinerama
\\.so |
sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14550 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14552 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14558 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14562 conftest$ac_exeext conftest.$ac_ext
14563 LIBS=$ac_get_soname_save_LIBS
14565 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14566 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14567 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14569 cat >>confdefs.h <<_ACEOF
14570 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14575 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14576 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14577 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14580 ac_get_soname_save_LIBS=$LIBS
14581 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14582 cat >conftest.$ac_ext <<_ACEOF
14585 cat confdefs.h >>conftest.$ac_ext
14586 cat >>conftest.$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14595 char XRenderQueryExtension ();
14599 return XRenderQueryExtension ();
14604 rm -f conftest.$ac_objext conftest$ac_exeext
14605 if { (ac_try="$ac_link"
14606 case "(($ac_try" in
14607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14608 *) ac_try_echo
=$ac_try;;
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14611 (eval "$ac_link") 2>conftest.er1
14613 grep -v '^ *+' conftest.er1
>conftest.err
14615 cat conftest.err
>&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } && {
14618 test -z "$ac_c_werror_flag" ||
14619 test ! -s conftest.err
14620 } && test -s conftest
$ac_exeext &&
14621 $as_test_x conftest
$ac_exeext; then
14623 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'` ;;
14624 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14626 if test "x$ac_cv_lib_soname_Xrender" = "x"
14628 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.
$ac_ext >&5
14634 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14637 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14638 conftest
$ac_exeext conftest.
$ac_ext
14639 LIBS
=$ac_get_soname_save_LIBS
14641 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14642 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14643 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14645 cat >>confdefs.h
<<_ACEOF
14646 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14651 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14652 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14653 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14656 ac_get_soname_save_LIBS
=$LIBS
14657 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14658 cat >conftest.
$ac_ext <<_ACEOF
14661 cat confdefs.h
>>conftest.
$ac_ext
14662 cat >>conftest.
$ac_ext <<_ACEOF
14663 /* end confdefs.h. */
14665 /* Override any GCC internal prototype to avoid an error.
14666 Use char because int might match the return type of a GCC
14667 builtin and then its argument prototype would still apply. */
14671 char XRRQueryExtension ();
14675 return XRRQueryExtension ();
14680 rm -f conftest.
$ac_objext conftest
$ac_exeext
14681 if { (ac_try
="$ac_link"
14682 case "(($ac_try" in
14683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_link") 2>conftest.er1
14689 grep -v '^ *+' conftest.er1 >conftest.err
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } && {
14694 test -z "$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14696 } && test -s conftest$ac_exeext &&
14697 $as_test_x conftest$ac_exeext; then
14699 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'` ;;
14700 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14702 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14704 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14710 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14714 conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_get_soname_save_LIBS
14717 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14718 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14719 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14721 cat >>confdefs.h <<_ACEOF
14722 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14727 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14728 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14729 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 ac_get_soname_save_LIBS=$LIBS
14733 LIBS="-lfreetype $X_LIBS $LIBS"
14734 cat >conftest.$ac_ext <<_ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14747 char FT_Init_FreeType ();
14751 return FT_Init_FreeType ();
14756 rm -f conftest.$ac_objext conftest$ac_exeext
14757 if { (ac_try="$ac_link"
14758 case "(($ac_try" in
14759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14760 *) ac_try_echo
=$ac_try;;
14762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14763 (eval "$ac_link") 2>conftest.er1
14765 grep -v '^ *+' conftest.er1
>conftest.err
14767 cat conftest.err
>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } && {
14770 test -z "$ac_c_werror_flag" ||
14771 test ! -s conftest.err
14772 } && test -s conftest
$ac_exeext &&
14773 $as_test_x conftest
$ac_exeext; then
14775 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'` ;;
14776 so
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14778 if test "x$ac_cv_lib_soname_freetype" = "x"
14780 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.
$ac_ext >&5
14786 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14789 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14790 conftest
$ac_exeext conftest.
$ac_ext
14791 LIBS
=$ac_get_soname_save_LIBS
14793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14794 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14795 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14797 cat >>confdefs.h
<<_ACEOF
14798 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14803 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14804 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14805 if test "${ac_cv_lib_soname_GL+set}" = set; then
14806 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 ac_get_soname_save_LIBS
=$LIBS
14809 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14810 cat >conftest.
$ac_ext <<_ACEOF
14813 cat confdefs.h
>>conftest.
$ac_ext
14814 cat >>conftest.
$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14823 char glXQueryExtension ();
14827 return glXQueryExtension ();
14832 rm -f conftest.
$ac_objext conftest
$ac_exeext
14833 if { (ac_try
="$ac_link"
14834 case "(($ac_try" in
14835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;;
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839 (eval "$ac_link") 2>conftest.er1
14841 grep -v '^ *+' conftest.er1 >conftest.err
14843 cat conftest.err >&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } && {
14846 test -z "$ac_c_werror_flag" ||
14847 test ! -s conftest.err
14848 } && test -s conftest$ac_exeext &&
14849 $as_test_x conftest$ac_exeext; then
14851 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'` ;;
14852 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.so |
sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14854 if test "x$ac_cv_lib_soname_GL" = "x"
14856 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14859 echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.$ac_ext >&5
14862 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14866 conftest$ac_exeext conftest.$ac_ext
14867 LIBS=$ac_get_soname_save_LIBS
14869 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14870 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14871 if test "${ac_cv_lib_soname_GL+set}" = set; then
14873 cat >>confdefs.h <<_ACEOF
14874 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14879 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14880 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14881 if test "${ac_cv_lib_soname_hal+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14884 ac_get_soname_save_LIBS=$LIBS
14886 cat >conftest.$ac_ext <<_ACEOF
14889 cat confdefs.h >>conftest.$ac_ext
14890 cat >>conftest.$ac_ext <<_ACEOF
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14899 char libhal_ctx_new ();
14903 return libhal_ctx_new ();
14908 rm -f conftest.$ac_objext conftest$ac_exeext
14909 if { (ac_try="$ac_link"
14910 case "(($ac_try" in
14911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14912 *) ac_try_echo
=$ac_try;;
14914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14915 (eval "$ac_link") 2>conftest.er1
14917 grep -v '^ *+' conftest.er1
>conftest.err
14919 cat conftest.err
>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); } && {
14922 test -z "$ac_c_werror_flag" ||
14923 test ! -s conftest.err
14924 } && test -s conftest
$ac_exeext &&
14925 $as_test_x conftest
$ac_exeext; then
14927 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'` ;;
14928 so
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14930 if test "x$ac_cv_lib_soname_hal" = "x"
14932 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.
$ac_ext >&5
14938 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14942 conftest
$ac_exeext conftest.
$ac_ext
14943 LIBS
=$ac_get_soname_save_LIBS
14945 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14946 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14947 if test "${ac_cv_lib_soname_hal+set}" = set; then
14949 cat >>confdefs.h
<<_ACEOF
14950 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14955 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14956 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14957 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14960 ac_get_soname_save_LIBS
=$LIBS
14961 LIBS
="-ltxc_dxtn $LIBS"
14962 cat >conftest.
$ac_ext <<_ACEOF
14965 cat confdefs.h
>>conftest.
$ac_ext
14966 cat >>conftest.
$ac_ext <<_ACEOF
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14975 char fetch_2d_texel_rgba_dxt1 ();
14979 return fetch_2d_texel_rgba_dxt1 ();
14984 rm -f conftest.
$ac_objext conftest
$ac_exeext
14985 if { (ac_try
="$ac_link"
14986 case "(($ac_try" in
14987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14988 *) ac_try_echo=$ac_try;;
14990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_link") 2>conftest.er1
14993 grep -v '^ *+' conftest.er1 >conftest.err
14995 cat conftest.err >&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } && {
14998 test -z "$ac_c_werror_flag" ||
14999 test ! -s conftest.err
15000 } && test -s conftest$ac_exeext &&
15001 $as_test_x conftest$ac_exeext; then
15003 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'` ;;
15004 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'` ;;
15006 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15008 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.$ac_ext >&5
15014 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15018 conftest$ac_exeext conftest.$ac_ext
15019 LIBS=$ac_get_soname_save_LIBS
15021 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15022 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15023 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15025 cat >>confdefs.h <<_ACEOF
15026 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15031 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15032 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15033 if test "${ac_cv_lib_soname_cups+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 ac_get_soname_save_LIBS=$LIBS
15037 LIBS="-lcups $LIBS"
15038 cat >conftest.$ac_ext <<_ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15051 char cupsGetDefault ();
15055 return cupsGetDefault ();
15060 rm -f conftest.$ac_objext conftest$ac_exeext
15061 if { (ac_try="$ac_link"
15062 case "(($ac_try" in
15063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15064 *) ac_try_echo
=$ac_try;;
15066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15067 (eval "$ac_link") 2>conftest.er1
15069 grep -v '^ *+' conftest.er1
>conftest.err
15071 cat conftest.err
>&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); } && {
15074 test -z "$ac_c_werror_flag" ||
15075 test ! -s conftest.err
15076 } && test -s conftest
$ac_exeext &&
15077 $as_test_x conftest
$ac_exeext; then
15079 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'` ;;
15080 so
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15082 if test "x$ac_cv_lib_soname_cups" = "x"
15084 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15090 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15093 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15094 conftest
$ac_exeext conftest.
$ac_ext
15095 LIBS
=$ac_get_soname_save_LIBS
15097 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15098 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15099 if test "${ac_cv_lib_soname_cups+set}" = set; then
15101 cat >>confdefs.h
<<_ACEOF
15102 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15107 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15108 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15109 if test "${ac_cv_lib_soname_jack+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 ac_get_soname_save_LIBS
=$LIBS
15113 LIBS
="-ljack $LIBS"
15114 cat >conftest.
$ac_ext <<_ACEOF
15117 cat confdefs.h
>>conftest.
$ac_ext
15118 cat >>conftest.
$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15121 /* Override any GCC internal prototype to avoid an error.
15122 Use char because int might match the return type of a GCC
15123 builtin and then its argument prototype would still apply. */
15127 char jack_client_new ();
15131 return jack_client_new ();
15136 rm -f conftest.
$ac_objext conftest
$ac_exeext
15137 if { (ac_try
="$ac_link"
15138 case "(($ac_try" in
15139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15143 (eval "$ac_link") 2>conftest.er1
15145 grep -v '^ *+' conftest.er1 >conftest.err
15147 cat conftest.err >&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } && {
15150 test -z "$ac_c_werror_flag" ||
15151 test ! -s conftest.err
15152 } && test -s conftest$ac_exeext &&
15153 $as_test_x conftest$ac_exeext; then
15155 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'` ;;
15156 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjack
\\.so |
sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15158 if test "x$ac_cv_lib_soname_jack" = "x"
15160 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15170 conftest$ac_exeext conftest.$ac_ext
15171 LIBS=$ac_get_soname_save_LIBS
15173 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15174 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15175 if test "${ac_cv_lib_soname_jack+set}" = set; then
15177 cat >>confdefs.h <<_ACEOF
15178 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15183 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15184 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15185 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 ac_get_soname_save_LIBS=$LIBS
15189 LIBS="-lfontconfig $LIBS"
15190 cat >conftest.$ac_ext <<_ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15212 rm -f conftest.$ac_objext conftest$ac_exeext
15213 if { (ac_try="$ac_link"
15214 case "(($ac_try" in
15215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15216 *) ac_try_echo
=$ac_try;;
15218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15219 (eval "$ac_link") 2>conftest.er1
15221 grep -v '^ *+' conftest.er1
>conftest.err
15223 cat conftest.err
>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && {
15226 test -z "$ac_c_werror_flag" ||
15227 test ! -s conftest.err
15228 } && test -s conftest
$ac_exeext &&
15229 $as_test_x conftest
$ac_exeext; then
15231 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'` ;;
15232 so
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15234 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15236 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.
$ac_ext >&5
15242 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15245 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15246 conftest
$ac_exeext conftest.
$ac_ext
15247 LIBS
=$ac_get_soname_save_LIBS
15249 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15250 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15251 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15253 cat >>confdefs.h
<<_ACEOF
15254 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15259 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15260 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15261 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 ac_get_soname_save_LIBS
=$LIBS
15266 cat >conftest.
$ac_ext <<_ACEOF
15269 cat confdefs.h
>>conftest.
$ac_ext
15270 cat >>conftest.
$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15279 char SSL_library_init ();
15283 return SSL_library_init ();
15288 rm -f conftest.
$ac_objext conftest
$ac_exeext
15289 if { (ac_try
="$ac_link"
15290 case "(($ac_try" in
15291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15292 *) ac_try_echo=$ac_try;;
15294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15295 (eval "$ac_link") 2>conftest.er1
15297 grep -v '^ *+' conftest.er1 >conftest.err
15299 cat conftest.err >&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } && {
15302 test -z "$ac_c_werror_flag" ||
15303 test ! -s conftest.err
15304 } && test -s conftest$ac_exeext &&
15305 $as_test_x conftest$ac_exeext; then
15307 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'` ;;
15308 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libssl
\\.so |
sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15310 if test "x$ac_cv_lib_soname_ssl" = "x"
15312 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15318 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15322 conftest$ac_exeext conftest.$ac_ext
15323 LIBS=$ac_get_soname_save_LIBS
15325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15326 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15327 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15329 cat >>confdefs.h <<_ACEOF
15330 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15335 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15336 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15337 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 ac_get_soname_save_LIBS=$LIBS
15341 LIBS="-lcrypto $LIBS"
15342 cat >conftest.$ac_ext <<_ACEOF
15345 cat confdefs.h >>conftest.$ac_ext
15346 cat >>conftest.$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15355 char BIO_new_socket ();
15359 return BIO_new_socket ();
15364 rm -f conftest.$ac_objext conftest$ac_exeext
15365 if { (ac_try="$ac_link"
15366 case "(($ac_try" in
15367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15368 *) ac_try_echo
=$ac_try;;
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_link") 2>conftest.er1
15373 grep -v '^ *+' conftest.er1
>conftest.err
15375 cat conftest.err
>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest
$ac_exeext &&
15381 $as_test_x conftest
$ac_exeext; then
15383 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'` ;;
15384 so
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15386 if test "x$ac_cv_lib_soname_crypto" = "x"
15388 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.
$ac_ext >&5
15394 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15398 conftest
$ac_exeext conftest.
$ac_ext
15399 LIBS
=$ac_get_soname_save_LIBS
15401 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15402 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15403 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15405 cat >>confdefs.h
<<_ACEOF
15406 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15411 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15412 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15413 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 ac_get_soname_save_LIBS
=$LIBS
15417 LIBS
="-lncurses $LIBS"
15418 cat >conftest.
$ac_ext <<_ACEOF
15421 cat confdefs.h
>>conftest.
$ac_ext
15422 cat >>conftest.
$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15440 rm -f conftest.
$ac_objext conftest
$ac_exeext
15441 if { (ac_try
="$ac_link"
15442 case "(($ac_try" in
15443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15444 *) ac_try_echo=$ac_try;;
15446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15447 (eval "$ac_link") 2>conftest.er1
15449 grep -v '^ *+' conftest.er1 >conftest.err
15451 cat conftest.err >&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } && {
15454 test -z "$ac_c_werror_flag" ||
15455 test ! -s conftest.err
15456 } && test -s conftest$ac_exeext &&
15457 $as_test_x conftest$ac_exeext; then
15459 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'` ;;
15460 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libncurses
\\.so |
sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15462 if test "x$ac_cv_lib_soname_ncurses" = "x"
15464 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15470 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15474 conftest$ac_exeext conftest.$ac_ext
15475 LIBS=$ac_get_soname_save_LIBS
15477 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15478 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15479 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15481 cat >>confdefs.h <<_ACEOF
15482 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15487 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15488 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15489 if test "${ac_cv_lib_soname_curses+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 ac_get_soname_save_LIBS=$LIBS
15493 LIBS="-lcurses $LIBS"
15494 cat >conftest.$ac_ext <<_ACEOF
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15501 /* Override any GCC internal prototype to avoid an error.
15502 Use char because int might match the return type of a GCC
15503 builtin and then its argument prototype would still apply. */
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (ac_try="$ac_link"
15518 case "(($ac_try" in
15519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15520 *) ac_try_echo
=$ac_try;;
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_link") 2>conftest.er1
15525 grep -v '^ *+' conftest.er1
>conftest.err
15527 cat conftest.err
>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && {
15530 test -z "$ac_c_werror_flag" ||
15531 test ! -s conftest.err
15532 } && test -s conftest
$ac_exeext &&
15533 $as_test_x conftest
$ac_exeext; then
15535 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'` ;;
15536 so
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15538 if test "x$ac_cv_lib_soname_curses" = "x"
15540 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.
$ac_ext >&5
15546 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15549 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15550 conftest
$ac_exeext conftest.
$ac_ext
15551 LIBS
=$ac_get_soname_save_LIBS
15553 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15554 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15555 if test "${ac_cv_lib_soname_curses+set}" = set; then
15557 cat >>confdefs.h
<<_ACEOF
15558 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15563 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15564 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15565 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 ac_get_soname_save_LIBS
=$LIBS
15569 LIBS
="-ljpeg $LIBS"
15570 cat >conftest.
$ac_ext <<_ACEOF
15573 cat confdefs.h
>>conftest.
$ac_ext
15574 cat >>conftest.
$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15583 char jpeg_start_decompress ();
15587 return jpeg_start_decompress ();
15592 rm -f conftest.
$ac_objext conftest
$ac_exeext
15593 if { (ac_try
="$ac_link"
15594 case "(($ac_try" in
15595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15596 *) ac_try_echo=$ac_try;;
15598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15599 (eval "$ac_link") 2>conftest.er1
15601 grep -v '^ *+' conftest.er1 >conftest.err
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } && {
15606 test -z "$ac_c_werror_flag" ||
15607 test ! -s conftest.err
15608 } && test -s conftest$ac_exeext &&
15609 $as_test_x conftest$ac_exeext; then
15611 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'` ;;
15612 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjpeg
\\.so |
sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15614 if test "x$ac_cv_lib_soname_jpeg" = "x"
15616 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15619 echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.$ac_ext >&5
15622 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15626 conftest$ac_exeext conftest.$ac_ext
15627 LIBS=$ac_get_soname_save_LIBS
15629 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15630 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15631 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15633 cat >>confdefs.h <<_ACEOF
15634 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15639 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15640 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15641 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15642 echo $ECHO_N "(cached) $ECHO_C" >&6
15644 ac_get_soname_save_LIBS=$LIBS
15645 LIBS="-lcapi20 $LIBS"
15646 cat >conftest.$ac_ext <<_ACEOF
15649 cat confdefs.h >>conftest.$ac_ext
15650 cat >>conftest.$ac_ext <<_ACEOF
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15659 char capi20_isinstalled ();
15663 return capi20_isinstalled ();
15668 rm -f conftest.$ac_objext conftest$ac_exeext
15669 if { (ac_try="$ac_link"
15670 case "(($ac_try" in
15671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15672 *) ac_try_echo
=$ac_try;;
15674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_link") 2>conftest.er1
15677 grep -v '^ *+' conftest.er1
>conftest.err
15679 cat conftest.err
>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_c_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest
$ac_exeext &&
15685 $as_test_x conftest
$ac_exeext; then
15687 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'` ;;
15688 so
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15690 if test "x$ac_cv_lib_soname_capi20" = "x"
15692 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.
$ac_ext >&5
15698 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15701 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15702 conftest
$ac_exeext conftest.
$ac_ext
15703 LIBS
=$ac_get_soname_save_LIBS
15705 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15706 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15707 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15709 cat >>confdefs.h
<<_ACEOF
15710 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15715 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15716 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15717 if test "${ac_cv_lib_soname_sane+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15720 ac_get_soname_save_LIBS
=$LIBS
15721 LIBS
="-lsane $LIBS"
15722 cat >conftest.
$ac_ext <<_ACEOF
15725 cat confdefs.h
>>conftest.
$ac_ext
15726 cat >>conftest.
$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15729 /* Override any GCC internal prototype to avoid an error.
15730 Use char because int might match the return type of a GCC
15731 builtin and then its argument prototype would still apply. */
15739 return sane_init ();
15744 rm -f conftest.
$ac_objext conftest
$ac_exeext
15745 if { (ac_try
="$ac_link"
15746 case "(($ac_try" in
15747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15748 *) ac_try_echo=$ac_try;;
15750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15751 (eval "$ac_link") 2>conftest.er1
15753 grep -v '^ *+' conftest.er1 >conftest.err
15755 cat conftest.err >&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } && {
15758 test -z "$ac_c_werror_flag" ||
15759 test ! -s conftest.err
15760 } && test -s conftest$ac_exeext &&
15761 $as_test_x conftest$ac_exeext; then
15763 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'` ;;
15764 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libsane
\\.so |
sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15766 if test "x$ac_cv_lib_soname_sane" = "x"
15768 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15774 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15778 conftest$ac_exeext conftest.$ac_ext
15779 LIBS=$ac_get_soname_save_LIBS
15781 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15782 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15783 if test "${ac_cv_lib_soname_sane+set}" = set; then
15785 cat >>confdefs.h <<_ACEOF
15786 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15940 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15946 cat >conftest.$ac_ext <<_ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15954 #define $ac_func innocuous_$ac_func
15956 /* System header to define __stub macros and hopefully few prototypes,
15957 which can conflict with char $ac_func (); below.
15958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15959 <limits.h> exists even on freestanding compilers. */
15962 # include <limits.h>
15964 # include <assert.h>
15969 /* Override any GCC internal prototype to avoid an error.
15970 Use char because int might match the return type of a GCC
15971 builtin and then its argument prototype would still apply. */
15976 /* The GNU C library defines this for functions which it implements
15977 to always fail with ENOSYS. Some functions are actually named
15978 something starting with __ and the normal name is an alias. */
15979 #if defined __stub_$ac_func || defined __stub___$ac_func
15986 return $ac_func ();
15991 rm -f conftest.$ac_objext conftest$ac_exeext
15992 if { (ac_try="$ac_link"
15993 case "(($ac_try" in
15994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15995 *) ac_try_echo
=$ac_try;;
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_link") 2>conftest.er1
16000 grep -v '^ *+' conftest.er1
>conftest.err
16002 cat conftest.err
>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } && {
16005 test -z "$ac_c_werror_flag" ||
16006 test ! -s conftest.err
16007 } && test -s conftest
$ac_exeext &&
16008 $as_test_x conftest
$ac_exeext; then
16009 eval "$as_ac_var=yes"
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.
$ac_ext >&5
16014 eval "$as_ac_var=no"
16017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16018 conftest
$ac_exeext conftest.
$ac_ext
16020 ac_res
=`eval echo '${'$as_ac_var'}'`
16021 { echo "$as_me:$LINENO: result: $ac_res" >&5
16022 echo "${ECHO_T}$ac_res" >&6; }
16023 if test `eval echo '${'$as_ac_var'}'` = yes; then
16024 cat >>confdefs.h
<<_ACEOF
16025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16032 if test "$ac_cv_func_dlopen" = no
16034 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16035 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 ac_check_lib_save_LIBS
=$LIBS
16041 cat >conftest.
$ac_ext <<_ACEOF
16044 cat confdefs.h
>>conftest.
$ac_ext
16045 cat >>conftest.
$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16048 /* Override any GCC internal prototype to avoid an error.
16049 Use char because int might match the return type of a GCC
16050 builtin and then its argument prototype would still apply. */
16063 rm -f conftest.
$ac_objext conftest
$ac_exeext
16064 if { (ac_try
="$ac_link"
16065 case "(($ac_try" in
16066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16067 *) ac_try_echo=$ac_try;;
16069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16070 (eval "$ac_link") 2>conftest.er1
16072 grep -v '^ *+' conftest.er1 >conftest.err
16074 cat conftest.err >&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } && {
16077 test -z "$ac_c_werror_flag" ||
16078 test ! -s conftest.err
16079 } && test -s conftest$ac_exeext &&
16080 $as_test_x conftest$ac_exeext; then
16081 ac_cv_lib_dl_dlopen=yes
16083 echo "$as_me: failed program was:" >&5
16084 sed 's/^/| /' conftest.$ac_ext >&5
16086 ac_cv_lib_dl_dlopen=no
16089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16090 conftest$ac_exeext conftest.$ac_ext
16091 LIBS=$ac_check_lib_save_LIBS
16093 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16094 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16095 if test $ac_cv_lib_dl_dlopen = yes; then
16096 cat >>confdefs.h <<\_ACEOF
16097 #define HAVE_DLOPEN 1
16104 ac_wine_check_funcs_save_LIBS="$LIBS"
16105 LIBS="$LIBS $LIBDL"
16107 for ac_func in dladdr
16109 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16110 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16112 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 cat >conftest.$ac_ext <<_ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16123 #define $ac_func innocuous_$ac_func
16125 /* System header to define __stub macros and hopefully few prototypes,
16126 which can conflict with char $ac_func (); below.
16127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16128 <limits.h> exists even on freestanding compilers. */
16131 # include <limits.h>
16133 # include <assert.h>
16138 /* Override any GCC internal prototype to avoid an error.
16139 Use char because int might match the return type of a GCC
16140 builtin and then its argument prototype would still apply. */
16145 /* The GNU C library defines this for functions which it implements
16146 to always fail with ENOSYS. Some functions are actually named
16147 something starting with __ and the normal name is an alias. */
16148 #if defined __stub_$ac_func || defined __stub___$ac_func
16155 return $ac_func ();
16160 rm -f conftest.$ac_objext conftest$ac_exeext
16161 if { (ac_try="$ac_link"
16162 case "(($ac_try" in
16163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16164 *) ac_try_echo
=$ac_try;;
16166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16167 (eval "$ac_link") 2>conftest.er1
16169 grep -v '^ *+' conftest.er1
>conftest.err
16171 cat conftest.err
>&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } && {
16174 test -z "$ac_c_werror_flag" ||
16175 test ! -s conftest.err
16176 } && test -s conftest
$ac_exeext &&
16177 $as_test_x conftest
$ac_exeext; then
16178 eval "$as_ac_var=yes"
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.
$ac_ext >&5
16183 eval "$as_ac_var=no"
16186 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16187 conftest
$ac_exeext conftest.
$ac_ext
16189 ac_res
=`eval echo '${'$as_ac_var'}'`
16190 { echo "$as_me:$LINENO: result: $ac_res" >&5
16191 echo "${ECHO_T}$ac_res" >&6; }
16192 if test `eval echo '${'$as_ac_var'}'` = yes; then
16193 cat >>confdefs.h
<<_ACEOF
16194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16200 LIBS
="$ac_wine_check_funcs_save_LIBS"
16202 if test "$ac_cv_func_poll" = no
16204 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16205 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16206 if test "${ac_cv_lib_poll_poll+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 ac_check_lib_save_LIBS
=$LIBS
16210 LIBS
="-lpoll $LIBS"
16211 cat >conftest.
$ac_ext <<_ACEOF
16214 cat confdefs.h
>>conftest.
$ac_ext
16215 cat >>conftest.
$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16233 rm -f conftest.
$ac_objext conftest
$ac_exeext
16234 if { (ac_try
="$ac_link"
16235 case "(($ac_try" in
16236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16237 *) ac_try_echo=$ac_try;;
16239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16240 (eval "$ac_link") 2>conftest.er1
16242 grep -v '^ *+' conftest.er1 >conftest.err
16244 cat conftest.err >&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } && {
16247 test -z "$ac_c_werror_flag" ||
16248 test ! -s conftest.err
16249 } && test -s conftest$ac_exeext &&
16250 $as_test_x conftest$ac_exeext; then
16251 ac_cv_lib_poll_poll=yes
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16256 ac_cv_lib_poll_poll=no
16259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16260 conftest$ac_exeext conftest.$ac_ext
16261 LIBS=$ac_check_lib_save_LIBS
16263 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16264 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16265 if test $ac_cv_lib_poll_poll = yes; then
16266 cat >>confdefs.h <<\_ACEOF
16267 #define HAVE_POLL 1
16275 if test "$ac_cv_func_gethostbyname" = no
16278 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16279 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16280 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 ac_check_lib_save_LIBS=$LIBS
16285 cat >conftest.$ac_ext <<_ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16292 /* Override any GCC internal prototype to avoid an error.
16293 Use char because int might match the return type of a GCC
16294 builtin and then its argument prototype would still apply. */
16298 char gethostbyname ();
16302 return gethostbyname ();
16307 rm -f conftest.$ac_objext conftest$ac_exeext
16308 if { (ac_try="$ac_link"
16309 case "(($ac_try" in
16310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16311 *) ac_try_echo
=$ac_try;;
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_link") 2>conftest.er1
16316 grep -v '^ *+' conftest.er1
>conftest.err
16318 cat conftest.err
>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } && {
16321 test -z "$ac_c_werror_flag" ||
16322 test ! -s conftest.err
16323 } && test -s conftest
$ac_exeext &&
16324 $as_test_x conftest
$ac_exeext; then
16325 ac_cv_lib_nsl_gethostbyname
=yes
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.
$ac_ext >&5
16330 ac_cv_lib_nsl_gethostbyname
=no
16333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16334 conftest
$ac_exeext conftest.
$ac_ext
16335 LIBS
=$ac_check_lib_save_LIBS
16337 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16338 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16339 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16340 cat >>confdefs.h
<<_ACEOF
16341 #define HAVE_LIBNSL 1
16350 if test "$ac_cv_func_connect" = no
16353 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16354 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16355 if test "${ac_cv_lib_socket_connect+set}" = set; then
16356 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 ac_check_lib_save_LIBS
=$LIBS
16359 LIBS
="-lsocket $LIBS"
16360 cat >conftest.
$ac_ext <<_ACEOF
16363 cat confdefs.h
>>conftest.
$ac_ext
16364 cat >>conftest.
$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16382 rm -f conftest.
$ac_objext conftest
$ac_exeext
16383 if { (ac_try
="$ac_link"
16384 case "(($ac_try" in
16385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16386 *) ac_try_echo=$ac_try;;
16388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16389 (eval "$ac_link") 2>conftest.er1
16391 grep -v '^ *+' conftest.er1 >conftest.err
16393 cat conftest.err >&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } && {
16396 test -z "$ac_c_werror_flag" ||
16397 test ! -s conftest.err
16398 } && test -s conftest$ac_exeext &&
16399 $as_test_x conftest$ac_exeext; then
16400 ac_cv_lib_socket_connect=yes
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 ac_cv_lib_socket_connect=no
16408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16409 conftest$ac_exeext conftest.$ac_ext
16410 LIBS=$ac_check_lib_save_LIBS
16412 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16413 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16414 if test $ac_cv_lib_socket_connect = yes; then
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_LIBSOCKET 1
16419 LIBS="-lsocket $LIBS"
16425 if test "$ac_cv_func_inet_aton" = no
16428 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16429 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16430 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16431 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 ac_check_lib_save_LIBS=$LIBS
16434 LIBS="-lresolv $LIBS"
16435 cat >conftest.$ac_ext <<_ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16442 /* Override any GCC internal prototype to avoid an error.
16443 Use char because int might match the return type of a GCC
16444 builtin and then its argument prototype would still apply. */
16452 return inet_aton ();
16457 rm -f conftest.$ac_objext conftest$ac_exeext
16458 if { (ac_try="$ac_link"
16459 case "(($ac_try" in
16460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16461 *) ac_try_echo
=$ac_try;;
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_link") 2>conftest.er1
16466 grep -v '^ *+' conftest.er1
>conftest.err
16468 cat conftest.err
>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } && {
16471 test -z "$ac_c_werror_flag" ||
16472 test ! -s conftest.err
16473 } && test -s conftest
$ac_exeext &&
16474 $as_test_x conftest
$ac_exeext; then
16475 ac_cv_lib_resolv_inet_aton
=yes
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.
$ac_ext >&5
16480 ac_cv_lib_resolv_inet_aton
=no
16483 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16484 conftest
$ac_exeext conftest.
$ac_ext
16485 LIBS
=$ac_check_lib_save_LIBS
16487 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16488 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16489 if test $ac_cv_lib_resolv_inet_aton = yes; then
16490 cat >>confdefs.h
<<_ACEOF
16491 #define HAVE_LIBRESOLV 1
16494 LIBS
="-lresolv $LIBS"
16501 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16502 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16503 if test "${ac_cv_c_const+set}" = set; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16506 cat >conftest.
$ac_ext <<_ACEOF
16509 cat confdefs.h
>>conftest.
$ac_ext
16510 cat >>conftest.
$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16516 /* FIXME: Include the comments suggested by Paul. */
16517 #ifndef __cplusplus
16518 /* Ultrix mips cc rejects this. */
16519 typedef int charset[2];
16521 /* SunOS 4.1.1 cc rejects this. */
16522 char const *const *pcpcc;
16524 /* NEC SVR4.0.2 mips cc rejects this. */
16525 struct point {int x, y;};
16526 static struct point const zero = {0,0};
16527 /* AIX XL C 1.02.0.0 rejects this.
16528 It does not let you subtract one const X* pointer from another in
16529 an arm of an if-expression whose if-part is not a constant
16531 const char *g = "string";
16532 pcpcc = &g + (g ? g-g : 0);
16533 /* HPUX 7.0 cc rejects these. */
16535 ppc = (char**) pcpcc;
16536 pcpcc = (char const *const *) ppc;
16537 { /* SCO 3.2v4 cc rejects this. */
16539 char const *s = 0 ? (char *) 0 : (char const *) 0;
16544 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16545 int x[] = {25, 17};
16546 const int *foo = &x[0];
16549 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16550 typedef const int *iptr;
16554 { /* AIX XL C 1.02.0.0 rejects this saying
16555 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16556 struct s { int j; const int *ap[3]; };
16557 struct s *b; b->j = 5;
16559 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16560 const int foo = 10;
16561 if (!foo) return 0;
16563 return !cs[0] && !zero.x;
16570 rm -f conftest.
$ac_objext
16571 if { (ac_try
="$ac_compile"
16572 case "(($ac_try" in
16573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16574 *) ac_try_echo=$ac_try;;
16576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16577 (eval "$ac_compile") 2>conftest.er1
16579 grep -v '^ *+' conftest.er1 >conftest.err
16581 cat conftest.err >&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } && {
16584 test -z "$ac_c_werror_flag" ||
16585 test ! -s conftest.err
16586 } && test -s conftest.$ac_objext; then
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.$ac_ext >&5
16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16598 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16599 if test $ac_cv_c_const = no; then
16601 cat >>confdefs.h <<\_ACEOF
16607 { echo "$as_me:$LINENO: checking for inline" >&5
16608 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16609 if test "${ac_cv_c_inline+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 for ac_kw in inline __inline__ __inline; do
16614 cat >conftest.$ac_ext <<_ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16620 #ifndef __cplusplus
16622 static $ac_kw foo_t static_foo () {return 0; }
16623 $ac_kw foo_t foo () {return 0; }
16627 rm -f conftest.$ac_objext
16628 if { (ac_try="$ac_compile"
16629 case "(($ac_try" in
16630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16631 *) ac_try_echo
=$ac_try;;
16633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16634 (eval "$ac_compile") 2>conftest.er1
16636 grep -v '^ *+' conftest.er1
>conftest.err
16638 cat conftest.err
>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); } && {
16641 test -z "$ac_c_werror_flag" ||
16642 test ! -s conftest.err
16643 } && test -s conftest.
$ac_objext; then
16644 ac_cv_c_inline
=$ac_kw
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.
$ac_ext >&5
16652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16653 test "$ac_cv_c_inline" != no
&& break
16657 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16658 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16661 case $ac_cv_c_inline in
16664 case $ac_cv_c_inline in
16666 *) ac_val
=$ac_cv_c_inline;;
16668 cat >>confdefs.h
<<_ACEOF
16669 #ifndef __cplusplus
16670 #define inline $ac_val
16676 { echo "$as_me:$LINENO: checking for mode_t" >&5
16677 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16678 if test "${ac_cv_type_mode_t+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16681 cat >conftest.
$ac_ext <<_ACEOF
16684 cat confdefs.h
>>conftest.
$ac_ext
16685 cat >>conftest.
$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687 $ac_includes_default
16688 typedef mode_t ac__type_new_;
16692 if ((ac__type_new_ *) 0)
16694 if (sizeof (ac__type_new_))
16700 rm -f conftest.
$ac_objext
16701 if { (ac_try
="$ac_compile"
16702 case "(($ac_try" in
16703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16704 *) ac_try_echo=$ac_try;;
16706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16707 (eval "$ac_compile") 2>conftest.er1
16709 grep -v '^ *+' conftest.er1 >conftest.err
16711 cat conftest.err >&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } && {
16714 test -z "$ac_c_werror_flag" ||
16715 test ! -s conftest.err
16716 } && test -s conftest.$ac_objext; then
16717 ac_cv_type_mode_t=yes
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.$ac_ext >&5
16722 ac_cv_type_mode_t=no
16725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16727 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16728 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16729 if test $ac_cv_type_mode_t = yes; then
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_MODE_T 1
16737 { echo "$as_me:$LINENO: checking for off_t" >&5
16738 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16739 if test "${ac_cv_type_off_t+set}" = set; then
16740 echo $ECHO_N "(cached) $ECHO_C" >&6
16742 cat >conftest.$ac_ext <<_ACEOF
16745 cat confdefs.h >>conftest.$ac_ext
16746 cat >>conftest.$ac_ext <<_ACEOF
16747 /* end confdefs.h. */
16748 $ac_includes_default
16749 typedef off_t ac__type_new_;
16753 if ((ac__type_new_ *) 0)
16755 if (sizeof (ac__type_new_))
16761 rm -f conftest.$ac_objext
16762 if { (ac_try="$ac_compile"
16763 case "(($ac_try" in
16764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16765 *) ac_try_echo
=$ac_try;;
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_compile") 2>conftest.er1
16770 grep -v '^ *+' conftest.er1
>conftest.err
16772 cat conftest.err
>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && {
16775 test -z "$ac_c_werror_flag" ||
16776 test ! -s conftest.err
16777 } && test -s conftest.
$ac_objext; then
16778 ac_cv_type_off_t
=yes
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.
$ac_ext >&5
16783 ac_cv_type_off_t
=no
16786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16788 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16789 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16790 if test $ac_cv_type_off_t = yes; then
16792 cat >>confdefs.h
<<_ACEOF
16793 #define HAVE_OFF_T 1
16798 { echo "$as_me:$LINENO: checking for pid_t" >&5
16799 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16800 if test "${ac_cv_type_pid_t+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16803 cat >conftest.
$ac_ext <<_ACEOF
16806 cat confdefs.h
>>conftest.
$ac_ext
16807 cat >>conftest.
$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 $ac_includes_default
16810 typedef pid_t ac__type_new_;
16814 if ((ac__type_new_ *) 0)
16816 if (sizeof (ac__type_new_))
16822 rm -f conftest.
$ac_objext
16823 if { (ac_try
="$ac_compile"
16824 case "(($ac_try" in
16825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16826 *) ac_try_echo=$ac_try;;
16828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16829 (eval "$ac_compile") 2>conftest.er1
16831 grep -v '^ *+' conftest.er1 >conftest.err
16833 cat conftest.err >&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); } && {
16836 test -z "$ac_c_werror_flag" ||
16837 test ! -s conftest.err
16838 } && test -s conftest.$ac_objext; then
16839 ac_cv_type_pid_t=yes
16841 echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.$ac_ext >&5
16844 ac_cv_type_pid_t=no
16847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16849 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16850 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16851 if test $ac_cv_type_pid_t = yes; then
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_PID_T 1
16859 { echo "$as_me:$LINENO: checking for size_t" >&5
16860 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16861 if test "${ac_cv_type_size_t+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 cat >conftest.$ac_ext <<_ACEOF
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16871 typedef size_t ac__type_new_;
16875 if ((ac__type_new_ *) 0)
16877 if (sizeof (ac__type_new_))
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16887 *) ac_try_echo
=$ac_try;;
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16892 grep -v '^ *+' conftest.er1
>conftest.err
16894 cat conftest.err
>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_c_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.
$ac_objext; then
16900 ac_cv_type_size_t
=yes
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.
$ac_ext >&5
16905 ac_cv_type_size_t
=no
16908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16910 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16911 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16912 if test $ac_cv_type_size_t = yes; then
16914 cat >>confdefs.h
<<_ACEOF
16915 #define HAVE_SIZE_T 1
16920 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16921 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16922 if test "${ac_cv_type_ssize_t+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16925 cat >conftest.
$ac_ext <<_ACEOF
16928 cat confdefs.h
>>conftest.
$ac_ext
16929 cat >>conftest.
$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 $ac_includes_default
16932 typedef ssize_t ac__type_new_;
16936 if ((ac__type_new_ *) 0)
16938 if (sizeof (ac__type_new_))
16944 rm -f conftest.
$ac_objext
16945 if { (ac_try
="$ac_compile"
16946 case "(($ac_try" in
16947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16948 *) ac_try_echo=$ac_try;;
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_compile") 2>conftest.er1
16953 grep -v '^ *+' conftest.er1 >conftest.err
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } && {
16958 test -z "$ac_c_werror_flag" ||
16959 test ! -s conftest.err
16960 } && test -s conftest.$ac_objext; then
16961 ac_cv_type_ssize_t=yes
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16966 ac_cv_type_ssize_t=no
16969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16971 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16972 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16973 if test $ac_cv_type_ssize_t = yes; then
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_SSIZE_T 1
16981 { echo "$as_me:$LINENO: checking for long long" >&5
16982 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16983 if test "${ac_cv_type_long_long+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 cat >conftest.$ac_ext <<_ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 typedef long long ac__type_new_;
16997 if ((ac__type_new_ *) 0)
16999 if (sizeof (ac__type_new_))
17005 rm -f conftest.$ac_objext
17006 if { (ac_try="$ac_compile"
17007 case "(($ac_try" in
17008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17009 *) ac_try_echo
=$ac_try;;
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_compile") 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } && {
17019 test -z "$ac_c_werror_flag" ||
17020 test ! -s conftest.err
17021 } && test -s conftest.
$ac_objext; then
17022 ac_cv_type_long_long
=yes
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.
$ac_ext >&5
17027 ac_cv_type_long_long
=no
17030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17032 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17033 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17034 if test $ac_cv_type_long_long = yes; then
17036 cat >>confdefs.h
<<_ACEOF
17037 #define HAVE_LONG_LONG 1
17042 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17043 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17044 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 typedef fsblkcnt_t ac__type_new_;
17058 if ((ac__type_new_ *) 0)
17060 if (sizeof (ac__type_new_))
17066 rm -f conftest.
$ac_objext
17067 if { (ac_try
="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_c_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 ac_cv_type_fsblkcnt_t=yes
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 ac_cv_type_fsblkcnt_t=no
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17094 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17095 if test $ac_cv_type_fsblkcnt_t = yes; then
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_FSBLKCNT_T 1
17103 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17104 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17105 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 cat >conftest.$ac_ext <<_ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17115 typedef fsfilcnt_t ac__type_new_;
17119 if ((ac__type_new_ *) 0)
17121 if (sizeof (ac__type_new_))
17127 rm -f conftest.$ac_objext
17128 if { (ac_try="$ac_compile"
17129 case "(($ac_try" in
17130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17131 *) ac_try_echo
=$ac_try;;
17133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17134 (eval "$ac_compile") 2>conftest.er1
17136 grep -v '^ *+' conftest.er1
>conftest.err
17138 cat conftest.err
>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } && {
17141 test -z "$ac_c_werror_flag" ||
17142 test ! -s conftest.err
17143 } && test -s conftest.
$ac_objext; then
17144 ac_cv_type_fsfilcnt_t
=yes
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.
$ac_ext >&5
17149 ac_cv_type_fsfilcnt_t
=no
17152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17154 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17155 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17156 if test $ac_cv_type_fsfilcnt_t = yes; then
17158 cat >>confdefs.h
<<_ACEOF
17159 #define HAVE_FSFILCNT_T 1
17165 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17166 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17167 if test "${ac_cv_type_sigset_t+set}" = set; then
17168 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 cat >conftest.
$ac_ext <<_ACEOF
17173 cat confdefs.h
>>conftest.
$ac_ext
17174 cat >>conftest.
$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 #include <signal.h>
17178 typedef sigset_t ac__type_new_;
17182 if ((ac__type_new_ *) 0)
17184 if (sizeof (ac__type_new_))
17190 rm -f conftest.
$ac_objext
17191 if { (ac_try
="$ac_compile"
17192 case "(($ac_try" in
17193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17194 *) ac_try_echo=$ac_try;;
17196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17197 (eval "$ac_compile") 2>conftest.er1
17199 grep -v '^ *+' conftest.er1 >conftest.err
17201 cat conftest.err >&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } && {
17204 test -z "$ac_c_werror_flag" ||
17205 test ! -s conftest.err
17206 } && test -s conftest.$ac_objext; then
17207 ac_cv_type_sigset_t=yes
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17212 ac_cv_type_sigset_t=no
17215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17218 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17219 if test $ac_cv_type_sigset_t = yes; then
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_SIGSET_T 1
17228 { echo "$as_me:$LINENO: checking for request_sense" >&5
17229 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17230 if test "${ac_cv_type_request_sense+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17233 cat >conftest.$ac_ext <<_ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239 #include <linux/cdrom.h>
17241 typedef request_sense ac__type_new_;
17245 if ((ac__type_new_ *) 0)
17247 if (sizeof (ac__type_new_))
17253 rm -f conftest.$ac_objext
17254 if { (ac_try="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17257 *) ac_try_echo
=$ac_try;;
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17262 grep -v '^ *+' conftest.er1
>conftest.err
17264 cat conftest.err
>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.
$ac_objext; then
17270 ac_cv_type_request_sense
=yes
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.
$ac_ext >&5
17275 ac_cv_type_request_sense
=no
17278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17280 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17281 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17282 if test $ac_cv_type_request_sense = yes; then
17284 cat >>confdefs.h
<<_ACEOF
17285 #define HAVE_REQUEST_SENSE 1
17292 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17293 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17294 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 cat >conftest.
$ac_ext <<_ACEOF
17300 cat confdefs.h
>>conftest.
$ac_ext
17301 cat >>conftest.
$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 #ifdef HAVE_LINUX_INPUT_H
17304 #include <linux/input.h>
17310 static struct ff_effect ac_aggr;
17311 if (ac_aggr.direction)
17317 rm -f conftest.
$ac_objext
17318 if { (ac_try
="$ac_compile"
17319 case "(($ac_try" in
17320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17321 *) ac_try_echo=$ac_try;;
17323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17324 (eval "$ac_compile") 2>conftest.er1
17326 grep -v '^ *+' conftest.er1 >conftest.err
17328 cat conftest.err >&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } && {
17331 test -z "$ac_c_werror_flag" ||
17332 test ! -s conftest.err
17333 } && test -s conftest.$ac_objext; then
17334 ac_cv_member_struct_ff_effect_direction=yes
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17339 cat >conftest.$ac_ext <<_ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 #ifdef HAVE_LINUX_INPUT_H
17346 #include <linux/input.h>
17352 static struct ff_effect ac_aggr;
17353 if (sizeof ac_aggr.direction)
17359 rm -f conftest.$ac_objext
17360 if { (ac_try="$ac_compile"
17361 case "(($ac_try" in
17362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17363 *) ac_try_echo
=$ac_try;;
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_compile") 2>conftest.er1
17368 grep -v '^ *+' conftest.er1
>conftest.err
17370 cat conftest.err
>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest.
$ac_objext; then
17376 ac_cv_member_struct_ff_effect_direction
=yes
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.
$ac_ext >&5
17381 ac_cv_member_struct_ff_effect_direction
=no
17384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17389 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17390 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17391 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17393 cat >>confdefs.h
<<_ACEOF
17394 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17401 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17402 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17403 if test "${wine_cv_have_sigaddset+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 cat >conftest.
$ac_ext <<_ACEOF
17409 cat confdefs.h
>>conftest.
$ac_ext
17410 cat >>conftest.
$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412 #include <signal.h>
17416 sigset_t set; sigaddset(&set,SIGTERM);
17421 rm -f conftest.
$ac_objext conftest
$ac_exeext
17422 if { (ac_try
="$ac_link"
17423 case "(($ac_try" in
17424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17425 *) ac_try_echo=$ac_try;;
17427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17428 (eval "$ac_link") 2>conftest.er1
17430 grep -v '^ *+' conftest.er1 >conftest.err
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } && {
17435 test -z "$ac_c_werror_flag" ||
17436 test ! -s conftest.err
17437 } && test -s conftest$ac_exeext &&
17438 $as_test_x conftest$ac_exeext; then
17439 wine_cv_have_sigaddset=yes
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17444 wine_cv_have_sigaddset=no
17447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17448 conftest$ac_exeext conftest.$ac_ext
17450 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17451 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17452 if test "$wine_cv_have_sigaddset" = "yes"
17455 cat >>confdefs.h <<\_ACEOF
17456 #define HAVE_SIGADDSET 1
17462 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17463 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17464 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 cat >conftest.$ac_ext <<_ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17482 struct hostent *result;
17489 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17490 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17496 rm -f conftest.$ac_objext conftest$ac_exeext
17497 if { (ac_try="$ac_link"
17498 case "(($ac_try" in
17499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17500 *) ac_try_echo
=$ac_try;;
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_link") 2>conftest.er1
17505 grep -v '^ *+' conftest.er1
>conftest.err
17507 cat conftest.err
>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest
$ac_exeext &&
17513 $as_test_x conftest
$ac_exeext; then
17514 wine_cv_linux_gethostbyname_r_6
=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 wine_cv_linux_gethostbyname_r_6
=no
17523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17524 conftest
$ac_exeext conftest.
$ac_ext
17527 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17528 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17529 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17532 cat >>confdefs.h
<<\_ACEOF
17533 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17538 if test "$ac_cv_header_linux_joystick_h" = "yes"
17540 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17541 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17542 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 cat >conftest.
$ac_ext <<_ACEOF
17548 cat confdefs.h
>>conftest.
$ac_ext
17549 cat >>conftest.
$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17552 #include <sys/ioctl.h>
17553 #include <linux/joystick.h>
17555 struct js_event blub;
17556 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17557 #error "no 2.2 header"
17568 rm -f conftest.
$ac_objext
17569 if { (ac_try
="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1 >conftest.err
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 wine_cv_linux_joystick_22_api=yes
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17590 wine_cv_linux_joystick_22_api=no
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17597 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17598 if test "$wine_cv_linux_joystick_22_api" = "yes"
17601 cat >>confdefs.h <<\_ACEOF
17602 #define HAVE_LINUX_22_JOYSTICK_API 1
17609 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17610 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17611 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 cat >conftest.$ac_ext <<_ACEOF
17617 cat confdefs.h >>conftest.$ac_ext
17618 cat >>conftest.$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620 #include <sys/types.h>
17621 #ifdef HAVE_SYS_PARAM_H
17622 # include <sys/param.h>
17624 #ifdef HAVE_SYS_MOUNT_H
17625 # include <sys/mount.h>
17627 #ifdef HAVE_SYS_VFS_H
17628 # include <sys/vfs.h>
17630 #ifdef HAVE_SYS_STATFS_H
17631 # include <sys/statfs.h>
17637 static struct statfs ac_aggr;
17638 if (ac_aggr.f_bfree)
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17648 *) ac_try_echo
=$ac_try;;
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.
$ac_objext; then
17661 ac_cv_member_struct_statfs_f_bfree
=yes
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.
$ac_ext >&5
17666 cat >conftest.
$ac_ext <<_ACEOF
17669 cat confdefs.h
>>conftest.
$ac_ext
17670 cat >>conftest.
$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17672 #include <sys/types.h>
17673 #ifdef HAVE_SYS_PARAM_H
17674 # include <sys/param.h>
17676 #ifdef HAVE_SYS_MOUNT_H
17677 # include <sys/mount.h>
17679 #ifdef HAVE_SYS_VFS_H
17680 # include <sys/vfs.h>
17682 #ifdef HAVE_SYS_STATFS_H
17683 # include <sys/statfs.h>
17689 static struct statfs ac_aggr;
17690 if (sizeof ac_aggr.f_bfree)
17696 rm -f conftest.
$ac_objext
17697 if { (ac_try
="$ac_compile"
17698 case "(($ac_try" in
17699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17700 *) ac_try_echo=$ac_try;;
17702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17703 (eval "$ac_compile") 2>conftest.er1
17705 grep -v '^ *+' conftest.er1 >conftest.err
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } && {
17710 test -z "$ac_c_werror_flag" ||
17711 test ! -s conftest.err
17712 } && test -s conftest.$ac_objext; then
17713 ac_cv_member_struct_statfs_f_bfree=yes
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17718 ac_cv_member_struct_statfs_f_bfree=no
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17726 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17727 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17728 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17730 cat >>confdefs.h <<_ACEOF
17731 #define HAVE_STRUCT_STATFS_F_BFREE 1
17736 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17737 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17738 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17741 cat >conftest.$ac_ext <<_ACEOF
17744 cat confdefs.h >>conftest.$ac_ext
17745 cat >>conftest.$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 #include <sys/types.h>
17748 #ifdef HAVE_SYS_PARAM_H
17749 # include <sys/param.h>
17751 #ifdef HAVE_SYS_MOUNT_H
17752 # include <sys/mount.h>
17754 #ifdef HAVE_SYS_VFS_H
17755 # include <sys/vfs.h>
17757 #ifdef HAVE_SYS_STATFS_H
17758 # include <sys/statfs.h>
17764 static struct statfs ac_aggr;
17765 if (ac_aggr.f_bavail)
17771 rm -f conftest.$ac_objext
17772 if { (ac_try="$ac_compile"
17773 case "(($ac_try" in
17774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17775 *) ac_try_echo
=$ac_try;;
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_compile") 2>conftest.er1
17780 grep -v '^ *+' conftest.er1
>conftest.err
17782 cat conftest.err
>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } && {
17785 test -z "$ac_c_werror_flag" ||
17786 test ! -s conftest.err
17787 } && test -s conftest.
$ac_objext; then
17788 ac_cv_member_struct_statfs_f_bavail
=yes
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.
$ac_ext >&5
17793 cat >conftest.
$ac_ext <<_ACEOF
17796 cat confdefs.h
>>conftest.
$ac_ext
17797 cat >>conftest.
$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17799 #include <sys/types.h>
17800 #ifdef HAVE_SYS_PARAM_H
17801 # include <sys/param.h>
17803 #ifdef HAVE_SYS_MOUNT_H
17804 # include <sys/mount.h>
17806 #ifdef HAVE_SYS_VFS_H
17807 # include <sys/vfs.h>
17809 #ifdef HAVE_SYS_STATFS_H
17810 # include <sys/statfs.h>
17816 static struct statfs ac_aggr;
17817 if (sizeof ac_aggr.f_bavail)
17823 rm -f conftest.
$ac_objext
17824 if { (ac_try
="$ac_compile"
17825 case "(($ac_try" in
17826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17827 *) ac_try_echo=$ac_try;;
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_compile") 2>conftest.er1
17832 grep -v '^ *+' conftest.er1 >conftest.err
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } && {
17837 test -z "$ac_c_werror_flag" ||
17838 test ! -s conftest.err
17839 } && test -s conftest.$ac_objext; then
17840 ac_cv_member_struct_statfs_f_bavail=yes
17842 echo "$as_me: failed program was:" >&5
17843 sed 's/^/| /' conftest.$ac_ext >&5
17845 ac_cv_member_struct_statfs_f_bavail=no
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17854 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17855 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17857 cat >>confdefs.h <<_ACEOF
17858 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17863 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17864 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17865 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17868 cat >conftest.$ac_ext <<_ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 #include <sys/types.h>
17875 #ifdef HAVE_SYS_PARAM_H
17876 # include <sys/param.h>
17878 #ifdef HAVE_SYS_MOUNT_H
17879 # include <sys/mount.h>
17881 #ifdef HAVE_SYS_VFS_H
17882 # include <sys/vfs.h>
17884 #ifdef HAVE_SYS_STATFS_H
17885 # include <sys/statfs.h>
17891 static struct statfs ac_aggr;
17892 if (ac_aggr.f_frsize)
17898 rm -f conftest.$ac_objext
17899 if { (ac_try="$ac_compile"
17900 case "(($ac_try" in
17901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17902 *) ac_try_echo
=$ac_try;;
17904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17905 (eval "$ac_compile") 2>conftest.er1
17907 grep -v '^ *+' conftest.er1
>conftest.err
17909 cat conftest.err
>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } && {
17912 test -z "$ac_c_werror_flag" ||
17913 test ! -s conftest.err
17914 } && test -s conftest.
$ac_objext; then
17915 ac_cv_member_struct_statfs_f_frsize
=yes
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17920 cat >conftest.
$ac_ext <<_ACEOF
17923 cat confdefs.h
>>conftest.
$ac_ext
17924 cat >>conftest.
$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 #include <sys/types.h>
17927 #ifdef HAVE_SYS_PARAM_H
17928 # include <sys/param.h>
17930 #ifdef HAVE_SYS_MOUNT_H
17931 # include <sys/mount.h>
17933 #ifdef HAVE_SYS_VFS_H
17934 # include <sys/vfs.h>
17936 #ifdef HAVE_SYS_STATFS_H
17937 # include <sys/statfs.h>
17943 static struct statfs ac_aggr;
17944 if (sizeof ac_aggr.f_frsize)
17950 rm -f conftest.
$ac_objext
17951 if { (ac_try
="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17959 grep -v '^ *+' conftest.er1 >conftest.err
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_c_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.$ac_objext; then
17967 ac_cv_member_struct_statfs_f_frsize=yes
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17972 ac_cv_member_struct_statfs_f_frsize=no
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17981 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17982 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17984 cat >>confdefs.h <<_ACEOF
17985 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17990 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17991 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17992 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 cat >conftest.$ac_ext <<_ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 #include <sys/types.h>
18002 #ifdef HAVE_SYS_PARAM_H
18003 # include <sys/param.h>
18005 #ifdef HAVE_SYS_MOUNT_H
18006 # include <sys/mount.h>
18008 #ifdef HAVE_SYS_VFS_H
18009 # include <sys/vfs.h>
18011 #ifdef HAVE_SYS_STATFS_H
18012 # include <sys/statfs.h>
18018 static struct statfs ac_aggr;
18019 if (ac_aggr.f_ffree)
18025 rm -f conftest.$ac_objext
18026 if { (ac_try="$ac_compile"
18027 case "(($ac_try" in
18028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18029 *) ac_try_echo
=$ac_try;;
18031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18032 (eval "$ac_compile") 2>conftest.er1
18034 grep -v '^ *+' conftest.er1
>conftest.err
18036 cat conftest.err
>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } && {
18039 test -z "$ac_c_werror_flag" ||
18040 test ! -s conftest.err
18041 } && test -s conftest.
$ac_objext; then
18042 ac_cv_member_struct_statfs_f_ffree
=yes
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.
$ac_ext >&5
18047 cat >conftest.
$ac_ext <<_ACEOF
18050 cat confdefs.h
>>conftest.
$ac_ext
18051 cat >>conftest.
$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18053 #include <sys/types.h>
18054 #ifdef HAVE_SYS_PARAM_H
18055 # include <sys/param.h>
18057 #ifdef HAVE_SYS_MOUNT_H
18058 # include <sys/mount.h>
18060 #ifdef HAVE_SYS_VFS_H
18061 # include <sys/vfs.h>
18063 #ifdef HAVE_SYS_STATFS_H
18064 # include <sys/statfs.h>
18070 static struct statfs ac_aggr;
18071 if (sizeof ac_aggr.f_ffree)
18077 rm -f conftest.
$ac_objext
18078 if { (ac_try
="$ac_compile"
18079 case "(($ac_try" in
18080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18081 *) ac_try_echo=$ac_try;;
18083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18084 (eval "$ac_compile") 2>conftest.er1
18086 grep -v '^ *+' conftest.er1 >conftest.err
18088 cat conftest.err >&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } && {
18091 test -z "$ac_c_werror_flag" ||
18092 test ! -s conftest.err
18093 } && test -s conftest.$ac_objext; then
18094 ac_cv_member_struct_statfs_f_ffree=yes
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18099 ac_cv_member_struct_statfs_f_ffree=no
18102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18108 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18109 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18111 cat >>confdefs.h <<_ACEOF
18112 #define HAVE_STRUCT_STATFS_F_FFREE 1
18117 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18118 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18119 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18120 echo $ECHO_N "(cached) $ECHO_C" >&6
18122 cat >conftest.$ac_ext <<_ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 #include <sys/types.h>
18129 #ifdef HAVE_SYS_PARAM_H
18130 # include <sys/param.h>
18132 #ifdef HAVE_SYS_MOUNT_H
18133 # include <sys/mount.h>
18135 #ifdef HAVE_SYS_VFS_H
18136 # include <sys/vfs.h>
18138 #ifdef HAVE_SYS_STATFS_H
18139 # include <sys/statfs.h>
18145 static struct statfs ac_aggr;
18146 if (ac_aggr.f_favail)
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18156 *) ac_try_echo
=$ac_try;;
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18161 grep -v '^ *+' conftest.er1
>conftest.err
18163 cat conftest.err
>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.
$ac_objext; then
18169 ac_cv_member_struct_statfs_f_favail
=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.
$ac_ext >&5
18174 cat >conftest.
$ac_ext <<_ACEOF
18177 cat confdefs.h
>>conftest.
$ac_ext
18178 cat >>conftest.
$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180 #include <sys/types.h>
18181 #ifdef HAVE_SYS_PARAM_H
18182 # include <sys/param.h>
18184 #ifdef HAVE_SYS_MOUNT_H
18185 # include <sys/mount.h>
18187 #ifdef HAVE_SYS_VFS_H
18188 # include <sys/vfs.h>
18190 #ifdef HAVE_SYS_STATFS_H
18191 # include <sys/statfs.h>
18197 static struct statfs ac_aggr;
18198 if (sizeof ac_aggr.f_favail)
18204 rm -f conftest.
$ac_objext
18205 if { (ac_try
="$ac_compile"
18206 case "(($ac_try" in
18207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18208 *) ac_try_echo=$ac_try;;
18210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18211 (eval "$ac_compile") 2>conftest.er1
18213 grep -v '^ *+' conftest.er1 >conftest.err
18215 cat conftest.err >&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } && {
18218 test -z "$ac_c_werror_flag" ||
18219 test ! -s conftest.err
18220 } && test -s conftest.$ac_objext; then
18221 ac_cv_member_struct_statfs_f_favail=yes
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.$ac_ext >&5
18226 ac_cv_member_struct_statfs_f_favail=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18234 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18235 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18236 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18238 cat >>confdefs.h <<_ACEOF
18239 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18244 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18245 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18246 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18247 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 cat >conftest.$ac_ext <<_ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 #include <sys/types.h>
18256 #ifdef HAVE_SYS_PARAM_H
18257 # include <sys/param.h>
18259 #ifdef HAVE_SYS_MOUNT_H
18260 # include <sys/mount.h>
18262 #ifdef HAVE_SYS_VFS_H
18263 # include <sys/vfs.h>
18265 #ifdef HAVE_SYS_STATFS_H
18266 # include <sys/statfs.h>
18272 static struct statfs ac_aggr;
18273 if (ac_aggr.f_namelen)
18279 rm -f conftest.$ac_objext
18280 if { (ac_try="$ac_compile"
18281 case "(($ac_try" in
18282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18283 *) ac_try_echo
=$ac_try;;
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_compile") 2>conftest.er1
18288 grep -v '^ *+' conftest.er1
>conftest.err
18290 cat conftest.err
>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest.
$ac_objext; then
18296 ac_cv_member_struct_statfs_f_namelen
=yes
18298 echo "$as_me: failed program was:" >&5
18299 sed 's/^/| /' conftest.
$ac_ext >&5
18301 cat >conftest.
$ac_ext <<_ACEOF
18304 cat confdefs.h
>>conftest.
$ac_ext
18305 cat >>conftest.
$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307 #include <sys/types.h>
18308 #ifdef HAVE_SYS_PARAM_H
18309 # include <sys/param.h>
18311 #ifdef HAVE_SYS_MOUNT_H
18312 # include <sys/mount.h>
18314 #ifdef HAVE_SYS_VFS_H
18315 # include <sys/vfs.h>
18317 #ifdef HAVE_SYS_STATFS_H
18318 # include <sys/statfs.h>
18324 static struct statfs ac_aggr;
18325 if (sizeof ac_aggr.f_namelen)
18331 rm -f conftest.
$ac_objext
18332 if { (ac_try
="$ac_compile"
18333 case "(($ac_try" in
18334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_compile") 2>conftest.er1
18340 grep -v '^ *+' conftest.er1 >conftest.err
18342 cat conftest.err >&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } && {
18345 test -z "$ac_c_werror_flag" ||
18346 test ! -s conftest.err
18347 } && test -s conftest.$ac_objext; then
18348 ac_cv_member_struct_statfs_f_namelen=yes
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5
18353 ac_cv_member_struct_statfs_f_namelen=no
18356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18362 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18363 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18365 cat >>confdefs.h <<_ACEOF
18366 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18373 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18374 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18375 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18378 cat >conftest.$ac_ext <<_ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384 #ifdef HAVE_SYS_STATVFS_H
18385 #include <sys/statvfs.h>
18391 static struct statvfs ac_aggr;
18392 if (ac_aggr.f_blocks)
18398 rm -f conftest.$ac_objext
18399 if { (ac_try="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18402 *) ac_try_echo
=$ac_try;;
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18407 grep -v '^ *+' conftest.er1
>conftest.err
18409 cat conftest.err
>&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_c_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.
$ac_objext; then
18415 ac_cv_member_struct_statvfs_f_blocks
=yes
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 cat >conftest.
$ac_ext <<_ACEOF
18423 cat confdefs.h
>>conftest.
$ac_ext
18424 cat >>conftest.
$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #ifdef HAVE_SYS_STATVFS_H
18427 #include <sys/statvfs.h>
18433 static struct statvfs ac_aggr;
18434 if (sizeof ac_aggr.f_blocks)
18440 rm -f conftest.
$ac_objext
18441 if { (ac_try
="$ac_compile"
18442 case "(($ac_try" in
18443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compile") 2>conftest.er1
18449 grep -v '^ *+' conftest.er1 >conftest.err
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && {
18454 test -z "$ac_c_werror_flag" ||
18455 test ! -s conftest.err
18456 } && test -s conftest.$ac_objext; then
18457 ac_cv_member_struct_statvfs_f_blocks=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 ac_cv_member_struct_statvfs_f_blocks=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18471 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18472 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18474 cat >>confdefs.h <<_ACEOF
18475 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18482 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18483 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18484 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 cat >conftest.$ac_ext <<_ACEOF
18490 cat confdefs.h >>conftest.$ac_ext
18491 cat >>conftest.$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 #include <sys/types.h>
18494 #ifdef HAVE_SYS_SOCKET_H
18495 # include <sys/socket.h>
18497 #ifdef HAVE_SYS_UN_H
18498 # include <sys/un.h>
18504 static struct msghdr ac_aggr;
18505 if (ac_aggr.msg_accrights)
18511 rm -f conftest.$ac_objext
18512 if { (ac_try="$ac_compile"
18513 case "(($ac_try" in
18514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18515 *) ac_try_echo
=$ac_try;;
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_compile") 2>conftest.er1
18520 grep -v '^ *+' conftest.er1
>conftest.err
18522 cat conftest.err
>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } && {
18525 test -z "$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18527 } && test -s conftest.
$ac_objext; then
18528 ac_cv_member_struct_msghdr_msg_accrights
=yes
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.
$ac_ext >&5
18533 cat >conftest.
$ac_ext <<_ACEOF
18536 cat confdefs.h
>>conftest.
$ac_ext
18537 cat >>conftest.
$ac_ext <<_ACEOF
18538 /* end confdefs.h. */
18539 #include <sys/types.h>
18540 #ifdef HAVE_SYS_SOCKET_H
18541 # include <sys/socket.h>
18543 #ifdef HAVE_SYS_UN_H
18544 # include <sys/un.h>
18550 static struct msghdr ac_aggr;
18551 if (sizeof ac_aggr.msg_accrights)
18557 rm -f conftest.
$ac_objext
18558 if { (ac_try
="$ac_compile"
18559 case "(($ac_try" in
18560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_compile") 2>conftest.er1
18566 grep -v '^ *+' conftest.er1 >conftest.err
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } && {
18571 test -z "$ac_c_werror_flag" ||
18572 test ! -s conftest.err
18573 } && test -s conftest.$ac_objext; then
18574 ac_cv_member_struct_msghdr_msg_accrights=yes
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18579 ac_cv_member_struct_msghdr_msg_accrights=no
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18588 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18589 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18597 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18598 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18599 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 cat >conftest.$ac_ext <<_ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 #include <sys/types.h>
18609 #ifdef HAVE_SYS_SOCKET_H
18610 # include <sys/socket.h>
18612 #ifdef HAVE_SYS_UN_H
18613 # include <sys/un.h>
18619 static struct sockaddr ac_aggr;
18620 if (ac_aggr.sa_len)
18626 rm -f conftest.$ac_objext
18627 if { (ac_try="$ac_compile"
18628 case "(($ac_try" in
18629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18630 *) ac_try_echo
=$ac_try;;
18632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18633 (eval "$ac_compile") 2>conftest.er1
18635 grep -v '^ *+' conftest.er1
>conftest.err
18637 cat conftest.err
>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } && {
18640 test -z "$ac_c_werror_flag" ||
18641 test ! -s conftest.err
18642 } && test -s conftest.
$ac_objext; then
18643 ac_cv_member_struct_sockaddr_sa_len
=yes
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.
$ac_ext >&5
18648 cat >conftest.
$ac_ext <<_ACEOF
18651 cat confdefs.h
>>conftest.
$ac_ext
18652 cat >>conftest.
$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <sys/types.h>
18655 #ifdef HAVE_SYS_SOCKET_H
18656 # include <sys/socket.h>
18658 #ifdef HAVE_SYS_UN_H
18659 # include <sys/un.h>
18665 static struct sockaddr ac_aggr;
18666 if (sizeof ac_aggr.sa_len)
18672 rm -f conftest.
$ac_objext
18673 if { (ac_try
="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18681 grep -v '^ *+' conftest.er1 >conftest.err
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_member_struct_sockaddr_sa_len=yes
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_member_struct_sockaddr_sa_len=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18703 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18704 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18712 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18713 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18714 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 cat >conftest.$ac_ext <<_ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 #include <sys/types.h>
18724 #ifdef HAVE_SYS_SOCKET_H
18725 # include <sys/socket.h>
18727 #ifdef HAVE_SYS_UN_H
18728 # include <sys/un.h>
18734 static struct sockaddr_un ac_aggr;
18735 if (ac_aggr.sun_len)
18741 rm -f conftest.$ac_objext
18742 if { (ac_try="$ac_compile"
18743 case "(($ac_try" in
18744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18745 *) ac_try_echo
=$ac_try;;
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_compile") 2>conftest.er1
18750 grep -v '^ *+' conftest.er1
>conftest.err
18752 cat conftest.err
>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_c_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest.
$ac_objext; then
18758 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18760 echo "$as_me: failed program was:" >&5
18761 sed 's/^/| /' conftest.
$ac_ext >&5
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 #include <sys/types.h>
18770 #ifdef HAVE_SYS_SOCKET_H
18771 # include <sys/socket.h>
18773 #ifdef HAVE_SYS_UN_H
18774 # include <sys/un.h>
18780 static struct sockaddr_un ac_aggr;
18781 if (sizeof ac_aggr.sun_len)
18787 rm -f conftest.
$ac_objext
18788 if { (ac_try
="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18796 grep -v '^ *+' conftest.er1 >conftest.err
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 ac_cv_member_struct_sockaddr_un_sun_len=yes
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18809 ac_cv_member_struct_sockaddr_un_sun_len=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18817 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18818 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18819 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18821 cat >>confdefs.h <<_ACEOF
18822 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18829 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18830 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18831 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 cat >conftest.$ac_ext <<_ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 #include <sys/types.h>
18841 #ifdef HAVE_SCSI_SG_H
18842 #include <scsi/sg.h>
18848 static scsireq_t ac_aggr;
18855 rm -f conftest.$ac_objext
18856 if { (ac_try="$ac_compile"
18857 case "(($ac_try" in
18858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18859 *) ac_try_echo
=$ac_try;;
18861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18862 (eval "$ac_compile") 2>conftest.er1
18864 grep -v '^ *+' conftest.er1
>conftest.err
18866 cat conftest.err
>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); } && {
18869 test -z "$ac_c_werror_flag" ||
18870 test ! -s conftest.err
18871 } && test -s conftest.
$ac_objext; then
18872 ac_cv_member_scsireq_t_cmd
=yes
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.
$ac_ext >&5
18877 cat >conftest.
$ac_ext <<_ACEOF
18880 cat confdefs.h
>>conftest.
$ac_ext
18881 cat >>conftest.
$ac_ext <<_ACEOF
18882 /* end confdefs.h. */
18883 #include <sys/types.h>
18884 #ifdef HAVE_SCSI_SG_H
18885 #include <scsi/sg.h>
18891 static scsireq_t ac_aggr;
18892 if (sizeof ac_aggr.cmd)
18898 rm -f conftest.
$ac_objext
18899 if { (ac_try
="$ac_compile"
18900 case "(($ac_try" in
18901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_compile") 2>conftest.er1
18907 grep -v '^ *+' conftest.er1 >conftest.err
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } && {
18912 test -z "$ac_c_werror_flag" ||
18913 test ! -s conftest.err
18914 } && test -s conftest.$ac_objext; then
18915 ac_cv_member_scsireq_t_cmd=yes
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18920 ac_cv_member_scsireq_t_cmd=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18929 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18930 if test $ac_cv_member_scsireq_t_cmd = yes; then
18932 cat >>confdefs.h <<_ACEOF
18933 #define HAVE_SCSIREQ_T_CMD 1
18938 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18939 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18940 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 cat >conftest.$ac_ext <<_ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 #include <sys/types.h>
18950 #ifdef HAVE_SCSI_SG_H
18951 #include <scsi/sg.h>
18957 static sg_io_hdr_t ac_aggr;
18958 if (ac_aggr.interface_id)
18964 rm -f conftest.$ac_objext
18965 if { (ac_try="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18968 *) ac_try_echo
=$ac_try;;
18970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18973 grep -v '^ *+' conftest.er1
>conftest.err
18975 cat conftest.err
>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.
$ac_objext; then
18981 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.
$ac_ext >&5
18986 cat >conftest.
$ac_ext <<_ACEOF
18989 cat confdefs.h
>>conftest.
$ac_ext
18990 cat >>conftest.
$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #include <sys/types.h>
18993 #ifdef HAVE_SCSI_SG_H
18994 #include <scsi/sg.h>
19000 static sg_io_hdr_t ac_aggr;
19001 if (sizeof ac_aggr.interface_id)
19007 rm -f conftest.
$ac_objext
19008 if { (ac_try
="$ac_compile"
19009 case "(($ac_try" in
19010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19011 *) ac_try_echo=$ac_try;;
19013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19014 (eval "$ac_compile") 2>conftest.er1
19016 grep -v '^ *+' conftest.er1 >conftest.err
19018 cat conftest.err >&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); } && {
19021 test -z "$ac_c_werror_flag" ||
19022 test ! -s conftest.err
19023 } && test -s conftest.$ac_objext; then
19024 ac_cv_member_sg_io_hdr_t_interface_id=yes
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.$ac_ext >&5
19029 ac_cv_member_sg_io_hdr_t_interface_id=no
19032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19037 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19038 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19039 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19049 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19050 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19051 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 cat >conftest.$ac_ext <<_ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 #include <signal.h>
19065 static siginfo_t ac_aggr;
19072 rm -f conftest.$ac_objext
19073 if { (ac_try="$ac_compile"
19074 case "(($ac_try" in
19075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19076 *) ac_try_echo
=$ac_try;;
19078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079 (eval "$ac_compile") 2>conftest.er1
19081 grep -v '^ *+' conftest.er1
>conftest.err
19083 cat conftest.err
>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } && {
19086 test -z "$ac_c_werror_flag" ||
19087 test ! -s conftest.err
19088 } && test -s conftest.
$ac_objext; then
19089 ac_cv_member_siginfo_t_si_fd
=yes
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.
$ac_ext >&5
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 #include <signal.h>
19105 static siginfo_t ac_aggr;
19106 if (sizeof ac_aggr.si_fd)
19112 rm -f conftest.
$ac_objext
19113 if { (ac_try
="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1 >conftest.err
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 ac_cv_member_siginfo_t_si_fd=yes
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 ac_cv_member_siginfo_t_si_fd=no
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19143 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19144 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_SIGINFO_T_SI_FD 1
19154 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19155 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19156 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 cat >conftest.$ac_ext <<_ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <sys/types.h>
19166 #ifdef HAVE_SYS_MTIO_H
19167 #include <sys/mtio.h>
19173 static struct mtget ac_aggr;
19174 if (ac_aggr.mt_blksiz)
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19184 *) ac_try_echo
=$ac_try;;
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19189 grep -v '^ *+' conftest.er1
>conftest.err
19191 cat conftest.err
>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.
$ac_objext; then
19197 ac_cv_member_struct_mtget_mt_blksiz
=yes
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.
$ac_ext >&5
19202 cat >conftest.
$ac_ext <<_ACEOF
19205 cat confdefs.h
>>conftest.
$ac_ext
19206 cat >>conftest.
$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #include <sys/types.h>
19209 #ifdef HAVE_SYS_MTIO_H
19210 #include <sys/mtio.h>
19216 static struct mtget ac_aggr;
19217 if (sizeof ac_aggr.mt_blksiz)
19223 rm -f conftest.
$ac_objext
19224 if { (ac_try
="$ac_compile"
19225 case "(($ac_try" in
19226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19227 *) ac_try_echo=$ac_try;;
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_compile") 2>conftest.er1
19232 grep -v '^ *+' conftest.er1 >conftest.err
19234 cat conftest.err >&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } && {
19237 test -z "$ac_c_werror_flag" ||
19238 test ! -s conftest.err
19239 } && test -s conftest.$ac_objext; then
19240 ac_cv_member_struct_mtget_mt_blksiz=yes
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5
19245 ac_cv_member_struct_mtget_mt_blksiz=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19254 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19255 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19263 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19264 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19265 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19266 echo $ECHO_N "(cached) $ECHO_C" >&6
19268 cat >conftest.$ac_ext <<_ACEOF
19271 cat confdefs.h >>conftest.$ac_ext
19272 cat >>conftest.$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 #include <sys/types.h>
19275 #ifdef HAVE_SYS_MTIO_H
19276 #include <sys/mtio.h>
19282 static struct mtget ac_aggr;
19283 if (ac_aggr.mt_gstat)
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19293 *) ac_try_echo
=$ac_try;;
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19298 grep -v '^ *+' conftest.er1
>conftest.err
19300 cat conftest.err
>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.
$ac_objext; then
19306 ac_cv_member_struct_mtget_mt_gstat
=yes
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.
$ac_ext >&5
19311 cat >conftest.
$ac_ext <<_ACEOF
19314 cat confdefs.h
>>conftest.
$ac_ext
19315 cat >>conftest.
$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 #include <sys/types.h>
19318 #ifdef HAVE_SYS_MTIO_H
19319 #include <sys/mtio.h>
19325 static struct mtget ac_aggr;
19326 if (sizeof ac_aggr.mt_gstat)
19332 rm -f conftest.
$ac_objext
19333 if { (ac_try
="$ac_compile"
19334 case "(($ac_try" in
19335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19336 *) ac_try_echo=$ac_try;;
19338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 (eval "$ac_compile") 2>conftest.er1
19341 grep -v '^ *+' conftest.er1 >conftest.err
19343 cat conftest.err >&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && {
19346 test -z "$ac_c_werror_flag" ||
19347 test ! -s conftest.err
19348 } && test -s conftest.$ac_objext; then
19349 ac_cv_member_struct_mtget_mt_gstat=yes
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 ac_cv_member_struct_mtget_mt_gstat=no
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19362 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19363 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19364 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19366 cat >>confdefs.h <<_ACEOF
19367 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19372 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19373 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19374 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 cat >conftest.$ac_ext <<_ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <sys/types.h>
19384 #ifdef HAVE_SYS_MTIO_H
19385 #include <sys/mtio.h>
19391 static struct mtget ac_aggr;
19392 if (ac_aggr.mt_blkno)
19398 rm -f conftest.$ac_objext
19399 if { (ac_try="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19402 *) ac_try_echo
=$ac_try;;
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19407 grep -v '^ *+' conftest.er1
>conftest.err
19409 cat conftest.err
>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.
$ac_objext; then
19415 ac_cv_member_struct_mtget_mt_blkno
=yes
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.
$ac_ext >&5
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <sys/types.h>
19427 #ifdef HAVE_SYS_MTIO_H
19428 #include <sys/mtio.h>
19434 static struct mtget ac_aggr;
19435 if (sizeof ac_aggr.mt_blkno)
19441 rm -f conftest.
$ac_objext
19442 if { (ac_try
="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19450 grep -v '^ *+' conftest.er1 >conftest.err
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_cv_member_struct_mtget_mt_blkno=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 ac_cv_member_struct_mtget_mt_blkno=no
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19472 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19473 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19475 cat >>confdefs.h <<_ACEOF
19476 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19483 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19484 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19485 if test "${ac_cv_member_struct_option_name+set}" = set; then
19486 echo $ECHO_N "(cached) $ECHO_C" >&6
19488 cat >conftest.$ac_ext <<_ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19494 #ifdef HAVE_GETOPT_H
19495 #include <getopt.h>
19501 static struct option ac_aggr;
19508 rm -f conftest.$ac_objext
19509 if { (ac_try="$ac_compile"
19510 case "(($ac_try" in
19511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19512 *) ac_try_echo
=$ac_try;;
19514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19515 (eval "$ac_compile") 2>conftest.er1
19517 grep -v '^ *+' conftest.er1
>conftest.err
19519 cat conftest.err
>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } && {
19522 test -z "$ac_c_werror_flag" ||
19523 test ! -s conftest.err
19524 } && test -s conftest.
$ac_objext; then
19525 ac_cv_member_struct_option_name
=yes
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.
$ac_ext >&5
19530 cat >conftest.
$ac_ext <<_ACEOF
19533 cat confdefs.h
>>conftest.
$ac_ext
19534 cat >>conftest.
$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #ifdef HAVE_GETOPT_H
19537 #include <getopt.h>
19543 static struct option ac_aggr;
19544 if (sizeof ac_aggr.name)
19550 rm -f conftest.
$ac_objext
19551 if { (ac_try
="$ac_compile"
19552 case "(($ac_try" in
19553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19554 *) ac_try_echo=$ac_try;;
19556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19557 (eval "$ac_compile") 2>conftest.er1
19559 grep -v '^ *+' conftest.er1 >conftest.err
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } && {
19564 test -z "$ac_c_werror_flag" ||
19565 test ! -s conftest.err
19566 } && test -s conftest.$ac_objext; then
19567 ac_cv_member_struct_option_name=yes
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.$ac_ext >&5
19572 ac_cv_member_struct_option_name=no
19575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19581 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19582 if test $ac_cv_member_struct_option_name = yes; then
19584 cat >>confdefs.h <<_ACEOF
19585 #define HAVE_STRUCT_OPTION_NAME 1
19592 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19593 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19594 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 cat >conftest.$ac_ext <<_ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19607 static struct stat ac_aggr;
19608 if (ac_aggr.st_blocks)
19614 rm -f conftest.$ac_objext
19615 if { (ac_try="$ac_compile"
19616 case "(($ac_try" in
19617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19618 *) ac_try_echo
=$ac_try;;
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_compile") 2>conftest.er1
19623 grep -v '^ *+' conftest.er1
>conftest.err
19625 cat conftest.err
>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest.
$ac_objext; then
19631 ac_cv_member_struct_stat_st_blocks
=yes
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.
$ac_ext >&5
19636 cat >conftest.
$ac_ext <<_ACEOF
19639 cat confdefs.h
>>conftest.
$ac_ext
19640 cat >>conftest.
$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19646 static struct stat ac_aggr;
19647 if (sizeof ac_aggr.st_blocks)
19653 rm -f conftest.
$ac_objext
19654 if { (ac_try
="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19662 grep -v '^ *+' conftest.er1 >conftest.err
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19670 ac_cv_member_struct_stat_st_blocks=yes
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19675 ac_cv_member_struct_stat_st_blocks=no
19678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19684 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19685 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19687 cat >>confdefs.h <<_ACEOF
19688 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19695 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19696 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19697 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19698 echo $ECHO_N "(cached) $ECHO_C" >&6
19700 cat >conftest.$ac_ext <<_ACEOF
19703 cat confdefs.h >>conftest.$ac_ext
19704 cat >>conftest.$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 #ifdef HAVE_SYS_TYPES_H
19707 #include <sys/types.h>
19709 #ifdef HAVE_NETINET_IN_H
19710 #include <netinet/in.h>
19716 static struct sockaddr_in6 ac_aggr;
19717 if (ac_aggr.sin6_scope_id)
19723 rm -f conftest.$ac_objext
19724 if { (ac_try="$ac_compile"
19725 case "(($ac_try" in
19726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19727 *) ac_try_echo
=$ac_try;;
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_compile") 2>conftest.er1
19732 grep -v '^ *+' conftest.er1
>conftest.err
19734 cat conftest.err
>&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && {
19737 test -z "$ac_c_werror_flag" ||
19738 test ! -s conftest.err
19739 } && test -s conftest.
$ac_objext; then
19740 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.
$ac_ext >&5
19745 cat >conftest.
$ac_ext <<_ACEOF
19748 cat confdefs.h
>>conftest.
$ac_ext
19749 cat >>conftest.
$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 #ifdef HAVE_SYS_TYPES_H
19752 #include <sys/types.h>
19754 #ifdef HAVE_NETINET_IN_H
19755 #include <netinet/in.h>
19761 static struct sockaddr_in6 ac_aggr;
19762 if (sizeof ac_aggr.sin6_scope_id)
19768 rm -f conftest.
$ac_objext
19769 if { (ac_try
="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19772 *) ac_try_echo=$ac_try;;
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19777 grep -v '^ *+' conftest.er1 >conftest.err
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_c_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.$ac_objext; then
19785 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19799 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19800 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19802 cat >>confdefs.h <<_ACEOF
19803 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19810 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19811 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19812 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19813 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 cat >conftest.$ac_ext <<_ACEOF
19818 cat confdefs.h >>conftest.$ac_ext
19819 cat >>conftest.$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19821 #ifdef HAVE_SYS_TYPES_H
19822 #include <sys/types.h>
19824 #ifdef HAVE_NETINET_IN_H
19825 # include <netinet/in.h>
19827 #ifdef HAVE_ARPA_NAMESER_H
19828 # include <arpa/nameser.h>
19834 static ns_msg ac_aggr;
19835 if (ac_aggr._msg_ptr)
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19845 *) ac_try_echo
=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19850 grep -v '^ *+' conftest.er1
>conftest.err
19852 cat conftest.err
>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.
$ac_objext; then
19858 ac_cv_member_ns_msg__msg_ptr
=yes
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.
$ac_ext >&5
19863 cat >conftest.
$ac_ext <<_ACEOF
19866 cat confdefs.h
>>conftest.
$ac_ext
19867 cat >>conftest.
$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 #ifdef HAVE_SYS_TYPES_H
19870 #include <sys/types.h>
19872 #ifdef HAVE_NETINET_IN_H
19873 # include <netinet/in.h>
19875 #ifdef HAVE_ARPA_NAMESER_H
19876 # include <arpa/nameser.h>
19882 static ns_msg ac_aggr;
19883 if (sizeof ac_aggr._msg_ptr)
19889 rm -f conftest.
$ac_objext
19890 if { (ac_try
="$ac_compile"
19891 case "(($ac_try" in
19892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19893 *) ac_try_echo=$ac_try;;
19895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19896 (eval "$ac_compile") 2>conftest.er1
19898 grep -v '^ *+' conftest.er1 >conftest.err
19900 cat conftest.err >&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && {
19903 test -z "$ac_c_werror_flag" ||
19904 test ! -s conftest.err
19905 } && test -s conftest.$ac_objext; then
19906 ac_cv_member_ns_msg__msg_ptr=yes
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19911 ac_cv_member_ns_msg__msg_ptr=no
19914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19919 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19920 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19921 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19923 cat >>confdefs.h <<_ACEOF
19924 #define HAVE_NS_MSG__MSG_PTR 1
19931 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19932 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19933 if test "${ac_cv_have_timezone+set}" = set; then
19934 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 cat >conftest.$ac_ext <<_ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19951 rm -f conftest.$ac_objext conftest$ac_exeext
19952 if { (ac_try="$ac_link"
19953 case "(($ac_try" in
19954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19955 *) ac_try_echo
=$ac_try;;
19957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19958 (eval "$ac_link") 2>conftest.er1
19960 grep -v '^ *+' conftest.er1
>conftest.err
19962 cat conftest.err
>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } && {
19965 test -z "$ac_c_werror_flag" ||
19966 test ! -s conftest.err
19967 } && test -s conftest
$ac_exeext &&
19968 $as_test_x conftest
$ac_exeext; then
19969 ac_cv_have_timezone
="yes"
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.
$ac_ext >&5
19974 ac_cv_have_timezone
="no"
19977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19978 conftest
$ac_exeext conftest.
$ac_ext
19980 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19981 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19982 if test "$ac_cv_have_timezone" = "yes"
19985 cat >>confdefs.h
<<\_ACEOF
19986 #define HAVE_TIMEZONE 1
19990 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19991 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19992 if test "${ac_cv_have_daylight+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 cat >conftest.
$ac_ext <<_ACEOF
19998 cat confdefs.h
>>conftest.
$ac_ext
19999 cat >>conftest.
$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20010 rm -f conftest.
$ac_objext conftest
$ac_exeext
20011 if { (ac_try
="$ac_link"
20012 case "(($ac_try" in
20013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_link") 2>conftest.er1
20019 grep -v '^ *+' conftest.er1 >conftest.err
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } && {
20024 test -z "$ac_c_werror_flag" ||
20025 test ! -s conftest.err
20026 } && test -s conftest$ac_exeext &&
20027 $as_test_x conftest$ac_exeext; then
20028 ac_cv_have_daylight="yes"
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20033 ac_cv_have_daylight="no"
20036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20037 conftest$ac_exeext conftest.$ac_ext
20039 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20040 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20041 if test "$ac_cv_have_daylight" = "yes"
20044 cat >>confdefs.h <<\_ACEOF
20045 #define HAVE_DAYLIGHT 1
20052 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20053 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20054 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 cat >conftest.$ac_ext <<_ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20068 $EGREP "yes" >/dev/null 2>&1; then
20069 ac_cv_cpp_def___i386__=yes
20071 ac_cv_cpp_def___i386__=no
20076 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20077 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20078 if test $ac_cv_cpp_def___i386__ = yes; then
20079 CFLAGS="$CFLAGS -D__i386__"
20080 LINTFLAGS="$LINTFLAGS -D__i386__"
20083 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20084 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20085 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 cat >conftest.$ac_ext <<_ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20099 $EGREP "yes" >/dev/null 2>&1; then
20100 ac_cv_cpp_def___x86_64__=yes
20102 ac_cv_cpp_def___x86_64__=no
20107 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20108 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20109 if test $ac_cv_cpp_def___x86_64__ = yes; then
20110 CFLAGS="$CFLAGS -D__x86_64__"
20111 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20114 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20115 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20116 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 cat >conftest.$ac_ext <<_ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20130 $EGREP "yes" >/dev/null 2>&1; then
20131 ac_cv_cpp_def___ALPHA__=yes
20133 ac_cv_cpp_def___ALPHA__=no
20138 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20139 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20140 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20141 CFLAGS="$CFLAGS -D__ALPHA__"
20142 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20145 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20146 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20147 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 cat >conftest.$ac_ext <<_ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20161 $EGREP "yes" >/dev/null 2>&1; then
20162 ac_cv_cpp_def___sparc__=yes
20164 ac_cv_cpp_def___sparc__=no
20169 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20170 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20171 if test $ac_cv_cpp_def___sparc__ = yes; then
20172 CFLAGS="$CFLAGS -D__sparc__"
20173 LINTFLAGS="$LINTFLAGS -D__sparc__"
20176 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20177 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20178 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20179 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 cat >conftest.$ac_ext <<_ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 #ifndef __powerpc__
20191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20192 $EGREP "yes" >/dev/null 2>&1; then
20193 ac_cv_cpp_def___powerpc__=yes
20195 ac_cv_cpp_def___powerpc__=no
20200 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20201 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20202 if test $ac_cv_cpp_def___powerpc__ = yes; then
20203 CFLAGS="$CFLAGS -D__powerpc__"
20204 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20209 case $host_vendor in
20210 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20211 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20212 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20215 cat >conftest.$ac_ext <<_ACEOF
20218 cat confdefs.h >>conftest.$ac_ext
20219 cat >>conftest.$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20226 $EGREP "yes" >/dev/null 2>&1; then
20227 ac_cv_cpp_def___sun__=yes
20229 ac_cv_cpp_def___sun__=no
20234 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20235 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20236 if test $ac_cv_cpp_def___sun__ = yes; then
20237 CFLAGS="$CFLAGS -D__sun__"
20238 LINTFLAGS="$LINTFLAGS -D__sun__"
20244 DEPENDENCIES="### Dependencies:
20249 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20251 \$(OBJS): \$(IDL_GEN_HEADERS)
20252 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20253 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20254 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20260 ac_config_commands="$ac_config_commands include/stamp-h"
20263 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20265 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20267 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20269 ac_config_commands="$ac_config_commands dlls/user32/resources"
20271 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20273 ac_config_commands="$ac_config_commands include/wine"
20276 MAKE_RULES=Make.rules
20279 MAKE_DLL_RULES=dlls/Makedll.rules
20282 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20285 MAKE_TEST_RULES=dlls/Maketest.rules
20288 MAKE_PROG_RULES=programs/Makeprog.rules
20291 ac_config_files="$ac_config_files Make.rules"
20293 ac_config_files="$ac_config_files dlls/Makedll.rules"
20295 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20297 ac_config_files="$ac_config_files dlls/Maketest.rules"
20299 ac_config_files="$ac_config_files programs/Makeprog.rules"
20301 ac_config_files="$ac_config_files Makefile"
20303 ac_config_files="$ac_config_files dlls/Makefile"
20305 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20307 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20309 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20311 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20313 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20315 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20317 ac_config_files="$ac_config_files dlls/atl/Makefile"
20319 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20321 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20323 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20325 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20327 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20329 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20331 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20333 ac_config_files="$ac_config_files dlls/cards/Makefile"
20335 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20337 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20339 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20341 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20343 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20345 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20347 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20349 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20351 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20353 ac_config_files="$ac_config_files dlls/credui/Makefile"
20355 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20357 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20359 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20361 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20363 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20365 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20367 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20369 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20371 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20373 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20375 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20377 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20379 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20381 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20383 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20385 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20387 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20389 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20391 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20393 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20395 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20397 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20401 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20403 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20405 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20407 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20409 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20411 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20413 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20415 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20417 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20419 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20421 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20423 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20425 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20427 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20431 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20433 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20435 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20437 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20441 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20443 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20445 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20447 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20449 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20451 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20453 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20455 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20457 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20459 ac_config_files="$ac_config_files dlls/hid/Makefile"
20461 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20463 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20467 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20469 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20471 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20473 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20475 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20477 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20479 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20483 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20485 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20487 ac_config_files="$ac_config_files dlls/itss/Makefile"
20489 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20491 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20493 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20497 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20499 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20501 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20505 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20509 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20511 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20513 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20515 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20517 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20519 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20523 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20525 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20527 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20529 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20531 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20533 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20535 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20537 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20539 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20543 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20545 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20547 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20549 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20551 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20553 ac_config_files="$ac_config_files dlls/msi/Makefile"
20555 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20557 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20559 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20561 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20563 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20565 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20567 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20569 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20571 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20573 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20575 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20579 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20581 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20583 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20585 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20587 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20589 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20591 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20595 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20597 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20599 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20601 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20603 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20605 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20607 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20611 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20615 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20617 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20621 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20623 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20625 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20627 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20629 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20631 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20633 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20635 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20637 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20639 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20641 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/query/Makefile"
20645 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20647 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20649 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20651 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20653 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20655 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20657 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20661 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20663 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20665 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20669 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20671 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20673 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20675 ac_config_files="$ac_config_files dlls/security/Makefile"
20677 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20679 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20681 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20685 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20689 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20691 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20693 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20695 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20697 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20699 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20701 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20703 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20705 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20707 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20709 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20711 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20713 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20715 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20717 ac_config_files="$ac_config_files dlls/sti/Makefile"
20719 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20721 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20723 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20725 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20727 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20729 ac_config_files="$ac_config_files dlls/url/Makefile"
20731 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20733 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20735 ac_config_files="$ac_config_files dlls/user32/Makefile"
20737 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20739 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20741 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20743 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20747 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20749 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20751 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20753 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20755 ac_config_files="$ac_config_files dlls/version/Makefile"
20757 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20761 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20763 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20765 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20767 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20769 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20771 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20773 ac_config_files="$ac_config_files dlls/winearts.drv/Makefile"
20775 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20777 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20779 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20781 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20783 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20785 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20787 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20789 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20791 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20793 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20795 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20799 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20801 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20803 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20805 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20807 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20809 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20811 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20815 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20817 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20819 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20821 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20823 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20825 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20827 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20829 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20831 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20833 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20835 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20837 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20839 ac_config_files="$ac_config_files documentation/Makefile"
20841 ac_config_files="$ac_config_files fonts/Makefile"
20843 ac_config_files="$ac_config_files include/Makefile"
20845 ac_config_files="$ac_config_files libs/Makefile"
20847 ac_config_files="$ac_config_files libs/port/Makefile"
20849 ac_config_files="$ac_config_files libs/wine/Makefile"
20851 ac_config_files="$ac_config_files libs/wpp/Makefile"
20853 ac_config_files="$ac_config_files loader/Makefile"
20855 ac_config_files="$ac_config_files programs/Makefile"
20857 ac_config_files="$ac_config_files programs/clock/Makefile"
20859 ac_config_files="$ac_config_files programs/cmd/Makefile"
20861 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20863 ac_config_files="$ac_config_files programs/control/Makefile"
20865 ac_config_files="$ac_config_files programs/eject/Makefile"
20867 ac_config_files="$ac_config_files programs/expand/Makefile"
20869 ac_config_files="$ac_config_files programs/explorer/Makefile"
20871 ac_config_files="$ac_config_files programs/hh/Makefile"
20873 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20875 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20877 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20879 ac_config_files="$ac_config_files programs/notepad/Makefile"
20881 ac_config_files="$ac_config_files programs/oleview/Makefile"
20883 ac_config_files="$ac_config_files programs/progman/Makefile"
20885 ac_config_files="$ac_config_files programs/regedit/Makefile"
20887 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20889 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20891 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20893 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20895 ac_config_files="$ac_config_files programs/start/Makefile"
20897 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20899 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20901 ac_config_files="$ac_config_files programs/view/Makefile"
20903 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20905 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20907 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20909 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20911 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20913 ac_config_files="$ac_config_files programs/winefile/Makefile"
20915 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20917 ac_config_files="$ac_config_files programs/winemine/Makefile"
20919 ac_config_files="$ac_config_files programs/winepath/Makefile"
20921 ac_config_files="$ac_config_files programs/winetest/Makefile"
20923 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20925 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20927 ac_config_files="$ac_config_files programs/winver/Makefile"
20929 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20931 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20933 ac_config_files="$ac_config_files server/Makefile"
20935 ac_config_files="$ac_config_files tools/Makefile"
20937 ac_config_files="$ac_config_files tools/widl/Makefile"
20939 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20941 ac_config_files="$ac_config_files tools/winedump/Makefile"
20943 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20945 ac_config_files="$ac_config_files tools/wmc/Makefile"
20947 ac_config_files="$ac_config_files tools/wrc/Makefile"
20950 cat >confcache <<\_ACEOF
20951 # This file is a shell script that caches the results of configure
20952 # tests run on this system so they can be shared between configure
20953 # scripts and configure runs, see configure's option --config-cache.
20954 # It is not useful on other systems. If it contains results you don't
20955 # want to keep, you may remove or edit it.
20957 # config.status only pays attention to the cache file if you give it
20958 # the --recheck option to rerun configure.
20960 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20962 # following values.
20966 # The following way of writing the cache mishandles newlines in values,
20967 # but we know of no workaround that is simple, portable, and efficient.
20968 # So, we kill variables containing newlines.
20969 # Ultrix sh set writes to stderr and can't be redirected directly,
20970 # and sets the high bit in the cache file unless we assign to the vars.
20972 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20973 eval ac_val
=\$
$ac_var
20977 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20978 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20981 _ | IFS | as_nl
) ;; #(
20982 *) $as_unset $ac_var ;;
20988 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20989 *${as_nl}ac_space
=\
*)
20990 # `set' does not quote correctly, so add quotes (double-quote
20991 # substitution turns \\\\ into \\, and sed turns \\ into \).
20994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20997 # `set' quotes correctly as required by POSIX, so do not add quotes.
20998 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21009 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21011 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21012 if test -w "$cache_file"; then
21013 test "x$cache_file" != "x/dev/null" &&
21014 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21015 echo "$as_me: updating cache $cache_file" >&6;}
21016 cat confcache
>$cache_file
21018 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21019 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21024 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21025 # Let make expand exec_prefix.
21026 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21028 DEFS
=-DHAVE_CONFIG_H
21032 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21033 # 1. Remove the extension, and $U if already installed.
21034 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21035 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21036 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21037 # will be set to the directory where LIBOBJS objects are built.
21038 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21039 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21041 LIBOBJS
=$ac_libobjs
21043 LTLIBOBJS
=$ac_ltlibobjs
21047 : ${CONFIG_STATUS=./config.status}
21048 ac_clean_files_save
=$ac_clean_files
21049 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21050 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21051 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21052 cat >$CONFIG_STATUS <<_ACEOF
21054 # Generated by $as_me.
21055 # Run this file to recreate the current configuration.
21056 # Compiler output produced by configure, useful for debugging
21057 # configure, is in config.log if it exists.
21060 ac_cs_recheck=false
21062 SHELL=\${CONFIG_SHELL-$SHELL}
21065 cat >>$CONFIG_STATUS <<\_ACEOF
21066 ## --------------------- ##
21067 ## M4sh Initialization. ##
21068 ## --------------------- ##
21070 # Be more Bourne compatible
21071 DUALCASE
=1; export DUALCASE
# for MKS sh
21072 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21075 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21076 # is contrary to our usage. Disable this feature.
21077 alias -g '${1+"$@"}'='"$@"'
21078 setopt NO_GLOB_SUBST
21080 case `(set -o) 2>/dev/null` in
21081 *posix
*) set -o posix
;;
21090 # Avoid depending upon Character Ranges.
21091 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21092 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21093 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21094 as_cr_digits
='0123456789'
21095 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21097 # The user is always right.
21098 if test "${PATH_SEPARATOR+set}" != set; then
21099 echo "#! /bin/sh" >conf$$.sh
21100 echo "exit 0" >>conf$$.sh
21102 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21110 # Support unset when possible.
21111 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21119 # We need space, tab and new line, in precisely that order. Quoting is
21120 # there to prevent editors from complaining about space-tab.
21121 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21122 # splitting by setting IFS to empty value.)
21127 # Find who we are. Look in the path if we contain no directory separator.
21129 *[\\/]* ) as_myself
=$0 ;;
21130 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21131 for as_dir
in $PATH
21134 test -z "$as_dir" && as_dir
=.
21135 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21141 # We did not find ourselves, most probably we were run as `sh COMMAND'
21142 # in which case we are not to be found in the path.
21143 if test "x$as_myself" = x
; then
21146 if test ! -f "$as_myself"; then
21147 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21148 { (exit 1); exit 1; }
21151 # Work around bugs in pre-3.0 UWIN ksh.
21152 for as_var
in ENV MAIL MAILPATH
21153 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21161 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21162 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21163 LC_TELEPHONE LC_TIME
21165 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21166 eval $as_var=C
; export $as_var
21168 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21172 # Required to use basename.
21173 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21174 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21180 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21181 as_basename
=basename
21187 # Name of the executable.
21188 as_me
=`$as_basename -- "$0" ||
21189 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21190 X"$0" : 'X\(//\)$' \| \
21191 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21193 sed '/^.*\/\([^/][^/]*\)\/*$/{
21212 as_lineno_1
=$LINENO
21213 as_lineno_2
=$LINENO
21214 test "x$as_lineno_1" != "x$as_lineno_2" &&
21215 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21217 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21218 # uniformly replaced by the line number. The first 'sed' inserts a
21219 # line-number line after each line using $LINENO; the second 'sed'
21220 # does the real work. The second script uses 'N' to pair each
21221 # line-number line with the line containing $LINENO, and appends
21222 # trailing '-' during substitution so that $LINENO is not a special
21223 # case at line end.
21224 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21225 # scripts with optimization help from Paolo Bonzini. Blame Lee
21226 # E. McMahon (1931-1989) for sed's syntax. :-)
21238 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21241 ' >$as_me.lineno
&&
21242 chmod +x
"$as_me.lineno" ||
21243 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21244 { (exit 1); exit 1; }; }
21246 # Don't try to exec as it changes $[0], causing all sort of problems
21247 # (the dirname of $[0] is not the place where we might find the
21248 # original and so on. Autoconf is especially sensitive to this).
21249 .
"./$as_me.lineno"
21250 # Exit status is that of the last command.
21255 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21261 ECHO_C
= ECHO_N
= ECHO_T
=
21262 case `echo -n x` in
21264 case `echo 'x\c'` in
21265 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21272 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21273 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21279 rm -f conf$$ conf$$.exe conf$$.
file
21280 if test -d conf$$.dir
; then
21281 rm -f conf$$.dir
/conf$$.
file
21287 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21289 # ... but there are two gotchas:
21290 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21291 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21292 # In both cases, we have to default to `cp -p'.
21293 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21295 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21300 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21301 rmdir conf$$.dir
2>/dev
/null
21303 if mkdir
-p .
2>/dev
/null
; then
21306 test -d .
/-p && rmdir .
/-p
21310 if test -x / >/dev
/null
2>&1; then
21311 as_test_x
='test -x'
21313 if ls -dL / >/dev
/null
2>&1; then
21320 if test -d "$1"; then
21326 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21327 ???[sx]*):;;*)false;;esac;fi
21331 as_executable_p
=$as_test_x
21333 # Sed expression to map a string onto a valid CPP name.
21334 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21336 # Sed expression to map a string onto a valid variable name.
21337 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21342 # Save the log message, to keep $[0] and so on meaningful, and to
21343 # report actual input values of CONFIG_FILES etc. instead of their
21344 # values after options handling.
21346 This file was extended by Wine $as_me 0.9.33, which was
21347 generated by GNU Autoconf 2.61. Invocation command line was
21349 CONFIG_FILES = $CONFIG_FILES
21350 CONFIG_HEADERS = $CONFIG_HEADERS
21351 CONFIG_LINKS = $CONFIG_LINKS
21352 CONFIG_COMMANDS = $CONFIG_COMMANDS
21355 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21360 cat >>$CONFIG_STATUS <<_ACEOF
21361 # Files that config.status was made for.
21362 config_files="$ac_config_files"
21363 config_headers="$ac_config_headers"
21364 config_commands="$ac_config_commands"
21368 cat >>$CONFIG_STATUS <<\_ACEOF
21370 \`$as_me' instantiates files from templates according to the
21371 current configuration.
21373 Usage: $0 [OPTIONS] [FILE]...
21375 -h, --help print this help, then exit
21376 -V, --version print version number and configuration settings, then exit
21377 -q, --quiet do not print progress messages
21378 -d, --debug don't remove temporary files
21379 --recheck update $as_me by reconfiguring in the same conditions
21380 --file=FILE[:TEMPLATE]
21381 instantiate the configuration file FILE
21382 --header=FILE[:TEMPLATE]
21383 instantiate the configuration header FILE
21385 Configuration files:
21388 Configuration headers:
21391 Configuration commands:
21394 Report bugs to <bug-autoconf@gnu.org>."
21397 cat >>$CONFIG_STATUS <<_ACEOF
21399 Wine config.status 0.9.33
21400 configured by $0, generated by GNU Autoconf 2.61,
21401 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21403 Copyright (C) 2006 Free Software Foundation, Inc.
21404 This config.status script is free software; the Free Software Foundation
21405 gives unlimited permission to copy, distribute and modify it."
21412 cat >>$CONFIG_STATUS <<\_ACEOF
21413 # If no file are specified by the user, then we need to provide default
21414 # value. By we need to know if files were specified by the user.
21420 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21421 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21432 # Handling of the options.
21433 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21435 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21436 echo "$ac_cs_version"; exit ;;
21437 --debug |
--debu |
--deb |
--de |
--d |
-d )
21439 --file |
--fil |
--fi |
--f )
21441 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21442 ac_need_defaults
=false
;;
21443 --header |
--heade |
--head |
--hea )
21445 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21446 ac_need_defaults
=false
;;
21448 # Conflict between --help and --header
21449 { echo "$as_me: error: ambiguous option: $1
21450 Try \`$0 --help' for more information." >&2
21451 { (exit 1); exit 1; }; };;
21452 --help |
--hel |
-h )
21453 echo "$ac_cs_usage"; exit ;;
21454 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21455 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21458 # This is an error.
21459 -*) { echo "$as_me: error: unrecognized option: $1
21460 Try \`$0 --help' for more information." >&2
21461 { (exit 1); exit 1; }; } ;;
21463 *) ac_config_targets
="$ac_config_targets $1"
21464 ac_need_defaults
=false
;;
21470 ac_configure_extra_args
=
21472 if $ac_cs_silent; then
21474 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21478 cat >>$CONFIG_STATUS <<_ACEOF
21479 if \$ac_cs_recheck; then
21480 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21481 CONFIG_SHELL=$SHELL
21482 export CONFIG_SHELL
21483 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21487 cat >>$CONFIG_STATUS <<\_ACEOF
21491 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21492 ## Running $as_me. ##
21498 cat >>$CONFIG_STATUS <<_ACEOF
21501 cat >>$CONFIG_STATUS <<\_ACEOF
21503 # Handling of arguments.
21504 for ac_config_target
in $ac_config_targets
21506 case $ac_config_target in
21507 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21508 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21509 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21510 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21511 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21512 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21513 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21514 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21515 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21516 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21517 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21518 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21519 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21520 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21521 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21522 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21523 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21524 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21525 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21526 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21527 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21528 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21529 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21530 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21531 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21532 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21533 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21534 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21535 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21536 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21537 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21538 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21539 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21540 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21541 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21542 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21543 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21544 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21545 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21546 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21547 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21548 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21549 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21550 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21551 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21552 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21553 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21554 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21555 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21556 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21557 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21558 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21559 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21560 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21561 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21562 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21563 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21564 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21565 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21566 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21567 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21568 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21569 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21570 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21571 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21572 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21573 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21574 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21575 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21576 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21577 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21578 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21579 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21580 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21581 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21582 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21583 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21584 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21585 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21586 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21587 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21588 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21589 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21590 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21591 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21592 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21593 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21594 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21595 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21596 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21597 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21598 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21599 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21600 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21601 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21602 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21603 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21604 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21605 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21606 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21607 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21608 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21609 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21610 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21611 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21612 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21613 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21614 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21615 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21616 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21617 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21618 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21619 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21620 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21621 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21622 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21623 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21624 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21625 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21626 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21627 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21628 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21629 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21630 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21631 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21632 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21633 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21634 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21635 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21636 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21637 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21638 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21639 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21640 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21641 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21642 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21643 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21644 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21645 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21646 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21647 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21648 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21649 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21650 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21651 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21652 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21653 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21654 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21655 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21656 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21657 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21658 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21659 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21660 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21661 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21662 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21663 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21664 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21665 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21666 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21667 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21668 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21669 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21670 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21671 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21672 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21673 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21674 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21675 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21676 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21677 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21678 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21679 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21680 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21681 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21682 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21683 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21684 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21685 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21686 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21687 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21688 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21689 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21690 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21691 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21692 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21693 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21694 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21695 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21696 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21697 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21698 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21699 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21700 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21701 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21702 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21703 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21704 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21705 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21706 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21707 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21708 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21709 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21710 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21711 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21712 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21713 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21714 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21715 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21716 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21717 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21718 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21719 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21720 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21721 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21722 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21723 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21724 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21725 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21726 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21727 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21728 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21729 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21730 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21731 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21732 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21733 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21734 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21735 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21736 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21737 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21738 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21739 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21740 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21741 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21742 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21743 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21744 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21745 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21746 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21747 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21748 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21749 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21750 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21751 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21752 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21753 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21754 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21755 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21756 "dlls/winearts.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21757 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21758 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21759 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21760 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21761 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21762 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21763 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21764 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21765 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21766 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21767 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21768 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21769 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21770 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21771 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21772 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21773 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21774 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21775 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21776 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21777 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21778 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21779 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21780 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21781 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21782 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21783 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21784 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21785 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21786 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21787 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21788 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21789 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21790 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21791 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21792 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21793 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21794 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21795 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21796 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21797 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21798 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21799 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21800 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21801 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21802 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21803 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21804 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21805 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21806 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21807 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21808 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21809 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21810 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21811 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21812 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21813 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21814 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21815 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21816 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21817 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21818 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21819 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21820 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21821 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21822 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21823 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21824 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21825 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21826 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21827 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21828 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21829 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21830 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21831 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21832 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21833 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21834 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21835 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21836 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21837 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21838 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21839 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21840 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21841 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21842 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21843 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21845 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21846 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21847 { (exit 1); exit 1; }; };;
21852 # If the user did not use the arguments to specify the items to instantiate,
21853 # then the envvar interface is used. Set only those that are not.
21854 # We use the long form for the default assignment because of an extremely
21855 # bizarre bug on SunOS 4.1.3.
21856 if $ac_need_defaults; then
21857 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21858 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21859 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21862 # Have a temporary directory for convenience. Make it in the build tree
21863 # simply because there is no reason against having it here, and in addition,
21864 # creating and moving files from /tmp can sometimes cause problems.
21865 # Hook for its removal unless debugging.
21866 # Note that there is a small window in which the directory will not be cleaned:
21867 # after its creation but before its name has been assigned to `$tmp'.
21871 trap 'exit_status=$?
21872 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21874 trap '{ (exit 1); exit 1; }' 1 2 13 15
21876 # Create a (secure) tmp directory for tmp files.
21879 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21880 test -n "$tmp" && test -d "$tmp"
21883 tmp
=.
/conf$$
-$RANDOM
21884 (umask 077 && mkdir
"$tmp")
21887 echo "$me: cannot create a temporary directory in ." >&2
21888 { (exit 1); exit 1; }
21892 # Set up the sed scripts for CONFIG_FILES section.
21895 # No need to generate the scripts if there are no CONFIG_FILES.
21896 # This happens for instance when ./config.status config.h
21897 if test -n "$CONFIG_FILES"; then
21901 # Create sed commands to just substitute file output variables.
21903 # Remaining file output variables are in a fragment that also has non-file
21909 for ac_last_try
in false false false false false
:; do
21910 cat >conf$
$subs.
sed <<_ACEOF
21911 SHELL!$SHELL$ac_delim
21912 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21913 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21914 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21915 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21916 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21917 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21918 exec_prefix!$exec_prefix$ac_delim
21919 prefix!$prefix$ac_delim
21920 program_transform_name!$program_transform_name$ac_delim
21921 bindir!$bindir$ac_delim
21922 sbindir!$sbindir$ac_delim
21923 libexecdir!$libexecdir$ac_delim
21924 datarootdir!$datarootdir$ac_delim
21925 datadir!$datadir$ac_delim
21926 sysconfdir!$sysconfdir$ac_delim
21927 sharedstatedir!$sharedstatedir$ac_delim
21928 localstatedir!$localstatedir$ac_delim
21929 includedir!$includedir$ac_delim
21930 oldincludedir!$oldincludedir$ac_delim
21931 docdir!$docdir$ac_delim
21932 infodir!$infodir$ac_delim
21933 htmldir!$htmldir$ac_delim
21934 dvidir!$dvidir$ac_delim
21935 pdfdir!$pdfdir$ac_delim
21936 psdir!$psdir$ac_delim
21937 libdir!$libdir$ac_delim
21938 localedir!$localedir$ac_delim
21939 mandir!$mandir$ac_delim
21940 DEFS!$DEFS$ac_delim
21941 ECHO_C!$ECHO_C$ac_delim
21942 ECHO_N!$ECHO_N$ac_delim
21943 ECHO_T!$ECHO_T$ac_delim
21944 LIBS!$LIBS$ac_delim
21945 build_alias!$build_alias$ac_delim
21946 host_alias!$host_alias$ac_delim
21947 target_alias!$target_alias$ac_delim
21948 build!$build$ac_delim
21949 build_cpu!$build_cpu$ac_delim
21950 build_vendor!$build_vendor$ac_delim
21951 build_os!$build_os$ac_delim
21952 host!$host$ac_delim
21953 host_cpu!$host_cpu$ac_delim
21954 host_vendor!$host_vendor$ac_delim
21955 host_os!$host_os$ac_delim
21956 WIN16_FILES!$WIN16_FILES$ac_delim
21957 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21958 SET_MAKE!$SET_MAKE$ac_delim
21960 CFLAGS!$CFLAGS$ac_delim
21961 LDFLAGS!$LDFLAGS$ac_delim
21962 CPPFLAGS!$CPPFLAGS$ac_delim
21963 ac_ct_CC!$ac_ct_CC$ac_delim
21964 EXEEXT!$EXEEXT$ac_delim
21965 OBJEXT!$OBJEXT$ac_delim
21967 CXXFLAGS!$CXXFLAGS$ac_delim
21968 ac_ct_CXX!$ac_ct_CXX$ac_delim
21969 CPPBIN!$CPPBIN$ac_delim
21970 TOOLSDIR!$TOOLSDIR$ac_delim
21971 XMKMF!$XMKMF$ac_delim
21973 X_CFLAGS!$X_CFLAGS$ac_delim
21974 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21975 X_LIBS!$X_LIBS$ac_delim
21976 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21977 FLEX!$FLEX$ac_delim
21978 BISON!$BISON$ac_delim
21980 ac_ct_AS!$ac_ct_AS$ac_delim
21983 RANLIB!$RANLIB$ac_delim
21984 STRIP!$STRIP$ac_delim
21985 WINDRES!$WINDRES$ac_delim
21986 LN_S!$LN_S$ac_delim
21988 GREP!$GREP$ac_delim
21989 EGREP!$EGREP$ac_delim
21990 LDCONFIG!$LDCONFIG$ac_delim
21991 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21992 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21995 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21997 elif $ac_last_try; then
21998 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21999 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22000 { (exit 1); exit 1; }; }
22002 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22006 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22007 if test -n "$ac_eof"; then
22008 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22009 ac_eof
=`expr $ac_eof + 1`
22012 cat >>$CONFIG_STATUS <<_ACEOF
22013 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22014 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22015 /^[ ]*@MAKE_RULES@[ ]*$/{
22019 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22023 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22024 r $MAKE_IMPLIB_RULES
22027 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22031 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22037 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22038 s/^/s,@/; s/!/@,|#_!!_#|/
22041 s/'"$ac_delim"'$/,g/; t
22043 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22044 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22045 rm -f conf$
$subs.
sed
22046 cat >>$CONFIG_STATUS <<_ACEOF
22052 for ac_last_try
in false false false false false
:; do
22053 cat >conf$
$subs.
sed <<_ACEOF
22054 INSTALL_DATA!$INSTALL_DATA$ac_delim
22055 LINT!$LINT$ac_delim
22056 LINTFLAGS!$LINTFLAGS$ac_delim
22057 FONTFORGE!$FONTFORGE$ac_delim
22058 PKG_CONFIG!$PKG_CONFIG$ac_delim
22059 PRELINK!$PRELINK$ac_delim
22060 LIBPTHREAD!$LIBPTHREAD$ac_delim
22061 XLIB!$XLIB$ac_delim
22062 XFILES!$XFILES$ac_delim
22063 OPENGLFILES!$OPENGLFILES$ac_delim
22064 GLU32FILES!$GLU32FILES$ac_delim
22065 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22066 QUARTZFILES!$QUARTZFILES$ac_delim
22067 NASLIBS!$NASLIBS$ac_delim
22068 XML2LIBS!$XML2LIBS$ac_delim
22069 XML2INCL!$XML2INCL$ac_delim
22070 XSLTLIBS!$XSLTLIBS$ac_delim
22071 XSLTINCL!$XSLTINCL$ac_delim
22072 HALINCL!$HALINCL$ac_delim
22073 sane_devel!$sane_devel$ac_delim
22074 SANEINCL!$SANEINCL$ac_delim
22075 gphoto2_devel!$gphoto2_devel$ac_delim
22076 gphoto2port_devel!$gphoto2port_devel$ac_delim
22077 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22078 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22079 ICULIBS!$ICULIBS$ac_delim
22080 RESOLVLIBS!$RESOLVLIBS$ac_delim
22081 LCMSLIBS!$LCMSLIBS$ac_delim
22082 LDAPLIBS!$LDAPLIBS$ac_delim
22083 FREETYPELIBS!$FREETYPELIBS$ac_delim
22084 FREETYPEINCL!$FREETYPEINCL$ac_delim
22085 ft_devel!$ft_devel$ac_delim
22086 ft_devel2!$ft_devel2$ac_delim
22087 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22088 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22089 ARTSLIBS!$ARTSLIBS$ac_delim
22090 ARTSINCL!$ARTSINCL$ac_delim
22091 ESDCONFIG!$ESDCONFIG$ac_delim
22092 ESDLIBS!$ESDLIBS$ac_delim
22093 ESDINCL!$ESDINCL$ac_delim
22094 ALSALIBS!$ALSALIBS$ac_delim
22095 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22096 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22097 BUILTINFLAG!$BUILTINFLAG$ac_delim
22098 DLLEXT!$DLLEXT$ac_delim
22099 DLLFLAGS!$DLLFLAGS$ac_delim
22100 LDSHARED!$LDSHARED$ac_delim
22101 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22102 LIBEXT!$LIBEXT$ac_delim
22103 IMPLIBEXT!$IMPLIBEXT$ac_delim
22104 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22105 DLLTOOL!$DLLTOOL$ac_delim
22106 DLLWRAP!$DLLWRAP$ac_delim
22107 MINGWAR!$MINGWAR$ac_delim
22108 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22109 IOKITLIB!$IOKITLIB$ac_delim
22110 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22111 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22112 COREAUDIO!$COREAUDIO$ac_delim
22113 CARBONLIB!$CARBONLIB$ac_delim
22114 CROSSTEST!$CROSSTEST$ac_delim
22115 CROSSCC!$CROSSCC$ac_delim
22116 CROSSWINDRES!$CROSSWINDRES$ac_delim
22117 LDPATH!$LDPATH$ac_delim
22118 CRTLIBS!$CRTLIBS$ac_delim
22119 SOCKETLIBS!$SOCKETLIBS$ac_delim
22120 MAIN_BINARY!$MAIN_BINARY$ac_delim
22121 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22123 LIBDL!$LIBDL$ac_delim
22124 LIBPOLL!$LIBPOLL$ac_delim
22125 DEPENDENCIES!$DEPENDENCIES$ac_delim
22126 LIBOBJS!$LIBOBJS$ac_delim
22127 LTLIBOBJS!$LTLIBOBJS$ac_delim
22130 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22132 elif $ac_last_try; then
22133 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22134 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22135 { (exit 1); exit 1; }; }
22137 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22141 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22142 if test -n "$ac_eof"; then
22143 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22144 ac_eof
=`expr $ac_eof + 1`
22147 cat >>$CONFIG_STATUS <<_ACEOF
22148 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22152 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22153 s/^/s,@/; s/!/@,|#_!!_#|/
22156 s/'"$ac_delim"'$/,g/; t
22158 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22159 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22160 rm -f conf$
$subs.
sed
22161 cat >>$CONFIG_STATUS <<_ACEOF
22168 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22169 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22170 # trailing colons and then remove the whole line if VPATH becomes empty
22171 # (actually we leave an empty line to preserve line numbers).
22172 if test "x$srcdir" = x.
; then
22173 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22174 s/:*\$(srcdir):*/:/
22175 s/:*\${srcdir}:*/:/
22177 s/^\([^=]*=[ ]*\):*/\1/
22183 cat >>$CONFIG_STATUS <<\_ACEOF
22184 fi # test -n "$CONFIG_FILES"
22187 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22190 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22192 case $ac_mode$ac_tag in
22194 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22195 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22196 { (exit 1); exit 1; }; };;
22197 :[FH
]-) ac_tag
=-:-;;
22198 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22215 -) ac_f
="$tmp/stdin";;
22216 *) # Look for the file first in the build tree, then in the source tree
22217 # (if the path is not absolute). The absolute path cannot be DOS-style,
22218 # because $ac_f cannot contain `:'.
22222 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22224 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22225 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22226 { (exit 1); exit 1; }; };;
22228 ac_file_inputs
="$ac_file_inputs $ac_f"
22231 # Let's still pretend it is `configure' which instantiates (i.e., don't
22232 # use $as_me), people would be surprised to read:
22233 # /* config.h. Generated by config.status. */
22234 configure_input
="Generated from "`IFS=:
22235 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22236 if test x
"$ac_file" != x-
; then
22237 configure_input
="$ac_file. $configure_input"
22238 { echo "$as_me:$LINENO: creating $ac_file" >&5
22239 echo "$as_me: creating $ac_file" >&6;}
22243 *:-:* |
*:-) cat >"$tmp/stdin";;
22248 ac_dir
=`$as_dirname -- "$ac_file" ||
22249 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22250 X"$ac_file" : 'X\(//\)[^/]' \| \
22251 X"$ac_file" : 'X\(//\)$' \| \
22252 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22258 /^X\(\/\/\)[^/].*/{
22273 -*) as_dir
=.
/$as_dir;;
22275 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22279 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22280 *) as_qdir
=$as_dir;;
22282 as_dirs
="'$as_qdir' $as_dirs"
22283 as_dir
=`$as_dirname -- "$as_dir" ||
22284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22285 X"$as_dir" : 'X\(//\)[^/]' \| \
22286 X"$as_dir" : 'X\(//\)$' \| \
22287 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22293 /^X\(\/\/\)[^/].*/{
22306 test -d "$as_dir" && break
22308 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22309 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22310 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22311 { (exit 1); exit 1; }; }; }
22315 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22317 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22318 # A ".." for each directory in $ac_dir_suffix.
22319 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22320 case $ac_top_builddir_sub in
22321 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22322 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22325 ac_abs_top_builddir
=$ac_pwd
22326 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22327 # for backward compatibility:
22328 ac_top_builddir
=$ac_top_build_prefix
22331 .
) # We are building in place.
22333 ac_top_srcdir
=$ac_top_builddir_sub
22334 ac_abs_top_srcdir
=$ac_pwd ;;
22335 [\\/]* | ?
:[\\/]* ) # Absolute name.
22336 ac_srcdir
=$srcdir$ac_dir_suffix;
22337 ac_top_srcdir
=$srcdir
22338 ac_abs_top_srcdir
=$srcdir ;;
22339 *) # Relative name.
22340 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22341 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22342 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22344 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22354 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22355 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22359 cat >>$CONFIG_STATUS <<\_ACEOF
22360 # If the template does not know about datarootdir, expand it.
22361 # FIXME: This hack should be removed a few years after 2.60.
22362 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22364 case `sed -n '/datarootdir/ {
22373 ' $ac_file_inputs` in
22374 *datarootdir
*) ac_datarootdir_seen
=yes;;
22375 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22376 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22377 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22379 cat >>$CONFIG_STATUS <<_ACEOF
22380 ac_datarootdir_hack='
22381 s&@datadir@&$datadir&g
22382 s&@docdir@&$docdir&g
22383 s&@infodir@&$infodir&g
22384 s&@localedir@&$localedir&g
22385 s&@mandir@&$mandir&g
22386 s&\\\${datarootdir}&$datarootdir&g' ;;
22390 # Neutralize VPATH when `$srcdir' = `.'.
22391 # Shell code in configure.ac might set extrasub.
22392 # FIXME: do we really want to maintain this feature?
22393 cat >>$CONFIG_STATUS <<_ACEOF
22397 cat >>$CONFIG_STATUS <<\_ACEOF
22399 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22400 s
&@configure_input@
&$configure_input&;t t
22401 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22402 s
&@srcdir@
&$ac_srcdir&;t t
22403 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22404 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22405 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22406 s
&@builddir@
&$ac_builddir&;t t
22407 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22408 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22409 s
&@INSTALL@
&$ac_INSTALL&;t t
22410 $ac_datarootdir_hack
22411 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22413 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22414 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22415 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22416 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22417 which seems to be undefined. Please make sure it is defined." >&5
22418 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22419 which seems to be undefined. Please make sure it is defined." >&2;}
22423 -) cat "$tmp/out"; rm -f "$tmp/out";;
22424 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22433 # Transform confdefs.h into a sed script `conftest.defines', that
22434 # substitutes the proper values into config.h.in to produce config.h.
22435 rm -f conftest.defines conftest.
tail
22436 # First, append a space to every undef/define line, to ease matching.
22437 echo 's/$/ /' >conftest.defines
22438 # Then, protect against being on the right side of a sed subst, or in
22439 # an unquoted here document, in config.status. If some macros were
22440 # called several times there might be several #defines for the same
22441 # symbol, which is useless. But do not sort them, since the last
22442 # AC_DEFINE must be honored.
22443 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22444 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22445 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22446 # PARAMS is the parameter list in the macro definition--in most cases, it's
22447 # just an empty string.
22448 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22449 ac_dB
='\\)[ (].*,\\1define\\2'
22457 s/^[ ]*#[ ]*define[ ][ ]*//
22462 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22463 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22464 ' >>conftest.defines
22466 # Remove the space that was appended to ease matching.
22467 # Then replace #undef with comments. This is necessary, for
22468 # example, in the case of _POSIX_SOURCE, which is predefined and required
22469 # on some systems where configure will not decide to define it.
22470 # (The regexp can be short, since the line contains either #define or #undef.)
22472 s,^[ #]*u.*,/* & */,' >>conftest.defines
22474 # Break up conftest.defines:
22475 ac_max_sed_lines
=50
22477 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22478 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22479 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22481 ac_in
='$ac_file_inputs'
22482 ac_out
='"$tmp/out1"'
22483 ac_nxt
='"$tmp/out2"'
22487 # Write a here document:
22488 cat >>$CONFIG_STATUS <<_ACEOF
22489 # First, check the format of the line:
22490 cat >"\$tmp/defines.sed" <<\\CEOF
22491 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22492 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22496 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22498 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22499 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22500 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22501 grep . conftest.
tail >/dev
/null ||
break
22502 rm -f conftest.defines
22503 mv conftest.
tail conftest.defines
22505 rm -f conftest.defines conftest.
tail
22507 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22508 cat >>$CONFIG_STATUS <<\_ACEOF
22509 if test x
"$ac_file" != x-
; then
22510 echo "/* $configure_input */" >"$tmp/config.h"
22511 cat "$ac_result" >>"$tmp/config.h"
22512 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22513 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22514 echo "$as_me: $ac_file is unchanged" >&6;}
22517 mv "$tmp/config.h" $ac_file
22520 echo "/* $configure_input */"
22526 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22527 echo "$as_me: executing $ac_file commands" >&6;}
22532 case $ac_file$ac_mode in
22533 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22534 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22535 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22536 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22537 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22538 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22539 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22540 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22541 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22542 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22543 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22544 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22545 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22551 { (exit 0); exit 0; }
22553 chmod +x
$CONFIG_STATUS
22554 ac_clean_files
=$ac_clean_files_save
22557 # configure is writing to config.log, and then calls config.status.
22558 # config.status does its own redirection, appending to config.log.
22559 # Unfortunately, on DOS this fails, as config.log is still kept open
22560 # by configure, so config.status won't be able to write to it; its
22561 # output is simply discarded. So we exec the FD to /dev/null,
22562 # effectively closing config.log, so it can be properly (re)opened and
22563 # appended to by config.status. When coming back to configure, we
22564 # need to make the FD available again.
22565 if test "$no_create" != yes; then
22567 ac_config_status_args
=
22568 test "$silent" = yes &&
22569 ac_config_status_args
="$ac_config_status_args --quiet"
22571 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22573 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22574 # would make configure fail if this is the last instruction.
22575 $ac_cs_success ||
{ (exit 1); exit 1; }
22580 if test "$no_create" = "yes"
22585 if test "$verbose" = "yes"
22587 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22590 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22591 echo "$as_me: libcapi20 development files not found." >&6;}
22592 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22593 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22596 if test "$ac_cv_header_cups_cups_h" != "yes"
22599 { echo "$as_me:$LINENO: libcups development files not found." >&5
22600 echo "$as_me: libcups development files not found." >&6;}
22601 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22602 echo "$as_me: Wine will be built without CUPS support." >&6;}
22606 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22609 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22610 echo "$as_me: libgphoto2 development files not found." >&6;}
22611 if test "$ac_cv_header_sane_sane_h" = "yes"
22613 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22614 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22616 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22617 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22621 if test "$ac_cv_header_hal_libhal_h" != "yes"
22624 { echo "$as_me:$LINENO: libhal development files not found." >&5
22625 echo "$as_me: libhal development files not found." >&6;}
22626 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22627 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22630 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22633 { echo "$as_me:$LINENO: libicu development files not found." >&5
22634 echo "$as_me: libicu development files not found." >&6;}
22635 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22636 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22639 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22642 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22643 echo "$as_me: liblcms development files not found." >&6;}
22644 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22645 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22648 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22651 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22652 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22653 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22654 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22657 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22660 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22661 echo "$as_me: lib(n)curses development files not found." >&6;}
22662 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22663 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22666 if test "$ac_cv_header_sane_sane_h" != "yes"
22669 { echo "$as_me:$LINENO: libsane development files not found." >&5
22670 echo "$as_me: libsane development files not found." >&6;}
22671 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22672 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22675 if test "$have_x" = "yes"
22677 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22680 { echo "$as_me:$LINENO: libxext development files not found." >&5
22681 echo "$as_me: libxext development files not found." >&6;}
22682 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22683 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22686 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22689 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22690 echo "$as_me: libXrandr development files not found." >&6;}
22691 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22692 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22695 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22698 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22699 echo "$as_me: libXrender development files not found." >&6;}
22700 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22701 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22704 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22707 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22708 echo "$as_me: libXxf86vm development files not found." >&6;}
22709 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22710 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22714 if test "$ac_cv_header_libxml_parser_h" != "yes"
22717 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22718 echo "$as_me: libxml2 development files not found." >&6;}
22719 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22720 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22723 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22726 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22727 echo "$as_me: libxslt development files not found." >&6;}
22728 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22729 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22734 if test "$have_x" = "no"
22737 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22738 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22739 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22740 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22741 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22742 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22743 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22744 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22747 if test -z "$OPENGLFILES"
22750 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22751 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22752 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22753 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22754 if test "$wine_cv_opengl_headers_found" = "no"
22756 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22757 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22759 if test "$wine_cv_opengl_header_version_OK" = "no"
22761 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22762 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22763 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22765 if test -f /usr
/X11R
6/lib
/libGL.a
22767 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22768 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22769 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22770 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22772 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22773 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22778 if test "$wine_cv_msg_freetype" = "yes"
22781 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22782 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22783 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22784 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22785 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22786 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22787 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22788 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22791 if test -z "$FONTSSUBDIRS"
22794 if test "$FONTFORGE" = "false"
22796 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22797 echo "$as_me: WARNING: FontForge is missing." >&2;}
22799 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22800 echo "$as_me: WARNING: FreeType is missing." >&2;}
22802 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22803 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22806 if test -z "$ALSALIBS" -a \
22807 -z "$ARTSC_LIBS" -a \
22808 -z "$AUDIOIOLIBS" -a \
22810 -z "$ESD_LIBS" -a \
22811 -z "$ac_cv_lib_soname_jack" -a \
22812 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22813 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22814 "$ac_cv_header_soundcard_h" != "yes"
22817 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22818 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22819 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22820 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22822 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22826 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."