2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.35.
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.35'
578 PACKAGE_STRING
='Wine 0.9.35'
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
771 ac_subst_files
='MAKE_RULES
776 ac_precious_vars
='build_alias
791 # Initialize some variables set by options.
793 ac_init_version
=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_
$ac_feature=no
;;
900 -docdir |
--docdir |
--docdi |
--doc |
--do)
902 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
905 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
907 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
910 -enable-* |
--enable-*)
911 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_
$ac_feature=\
$ac_optarg ;;
919 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
920 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
921 |
--exec |
--exe |
--ex)
922 ac_prev
=exec_prefix
;;
923 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
924 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
925 |
--exec=* |
--exe=* |
--ex=*)
926 exec_prefix
=$ac_optarg ;;
928 -gas |
--gas |
--ga |
--g)
929 # Obsolete; use --with-gas.
932 -help |
--help |
--hel |
--he |
-h)
934 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
935 ac_init_help
=recursive
;;
936 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
937 ac_init_help
=short
;;
939 -host |
--host |
--hos |
--ho)
940 ac_prev
=host_alias
;;
941 -host=* |
--host=* |
--hos=* |
--ho=*)
942 host_alias
=$ac_optarg ;;
944 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
946 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
948 htmldir
=$ac_optarg ;;
950 -includedir |
--includedir |
--includedi |
--included |
--include \
951 |
--includ |
--inclu |
--incl |
--inc)
952 ac_prev
=includedir
;;
953 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
954 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
955 includedir
=$ac_optarg ;;
957 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
959 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
960 infodir
=$ac_optarg ;;
962 -libdir |
--libdir |
--libdi |
--libd)
964 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
967 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
968 |
--libexe |
--libex |
--libe)
969 ac_prev
=libexecdir
;;
970 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
971 |
--libexe=* |
--libex=* |
--libe=*)
972 libexecdir
=$ac_optarg ;;
974 -localedir |
--localedir |
--localedi |
--localed |
--locale)
976 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
977 localedir
=$ac_optarg ;;
979 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
980 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
981 ac_prev
=localstatedir
;;
982 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
983 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
984 localstatedir
=$ac_optarg ;;
986 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
988 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
992 # Obsolete; use --without-fp.
995 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
996 |
--no-cr |
--no-c |
-n)
999 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1000 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1003 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1004 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1005 |
--oldin |
--oldi |
--old |
--ol |
--o)
1006 ac_prev
=oldincludedir
;;
1007 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1008 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1009 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1010 oldincludedir
=$ac_optarg ;;
1012 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1014 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1015 prefix
=$ac_optarg ;;
1017 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1018 |
--program-pre |
--program-pr |
--program-p)
1019 ac_prev
=program_prefix
;;
1020 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1021 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1022 program_prefix
=$ac_optarg ;;
1024 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1025 |
--program-suf |
--program-su |
--program-s)
1026 ac_prev
=program_suffix
;;
1027 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1028 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1029 program_suffix
=$ac_optarg ;;
1031 -program-transform-name |
--program-transform-name \
1032 |
--program-transform-nam |
--program-transform-na \
1033 |
--program-transform-n |
--program-transform- \
1034 |
--program-transform |
--program-transfor \
1035 |
--program-transfo |
--program-transf \
1036 |
--program-trans |
--program-tran \
1037 |
--progr-tra |
--program-tr |
--program-t)
1038 ac_prev
=program_transform_name
;;
1039 -program-transform-name=* |
--program-transform-name=* \
1040 |
--program-transform-nam=* |
--program-transform-na=* \
1041 |
--program-transform-n=* |
--program-transform-=* \
1042 |
--program-transform=* |
--program-transfor=* \
1043 |
--program-transfo=* |
--program-transf=* \
1044 |
--program-trans=* |
--program-tran=* \
1045 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1046 program_transform_name
=$ac_optarg ;;
1048 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1050 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1051 pdfdir
=$ac_optarg ;;
1053 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1055 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1058 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1059 |
-silent |
--silent |
--silen |
--sile |
--sil)
1062 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1064 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1066 sbindir
=$ac_optarg ;;
1068 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1069 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1070 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1072 ac_prev
=sharedstatedir
;;
1073 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1074 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1075 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1077 sharedstatedir
=$ac_optarg ;;
1079 -site |
--site |
--sit)
1081 -site=* |
--site=* |
--sit=*)
1084 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1086 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1087 srcdir
=$ac_optarg ;;
1089 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1090 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1091 ac_prev
=sysconfdir
;;
1092 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1093 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1094 sysconfdir
=$ac_optarg ;;
1096 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1097 ac_prev
=target_alias
;;
1098 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1099 target_alias
=$ac_optarg ;;
1101 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1104 -version |
--version |
--versio |
--versi |
--vers |
-V)
1105 ac_init_version
=: ;;
1108 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_
$ac_package=\
$ac_optarg ;;
1116 -without-* |
--without-*)
1117 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_
$ac_package=no
;;
1126 # Obsolete; use --with-x.
1129 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1130 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1131 ac_prev
=x_includes
;;
1132 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1133 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1134 x_includes
=$ac_optarg ;;
1136 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1137 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1138 ac_prev
=x_libraries
;;
1139 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1140 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1141 x_libraries
=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1149 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\
$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 if test -n "$ac_prev"; then
1169 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val
=\$
$ac_var
1182 [\\/$
]* | ?
:[\\/]* ) continue;;
1183 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1194 target
=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x
; then
1198 if test "x$build_alias" = x
; then
1199 cross_compiling
=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1208 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1210 test "$silent" = yes && exec 6>/dev
/null
1213 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di
=`ls -di .` &&
1215 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted
=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir
=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1255 ac_srcdir_defaulted
=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1275 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 for ac_var
in $ac_precious_vars; do
1278 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1280 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1291 \`configure' configures Wine 0.9.35 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1349 --x-includes=DIR X include files are
in DIR
1350 --x-libraries=DIR X library files are
in DIR
1353 --build=BUILD configure
for building on BUILD
[guessed
]
1354 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive
) echo "Configuration of Wine 0.9.35:";;
1365 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1366 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1391 Use these variables to override the choices made by `configure' or to
help
1392 it to
find libraries and programs with nonstandard names
/locations.
1394 Report bugs to
<wine-devel@winehq.org
>.
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1402 test -d "$ac_dir" ||
continue
1406 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1408 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1413 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1416 ac_abs_top_builddir
=$ac_pwd
1417 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir
=$ac_top_build_prefix
1422 .
) # We are building in place.
1424 ac_top_srcdir
=$ac_top_builddir_sub
1425 ac_abs_top_srcdir
=$ac_pwd ;;
1426 [\\/]* | ?
:[\\/]* ) # Absolute name.
1427 ac_srcdir
=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir
=$srcdir
1429 ac_abs_top_srcdir
=$srcdir ;;
1431 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1435 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1455 Wine configure
0.9.35
1456 generated by GNU Autoconf
2.61
1458 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1460 This configure
script is free software
; the Free Software Foundation
1461 gives unlimited permission to copy
, distribute and modify it.
1465 cat >config.log
<<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.35, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir
=.
1506 echo "PATH: $as_dir"
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_must_keep_next
=false
1536 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1538 |
-silent |
--silent |
--silen |
--sile |
--sil)
1541 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1544 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true
; then
1548 ac_must_keep_next
=false
# Got value, back to normal.
1551 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1552 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1553 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1554 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1559 -* ) ac_must_keep_next
=true
;;
1562 ac_configure_args
="$ac_configure_args '$ac_arg'"
1567 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1568 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1627 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 echo "$ac_var='\''$ac_val'\''"
1633 if test -n "$ac_subst_files"; then
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1640 for ac_var
in $ac_subst_files
1642 eval ac_val
=\$
$ac_var
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 echo "$ac_var='\''$ac_val'\''"
1651 if test -s confdefs.h; then
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 for ac_signal
in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest
* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h
<<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 cat >>confdefs.h
<<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 cat >>confdefs.h
<<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 cat >>confdefs.h
<<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 cat >>confdefs.h
<<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x
"$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE
; then
1709 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1711 set x
"$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1732 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1733 *) .
"./$cache_file";;
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1742 # Check that the precious variables saved in the cache have kept the same
1744 ac_cache_corrupted
=false
1745 for ac_var
in $ac_precious_vars; do
1746 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1747 eval ac_new_set
=\
$ac_env_${ac_var}_set
1748 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1749 eval ac_new_val
=\
$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted
=: ;;
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted
=: ;;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted
=:
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1774 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg
=$ac_var=$ac_new_val ;;
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1816 ac_cpp
='$CPP $CPPFLAGS'
1817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1823 ac_config_headers
="$ac_config_headers include/config.h"
1826 for ac_dir
in tools
"$srcdir"/tools
; do
1827 if test -f "$ac_dir/install-sh"; then
1829 ac_install_sh
="$ac_aux_dir/install-sh -c"
1831 elif test -f "$ac_dir/install.sh"; then
1833 ac_install_sh
="$ac_aux_dir/install.sh -c"
1835 elif test -f "$ac_dir/shtool"; then
1837 ac_install_sh
="$ac_aux_dir/shtool install -c"
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval
=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval
=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval
=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval
=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 ac_build_alias
=$build_alias
1894 test "x$ac_build_alias" = x
&&
1895 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x
&&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1915 ac_save_IFS
=$IFS; IFS
='-'
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1925 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test "x$host_alias" = x
; then
1934 ac_cv_host
=$ac_cv_build
1936 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1952 ac_save_IFS
=$IFS; IFS
='-'
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1962 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1967 if test "x$enable_win64" != "xyes"
1969 test -n "$CC" || CC
="gcc -m32"
1970 test -n "$LD" || LD
="ld -m elf_i386"
1971 test -n "$AS" || AS
="as --32"
1979 if test "x$enable_win16" != "xno"
1986 WIN16_FILES
="\$(WIN16_FILES)"
1988 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1990 if test "x$enable_win16" != "xyes"
1998 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
1999 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2000 You need to run 'make distclean' in the source tree first." >&5
2001 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&2;}
2003 { (exit 1); exit 1; }; }
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 cat >conftest.
make <<\_ACEOF
2017 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2024 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2028 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE
="MAKE=${MAKE-make}"
2039 ac_cpp
='$CPP $CPPFLAGS'
2040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC
="$CC" # Let the user override the test.
2054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2058 test -z "$as_dir" && as_dir
=.
2059 for ac_exec_ext
in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc
; ac_word
=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir
=.
2099 for ac_exec_ext
in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC
="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x
; then
2123 case $cross_compiling:$ac_tool_warned in
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: 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." >&2;}
2131 ac_tool_warned
=yes ;;
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC
="$CC" # Let the user override the test.
2151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir
=.
2156 for ac_exec_ext
in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc
; ac_word
=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC
="$CC" # Let the user override the test.
2192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir
=.
2197 for ac_exec_ext
in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected
=yes
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy
$ac_cv_prog_CC
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2220 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog
in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC
="$CC" # Let the user override the test.
2250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir
=.
2255 for ac_exec_ext
in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2280 if test -z "$CC"; then
2282 for ac_prog
in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy
$ac_prog; ac_word
=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir
=.
2299 for ac_exec_ext
in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC
="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2324 if test "x$ac_ct_CC" = x
; then
2327 case $cross_compiling:$ac_tool_warned in
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: 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." >&2;}
2335 ac_tool_warned
=yes ;;
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking for C compiler version" >&5
2352 ac_compiler
=`set X $ac_compile; echo $2`
2353 { (ac_try
="$ac_compiler --version >&5"
2355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2366 *) ac_try_echo
=$ac_try;;
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try
="$ac_compiler -V >&5"
2375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2404 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2417 for ac_file in $ac_files
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2426 if { (ac_try="$ac_link_default"
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2441 for ac_file
in $ac_files ''
2443 test -f "$ac_file" ||
continue
2445 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2448 # We found the default executable, but exeext='' is most
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2454 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2466 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2472 { echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.
$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext
=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try
='./$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2506 if test "$cross_compiling" = maybe; then
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details.
" >&5
2512 echo "$as_me: error
: cannot run C compiled programs.
2513 If you meant to cross compile
, use \
`--host'.
2514 See \`config.log
' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2547 for ac_file
in conftest.exe conftest conftest.
*; do
2548 test -f "$ac_file" ||
continue
2550 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2551 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest
$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.
$ac_ext
2569 EXEEXT
=$ac_cv_exeext
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 cat >conftest.
$ac_ext <<_ACEOF
2579 cat confdefs.h
>>conftest.
$ac_ext
2580 cat >>conftest.
$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try
="$ac_compile"
2594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log
' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details.
" >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached
) $ECHO_C" >&6
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2659 grep -v '^ *+' conftest.er1 >conftest.err
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2669 echo "$as_me: failed program was
:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2685 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached
) $ECHO_C" >&6
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2693 cat >conftest.$ac_ext <<_ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2708 rm -f conftest.$ac_objext
2709 if { (ac_try="$ac_compile"
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2717 grep -v '^ *+' conftest.er1 >conftest.err
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2727 echo "$as_me: failed program was
:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2731 cat >conftest.$ac_ext <<_ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2755 grep -v '^ *+' conftest.er1 >conftest.err
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2765 echo "$as_me: failed program was
:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2770 cat >conftest.$ac_ext <<_ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2804 echo "$as_me: failed program was
:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2830 if test "$GCC" = yes; then
2836 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2837 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached
) $ECHO_C" >&6
2841 ac_cv_prog_cc_c89=no
2843 cat >conftest.$ac_ext <<_ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2867 s = g (p, va_arg (v,int));
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2910 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2913 grep -v '^ *+' conftest.er1 >conftest.err
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2921 ac_cv_prog_cc_c89=$ac_arg
2923 echo "$as_me: failed program was
:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext
2930 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2932 rm -f conftest.$ac_ext
2937 case "x
$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result
: none needed
" >&5
2940 echo "${ECHO_T}none needed
" >&6; } ;;
2942 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2943 echo "${ECHO_T}unsupported
" >&6; } ;;
2945 CC="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -z "$CXX"; then
2963 if test -n "$CCC"; then
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2972 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2973 if test "${ac_cv_prog_CXX+set}" = set; then
2974 echo $ECHO_N "(cached
) $ECHO_C" >&6
2976 if test -n "$CXX"; then
2977 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2987 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2997 if test -n "$CXX"; then
2998 { echo "$as_me:$LINENO: result
: $CXX" >&5
2999 echo "${ECHO_T}$CXX" >&6; }
3001 { echo "$as_me:$LINENO: result
: no
" >&5
3002 echo "${ECHO_T}no
" >&6; }
3006 test -n "$CXX" && break
3009 if test -z "$CXX"; then
3011 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy $ac_prog; ac_word=$2
3015 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3016 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3018 echo $ECHO_N "(cached
) $ECHO_C" >&6
3020 if test -n "$ac_ct_CXX"; then
3021 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CXX="$ac_prog"
3031 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3040 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3041 if test -n "$ac_ct_CXX"; then
3042 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3043 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 { echo "$as_me:$LINENO: result
: no
" >&5
3046 echo "${ECHO_T}no
" >&6; }
3050 test -n "$ac_ct_CXX" && break
3053 if test "x
$ac_ct_CXX" = x; then
3056 case $cross_compiling:$ac_tool_warned in
3058 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3059 whose name does not start with the
host triplet. If you think this
3060 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3061 echo "$as_me: 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.
" >&2;}
3064 ac_tool_warned=yes ;;
3072 # Provide some information about the compiler.
3073 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3074 ac_compiler=`set X $ac_compile; echo $2`
3075 { (ac_try="$ac_compiler --version >&5"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compiler --version >&5") 2>&5
3083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3084 (exit $ac_status); }
3085 { (ac_try="$ac_compiler -v >&5"
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3090 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compiler -v >&5") 2>&5
3093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3094 (exit $ac_status); }
3095 { (ac_try="$ac_compiler -V >&5"
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler -V >&5") 2>&5
3103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3104 (exit $ac_status); }
3106 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached
) $ECHO_C" >&6
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3138 grep -v '^ *+' conftest.er1 >conftest.err
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_cxx_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3148 echo "$as_me: failed program was
:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3159 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3160 GXX=`test $ac_compiler_gnu = yes && echo yes`
3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
3162 ac_save_CXXFLAGS=$CXXFLAGS
3163 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3164 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3165 if test "${ac_cv_prog_cxx_g+set}" = set; then
3166 echo $ECHO_N "(cached
) $ECHO_C" >&6
3168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3169 ac_cxx_werror_flag=yes
3172 cat >conftest.$ac_ext <<_ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3187 rm -f conftest.$ac_objext
3188 if { (ac_try="$ac_compile"
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3196 grep -v '^ *+' conftest.er1 >conftest.err
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_cxx_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cxx_g=yes
3206 echo "$as_me: failed program was
:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3210 cat >conftest.$ac_ext <<_ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3234 grep -v '^ *+' conftest.er1 >conftest.err
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_cxx_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.$ac_objext; then
3244 echo "$as_me: failed program was
:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 cat >conftest.$ac_ext <<_ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3273 grep -v '^ *+' conftest.er1 >conftest.err
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_cxx_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3281 ac_cv_prog_cxx_g=yes
3283 echo "$as_me: failed program was
:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3299 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3309 if test "$GXX" = yes; then
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3324 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3325 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3326 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3327 echo $ECHO_N "(cached
) $ECHO_C" >&6
3329 if test -n "$CPPBIN"; then
3330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3340 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3349 CPPBIN=$ac_cv_prog_CPPBIN
3350 if test -n "$CPPBIN"; then
3351 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3352 echo "${ECHO_T}$CPPBIN" >&6; }
3354 { echo "$as_me:$LINENO: result
: no
" >&5
3355 echo "${ECHO_T}no
" >&6; }
3360 if test -z "$ac_cv_prog_CPPBIN"; then
3361 ac_ct_CPPBIN=$CPPBIN
3362 # Extract the first word of "cpp
", so it can be a program name with args.
3363 set dummy cpp; ac_word=$2
3364 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3365 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3366 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3367 echo $ECHO_N "(cached
) $ECHO_C" >&6
3369 if test -n "$ac_ct_CPPBIN"; then
3370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3380 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3390 if test -n "$ac_ct_CPPBIN"; then
3391 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3392 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 { echo "$as_me:$LINENO: result
: no
" >&5
3395 echo "${ECHO_T}no
" >&6; }
3398 if test "x
$ac_ct_CPPBIN" = x; then
3401 case $cross_compiling:$ac_tool_warned in
3403 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3404 whose name does not start with the
host triplet. If you think this
3405 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3406 echo "$as_me: 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.
" >&2;}
3409 ac_tool_warned=yes ;;
3411 CPPBIN=$ac_ct_CPPBIN
3414 CPPBIN="$ac_cv_prog_CPPBIN"
3418 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3419 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3420 if test "${wine_cv_toolsdir+set}" = set; then
3421 echo $ECHO_N "(cached
) $ECHO_C" >&6
3423 if test -z "$with_wine_tools"; then
3424 if test "$cross_compiling" = "yes"; then
3425 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3426 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3427 { (exit 1); exit 1; }; }
3429 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3431 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3432 case $with_wine_tools in
3433 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3434 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3437 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3438 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3439 { (exit 1); exit 1; }; }
3442 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3443 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3444 TOOLSDIR=$wine_cv_toolsdir
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3454 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then
3461 echo $ECHO_N "(cached
) $ECHO_C" >&6
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error
" is here to catch this case.
3475 cat >conftest.$ac_ext <<_ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3482 # include <limits.h>
3484 # include <assert.h>
3488 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3506 echo "$as_me: failed program was
:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3525 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3533 grep -v '^ *+' conftest.er1 >conftest.err
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3541 # Broken: success on invalid input.
3544 echo "$as_me: failed program was
:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 # Passes both tests.
3552 rm -f conftest.err conftest.$ac_ext
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then
3569 { echo "$as_me:$LINENO: result
: $CPP" >&5
3570 echo "${ECHO_T}$CPP" >&6; }
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error
" is here to catch this case.
3580 cat >conftest.$ac_ext <<_ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3587 # include <limits.h>
3589 # include <assert.h>
3593 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3601 grep -v '^ *+' conftest.er1 >conftest.err
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3605 (exit $ac_status); } >/dev/null && {
3606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3611 echo "$as_me: failed program was
:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 # Broken: fails on valid input.
3618 rm -f conftest.err conftest.$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat >conftest.$ac_ext <<_ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 #include <ac_nonexistent.h>
3630 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3638 grep -v '^ *+' conftest.er1 >conftest.err
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3642 (exit $ac_status); } >/dev/null && {
3643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3646 # Broken: success on invalid input.
3649 echo "$as_me: failed program was
:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 # Passes both tests.
3657 rm -f conftest.err conftest.$ac_ext
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then
3665 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3666 See \
`config.log' for more details." >&5
3667 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log
' for more details." >&2;}
3669 { (exit 1); exit 1; }; }
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3675 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 { echo "$as_me:$LINENO: checking for X" >&5
3680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3683 # Check whether --with-x was given.
3684 if test "${with_x+set}" = set; then
3688 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3689 if test "x$with_x" = xno; then
3690 # The user explicitly disabled X.
3693 case $x_includes,$x_libraries in #(
3694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3695 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3696 { (exit 1); exit 1; }; };; #(
3697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 # One or both of the vars are not set, and there is no cached value.
3701 ac_x_includes=no ac_x_libraries=no
3702 rm -f -r conftest.dir
3703 if mkdir conftest.dir; then
3705 cat >Imakefile <<'_ACEOF'
3707 @echo incroot='${INCROOT}'
3709 @echo usrlibdir='${USRLIBDIR}'
3711 @echo libdir='${LIBDIR}'
3713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 for ac_var in incroot usrlibdir libdir; do
3716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3719 for ac_extension in a so sl; do
3720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3722 ac_im_usrlibdir=$ac_im_libdir; break
3725 # Screen out bogus values from the imake configuration. They are
3726 # bogus both because they are the default anyway, and because
3727 # using them would break gcc on systems where it needs fixed includes.
3728 case $ac_im_incroot in
3729 /usr/include) ac_x_includes= ;;
3730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732 case $ac_im_usrlibdir in
3734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3738 rm -f -r conftest.dir
3741 # Standard set of common directories for X headers.
3742 # Check X11 before X11Rn because it is often a symlink to the current release.
3754 /usr
/local
/X11
/include
3755 /usr
/local
/X11R
6/include
3756 /usr
/local
/X11R
5/include
3757 /usr
/local
/X11R
4/include
3759 /usr
/local
/include
/X11
3760 /usr
/local
/include
/X11R6
3761 /usr
/local
/include
/X11R5
3762 /usr
/local
/include
/X11R4
3766 /usr
/XFree86
/include
/X11
3770 /usr
/unsupported
/include
3772 /usr
/local
/x11r
5/include
3773 /usr
/lpp
/Xamples
/include
3775 /usr
/openwin
/include
3776 /usr
/openwin
/share
/include
'
3778 if test "$ac_x_includes" = no; then
3779 # Guess where to find include files, by looking for Xlib.h.
3780 # First, try using that file with no special directory specified.
3781 cat >conftest.$ac_ext <<_ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <X11/Xlib.h>
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 grep -v '^
*+' conftest.er1 >conftest.err
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null && {
3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3805 # We can compile using X headers with no special include directory.
3808 echo "$as_me: failed program was:" >&5
3809 sed 's
/^
/|
/' conftest.$ac_ext >&5
3811 for ac_dir in $ac_x_header_dirs; do
3812 if test -r "$ac_dir/X11/Xlib.h"; then
3813 ac_x_includes=$ac_dir
3819 rm -f conftest.err conftest.$ac_ext
3820 fi # $ac_x_includes = no
3822 if test "$ac_x_libraries" = no; then
3823 # Check for the libraries.
3824 # See if we find them without any special options.
3825 # Don't add to
$LIBS permanently.
3828 cat >conftest.
$ac_ext <<_ACEOF
3831 cat confdefs.h
>>conftest.
$ac_ext
3832 cat >>conftest.
$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <X11/Xlib.h>
3843 rm -f conftest.
$ac_objext conftest
$ac_exeext
3844 if { (ac_try
="$ac_link"
3846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3862 # We can link X programs with no special library path.
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3871 # Don't even attempt the hair of trying to link an X program!
3872 for ac_extension in a so sl; do
3873 if test -r "$ac_dir/libX11.$ac_extension"; then
3874 ac_x_libraries=$ac_dir
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3883 fi # $ac_x_libraries = no
3885 case $ac_x_includes,$ac_x_libraries in #(
3887 # Didn't find X, or a directory has "'" in its name.
3888 ac_cv_have_x="have_x=no";; #(
3890 # Record where we found X for the cache.
3891 ac_cv_have_x="have_x=yes\
3892 ac_x_includes='$ac_x_includes'\
3893 ac_x_libraries='$ac_x_libraries'"
3899 eval "$ac_cv_have_x"
3902 if test "$have_x" != yes; then
3903 { echo "$as_me:$LINENO: result: $have_x" >&5
3904 echo "${ECHO_T}$have_x" >&6; }
3907 # If each of the values was on the command line, it overrides each guess.
3908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3910 # Update the cache value to reflect the command line values.
3911 ac_cv_have_x="have_x=yes\
3912 ac_x_includes='$x_includes'\
3913 ac_x_libraries='$x_libraries'"
3914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3918 if test "$no_x" = yes; then
3919 # Not all programs may use this symbol, but it does not hurt to define it.
3921 cat >>confdefs.h <<\_ACEOF
3922 #define X_DISPLAY_MISSING 1
3925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 if test -n "$x_includes"; then
3928 X_CFLAGS="$X_CFLAGS -I$x_includes"
3931 # It would also be nice to do this for all -L options, not just this one.
3932 if test -n "$x_libraries"; then
3933 X_LIBS="$X_LIBS -L$x_libraries"
3934 # For Solaris; some versions of Sun CC require a space after -R and
3935 # others require no space. Words are not sufficient . . . .
3936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3939 ac_xsave_c_werror_flag=$ac_c_werror_flag
3940 ac_c_werror_flag=yes
3941 cat >conftest.$ac_ext <<_ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3956 rm -f conftest.$ac_objext conftest$ac_exeext
3957 if { (ac_try="$ac_link"
3959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3960 *) ac_try_echo
=$ac_try;;
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_link") 2>conftest.er1
3965 grep -v '^ *+' conftest.er1
>conftest.err
3967 cat conftest.err
>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest
$ac_exeext &&
3973 $as_test_x conftest
$ac_exeext; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 X_LIBS
="$X_LIBS -R$x_libraries"
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3981 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3982 cat >conftest.
$ac_ext <<_ACEOF
3985 cat confdefs.h
>>conftest.
$ac_ext
3986 cat >>conftest.
$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3997 rm -f conftest.
$ac_objext conftest
$ac_exeext
3998 if { (ac_try
="$ac_link"
4000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_link") 2>conftest.er1
4006 grep -v '^ *+' conftest.er1 >conftest.err
4008 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest$ac_exeext &&
4014 $as_test_x conftest$ac_exeext; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4017 X_LIBS="$X_LIBS -R $x_libraries"
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { echo "$as_me:$LINENO: result: neither works" >&5
4023 echo "${ECHO_T}neither works" >&6; }
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_xsave_c_werror_flag
4036 # Check for system-dependent libraries X programs must link with.
4037 # Do this before checking for the system-independent R6 libraries
4038 # (-lICE), since we may need -lsocket or whatever for X linking.
4040 if test "$ISC" = yes; then
4041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043 # Martyn Johnson says this is needed for Ultrix, if the X
4044 # libraries were built with DECnet support. And Karl Berry says
4045 # the Alpha needs dnet_stub (dnet does not exist).
4046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4047 cat >conftest.$ac_ext <<_ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 /* Override any GCC internal prototype to avoid an error.
4055 Use char because int might match the return type of a GCC
4056 builtin and then its argument prototype would still apply. */
4060 char XOpenDisplay ();
4064 return XOpenDisplay ();
4069 rm -f conftest.$ac_objext conftest$ac_exeext
4070 if { (ac_try="$ac_link"
4072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4073 *) ac_try_echo
=$ac_try;;
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_link") 2>conftest.er1
4078 grep -v '^ *+' conftest.er1
>conftest.err
4080 cat conftest.err
>&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest
$ac_exeext &&
4086 $as_test_x conftest
$ac_exeext; then
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.
$ac_ext >&5
4092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 ac_check_lib_save_LIBS
=$LIBS
4099 cat >conftest.
$ac_ext <<_ACEOF
4102 cat confdefs.h
>>conftest.
$ac_ext
4103 cat >>conftest.
$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4116 return dnet_ntoa ();
4121 rm -f conftest.
$ac_objext conftest
$ac_exeext
4122 if { (ac_try
="$ac_link"
4124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_link") 2>conftest.er1
4130 grep -v '^ *+' conftest.er1 >conftest.err
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest$ac_exeext &&
4138 $as_test_x conftest$ac_exeext; then
4139 ac_cv_lib_dnet_dnet_ntoa=yes
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 ac_cv_lib_dnet_dnet_ntoa=no
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_check_lib_save_LIBS
4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 ac_check_lib_save_LIBS=$LIBS
4164 LIBS="-ldnet_stub $LIBS"
4165 cat >conftest.$ac_ext <<_ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4182 return dnet_ntoa ();
4187 rm -f conftest.$ac_objext conftest$ac_exeext
4188 if { (ac_try="$ac_link"
4190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4191 *) ac_try_echo
=$ac_try;;
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_link") 2>conftest.er1
4196 grep -v '^ *+' conftest.er1
>conftest.err
4198 cat conftest.err
>&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest
$ac_exeext &&
4204 $as_test_x conftest
$ac_exeext; then
4205 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.
$ac_ext >&5
4210 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4213 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4214 conftest
$ac_exeext conftest.
$ac_ext
4215 LIBS
=$ac_check_lib_save_LIBS
4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4220 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4227 conftest
$ac_exeext conftest.
$ac_ext
4228 LIBS
="$ac_xsave_LIBS"
4230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4231 # to get the SysV transport functions.
4232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234 # The nsl library prevents programs from opening the X display
4235 # on Irix 5.2, according to T.E. Dickey.
4236 # The functions gethostbyname, getservbyname, and inet_addr are
4237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4240 if test "${ac_cv_func_gethostbyname+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 cat >conftest.
$ac_ext <<_ACEOF
4246 cat confdefs.h
>>conftest.
$ac_ext
4247 cat >>conftest.
$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define gethostbyname innocuous_gethostbyname
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char gethostbyname (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4259 # include <limits.h>
4261 # include <assert.h>
4264 #undef gethostbyname
4266 /* Override any GCC internal prototype to avoid an error.
4267 Use char because int might match the return type of a GCC
4268 builtin and then its argument prototype would still apply. */
4272 char gethostbyname ();
4273 /* The GNU C library defines this for functions which it implements
4274 to always fail with ENOSYS. Some functions are actually named
4275 something starting with __ and the normal name is an alias. */
4276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4283 return gethostbyname ();
4288 rm -f conftest.
$ac_objext conftest
$ac_exeext
4289 if { (ac_try
="$ac_link"
4291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_link") 2>conftest.er1
4297 grep -v '^ *+' conftest.er1 >conftest.err
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest$ac_exeext &&
4305 $as_test_x conftest$ac_exeext; then
4306 ac_cv_func_gethostbyname=yes
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_func_gethostbyname=no
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320 if test $ac_cv_func_gethostbyname = no; then
4321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 ac_check_lib_save_LIBS=$LIBS
4328 cat >conftest.$ac_ext <<_ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4341 char gethostbyname ();
4345 return gethostbyname ();
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4354 *) ac_try_echo
=$ac_try;;
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4359 grep -v '^ *+' conftest.er1
>conftest.err
4361 cat conftest.err
>&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest
$ac_exeext &&
4367 $as_test_x conftest
$ac_exeext; then
4368 ac_cv_lib_nsl_gethostbyname
=yes
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.
$ac_ext >&5
4373 ac_cv_lib_nsl_gethostbyname
=no
4376 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4377 conftest
$ac_exeext conftest.
$ac_ext
4378 LIBS
=$ac_check_lib_save_LIBS
4380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4383 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4386 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 ac_check_lib_save_LIBS
=$LIBS
4394 cat >conftest.
$ac_ext <<_ACEOF
4397 cat confdefs.h
>>conftest.
$ac_ext
4398 cat >>conftest.
$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4407 char gethostbyname ();
4411 return gethostbyname ();
4416 rm -f conftest.
$ac_objext conftest
$ac_exeext
4417 if { (ac_try
="$ac_link"
4419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423 (eval "$ac_link") 2>conftest.er1
4425 grep -v '^ *+' conftest.er1 >conftest.err
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && {
4430 test -z "$ac_c_werror_flag" ||
4431 test ! -s conftest.err
4432 } && test -s conftest$ac_exeext &&
4433 $as_test_x conftest$ac_exeext; then
4434 ac_cv_lib_bsd_gethostbyname=yes
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_bsd_gethostbyname=no
4442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4456 # socket/setsockopt and other routines are undefined under SCO ODT
4457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4458 # on later versions), says Simon Leinen: it contains gethostby*
4459 # variants that don't use the name server (or something). -lsocket
4460 # must be given before -lnsl if both are needed. We assume that
4461 # if connect needs -lnsl, so does gethostbyname.
4462 { echo "$as_me:$LINENO: checking for connect" >&5
4463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4464 if test "${ac_cv_func_connect+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 cat >conftest.$ac_ext <<_ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4475 #define connect innocuous_connect
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char connect (); below.
4479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 <limits.h> exists even on freestanding compilers. */
4483 # include <limits.h>
4485 # include <assert.h>
4490 /* Override any GCC internal prototype to avoid an error.
4491 Use char because int might match the return type of a GCC
4492 builtin and then its argument prototype would still apply. */
4497 /* The GNU C library defines this for functions which it implements
4498 to always fail with ENOSYS. Some functions are actually named
4499 something starting with __ and the normal name is an alias. */
4500 #if defined __stub_connect || defined __stub___connect
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (ac_try="$ac_link"
4515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4516 *) ac_try_echo
=$ac_try;;
4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4519 (eval "$ac_link") 2>conftest.er1
4521 grep -v '^ *+' conftest.er1
>conftest.err
4523 cat conftest.err
>&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest
$ac_exeext &&
4529 $as_test_x conftest
$ac_exeext; then
4530 ac_cv_func_connect
=yes
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.
$ac_ext >&5
4535 ac_cv_func_connect
=no
4538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4539 conftest
$ac_exeext conftest.
$ac_ext
4541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544 if test $ac_cv_func_connect = no
; then
4545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4547 if test "${ac_cv_lib_socket_connect+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 ac_check_lib_save_LIBS
=$LIBS
4551 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4552 cat >conftest.
$ac_ext <<_ACEOF
4555 cat confdefs.h
>>conftest.
$ac_ext
4556 cat >>conftest.
$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4574 rm -f conftest.
$ac_objext conftest
$ac_exeext
4575 if { (ac_try
="$ac_link"
4577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_link") 2>conftest.er1
4583 grep -v '^ *+' conftest.er1 >conftest.err
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest$ac_exeext &&
4591 $as_test_x conftest$ac_exeext; then
4592 ac_cv_lib_socket_connect=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_lib_socket_connect=no
4600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4606 if test $ac_cv_lib_socket_connect = yes; then
4607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4612 # Guillermo Gomez says -lposix is necessary on A/UX.
4613 { echo "$as_me:$LINENO: checking for remove" >&5
4614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4615 if test "${ac_cv_func_remove+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 cat >conftest.$ac_ext <<_ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626 #define remove innocuous_remove
4628 /* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char remove (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4634 # include <limits.h>
4636 # include <assert.h>
4641 /* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4648 /* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651 #if defined __stub_remove || defined __stub___remove
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (ac_try="$ac_link"
4666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4667 *) ac_try_echo
=$ac_try;;
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4672 grep -v '^ *+' conftest.er1
>conftest.err
4674 cat conftest.err
>&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest
$ac_exeext &&
4680 $as_test_x conftest
$ac_exeext; then
4681 ac_cv_func_remove
=yes
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.
$ac_ext >&5
4686 ac_cv_func_remove
=no
4689 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4690 conftest
$ac_exeext conftest.
$ac_ext
4692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695 if test $ac_cv_func_remove = no
; then
4696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_posix_remove+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 ac_check_lib_save_LIBS
=$LIBS
4702 LIBS
="-lposix $LIBS"
4703 cat >conftest.
$ac_ext <<_ACEOF
4706 cat confdefs.h
>>conftest.
$ac_ext
4707 cat >>conftest.
$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4725 rm -f conftest.
$ac_objext conftest
$ac_exeext
4726 if { (ac_try
="$ac_link"
4728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4734 grep -v '^ *+' conftest.er1 >conftest.err
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest$ac_exeext &&
4742 $as_test_x conftest$ac_exeext; then
4743 ac_cv_lib_posix_remove=yes
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_posix_remove=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4757 if test $ac_cv_lib_posix_remove = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4764 { echo "$as_me:$LINENO: checking for shmat" >&5
4765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4766 if test "${ac_cv_func_shmat+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 cat >conftest.$ac_ext <<_ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4777 #define shmat innocuous_shmat
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char shmat (); below.
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 <limits.h> exists even on freestanding compilers. */
4785 # include <limits.h>
4787 # include <assert.h>
4792 /* Override any GCC internal prototype to avoid an error.
4793 Use char because int might match the return type of a GCC
4794 builtin and then its argument prototype would still apply. */
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined __stub_shmat || defined __stub___shmat
4814 rm -f conftest.$ac_objext conftest$ac_exeext
4815 if { (ac_try="$ac_link"
4817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4818 *) ac_try_echo
=$ac_try;;
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_link") 2>conftest.er1
4823 grep -v '^ *+' conftest.er1
>conftest.err
4825 cat conftest.err
>&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest
$ac_exeext &&
4831 $as_test_x conftest
$ac_exeext; then
4832 ac_cv_func_shmat
=yes
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.
$ac_ext >&5
4840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4841 conftest
$ac_exeext conftest.
$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no
; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 ac_check_lib_save_LIBS
=$LIBS
4854 cat >conftest.
$ac_ext <<_ACEOF
4857 cat confdefs.h
>>conftest.
$ac_ext
4858 cat >>conftest.
$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4876 rm -f conftest.
$ac_objext conftest
$ac_exeext
4877 if { (ac_try
="$ac_link"
4879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_link") 2>conftest.er1
4885 grep -v '^ *+' conftest.er1 >conftest.err
4887 cat conftest.err >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && {
4890 test -z "$ac_c_werror_flag" ||
4891 test ! -s conftest.err
4892 } && test -s conftest$ac_exeext &&
4893 $as_test_x conftest$ac_exeext; then
4894 ac_cv_lib_ipc_shmat=yes
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_lib_ipc_shmat=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4904 LIBS=$ac_check_lib_save_LIBS
4906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4908 if test $ac_cv_lib_ipc_shmat = yes; then
4909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4915 # Check for libraries that X11R6 Xt/Xaw programs need.
4916 ac_save_LDFLAGS=$LDFLAGS
4917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4919 # check for ICE first), but we must link in the order -lSM -lICE or
4920 # we get undefined symbols. So assume we have SM if we have ICE.
4921 # These have to be linked with before -lX11, unlike the other
4922 # libraries we check for below, so use a different variable.
4923 # John Interrante, Karl Berry
4924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 ac_check_lib_save_LIBS=$LIBS
4930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4931 cat >conftest.$ac_ext <<_ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4944 char IceConnectionNumber ();
4948 return IceConnectionNumber ();
4953 rm -f conftest.$ac_objext conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4957 *) ac_try_echo
=$ac_try;;
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4962 grep -v '^ *+' conftest.er1
>conftest.err
4964 cat conftest.err
>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest
$ac_exeext &&
4970 $as_test_x conftest
$ac_exeext; then
4971 ac_cv_lib_ICE_IceConnectionNumber
=yes
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.
$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber
=no
4979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4980 conftest
$ac_exeext conftest.
$ac_ext
4981 LIBS
=$ac_check_lib_save_LIBS
4983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4986 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4989 LDFLAGS
=$ac_save_LDFLAGS
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy
$ac_prog; ac_word
=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_prog_FLEX+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 if test -n "$FLEX"; then
5004 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir
=.
5011 for ac_exec_ext
in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_FLEX
="$ac_prog"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 FLEX
=$ac_cv_prog_FLEX
5024 if test -n "$FLEX"; then
5025 { echo "$as_me:$LINENO: result: $FLEX" >&5
5026 echo "${ECHO_T}$FLEX" >&6; }
5028 { echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6; }
5033 test -n "$FLEX" && break
5035 test -n "$FLEX" || FLEX
="none"
5037 if test "$FLEX" = "none"
5039 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5040 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5041 { (exit 1); exit 1; }; }
5044 for ac_prog
in bison
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy
$ac_prog; ac_word
=$2
5048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5050 if test "${ac_cv_prog_BISON+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir
=.
5061 for ac_exec_ext
in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON
="$ac_prog"
5064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 BISON
=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { echo "$as_me:$LINENO: result: $BISON" >&5
5076 echo "${ECHO_T}$BISON" >&6; }
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5083 test -n "$BISON" && break
5085 test -n "$BISON" || BISON
="none"
5087 if test "$BISON" = "none"
5089 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5090 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5091 { (exit 1); exit 1; }; }
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog
in gas as
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101 if test "${ac_cv_prog_AS+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 if test -n "$AS"; then
5105 ac_cv_prog_AS
="$AS" # Let the user override the test.
5107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir
=.
5112 for ac_exec_ext
in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 if test -n "$AS"; then
5126 { echo "$as_me:$LINENO: result: $AS" >&5
5127 echo "${ECHO_T}$AS" >&6; }
5129 { echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6; }
5134 test -n "$AS" && break
5137 if test -z "$AS"; then
5139 for ac_prog
in gas as
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy
$ac_prog; ac_word
=$2
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5145 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 if test -n "$ac_ct_AS"; then
5149 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir
=.
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_AS
="$ac_prog"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5169 if test -n "$ac_ct_AS"; then
5170 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5171 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 { echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6; }
5178 test -n "$ac_ct_AS" && break
5181 if test "x$ac_ct_AS" = x
; then
5184 case $cross_compiling:$ac_tool_warned in
5186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5187 whose name does not start with the host triplet. If you think this
5188 configuration is useful to you, please write to autoconf@gnu.org." >&5
5189 echo "$as_me: 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." >&2;}
5192 ac_tool_warned
=yes ;;
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5200 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203 if test "${ac_cv_prog_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 if test -n "$LD"; then
5207 ac_cv_prog_LD
="$LD" # Let the user override the test.
5209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir
=.
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 if test -n "$LD"; then
5228 { echo "$as_me:$LINENO: result: $LD" >&5
5229 echo "${ECHO_T}$LD" >&6; }
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5237 if test -z "$ac_cv_prog_LD"; then
5239 # Extract the first word of "ld", so it can be a program name with args.
5240 set dummy ld
; ac_word
=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 if test -n "$ac_ct_LD"; then
5247 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_LD
="ld"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5267 if test -n "$ac_ct_LD"; then
5268 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5269 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5275 if test "x$ac_ct_LD" = x
; then
5278 case $cross_compiling:$ac_tool_warned in
5280 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5281 whose name does not start with the host triplet. If you think this
5282 configuration is useful to you, please write to autoconf@gnu.org." >&5
5283 echo "$as_me: 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." >&2;}
5286 ac_tool_warned
=yes ;;
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5296 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AR+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 if test -n "$AR"; then
5303 ac_cv_prog_AR
="$AR" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 if test -n "$AR"; then
5324 { echo "$as_me:$LINENO: result: $AR" >&5
5325 echo "${ECHO_T}$AR" >&6; }
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5333 if test -z "$ac_cv_prog_AR"; then
5335 # Extract the first word of "ar", so it can be a program name with args.
5336 set dummy
ar; ac_word
=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_AR
="ar"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5365 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5371 if test "x$ac_ct_AR" = x
; then
5374 case $cross_compiling:$ac_tool_warned in
5376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5377 whose name does not start with the host triplet. If you think this
5378 configuration is useful to you, please write to autoconf@gnu.org." >&5
5379 echo "$as_me: 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." >&2;}
5382 ac_tool_warned
=yes ;;
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5392 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5395 if test "${ac_cv_prog_RANLIB+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 if test -n "$RANLIB"; then
5399 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 test -z "$as_dir" && as_dir
=.
5406 for ac_exec_ext
in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 RANLIB
=$ac_cv_prog_RANLIB
5419 if test -n "$RANLIB"; then
5420 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5421 echo "${ECHO_T}$RANLIB" >&6; }
5423 { echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6; }
5429 if test -z "$ac_cv_prog_RANLIB"; then
5430 ac_ct_RANLIB
=$RANLIB
5431 # Extract the first word of "ranlib", so it can be a program name with args.
5432 set dummy ranlib
; ac_word
=$2
5433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 if test -n "$ac_ct_RANLIB"; then
5439 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir
=.
5446 for ac_exec_ext
in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5459 if test -n "$ac_ct_RANLIB"; then
5460 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5461 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5467 if test "x$ac_ct_RANLIB" = x
; then
5470 case $cross_compiling:$ac_tool_warned in
5472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&5
5475 echo "$as_me: 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." >&2;}
5478 ac_tool_warned
=yes ;;
5480 RANLIB
=$ac_ct_RANLIB
5483 RANLIB
="$ac_cv_prog_RANLIB"
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_STRIP+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 STRIP
=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { echo "$as_me:$LINENO: result: $STRIP" >&5
5517 echo "${ECHO_T}$STRIP" >&6; }
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip
; ac_word
=$2
5529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir
=.
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_STRIP
="strip"
5545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5557 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5563 if test "x$ac_ct_STRIP" = x
; then
5566 case $cross_compiling:$ac_tool_warned in
5568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5569 whose name does not start with the host triplet. If you think this
5570 configuration is useful to you, please write to autoconf@gnu.org." >&5
5571 echo "$as_me: 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." >&2;}
5574 ac_tool_warned
=yes ;;
5579 STRIP
="$ac_cv_prog_STRIP"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5584 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_WINDRES+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 if test -n "$WINDRES"; then
5591 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 WINDRES
=$ac_cv_prog_WINDRES
5611 if test -n "$WINDRES"; then
5612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5613 echo "${ECHO_T}$WINDRES" >&6; }
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_WINDRES"; then
5622 ac_ct_WINDRES
=$WINDRES
5623 # Extract the first word of "windres", so it can be a program name with args.
5624 set dummy windres
; ac_word
=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 if test -n "$ac_ct_WINDRES"; then
5631 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_WINDRES
="windres"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5651 if test -n "$ac_ct_WINDRES"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_WINDRES" = x
; then
5662 case $cross_compiling:$ac_tool_warned in
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: 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." >&2;}
5670 ac_tool_warned
=yes ;;
5672 WINDRES
=$ac_ct_WINDRES
5675 WINDRES
="$ac_cv_prog_WINDRES"
5678 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5679 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 if test "$LN_S" = "ln -s"; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5685 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5686 echo "${ECHO_T}no, using $LN_S" >&6; }
5689 { echo "$as_me:$LINENO: checking whether ln works" >&5
5690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5691 rm -f conf$$ conf$$.
file
5693 if ln conf$$.
file conf$$
2>/dev
/null
; then
5696 { echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6; }
5701 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5702 echo "${ECHO_T}no, using $LN" >&6; }
5704 rm -f conf$$ conf$$.
file
5705 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5706 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5707 if test "${ac_cv_path_GREP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 # Extract the first word of "grep ggrep" to use in msg output
5711 if test -z "$GREP"; then
5712 set dummy
grep ggrep
; ac_prog_name
=$2
5713 if test "${ac_cv_path_GREP+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 ac_path_GREP_found
=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5719 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5722 test -z "$as_dir" && as_dir
=.
5723 for ac_prog
in grep ggrep
; do
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5726 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5731 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5734 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5742 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5743 ac_count
=`expr $ac_count + 1`
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP
="$ac_path_GREP"
5747 ac_path_GREP_max
=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5752 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5756 $ac_path_GREP_found && break 3
5766 GREP
="$ac_cv_path_GREP"
5767 if test -z "$GREP"; then
5768 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5769 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5770 { (exit 1); exit 1; }; }
5774 ac_cv_path_GREP
=$GREP
5779 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5780 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5781 GREP
="$ac_cv_path_GREP"
5784 { echo "$as_me:$LINENO: checking for egrep" >&5
5785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_EGREP+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5790 then ac_cv_path_EGREP
="$GREP -E"
5792 # Extract the first word of "egrep" to use in msg output
5793 if test -z "$EGREP"; then
5794 set dummy
egrep; ac_prog_name
=$2
5795 if test "${ac_cv_path_EGREP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 ac_path_EGREP_found
=false
5799 # Loop through the user's path and test for each of PROGNAME-LIST
5800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5801 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5804 test -z "$as_dir" && as_dir
=.
5805 for ac_prog
in egrep; do
5806 for ac_exec_ext
in '' $ac_executable_extensions; do
5807 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5809 # Check for GNU ac_path_EGREP and select it if it is found.
5810 # Check for GNU $ac_path_EGREP
5811 case `"$ac_path_EGREP" --version 2>&1` in
5813 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5819 cat "conftest.in" "conftest.in" >"conftest.tmp"
5820 mv "conftest.tmp" "conftest.in"
5821 cp "conftest.in" "conftest.nl"
5822 echo 'EGREP' >> "conftest.nl"
5823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5824 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5825 ac_count
=`expr $ac_count + 1`
5826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5827 # Best one so far, save it but keep looking for a better one
5828 ac_cv_path_EGREP
="$ac_path_EGREP"
5829 ac_path_EGREP_max
=$ac_count
5831 # 10*(2^10) chars as input seems more than enough
5832 test $ac_count -gt 10 && break
5834 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5838 $ac_path_EGREP_found && break 3
5848 EGREP
="$ac_cv_path_EGREP"
5849 if test -z "$EGREP"; then
5850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5852 { (exit 1); exit 1; }; }
5856 ac_cv_path_EGREP
=$EGREP
5862 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5863 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5864 EGREP
="$ac_cv_path_EGREP"
5867 # Extract the first word of "ldconfig", so it can be a program name with args.
5868 set dummy ldconfig
; ac_word
=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 for as_dir
in /sbin
/usr
/sbin
$PATH
5883 test -z "$as_dir" && as_dir
=.
5884 for ac_exec_ext
in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5898 LDCONFIG
=$ac_cv_path_LDCONFIG
5899 if test -n "$LDCONFIG"; then
5900 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5901 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 # Find a good install program. We prefer a C program (faster),
5909 # so one script is as good as another. But avoid the broken or
5910 # incompatible versions:
5911 # SysV /etc/install, /usr/sbin/install
5912 # SunOS /usr/etc/install
5913 # IRIX /sbin/install
5915 # AmigaOS /C/install, which installs bootblocks on floppy discs
5916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5919 # OS/2's system install, which has a completely different semantic
5920 # ./install, which can be erroneously created by make from ./install.sh.
5921 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5922 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5923 if test -z "$INSTALL"; then
5924 if test "${ac_cv_path_install+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir
=.
5932 # Account for people who put trailing slashes in PATH elements.
5934 .
/ | .
// |
/cC
/* | \
5935 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5936 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5939 # OSF1 and SCO ODT 3.0 have their own names for install.
5940 # Don't use installbsd from OSF since it installs stuff as root
5942 for ac_prog
in ginstall scoinst
install; do
5943 for ac_exec_ext
in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5945 if test $ac_prog = install &&
5946 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5947 # AIX install. It has an incompatible calling convention.
5949 elif test $ac_prog = install &&
5950 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5951 # program-specific install script used by HP pwplus--don't use.
5954 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5967 if test "${ac_cv_path_install+set}" = set; then
5968 INSTALL
=$ac_cv_path_install
5970 # As a last resort, use the slow shell script. Don't cache a
5971 # value for INSTALL within a source directory, because that will
5972 # break other packages using the cache if that directory is
5973 # removed, or if the value is a relative name.
5974 INSTALL
=$ac_install_sh
5977 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5978 echo "${ECHO_T}$INSTALL" >&6; }
5980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5981 # It thinks the first close brace ends the variable substitution.
5982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5986 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5989 [\\/$
]* | ?
:[\\/]* ) ;;
5990 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5993 for ac_prog
in lclint lint
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy
$ac_prog; ac_word
=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_LINT+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 if test -n "$LINT"; then
6003 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6009 test -z "$as_dir" && as_dir
=.
6010 for ac_exec_ext
in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_LINT
="$ac_prog"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 LINT
=$ac_cv_prog_LINT
6023 if test -n "$LINT"; then
6024 { echo "$as_me:$LINENO: result: $LINT" >&5
6025 echo "${ECHO_T}$LINT" >&6; }
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6032 test -n "$LINT" && break
6035 if test "$LINT" = "lint"
6037 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6042 for ac_prog
in fontforge
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy
$ac_prog; ac_word
=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 if test -n "$FONTFORGE"; then
6052 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir
=.
6059 for ac_exec_ext
in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_FONTFORGE
="$ac_prog"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 FONTFORGE
=$ac_cv_prog_FONTFORGE
6072 if test -n "$FONTFORGE"; then
6073 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6074 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6081 test -n "$FONTFORGE" && break
6083 test -n "$FONTFORGE" || FONTFORGE
="false"
6085 for ac_prog
in pkg-config
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy
$ac_prog; ac_word
=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 if test -n "$PKG_CONFIG"; then
6095 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir
=.
6102 for ac_exec_ext
in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6115 if test -n "$PKG_CONFIG"; then
6116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 test -n "$PKG_CONFIG" && break
6126 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6131 # Extract the first word of "prelink", so it can be a program name with args.
6132 set dummy prelink
; ac_word
=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_PRELINK+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6144 for as_dir
in /sbin
/usr
/sbin
$PATH
6147 test -z "$as_dir" && as_dir
=.
6148 for ac_exec_ext
in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6162 PRELINK
=$ac_cv_path_PRELINK
6163 if test -n "$PRELINK"; then
6164 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6165 echo "${ECHO_T}$PRELINK" >&6; }
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6177 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6178 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6179 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 ac_check_lib_save_LIBS
=$LIBS
6184 cat >conftest.
$ac_ext <<_ACEOF
6187 cat confdefs.h
>>conftest.
$ac_ext
6188 cat >>conftest.
$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6197 char i386_set_ldt ();
6201 return i386_set_ldt ();
6206 rm -f conftest.
$ac_objext conftest
$ac_exeext
6207 if { (ac_try
="$ac_link"
6209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6210 *) ac_try_echo=$ac_try;;
6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6213 (eval "$ac_link") 2>conftest.er1
6215 grep -v '^ *+' conftest.er1 >conftest.err
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest$ac_exeext &&
6223 $as_test_x conftest$ac_exeext; then
6224 ac_cv_lib_i386_i386_set_ldt=yes
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 ac_cv_lib_i386_i386_set_ldt=no
6232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6233 conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6237 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6238 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_LIBI386 1
6248 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6249 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6250 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 ac_check_lib_save_LIBS=$LIBS
6254 LIBS="-lossaudio $LIBS"
6255 cat >conftest.$ac_ext <<_ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6272 return _oss_ioctl ();
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6281 *) ac_try_echo
=$ac_try;;
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_link") 2>conftest.er1
6286 grep -v '^ *+' conftest.er1
>conftest.err
6288 cat conftest.err
>&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest
$ac_exeext &&
6294 $as_test_x conftest
$ac_exeext; then
6295 ac_cv_lib_ossaudio__oss_ioctl
=yes
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.
$ac_ext >&5
6300 ac_cv_lib_ossaudio__oss_ioctl
=no
6303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6304 conftest
$ac_exeext conftest.
$ac_ext
6305 LIBS
=$ac_check_lib_save_LIBS
6307 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6310 cat >>confdefs.h
<<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6314 LIBS
="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6320 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 ac_check_lib_save_LIBS
=$LIBS
6326 cat >conftest.
$ac_ext <<_ACEOF
6329 cat confdefs.h
>>conftest.
$ac_ext
6330 cat >>conftest.
$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6339 char _xpg4_setrunelocale ();
6343 return _xpg4_setrunelocale ();
6348 rm -f conftest.
$ac_objext conftest
$ac_exeext
6349 if { (ac_try
="$ac_link"
6351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6357 grep -v '^ *+' conftest.er1 >conftest.err
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6379 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6380 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_LIBXPG4 1
6389 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6390 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6391 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6392 echo $ECHO_N "(cached) $ECHO_C" >&6
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-lpthread $LIBS"
6396 cat >conftest.$ac_ext <<_ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6403 /* Override any GCC internal prototype to avoid an error.
6404 Use char because int might match the return type of a GCC
6405 builtin and then its argument prototype would still apply. */
6409 char pthread_create ();
6413 return pthread_create ();
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6422 *) ac_try_echo
=$ac_try;;
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_link") 2>conftest.er1
6427 grep -v '^ *+' conftest.er1
>conftest.err
6429 cat conftest.err
>&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest
$ac_exeext &&
6435 $as_test_x conftest
$ac_exeext; then
6436 ac_cv_lib_pthread_pthread_create
=yes
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.
$ac_ext >&5
6441 ac_cv_lib_pthread_pthread_create
=no
6444 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6445 conftest
$ac_exeext conftest.
$ac_ext
6446 LIBS
=$ac_check_lib_save_LIBS
6448 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6449 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6450 if test $ac_cv_lib_pthread_pthread_create = yes; then
6451 LIBPTHREAD
="-lpthread"
6470 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6472 if test "${ac_cv_header_stdc+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6494 rm -f conftest.
$ac_objext
6495 if { (ac_try
="$ac_compile"
6497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6503 grep -v '^ *+' conftest.er1 >conftest.err
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6511 ac_cv_header_stdc=yes
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_header_stdc=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 if test $ac_cv_header_stdc = yes; then
6522 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6523 cat >conftest.$ac_ext <<_ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6533 $EGREP "memchr" >/dev/null 2>&1; then
6536 ac_cv_header_stdc=no
6542 if test $ac_cv_header_stdc = yes; then
6543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "free" >/dev/null 2>&1; then
6557 ac_cv_header_stdc=no
6563 if test $ac_cv_header_stdc = yes; then
6564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6565 if test "$cross_compiling" = yes; then
6568 cat >conftest.$ac_ext <<_ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6599 rm -f conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6603 *) ac_try_echo
=$ac_try;;
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6610 { (case "(($ac_try" in
6611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6615 (eval "$ac_try") 2>&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6621 echo "$as_me: program exited with status $ac_status" >&5
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6626 ac_cv_header_stdc=no
6628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define STDC_HEADERS 1
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 cat >conftest.$ac_ext <<_ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6673 rm -f conftest.$ac_objext
6674 if { (ac_try="$ac_compile"
6676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6677 *) ac_try_echo
=$ac_try;;
6679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680 (eval "$ac_compile") 2>conftest.er1
6682 grep -v '^ *+' conftest.er1
>conftest.err
6684 cat conftest.err
>&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err
6689 } && test -s conftest.
$ac_objext; then
6690 eval "$as_ac_Header=yes"
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.
$ac_ext >&5
6695 eval "$as_ac_Header=no"
6698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6700 ac_res
=`eval echo '${'$as_ac_Header'}'`
6701 { echo "$as_me:$LINENO: result: $ac_res" >&5
6702 echo "${ECHO_T}$ac_res" >&6; }
6703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6704 cat >>confdefs.h
<<_ACEOF
6705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6823 AudioUnit
/AudioUnit.h \
6825 CoreAudio
/CoreAudio.h \
6826 DiskArbitration
/DiskArbitration.h \
6839 fontconfig
/fontconfig.h \
6865 machine
/soundcard.h \
6870 netinet
/in_systm.h \
6934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6935 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6938 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 ac_res
=`eval echo '${'$as_ac_Header'}'`
6942 { echo "$as_me:$LINENO: result: $ac_res" >&5
6943 echo "${ECHO_T}$ac_res" >&6; }
6945 # Is the header compilable?
6946 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6948 cat >conftest.
$ac_ext <<_ACEOF
6951 cat confdefs.h
>>conftest.
$ac_ext
6952 cat >>conftest.
$ac_ext <<_ACEOF
6953 /* end confdefs.h. */
6954 $ac_includes_default
6955 #include <$ac_header>
6957 rm -f conftest.
$ac_objext
6958 if { (ac_try
="$ac_compile"
6960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6961 *) ac_try_echo=$ac_try;;
6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6964 (eval "$ac_compile") 2>conftest.er1
6966 grep -v '^ *+' conftest.er1 >conftest.err
6968 cat conftest.err >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } && {
6971 test -z "$ac_c_werror_flag" ||
6972 test ! -s conftest.err
6973 } && test -s conftest.$ac_objext; then
6974 ac_header_compiler=yes
6976 echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6979 ac_header_compiler=no
6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6983 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6984 echo "${ECHO_T}$ac_header_compiler" >&6; }
6986 # Is the header present?
6987 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6989 cat >conftest.$ac_ext <<_ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6995 #include <$ac_header>
6997 if { (ac_try="$ac_cpp conftest.$ac_ext"
6999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7000 *) ac_try_echo
=$ac_try;;
7002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7005 grep -v '^ *+' conftest.er1
>conftest.err
7007 cat conftest.err
>&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } >/dev
/null
&& {
7010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7011 test ! -s conftest.err
7013 ac_header_preproc
=yes
7015 echo "$as_me: failed program was:" >&5
7016 sed 's/^/| /' conftest.
$ac_ext >&5
7018 ac_header_preproc
=no
7021 rm -f conftest.err conftest.
$ac_ext
7022 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7023 echo "${ECHO_T}$ac_header_preproc" >&6; }
7025 # So? What about this header?
7026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7028 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7029 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7031 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7032 ac_header_preproc
=yes
7035 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7036 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7037 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7038 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7040 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7042 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7046 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7048 ## ------------------------------------ ##
7049 ## Report this to wine-devel@winehq.org ##
7050 ## ------------------------------------ ##
7052 ) |
sed "s/^/$as_me: WARNING: /" >&2
7055 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7057 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7058 echo $ECHO_N "(cached) $ECHO_C" >&6
7060 eval "$as_ac_Header=\$ac_header_preproc"
7062 ac_res
=`eval echo '${'$as_ac_Header'}'`
7063 { echo "$as_me:$LINENO: result: $ac_res" >&5
7064 echo "${ECHO_T}$ac_res" >&6; }
7067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7068 cat >>confdefs.h
<<_ACEOF
7069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7076 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7077 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7078 if test "${ac_cv_header_stat_broken+set}" = set; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 cat >conftest.
$ac_ext <<_ACEOF
7084 cat confdefs.h
>>conftest.
$ac_ext
7085 cat >>conftest.
$ac_ext <<_ACEOF
7086 /* end confdefs.h. */
7087 #include <sys/types.h>
7088 #include <sys/stat.h>
7090 #if defined S_ISBLK && defined S_IFDIR
7091 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7094 #if defined S_ISBLK && defined S_IFCHR
7095 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7098 #if defined S_ISLNK && defined S_IFREG
7099 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7102 #if defined S_ISSOCK && defined S_IFREG
7103 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7107 rm -f conftest.
$ac_objext
7108 if { (ac_try
="$ac_compile"
7110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7111 *) ac_try_echo=$ac_try;;
7113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7114 (eval "$ac_compile") 2>conftest.er1
7116 grep -v '^ *+' conftest.er1 >conftest.err
7118 cat conftest.err >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } && {
7121 test -z "$ac_c_werror_flag" ||
7122 test ! -s conftest.err
7123 } && test -s conftest.$ac_objext; then
7124 ac_cv_header_stat_broken=no
7126 echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.$ac_ext >&5
7129 ac_cv_header_stat_broken=yes
7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7135 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7136 if test $ac_cv_header_stat_broken = yes; then
7138 cat >>confdefs.h <<\_ACEOF
7139 #define STAT_MACROS_BROKEN 1
7150 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7152 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 cat >conftest.$ac_ext <<_ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 #include <sys/types.h>
7165 #if HAVE_SYS_PARAM_H
7166 # include <sys/param.h>
7169 #include <$ac_header>
7171 rm -f conftest.$ac_objext
7172 if { (ac_try="$ac_compile"
7174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7175 *) ac_try_echo
=$ac_try;;
7177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7178 (eval "$ac_compile") 2>conftest.er1
7180 grep -v '^ *+' conftest.er1
>conftest.err
7182 cat conftest.err
>&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } && {
7185 test -z "$ac_c_werror_flag" ||
7186 test ! -s conftest.err
7187 } && test -s conftest.
$ac_objext; then
7188 eval "$as_ac_Header=yes"
7190 echo "$as_me: failed program was:" >&5
7191 sed 's/^/| /' conftest.
$ac_ext >&5
7193 eval "$as_ac_Header=no"
7196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7198 ac_res
=`eval echo '${'$as_ac_Header'}'`
7199 { echo "$as_me:$LINENO: result: $ac_res" >&5
7200 echo "${ECHO_T}$ac_res" >&6; }
7201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7202 cat >>confdefs.h
<<_ACEOF
7203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7217 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
7219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7222 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7225 cat >conftest.
$ac_ext <<_ACEOF
7228 cat confdefs.h
>>conftest.
$ac_ext
7229 cat >>conftest.
$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7231 #include <sys/types.h>
7232 #if HAVE_SYS_SOCKET_H
7233 # include <sys/socket.h>
7236 #include <$ac_header>
7238 rm -f conftest.
$ac_objext
7239 if { (ac_try
="$ac_compile"
7241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_compile") 2>conftest.er1
7247 grep -v '^ *+' conftest.er1 >conftest.err
7249 cat conftest.err >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } && {
7252 test -z "$ac_c_werror_flag" ||
7253 test ! -s conftest.err
7254 } && test -s conftest.$ac_objext; then
7255 eval "$as_ac_Header=yes"
7257 echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7260 eval "$as_ac_Header=no"
7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265 ac_res=`eval echo '${'$as_ac_Header'}'`
7266 { echo "$as_me:$LINENO: result: $ac_res" >&5
7267 echo "${ECHO_T}$ac_res" >&6; }
7268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7269 cat >>confdefs.h <<_ACEOF
7270 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7279 for ac_header in linux/ipx.h
7281 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 cat >conftest.$ac_ext <<_ACEOF
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7293 #include <sys/types.h>
7294 #ifdef HAVE_ASM_TYPES_H
7295 # include <asm/types.h>
7297 #if HAVE_SYS_SOCKET_H
7298 # include <sys/socket.h>
7301 #include <$ac_header>
7303 rm -f conftest.$ac_objext
7304 if { (ac_try="$ac_compile"
7306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7307 *) ac_try_echo
=$ac_try;;
7309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7310 (eval "$ac_compile") 2>conftest.er1
7312 grep -v '^ *+' conftest.er1
>conftest.err
7314 cat conftest.err
>&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } && {
7317 test -z "$ac_c_werror_flag" ||
7318 test ! -s conftest.err
7319 } && test -s conftest.
$ac_objext; then
7320 eval "$as_ac_Header=yes"
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.
$ac_ext >&5
7325 eval "$as_ac_Header=no"
7328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7330 ac_res
=`eval echo '${'$as_ac_Header'}'`
7331 { echo "$as_me:$LINENO: result: $ac_res" >&5
7332 echo "${ECHO_T}$ac_res" >&6; }
7333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7334 cat >>confdefs.h
<<_ACEOF
7335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 for ac_header
in resolv.h
7346 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7347 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7349 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7350 echo $ECHO_N "(cached) $ECHO_C" >&6
7352 cat >conftest.
$ac_ext <<_ACEOF
7355 cat confdefs.h
>>conftest.
$ac_ext
7356 cat >>conftest.
$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7358 #include <sys/types.h>
7359 #if HAVE_SYS_SOCKET_H
7360 # include <sys/socket.h>
7362 #if HAVE_NETINET_IN_H
7363 # include <netinet/in.h>
7365 #if HAVE_ARPA_NAMESER_H
7366 # include <arpa/nameser.h>
7369 #include <$ac_header>
7371 rm -f conftest.
$ac_objext
7372 if { (ac_try
="$ac_compile"
7374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7375 *) ac_try_echo=$ac_try;;
7377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7378 (eval "$ac_compile") 2>conftest.er1
7380 grep -v '^ *+' conftest.er1 >conftest.err
7382 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && {
7385 test -z "$ac_c_werror_flag" ||
7386 test ! -s conftest.err
7387 } && test -s conftest.$ac_objext; then
7388 eval "$as_ac_Header=yes"
7390 echo "$as_me: failed program was:" >&5
7391 sed 's/^/| /' conftest.$ac_ext >&5
7393 eval "$as_ac_Header=no"
7396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7398 ac_res=`eval echo '${'$as_ac_Header'}'`
7399 { echo "$as_me:$LINENO: result: $ac_res" >&5
7400 echo "${ECHO_T}$ac_res" >&6; }
7401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7402 cat >>confdefs.h <<_ACEOF
7403 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7412 for ac_header in ucontext.h
7414 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7418 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 cat >conftest.$ac_ext <<_ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7428 #include <$ac_header>
7430 rm -f conftest.$ac_objext
7431 if { (ac_try="$ac_compile"
7433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7434 *) ac_try_echo
=$ac_try;;
7436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7437 (eval "$ac_compile") 2>conftest.er1
7439 grep -v '^ *+' conftest.er1
>conftest.err
7441 cat conftest.err
>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } && {
7444 test -z "$ac_c_werror_flag" ||
7445 test ! -s conftest.err
7446 } && test -s conftest.
$ac_objext; then
7447 eval "$as_ac_Header=yes"
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.
$ac_ext >&5
7452 eval "$as_ac_Header=no"
7455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7457 ac_res
=`eval echo '${'$as_ac_Header'}'`
7458 { echo "$as_me:$LINENO: result: $ac_res" >&5
7459 echo "${ECHO_T}$ac_res" >&6; }
7460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7461 cat >>confdefs.h
<<_ACEOF
7462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 for ac_header
in pthread_np.h
7473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7476 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7477 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 cat >conftest.
$ac_ext <<_ACEOF
7482 cat confdefs.h
>>conftest.
$ac_ext
7483 cat >>conftest.
$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7485 #ifdef HAVE_PTHREAD_H
7486 #include <pthread.h>
7489 #include <$ac_header>
7491 rm -f conftest.
$ac_objext
7492 if { (ac_try
="$ac_compile"
7494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7495 *) ac_try_echo=$ac_try;;
7497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7498 (eval "$ac_compile") 2>conftest.er1
7500 grep -v '^ *+' conftest.er1 >conftest.err
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } && {
7505 test -z "$ac_c_werror_flag" ||
7506 test ! -s conftest.err
7507 } && test -s conftest.$ac_objext; then
7508 eval "$as_ac_Header=yes"
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.$ac_ext >&5
7513 eval "$as_ac_Header=no"
7516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7518 ac_res=`eval echo '${'$as_ac_Header'}'`
7519 { echo "$as_me:$LINENO: result: $ac_res" >&5
7520 echo "${ECHO_T}$ac_res" >&6; }
7521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7522 cat >>confdefs.h <<_ACEOF
7523 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7532 for ac_header in linux/videodev.h
7534 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7535 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 cat >conftest.$ac_ext <<_ACEOF
7543 cat confdefs.h >>conftest.$ac_ext
7544 cat >>conftest.$ac_ext <<_ACEOF
7545 /* end confdefs.h. */
7546 #ifdef HAVE_SYS_TIME_H
7547 #include <sys/time.h>
7549 #include <sys/types.h>
7550 #ifdef HAVE_ASM_TYPES_H
7551 #include <asm/types.h>
7554 #include <$ac_header>
7556 rm -f conftest.$ac_objext
7557 if { (ac_try="$ac_compile"
7559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7560 *) ac_try_echo
=$ac_try;;
7562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7563 (eval "$ac_compile") 2>conftest.er1
7565 grep -v '^ *+' conftest.er1
>conftest.err
7567 cat conftest.err
>&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); } && {
7570 test -z "$ac_c_werror_flag" ||
7571 test ! -s conftest.err
7572 } && test -s conftest.
$ac_objext; then
7573 eval "$as_ac_Header=yes"
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.
$ac_ext >&5
7578 eval "$as_ac_Header=no"
7581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7583 ac_res
=`eval echo '${'$as_ac_Header'}'`
7584 { echo "$as_me:$LINENO: result: $ac_res" >&5
7585 echo "${ECHO_T}$ac_res" >&6; }
7586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7587 cat >>confdefs.h
<<_ACEOF
7588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7597 for ac_header
in linux
/capi.h
7599 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7600 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7602 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 cat >conftest.
$ac_ext <<_ACEOF
7608 cat confdefs.h
>>conftest.
$ac_ext
7609 cat >>conftest.
$ac_ext <<_ACEOF
7610 /* end confdefs.h. */
7613 #include <$ac_header>
7615 rm -f conftest.
$ac_objext
7616 if { (ac_try
="$ac_compile"
7618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7624 grep -v '^ *+' conftest.er1 >conftest.err
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest.$ac_objext; then
7632 eval "$as_ac_Header=yes"
7634 echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.$ac_ext >&5
7637 eval "$as_ac_Header=no"
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7642 ac_res=`eval echo '${'$as_ac_Header'}'`
7643 { echo "$as_me:$LINENO: result: $ac_res" >&5
7644 echo "${ECHO_T}$ac_res" >&6; }
7645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7646 cat >>confdefs.h <<_ACEOF
7647 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7656 if test "$have_x" = "yes"
7659 ac_save_CPPFLAGS="$CPPFLAGS"
7660 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7673 for ac_header in X11/Xlib.h \
7676 X11/Xcursor/Xcursor.h \
7677 X11/extensions/shape.h \
7678 X11/extensions/XInput.h \
7679 X11/extensions/XShm.h \
7680 X11/extensions/Xinerama.h \
7681 X11/extensions/Xrandr.h \
7682 X11/extensions/Xrender.h \
7683 X11/extensions/xf86vmode.h
7685 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 cat >conftest.$ac_ext <<_ACEOF
7694 cat confdefs.h >>conftest.$ac_ext
7695 cat >>conftest.$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7697 #ifdef HAVE_X11_XLIB_H
7698 # include <X11/Xlib.h>
7700 #ifdef HAVE_X11_XUTIL_H
7701 # include <X11/Xutil.h>
7704 #include <$ac_header>
7706 rm -f conftest.$ac_objext
7707 if { (ac_try="$ac_compile"
7709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7710 *) ac_try_echo
=$ac_try;;
7712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7713 (eval "$ac_compile") 2>conftest.er1
7715 grep -v '^ *+' conftest.er1
>conftest.err
7717 cat conftest.err
>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } && {
7720 test -z "$ac_c_werror_flag" ||
7721 test ! -s conftest.err
7722 } && test -s conftest.
$ac_objext; then
7723 eval "$as_ac_Header=yes"
7725 echo "$as_me: failed program was:" >&5
7726 sed 's/^/| /' conftest.
$ac_ext >&5
7728 eval "$as_ac_Header=no"
7731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7733 ac_res
=`eval echo '${'$as_ac_Header'}'`
7734 { echo "$as_me:$LINENO: result: $ac_res" >&5
7735 echo "${ECHO_T}$ac_res" >&6; }
7736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7737 cat >>confdefs.h
<<_ACEOF
7738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7746 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7748 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7749 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7750 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 ac_check_lib_save_LIBS
=$LIBS
7754 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7755 cat >conftest.
$ac_ext <<_ACEOF
7758 cat confdefs.h
>>conftest.
$ac_ext
7759 cat >>conftest.
$ac_ext <<_ACEOF
7760 /* end confdefs.h. */
7762 /* Override any GCC internal prototype to avoid an error.
7763 Use char because int might match the return type of a GCC
7764 builtin and then its argument prototype would still apply. */
7768 char XkbQueryExtension ();
7772 return XkbQueryExtension ();
7777 rm -f conftest.
$ac_objext conftest
$ac_exeext
7778 if { (ac_try
="$ac_link"
7780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7781 *) ac_try_echo=$ac_try;;
7783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7784 (eval "$ac_link") 2>conftest.er1
7786 grep -v '^ *+' conftest.er1 >conftest.err
7788 cat conftest.err >&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); } && {
7791 test -z "$ac_c_werror_flag" ||
7792 test ! -s conftest.err
7793 } && test -s conftest$ac_exeext &&
7794 $as_test_x conftest$ac_exeext; then
7795 ac_cv_lib_X11_XkbQueryExtension=yes
7797 echo "$as_me: failed program was:" >&5
7798 sed 's/^/| /' conftest.$ac_ext >&5
7800 ac_cv_lib_X11_XkbQueryExtension=no
7803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7804 conftest$ac_exeext conftest.$ac_ext
7805 LIBS=$ac_check_lib_save_LIBS
7807 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7808 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7809 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7811 cat >>confdefs.h <<\_ACEOF
7819 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7821 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7822 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7823 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7824 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 ac_check_lib_save_LIBS=$LIBS
7827 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7828 cat >conftest.$ac_ext <<_ACEOF
7831 cat confdefs.h >>conftest.$ac_ext
7832 cat >>conftest.$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7835 /* Override any GCC internal prototype to avoid an error.
7836 Use char because int might match the return type of a GCC
7837 builtin and then its argument prototype would still apply. */
7841 char XShmQueryExtension ();
7845 return XShmQueryExtension ();
7850 rm -f conftest.$ac_objext conftest$ac_exeext
7851 if { (ac_try="$ac_link"
7853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7854 *) ac_try_echo
=$ac_try;;
7856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7857 (eval "$ac_link") 2>conftest.er1
7859 grep -v '^ *+' conftest.er1
>conftest.err
7861 cat conftest.err
>&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } && {
7864 test -z "$ac_c_werror_flag" ||
7865 test ! -s conftest.err
7866 } && test -s conftest
$ac_exeext &&
7867 $as_test_x conftest
$ac_exeext; then
7868 ac_cv_lib_Xext_XShmQueryExtension
=yes
7870 echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.
$ac_ext >&5
7873 ac_cv_lib_Xext_XShmQueryExtension
=no
7876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7877 conftest
$ac_exeext conftest.
$ac_ext
7878 LIBS
=$ac_check_lib_save_LIBS
7880 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7881 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7882 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7884 cat >>confdefs.h
<<\_ACEOF
7885 #define HAVE_LIBXXSHM 1
7892 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7894 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7895 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7896 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 ac_check_lib_save_LIBS
=$LIBS
7900 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7901 cat >conftest.
$ac_ext <<_ACEOF
7904 cat confdefs.h
>>conftest.
$ac_ext
7905 cat >>conftest.
$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7908 /* Override any GCC internal prototype to avoid an error.
7909 Use char because int might match the return type of a GCC
7910 builtin and then its argument prototype would still apply. */
7914 char XShapeQueryExtension ();
7918 return XShapeQueryExtension ();
7923 rm -f conftest.
$ac_objext conftest
$ac_exeext
7924 if { (ac_try
="$ac_link"
7926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7927 *) ac_try_echo=$ac_try;;
7929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7930 (eval "$ac_link") 2>conftest.er1
7932 grep -v '^ *+' conftest.er1 >conftest.err
7934 cat conftest.err >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } && {
7937 test -z "$ac_c_werror_flag" ||
7938 test ! -s conftest.err
7939 } && test -s conftest$ac_exeext &&
7940 $as_test_x conftest$ac_exeext; then
7941 ac_cv_lib_Xext_XShapeQueryExtension=yes
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.$ac_ext >&5
7946 ac_cv_lib_Xext_XShapeQueryExtension=no
7949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7950 conftest$ac_exeext conftest.$ac_ext
7951 LIBS=$ac_check_lib_save_LIBS
7953 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7954 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7955 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7957 cat >>confdefs.h <<\_ACEOF
7958 #define HAVE_LIBXSHAPE 1
7965 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7967 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7968 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7969 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7970 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 ac_check_lib_save_LIBS=$LIBS
7973 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7974 cat >conftest.$ac_ext <<_ACEOF
7977 cat confdefs.h >>conftest.$ac_ext
7978 cat >>conftest.$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7981 /* Override any GCC internal prototype to avoid an error.
7982 Use char because int might match the return type of a GCC
7983 builtin and then its argument prototype would still apply. */
7987 char XF86VidModeQueryExtension ();
7991 return XF86VidModeQueryExtension ();
7996 rm -f conftest.$ac_objext conftest$ac_exeext
7997 if { (ac_try="$ac_link"
7999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8000 *) ac_try_echo
=$ac_try;;
8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8003 (eval "$ac_link") 2>conftest.er1
8005 grep -v '^ *+' conftest.er1
>conftest.err
8007 cat conftest.err
>&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } && {
8010 test -z "$ac_c_werror_flag" ||
8011 test ! -s conftest.err
8012 } && test -s conftest
$ac_exeext &&
8013 $as_test_x conftest
$ac_exeext; then
8014 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8016 echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.
$ac_ext >&5
8019 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8023 conftest
$ac_exeext conftest.
$ac_ext
8024 LIBS
=$ac_check_lib_save_LIBS
8026 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8027 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8028 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8030 cat >>confdefs.h
<<\_ACEOF
8031 #define HAVE_LIBXXF86VM 1
8034 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8040 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8042 cat >conftest.
$ac_ext <<_ACEOF
8045 cat confdefs.h
>>conftest.
$ac_ext
8046 cat >>conftest.
$ac_ext <<_ACEOF
8047 /* end confdefs.h. */
8048 #include <X11/Xlib.h>
8049 #include <X11/extensions/Xrandr.h>
8053 static typeof(XRRSetScreenConfigAndRate) * func;
8058 rm -f conftest.
$ac_objext
8059 if { (ac_try
="$ac_compile"
8061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8062 *) ac_try_echo=$ac_try;;
8064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8065 (eval "$ac_compile") 2>conftest.er1
8067 grep -v '^ *+' conftest.er1 >conftest.err
8069 cat conftest.err >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } && {
8072 test -z "$ac_c_werror_flag" ||
8073 test ! -s conftest.err
8074 } && test -s conftest.$ac_objext; then
8076 cat >>confdefs.h <<\_ACEOF
8077 #define HAVE_LIBXRANDR 1
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.$ac_ext >&5
8087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8090 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8092 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8093 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8094 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 ac_check_lib_save_LIBS=$LIBS
8098 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8099 cat >conftest.$ac_ext <<_ACEOF
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8106 /* Override any GCC internal prototype to avoid an error.
8107 Use char because int might match the return type of a GCC
8108 builtin and then its argument prototype would still apply. */
8112 char XRenderSetPictureTransform ();
8116 return XRenderSetPictureTransform ();
8121 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (ac_try="$ac_link"
8124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8125 *) ac_try_echo
=$ac_try;;
8127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8128 (eval "$ac_link") 2>conftest.er1
8130 grep -v '^ *+' conftest.er1
>conftest.err
8132 cat conftest.err
>&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } && {
8135 test -z "$ac_c_werror_flag" ||
8136 test ! -s conftest.err
8137 } && test -s conftest
$ac_exeext &&
8138 $as_test_x conftest
$ac_exeext; then
8139 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8141 echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.
$ac_ext >&5
8144 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8147 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8148 conftest
$ac_exeext conftest.
$ac_ext
8149 LIBS
=$ac_check_lib_save_LIBS
8151 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8152 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8153 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8155 cat >>confdefs.h
<<\_ACEOF
8156 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8163 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8165 cat >conftest.
$ac_ext <<_ACEOF
8168 cat confdefs.h
>>conftest.
$ac_ext
8169 cat >>conftest.
$ac_ext <<_ACEOF
8170 /* end confdefs.h. */
8171 #include <X11/Xlib.h>
8172 #include <X11/extensions/Xinerama.h>
8176 static typeof(XineramaQueryScreens) * func;
8181 rm -f conftest.
$ac_objext
8182 if { (ac_try
="$ac_compile"
8184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8185 *) ac_try_echo=$ac_try;;
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188 (eval "$ac_compile") 2>conftest.er1
8190 grep -v '^ *+' conftest.er1 >conftest.err
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && {
8195 test -z "$ac_c_werror_flag" ||
8196 test ! -s conftest.err
8197 } && test -s conftest.$ac_objext; then
8199 cat >>confdefs.h <<\_ACEOF
8200 #define HAVE_LIBXINERAMA 1
8204 echo "$as_me: failed program was:" >&5
8205 sed 's/^/| /' conftest.$ac_ext >&5
8210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8214 if test "x$with_opengl" != "xno"
8220 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8222 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8226 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 cat >conftest.$ac_ext <<_ACEOF
8231 cat confdefs.h >>conftest.$ac_ext
8232 cat >>conftest.$ac_ext <<_ACEOF
8233 /* end confdefs.h. */
8234 #ifdef HAVE_GL_GLX_H
8235 # include <GL/glx.h>
8238 #include <$ac_header>
8240 rm -f conftest.$ac_objext
8241 if { (ac_try="$ac_compile"
8243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8244 *) ac_try_echo
=$ac_try;;
8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 (eval "$ac_compile") 2>conftest.er1
8249 grep -v '^ *+' conftest.er1
>conftest.err
8251 cat conftest.err
>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } && {
8254 test -z "$ac_c_werror_flag" ||
8255 test ! -s conftest.err
8256 } && test -s conftest.
$ac_objext; then
8257 eval "$as_ac_Header=yes"
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.
$ac_ext >&5
8262 eval "$as_ac_Header=no"
8265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8267 ac_res
=`eval echo '${'$as_ac_Header'}'`
8268 { echo "$as_me:$LINENO: result: $ac_res" >&5
8269 echo "${ECHO_T}$ac_res" >&6; }
8270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8271 cat >>confdefs.h
<<_ACEOF
8272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8279 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8281 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8282 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8283 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 cat >conftest.
$ac_ext <<_ACEOF
8289 cat confdefs.h
>>conftest.
$ac_ext
8290 cat >>conftest.
$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8296 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8301 rm -f conftest.
$ac_objext
8302 if { (ac_try
="$ac_compile"
8304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_compile") 2>conftest.er1
8310 grep -v '^ *+' conftest.er1 >conftest.err
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest.$ac_objext; then
8318 wine_cv_opengl_header_version_OK="yes"
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.$ac_ext >&5
8323 wine_cv_opengl_header_version_OK="no"
8327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8330 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8331 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8333 if test "$wine_cv_opengl_header_version_OK" = "yes"
8335 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8336 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8337 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8340 ac_check_lib_save_LIBS=$LIBS
8341 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8342 cat >conftest.$ac_ext <<_ACEOF
8345 cat confdefs.h >>conftest.$ac_ext
8346 cat >>conftest.$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8349 /* Override any GCC internal prototype to avoid an error.
8350 Use char because int might match the return type of a GCC
8351 builtin and then its argument prototype would still apply. */
8355 char glXCreateContext ();
8359 return glXCreateContext ();
8364 rm -f conftest.$ac_objext conftest$ac_exeext
8365 if { (ac_try="$ac_link"
8367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8368 *) ac_try_echo
=$ac_try;;
8370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8371 (eval "$ac_link") 2>conftest.er1
8373 grep -v '^ *+' conftest.er1
>conftest.err
8375 cat conftest.err
>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest
$ac_exeext &&
8381 $as_test_x conftest
$ac_exeext; then
8382 ac_cv_lib_GL_glXCreateContext
=yes
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.
$ac_ext >&5
8387 ac_cv_lib_GL_glXCreateContext
=no
8390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8391 conftest
$ac_exeext conftest.
$ac_ext
8392 LIBS
=$ac_check_lib_save_LIBS
8394 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8395 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8396 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8398 OPENGLFILES
='$(OPENGLFILES)'
8400 cat >>confdefs.h
<<\_ACEOF
8401 #define HAVE_OPENGL 1
8408 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8409 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8410 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 ac_check_lib_save_LIBS
=$LIBS
8414 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8416 cat >conftest.
$ac_ext <<_ACEOF
8419 cat confdefs.h
>>conftest.
$ac_ext
8420 cat >>conftest.
$ac_ext <<_ACEOF
8421 /* end confdefs.h. */
8423 /* Override any GCC internal prototype to avoid an error.
8424 Use char because int might match the return type of a GCC
8425 builtin and then its argument prototype would still apply. */
8433 return gluLookAt ();
8438 rm -f conftest.
$ac_objext conftest
$ac_exeext
8439 if { (ac_try
="$ac_link"
8441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_link") 2>conftest.er1
8447 grep -v '^ *+' conftest.er1 >conftest.err
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } && {
8452 test -z "$ac_c_werror_flag" ||
8453 test ! -s conftest.err
8454 } && test -s conftest$ac_exeext &&
8455 $as_test_x conftest$ac_exeext; then
8456 ac_cv_lib_GLU_gluLookAt=yes
8458 echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8461 ac_cv_lib_GLU_gluLookAt=no
8464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8465 conftest$ac_exeext conftest.$ac_ext
8466 LIBS=$ac_check_lib_save_LIBS
8468 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8469 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8470 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8471 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8472 GLU32FILES='$(GLU32FILES)'
8478 wine_cv_opengl_headers_found="no"
8484 for ac_header in audio/audiolib.h
8486 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 ac_res=`eval echo '${'$as_ac_Header'}'`
8494 { echo "$as_me:$LINENO: result: $ac_res" >&5
8495 echo "${ECHO_T}$ac_res" >&6; }
8497 # Is the header compilable?
8498 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8500 cat >conftest.$ac_ext <<_ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8506 $ac_includes_default
8507 #include <$ac_header>
8509 rm -f conftest.$ac_objext
8510 if { (ac_try="$ac_compile"
8512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8513 *) ac_try_echo
=$ac_try;;
8515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8516 (eval "$ac_compile") 2>conftest.er1
8518 grep -v '^ *+' conftest.er1
>conftest.err
8520 cat conftest.err
>&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } && {
8523 test -z "$ac_c_werror_flag" ||
8524 test ! -s conftest.err
8525 } && test -s conftest.
$ac_objext; then
8526 ac_header_compiler
=yes
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.
$ac_ext >&5
8531 ac_header_compiler
=no
8534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8536 echo "${ECHO_T}$ac_header_compiler" >&6; }
8538 # Is the header present?
8539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8541 cat >conftest.
$ac_ext <<_ACEOF
8544 cat confdefs.h
>>conftest.
$ac_ext
8545 cat >>conftest.
$ac_ext <<_ACEOF
8546 /* end confdefs.h. */
8547 #include <$ac_header>
8549 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8552 *) ac_try_echo=$ac_try;;
8554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8557 grep -v '^ *+' conftest.er1 >conftest.err
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } >/dev/null && {
8562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8563 test ! -s conftest.err
8565 ac_header_preproc=yes
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8570 ac_header_preproc=no
8573 rm -f conftest.err conftest.$ac_ext
8574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8575 echo "${ECHO_T}$ac_header_preproc" >&6; }
8577 # So? What about this header?
8578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8584 ac_header_preproc=yes
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8600 ## ------------------------------------ ##
8601 ## Report this to wine-devel@winehq.org ##
8602 ## ------------------------------------ ##
8604 ) | sed "s/^/$as_me: WARNING: /" >&2
8607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 eval "$as_ac_Header=\$ac_header_preproc"
8614 ac_res=`eval echo '${'$as_ac_Header'}'`
8615 { echo "$as_me:$LINENO: result: $ac_res" >&5
8616 echo "${ECHO_T}$ac_res" >&6; }
8619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8620 cat >>confdefs.h <<_ACEOF
8621 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8624 for ac_header in audio/soundlib.h
8626 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 cat >conftest.$ac_ext <<_ACEOF
8635 cat confdefs.h >>conftest.$ac_ext
8636 cat >>conftest.$ac_ext <<_ACEOF
8637 /* end confdefs.h. */
8638 #include <audio/audiolib.h>
8640 #include <$ac_header>
8642 rm -f conftest.$ac_objext
8643 if { (ac_try="$ac_compile"
8645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8646 *) ac_try_echo
=$ac_try;;
8648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8649 (eval "$ac_compile") 2>conftest.er1
8651 grep -v '^ *+' conftest.er1
>conftest.err
8653 cat conftest.err
>&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } && {
8656 test -z "$ac_c_werror_flag" ||
8657 test ! -s conftest.err
8658 } && test -s conftest.
$ac_objext; then
8659 eval "$as_ac_Header=yes"
8661 echo "$as_me: failed program was:" >&5
8662 sed 's/^/| /' conftest.
$ac_ext >&5
8664 eval "$as_ac_Header=no"
8667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8669 ac_res
=`eval echo '${'$as_ac_Header'}'`
8670 { echo "$as_me:$LINENO: result: $ac_res" >&5
8671 echo "${ECHO_T}$ac_res" >&6; }
8672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8673 cat >>confdefs.h
<<_ACEOF
8674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8681 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8682 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8683 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 ac_check_lib_save_LIBS
=$LIBS
8687 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8688 cat >conftest.
$ac_ext <<_ACEOF
8691 cat confdefs.h
>>conftest.
$ac_ext
8692 cat >>conftest.
$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8695 /* Override any GCC internal prototype to avoid an error.
8696 Use char because int might match the return type of a GCC
8697 builtin and then its argument prototype would still apply. */
8701 char AuCreateFlow ();
8705 return AuCreateFlow ();
8710 rm -f conftest.
$ac_objext conftest
$ac_exeext
8711 if { (ac_try
="$ac_link"
8713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8714 *) ac_try_echo=$ac_try;;
8716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8717 (eval "$ac_link") 2>conftest.er1
8719 grep -v '^ *+' conftest.er1 >conftest.err
8721 cat conftest.err >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } && {
8724 test -z "$ac_c_werror_flag" ||
8725 test ! -s conftest.err
8726 } && test -s conftest$ac_exeext &&
8727 $as_test_x conftest$ac_exeext; then
8728 ac_cv_lib_audio_AuCreateFlow=yes
8730 echo "$as_me: failed program was:" >&5
8731 sed 's/^/| /' conftest.$ac_ext >&5
8733 ac_cv_lib_audio_AuCreateFlow=no
8736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8737 conftest$ac_exeext conftest.$ac_ext
8738 LIBS=$ac_check_lib_save_LIBS
8740 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8741 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8742 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8744 cat >>confdefs.h <<\_ACEOF
8748 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8749 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8750 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 ac_check_lib_save_LIBS=$LIBS
8754 LIBS="-lXau $X_LIBS $LIBS"
8755 cat >conftest.$ac_ext <<_ACEOF
8758 cat confdefs.h >>conftest.$ac_ext
8759 cat >>conftest.$ac_ext <<_ACEOF
8760 /* end confdefs.h. */
8762 /* Override any GCC internal prototype to avoid an error.
8763 Use char because int might match the return type of a GCC
8764 builtin and then its argument prototype would still apply. */
8768 char XauGetBestAuthByAddr ();
8772 return XauGetBestAuthByAddr ();
8777 rm -f conftest.$ac_objext conftest$ac_exeext
8778 if { (ac_try="$ac_link"
8780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8781 *) ac_try_echo
=$ac_try;;
8783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8784 (eval "$ac_link") 2>conftest.er1
8786 grep -v '^ *+' conftest.er1
>conftest.err
8788 cat conftest.err
>&5
8789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790 (exit $ac_status); } && {
8791 test -z "$ac_c_werror_flag" ||
8792 test ! -s conftest.err
8793 } && test -s conftest
$ac_exeext &&
8794 $as_test_x conftest
$ac_exeext; then
8795 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.
$ac_ext >&5
8800 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8803 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8804 conftest
$ac_exeext conftest.
$ac_ext
8805 LIBS
=$ac_check_lib_save_LIBS
8807 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8808 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8809 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8810 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8812 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8823 CPPFLAGS
="$ac_save_CPPFLAGS"
8840 if test "$PKG_CONFIG" != "false"
8842 ac_save_CPPFLAGS
="$CPPFLAGS"
8843 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8844 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8845 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8847 for ac_header
in libxml
/parser.h
8849 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8850 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8853 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8854 echo $ECHO_N "(cached) $ECHO_C" >&6
8856 ac_res
=`eval echo '${'$as_ac_Header'}'`
8857 { echo "$as_me:$LINENO: result: $ac_res" >&5
8858 echo "${ECHO_T}$ac_res" >&6; }
8860 # Is the header compilable?
8861 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8863 cat >conftest.
$ac_ext <<_ACEOF
8866 cat confdefs.h
>>conftest.
$ac_ext
8867 cat >>conftest.
$ac_ext <<_ACEOF
8868 /* end confdefs.h. */
8869 $ac_includes_default
8870 #include <$ac_header>
8872 rm -f conftest.
$ac_objext
8873 if { (ac_try
="$ac_compile"
8875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8879 (eval "$ac_compile") 2>conftest.er1
8881 grep -v '^ *+' conftest.er1 >conftest.err
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } && {
8886 test -z "$ac_c_werror_flag" ||
8887 test ! -s conftest.err
8888 } && test -s conftest.$ac_objext; then
8889 ac_header_compiler=yes
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.$ac_ext >&5
8894 ac_header_compiler=no
8897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8898 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8899 echo "${ECHO_T}$ac_header_compiler" >&6; }
8901 # Is the header present?
8902 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8904 cat >conftest.$ac_ext <<_ACEOF
8907 cat confdefs.h >>conftest.$ac_ext
8908 cat >>conftest.$ac_ext <<_ACEOF
8909 /* end confdefs.h. */
8910 #include <$ac_header>
8912 if { (ac_try="$ac_cpp conftest.$ac_ext"
8914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8915 *) ac_try_echo
=$ac_try;;
8917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8920 grep -v '^ *+' conftest.er1
>conftest.err
8922 cat conftest.err
>&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); } >/dev
/null
&& {
8925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8926 test ! -s conftest.err
8928 ac_header_preproc
=yes
8930 echo "$as_me: failed program was:" >&5
8931 sed 's/^/| /' conftest.
$ac_ext >&5
8933 ac_header_preproc
=no
8936 rm -f conftest.err conftest.
$ac_ext
8937 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8938 echo "${ECHO_T}$ac_header_preproc" >&6; }
8940 # So? What about this header?
8941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8947 ac_header_preproc
=yes
8950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8954 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8956 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8957 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8960 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8963 ## ------------------------------------ ##
8964 ## Report this to wine-devel@winehq.org ##
8965 ## ------------------------------------ ##
8967 ) |
sed "s/^/$as_me: WARNING: /" >&2
8970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8972 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 eval "$as_ac_Header=\$ac_header_preproc"
8977 ac_res
=`eval echo '${'$as_ac_Header'}'`
8978 { echo "$as_me:$LINENO: result: $ac_res" >&5
8979 echo "${ECHO_T}$ac_res" >&6; }
8982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8983 cat >>confdefs.h
<<_ACEOF
8984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8986 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8987 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8988 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 ac_check_lib_save_LIBS
=$LIBS
8992 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8993 cat >conftest.
$ac_ext <<_ACEOF
8996 cat confdefs.h
>>conftest.
$ac_ext
8997 cat >>conftest.
$ac_ext <<_ACEOF
8998 /* end confdefs.h. */
9000 /* Override any GCC internal prototype to avoid an error.
9001 Use char because int might match the return type of a GCC
9002 builtin and then its argument prototype would still apply. */
9006 char xmlParseMemory ();
9010 return xmlParseMemory ();
9015 rm -f conftest.
$ac_objext conftest
$ac_exeext
9016 if { (ac_try
="$ac_link"
9018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9019 *) ac_try_echo=$ac_try;;
9021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9022 (eval "$ac_link") 2>conftest.er1
9024 grep -v '^ *+' conftest.er1 >conftest.err
9026 cat conftest.err >&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); } && {
9029 test -z "$ac_c_werror_flag" ||
9030 test ! -s conftest.err
9031 } && test -s conftest$ac_exeext &&
9032 $as_test_x conftest$ac_exeext; then
9033 ac_cv_lib_xml2_xmlParseMemory=yes
9035 echo "$as_me: failed program was:" >&5
9036 sed 's/^/| /' conftest.$ac_ext >&5
9038 ac_cv_lib_xml2_xmlParseMemory=no
9041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9042 conftest$ac_exeext conftest.$ac_ext
9043 LIBS=$ac_check_lib_save_LIBS
9045 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9046 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9047 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9049 cat >>confdefs.h <<\_ACEOF
9050 #define HAVE_LIBXML2 1
9053 XML2LIBS="$ac_xml_libs"
9054 XML2INCL="$ac_xml_cflags"
9057 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9058 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9059 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 ac_check_lib_save_LIBS=$LIBS
9063 LIBS="-lxml2 $ac_xml_libs $LIBS"
9064 cat >conftest.$ac_ext <<_ACEOF
9067 cat confdefs.h >>conftest.$ac_ext
9068 cat >>conftest.$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9077 char xmlReadMemory ();
9081 return xmlReadMemory ();
9086 rm -f conftest.$ac_objext conftest$ac_exeext
9087 if { (ac_try="$ac_link"
9089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9090 *) ac_try_echo
=$ac_try;;
9092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9093 (eval "$ac_link") 2>conftest.er1
9095 grep -v '^ *+' conftest.er1
>conftest.err
9097 cat conftest.err
>&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); } && {
9100 test -z "$ac_c_werror_flag" ||
9101 test ! -s conftest.err
9102 } && test -s conftest
$ac_exeext &&
9103 $as_test_x conftest
$ac_exeext; then
9104 ac_cv_lib_xml2_xmlReadMemory
=yes
9106 echo "$as_me: failed program was:" >&5
9107 sed 's/^/| /' conftest.
$ac_ext >&5
9109 ac_cv_lib_xml2_xmlReadMemory
=no
9112 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9113 conftest
$ac_exeext conftest.
$ac_ext
9114 LIBS
=$ac_check_lib_save_LIBS
9116 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9117 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9118 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9120 cat >>confdefs.h
<<\_ACEOF
9121 #define HAVE_XMLREADMEMORY 1
9126 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9127 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9128 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9129 echo $ECHO_N "(cached) $ECHO_C" >&6
9131 ac_check_lib_save_LIBS
=$LIBS
9132 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9133 cat >conftest.
$ac_ext <<_ACEOF
9136 cat confdefs.h
>>conftest.
$ac_ext
9137 cat >>conftest.
$ac_ext <<_ACEOF
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9146 char xmlNewDocPI ();
9150 return xmlNewDocPI ();
9155 rm -f conftest.
$ac_objext conftest
$ac_exeext
9156 if { (ac_try
="$ac_link"
9158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9162 (eval "$ac_link") 2>conftest.er1
9164 grep -v '^ *+' conftest.er1 >conftest.err
9166 cat conftest.err >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } && {
9169 test -z "$ac_c_werror_flag" ||
9170 test ! -s conftest.err
9171 } && test -s conftest$ac_exeext &&
9172 $as_test_x conftest$ac_exeext; then
9173 ac_cv_lib_xml2_xmlNewDocPI=yes
9175 echo "$as_me: failed program was:" >&5
9176 sed 's/^/| /' conftest.$ac_ext >&5
9178 ac_cv_lib_xml2_xmlNewDocPI=no
9181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9182 conftest$ac_exeext conftest.$ac_ext
9183 LIBS=$ac_check_lib_save_LIBS
9185 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9186 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9187 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9189 cat >>confdefs.h <<\_ACEOF
9190 #define HAVE_XMLNEWDOCPI 1
9200 CPPFLAGS="$ac_save_CPPFLAGS"
9201 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
9202 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
9203 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9206 for ac_header in libxslt/pattern.h libxslt/transform.h
9208 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9214 cat >conftest.$ac_ext <<_ACEOF
9217 cat confdefs.h >>conftest.$ac_ext
9218 cat >>conftest.$ac_ext <<_ACEOF
9219 /* end confdefs.h. */
9220 #ifdef HAVE_LIBXSLT_PATTERN_H
9221 # include <libxslt/pattern.h>
9224 #include <$ac_header>
9226 rm -f conftest.$ac_objext
9227 if { (ac_try="$ac_compile"
9229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9230 *) ac_try_echo
=$ac_try;;
9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_compile") 2>conftest.er1
9235 grep -v '^ *+' conftest.er1
>conftest.err
9237 cat conftest.err
>&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); } && {
9240 test -z "$ac_c_werror_flag" ||
9241 test ! -s conftest.err
9242 } && test -s conftest.
$ac_objext; then
9243 eval "$as_ac_Header=yes"
9245 echo "$as_me: failed program was:" >&5
9246 sed 's/^/| /' conftest.
$ac_ext >&5
9248 eval "$as_ac_Header=no"
9251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9253 ac_res
=`eval echo '${'$as_ac_Header'}'`
9254 { echo "$as_me:$LINENO: result: $ac_res" >&5
9255 echo "${ECHO_T}$ac_res" >&6; }
9256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9257 cat >>confdefs.h
<<_ACEOF
9258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9260 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9261 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9262 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 ac_check_lib_save_LIBS
=$LIBS
9266 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9267 cat >conftest.
$ac_ext <<_ACEOF
9270 cat confdefs.h
>>conftest.
$ac_ext
9271 cat >>conftest.
$ac_ext <<_ACEOF
9272 /* end confdefs.h. */
9274 /* Override any GCC internal prototype to avoid an error.
9275 Use char because int might match the return type of a GCC
9276 builtin and then its argument prototype would still apply. */
9280 char xsltCompilePattern ();
9284 return xsltCompilePattern ();
9289 rm -f conftest.
$ac_objext conftest
$ac_exeext
9290 if { (ac_try
="$ac_link"
9292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9293 *) ac_try_echo=$ac_try;;
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_link") 2>conftest.er1
9298 grep -v '^ *+' conftest.er1 >conftest.err
9300 cat conftest.err >&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } && {
9303 test -z "$ac_c_werror_flag" ||
9304 test ! -s conftest.err
9305 } && test -s conftest$ac_exeext &&
9306 $as_test_x conftest$ac_exeext; then
9307 ac_cv_lib_xslt_xsltCompilePattern=yes
9309 echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.$ac_ext >&5
9312 ac_cv_lib_xslt_xsltCompilePattern=no
9315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_lib_save_LIBS
9319 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9320 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9321 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9323 cat >>confdefs.h <<\_ACEOF
9324 #define HAVE_LIBXSLT 1
9327 XSLTLIBS="$ac_xslt_libs"
9328 XSLTINCL="$ac_xslt_cflags"
9336 CPPFLAGS="$ac_save_CPPFLAGS"
9341 if test "$PKG_CONFIG" != "false"
9343 ac_save_CPPFLAGS="$CPPFLAGS"
9344 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
9345 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
9346 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9349 for ac_header in dbus/dbus.h hal/libhal.h
9351 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9356 echo $ECHO_N "(cached) $ECHO_C" >&6
9358 ac_res=`eval echo '${'$as_ac_Header'}'`
9359 { echo "$as_me:$LINENO: result: $ac_res" >&5
9360 echo "${ECHO_T}$ac_res" >&6; }
9362 # Is the header compilable?
9363 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9365 cat >conftest.$ac_ext <<_ACEOF
9368 cat confdefs.h >>conftest.$ac_ext
9369 cat >>conftest.$ac_ext <<_ACEOF
9370 /* end confdefs.h. */
9371 $ac_includes_default
9372 #include <$ac_header>
9374 rm -f conftest.$ac_objext
9375 if { (ac_try="$ac_compile"
9377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9378 *) ac_try_echo
=$ac_try;;
9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9381 (eval "$ac_compile") 2>conftest.er1
9383 grep -v '^ *+' conftest.er1
>conftest.err
9385 cat conftest.err
>&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); } && {
9388 test -z "$ac_c_werror_flag" ||
9389 test ! -s conftest.err
9390 } && test -s conftest.
$ac_objext; then
9391 ac_header_compiler
=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.
$ac_ext >&5
9396 ac_header_compiler
=no
9399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9400 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9401 echo "${ECHO_T}$ac_header_compiler" >&6; }
9403 # Is the header present?
9404 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9406 cat >conftest.
$ac_ext <<_ACEOF
9409 cat confdefs.h
>>conftest.
$ac_ext
9410 cat >>conftest.
$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9412 #include <$ac_header>
9414 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9417 *) ac_try_echo=$ac_try;;
9419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9422 grep -v '^ *+' conftest.er1 >conftest.err
9424 cat conftest.err >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); } >/dev/null && {
9427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9428 test ! -s conftest.err
9430 ac_header_preproc=yes
9432 echo "$as_me: failed program was:" >&5
9433 sed 's/^/| /' conftest.$ac_ext >&5
9435 ac_header_preproc=no
9438 rm -f conftest.err conftest.$ac_ext
9439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9440 echo "${ECHO_T}$ac_header_preproc" >&6; }
9442 # So? What about this header?
9443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9448 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9449 ac_header_preproc=yes
9452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9453 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9455 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9456 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9457 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9458 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9459 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9462 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9463 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9465 ## ------------------------------------ ##
9466 ## Report this to wine-devel@winehq.org ##
9467 ## ------------------------------------ ##
9469 ) | sed "s/^/$as_me: WARNING: /" >&2
9472 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 eval "$as_ac_Header=\$ac_header_preproc"
9479 ac_res=`eval echo '${'$as_ac_Header'}'`
9480 { echo "$as_me:$LINENO: result: $ac_res" >&5
9481 echo "${ECHO_T}$ac_res" >&6; }
9484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9485 cat >>confdefs.h <<_ACEOF
9486 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9493 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9495 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9496 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9497 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 ac_check_lib_save_LIBS=$LIBS
9502 cat >conftest.$ac_ext <<_ACEOF
9505 cat confdefs.h >>conftest.$ac_ext
9506 cat >>conftest.$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9515 char libhal_ctx_new ();
9519 return libhal_ctx_new ();
9524 rm -f conftest.$ac_objext conftest$ac_exeext
9525 if { (ac_try="$ac_link"
9527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9528 *) ac_try_echo
=$ac_try;;
9530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9531 (eval "$ac_link") 2>conftest.er1
9533 grep -v '^ *+' conftest.er1
>conftest.err
9535 cat conftest.err
>&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } && {
9538 test -z "$ac_c_werror_flag" ||
9539 test ! -s conftest.err
9540 } && test -s conftest
$ac_exeext &&
9541 $as_test_x conftest
$ac_exeext; then
9542 ac_cv_lib_hal_libhal_ctx_new
=yes
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.
$ac_ext >&5
9547 ac_cv_lib_hal_libhal_ctx_new
=no
9550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9551 conftest
$ac_exeext conftest.
$ac_ext
9552 LIBS
=$ac_check_lib_save_LIBS
9554 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9555 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9556 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9557 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9558 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9559 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 ac_check_lib_save_LIBS
=$LIBS
9563 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9564 cat >conftest.
$ac_ext <<_ACEOF
9567 cat confdefs.h
>>conftest.
$ac_ext
9568 cat >>conftest.
$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9577 char dbus_connection_close ();
9581 return dbus_connection_close ();
9586 rm -f conftest.
$ac_objext conftest
$ac_exeext
9587 if { (ac_try
="$ac_link"
9589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_link") 2>conftest.er1
9595 grep -v '^ *+' conftest.er1 >conftest.err
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest$ac_exeext &&
9603 $as_test_x conftest$ac_exeext; then
9604 ac_cv_lib_dbus_1_dbus_connection_close=yes
9606 echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.$ac_ext >&5
9609 ac_cv_lib_dbus_1_dbus_connection_close=no
9612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9617 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9618 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9620 cat >>confdefs.h <<\_ACEOF
9621 #define HAVE_LIBHAL 1
9624 HALINCL="$ac_hal_cflags"
9630 CPPFLAGS="$ac_save_CPPFLAGS"
9634 if test "$ac_cv_header_ncurses_h" = "yes"
9636 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9637 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9638 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 ac_check_lib_save_LIBS=$LIBS
9642 LIBS="-lncurses $LIBS"
9643 cat >conftest.$ac_ext <<_ACEOF
9646 cat confdefs.h >>conftest.$ac_ext
9647 cat >>conftest.$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9650 /* Override any GCC internal prototype to avoid an error.
9651 Use char because int might match the return type of a GCC
9652 builtin and then its argument prototype would still apply. */
9665 rm -f conftest.$ac_objext conftest$ac_exeext
9666 if { (ac_try="$ac_link"
9668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9669 *) ac_try_echo
=$ac_try;;
9671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9672 (eval "$ac_link") 2>conftest.er1
9674 grep -v '^ *+' conftest.er1
>conftest.err
9676 cat conftest.err
>&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } && {
9679 test -z "$ac_c_werror_flag" ||
9680 test ! -s conftest.err
9681 } && test -s conftest
$ac_exeext &&
9682 $as_test_x conftest
$ac_exeext; then
9683 ac_cv_lib_ncurses_waddch
=yes
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.
$ac_ext >&5
9688 ac_cv_lib_ncurses_waddch
=no
9691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9692 conftest
$ac_exeext conftest.
$ac_ext
9693 LIBS
=$ac_check_lib_save_LIBS
9695 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9696 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9697 if test $ac_cv_lib_ncurses_waddch = yes; then
9698 CURSESLIBS
="-lncurses"
9701 elif test "$ac_cv_header_curses_h" = "yes"
9703 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9704 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9705 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 ac_check_lib_save_LIBS
=$LIBS
9709 LIBS
="-lcurses $LIBS"
9710 cat >conftest.
$ac_ext <<_ACEOF
9713 cat confdefs.h
>>conftest.
$ac_ext
9714 cat >>conftest.
$ac_ext <<_ACEOF
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9732 rm -f conftest.
$ac_objext conftest
$ac_exeext
9733 if { (ac_try
="$ac_link"
9735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9736 *) ac_try_echo=$ac_try;;
9738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9739 (eval "$ac_link") 2>conftest.er1
9741 grep -v '^ *+' conftest.er1 >conftest.err
9743 cat conftest.err >&5
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); } && {
9746 test -z "$ac_c_werror_flag" ||
9747 test ! -s conftest.err
9748 } && test -s conftest$ac_exeext &&
9749 $as_test_x conftest$ac_exeext; then
9750 ac_cv_lib_curses_waddch=yes
9752 echo "$as_me: failed program was:" >&5
9753 sed 's/^/| /' conftest.$ac_ext >&5
9755 ac_cv_lib_curses_waddch=no
9758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9759 conftest$ac_exeext conftest.$ac_ext
9760 LIBS=$ac_check_lib_save_LIBS
9762 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9763 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9764 if test $ac_cv_lib_curses_waddch = yes; then
9765 CURSESLIBS="-lcurses"
9769 ac_save_LIBS="$LIBS"
9770 LIBS="$LIBS $CURSESLIBS"
9772 for ac_func in mousemask
9774 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9775 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 cat >conftest.$ac_ext <<_ACEOF
9783 cat confdefs.h >>conftest.$ac_ext
9784 cat >>conftest.$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9788 #define $ac_func innocuous_$ac_func
9790 /* System header to define __stub macros and hopefully few prototypes,
9791 which can conflict with char $ac_func (); below.
9792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9793 <limits.h> exists even on freestanding compilers. */
9796 # include <limits.h>
9798 # include <assert.h>
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9810 /* The GNU C library defines this for functions which it implements
9811 to always fail with ENOSYS. Some functions are actually named
9812 something starting with __ and the normal name is an alias. */
9813 #if defined __stub_$ac_func || defined __stub___$ac_func
9825 rm -f conftest.$ac_objext conftest$ac_exeext
9826 if { (ac_try="$ac_link"
9828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9829 *) ac_try_echo
=$ac_try;;
9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9832 (eval "$ac_link") 2>conftest.er1
9834 grep -v '^ *+' conftest.er1
>conftest.err
9836 cat conftest.err
>&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } && {
9839 test -z "$ac_c_werror_flag" ||
9840 test ! -s conftest.err
9841 } && test -s conftest
$ac_exeext &&
9842 $as_test_x conftest
$ac_exeext; then
9843 eval "$as_ac_var=yes"
9845 echo "$as_me: failed program was:" >&5
9846 sed 's/^/| /' conftest.
$ac_ext >&5
9848 eval "$as_ac_var=no"
9851 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9852 conftest
$ac_exeext conftest.
$ac_ext
9854 ac_res
=`eval echo '${'$as_ac_var'}'`
9855 { echo "$as_me:$LINENO: result: $ac_res" >&5
9856 echo "${ECHO_T}$ac_res" >&6; }
9857 if test `eval echo '${'$as_ac_var'}'` = yes; then
9858 cat >>confdefs.h
<<_ACEOF
9859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9865 LIBS
="$ac_save_LIBS"
9867 # Extract the first word of "sane-config", so it can be a program name with args.
9868 set dummy sane-config
; ac_word
=$2
9869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9871 if test "${ac_cv_prog_sane_devel+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 if test -n "$sane_devel"; then
9875 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9881 test -z "$as_dir" && as_dir
=.
9882 for ac_exec_ext
in '' $ac_executable_extensions; do
9883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9884 ac_cv_prog_sane_devel
="sane-config"
9885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9892 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9895 sane_devel
=$ac_cv_prog_sane_devel
9896 if test -n "$sane_devel"; then
9897 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9898 echo "${ECHO_T}$sane_devel" >&6; }
9900 { echo "$as_me:$LINENO: result: no" >&5
9901 echo "${ECHO_T}no" >&6; }
9907 if test "$sane_devel" != "no"
9909 SANEINCL
="`$sane_devel --cflags`"
9910 ac_save_CPPFLAGS
="$CPPFLAGS"
9911 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9912 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9913 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9914 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9915 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9919 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9921 # Is the header compilable?
9922 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9923 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9924 cat >conftest.
$ac_ext <<_ACEOF
9927 cat confdefs.h
>>conftest.
$ac_ext
9928 cat >>conftest.
$ac_ext <<_ACEOF
9929 /* end confdefs.h. */
9930 $ac_includes_default
9931 #include <sane/sane.h>
9933 rm -f conftest.
$ac_objext
9934 if { (ac_try
="$ac_compile"
9936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_compile") 2>conftest.er1
9942 grep -v '^ *+' conftest.er1 >conftest.err
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } && {
9947 test -z "$ac_c_werror_flag" ||
9948 test ! -s conftest.err
9949 } && test -s conftest.$ac_objext; then
9950 ac_header_compiler=yes
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.$ac_ext >&5
9955 ac_header_compiler=no
9958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9959 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9960 echo "${ECHO_T}$ac_header_compiler" >&6; }
9962 # Is the header present?
9963 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9964 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9965 cat >conftest.$ac_ext <<_ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h. */
9971 #include <sane/sane.h>
9973 if { (ac_try="$ac_cpp conftest.$ac_ext"
9975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9976 *) ac_try_echo
=$ac_try;;
9978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9981 grep -v '^ *+' conftest.er1
>conftest.err
9983 cat conftest.err
>&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } >/dev
/null
&& {
9986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9987 test ! -s conftest.err
9989 ac_header_preproc
=yes
9991 echo "$as_me: failed program was:" >&5
9992 sed 's/^/| /' conftest.
$ac_ext >&5
9994 ac_header_preproc
=no
9997 rm -f conftest.err conftest.
$ac_ext
9998 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9999 echo "${ECHO_T}$ac_header_preproc" >&6; }
10001 # So? What about this header?
10002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10004 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10005 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10006 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10007 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10008 ac_header_preproc
=yes
10011 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10012 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10013 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10014 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10015 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10016 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10017 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10018 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10019 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10020 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10021 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10022 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10024 ## ------------------------------------ ##
10025 ## Report this to wine-devel@winehq.org ##
10026 ## ------------------------------------ ##
10028 ) |
sed "s/^/$as_me: WARNING: /" >&2
10031 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10032 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10033 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 ac_cv_header_sane_sane_h
=$ac_header_preproc
10038 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10039 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10042 if test $ac_cv_header_sane_sane_h = yes; then
10044 cat >>confdefs.h
<<\_ACEOF
10045 #define HAVE_SANE 1
10053 CPPFLAGS
="$ac_save_CPPFLAGS"
10056 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10057 set dummy gphoto2-config
; ac_word
=$2
10058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10060 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 if test -n "$gphoto2_devel"; then
10064 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10067 for as_dir
in $PATH
10070 test -z "$as_dir" && as_dir
=.
10071 for ac_exec_ext
in '' $ac_executable_extensions; do
10072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10073 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10081 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10084 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10085 if test -n "$gphoto2_devel"; then
10086 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10087 echo "${ECHO_T}$gphoto2_devel" >&6; }
10089 { echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6; }
10094 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10095 set dummy gphoto2-port-config
; ac_word
=$2
10096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10098 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10099 echo $ECHO_N "(cached) $ECHO_C" >&6
10101 if test -n "$gphoto2port_devel"; then
10102 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10105 for as_dir
in $PATH
10108 test -z "$as_dir" && as_dir
=.
10109 for ac_exec_ext
in '' $ac_executable_extensions; do
10110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10111 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10119 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10122 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10123 if test -n "$gphoto2port_devel"; then
10124 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10125 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10127 { echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6; }
10136 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10138 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10140 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10143 -L/usr
/lib|
-L/usr
/lib64
) ;;
10144 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
10147 ac_save_CPPFLAGS
="$CPPFLAGS"
10148 ac_save_LIBS
="$LIBS"
10149 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
10150 LIBS
="$LIBS $GPHOTO2LIBS"
10151 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10152 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10153 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10154 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10158 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10160 # Is the header compilable?
10161 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10162 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10163 cat >conftest.
$ac_ext <<_ACEOF
10166 cat confdefs.h
>>conftest.
$ac_ext
10167 cat >>conftest.
$ac_ext <<_ACEOF
10168 /* end confdefs.h. */
10169 $ac_includes_default
10170 #include <gphoto2-camera.h>
10172 rm -f conftest.
$ac_objext
10173 if { (ac_try
="$ac_compile"
10174 case "(($ac_try" in
10175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10176 *) ac_try_echo=$ac_try;;
10178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10179 (eval "$ac_compile") 2>conftest.er1
10181 grep -v '^ *+' conftest.er1 >conftest.err
10183 cat conftest.err >&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); } && {
10186 test -z "$ac_c_werror_flag" ||
10187 test ! -s conftest.err
10188 } && test -s conftest.$ac_objext; then
10189 ac_header_compiler=yes
10191 echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.$ac_ext >&5
10194 ac_header_compiler=no
10197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10198 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10199 echo "${ECHO_T}$ac_header_compiler" >&6; }
10201 # Is the header present?
10202 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10203 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10204 cat >conftest.$ac_ext <<_ACEOF
10207 cat confdefs.h >>conftest.$ac_ext
10208 cat >>conftest.$ac_ext <<_ACEOF
10209 /* end confdefs.h. */
10210 #include <gphoto2-camera.h>
10212 if { (ac_try="$ac_cpp conftest.$ac_ext"
10213 case "(($ac_try" in
10214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10215 *) ac_try_echo
=$ac_try;;
10217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10220 grep -v '^ *+' conftest.er1
>conftest.err
10222 cat conftest.err
>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } >/dev
/null
&& {
10225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10226 test ! -s conftest.err
10228 ac_header_preproc
=yes
10230 echo "$as_me: failed program was:" >&5
10231 sed 's/^/| /' conftest.
$ac_ext >&5
10233 ac_header_preproc
=no
10236 rm -f conftest.err conftest.
$ac_ext
10237 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10238 echo "${ECHO_T}$ac_header_preproc" >&6; }
10240 # So? What about this header?
10241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10243 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10244 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10245 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10246 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10247 ac_header_preproc
=yes
10250 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10251 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10252 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10253 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10255 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10257 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10258 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10259 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10260 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10261 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10263 ## ------------------------------------ ##
10264 ## Report this to wine-devel@winehq.org ##
10265 ## ------------------------------------ ##
10267 ) |
sed "s/^/$as_me: WARNING: /" >&2
10270 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10271 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10272 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
10277 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10278 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10281 if test $ac_cv_header_gphoto2_camera_h = yes; then
10282 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10283 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10284 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10285 echo $ECHO_N "(cached) $ECHO_C" >&6
10287 ac_check_lib_save_LIBS
=$LIBS
10288 LIBS
="-lgphoto2 $LIBS"
10289 cat >conftest.
$ac_ext <<_ACEOF
10292 cat confdefs.h
>>conftest.
$ac_ext
10293 cat >>conftest.
$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10302 char gp_camera_new ();
10306 return gp_camera_new ();
10311 rm -f conftest.
$ac_objext conftest
$ac_exeext
10312 if { (ac_try
="$ac_link"
10313 case "(($ac_try" in
10314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10315 *) ac_try_echo=$ac_try;;
10317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10318 (eval "$ac_link") 2>conftest.er1
10320 grep -v '^ *+' conftest.er1 >conftest.err
10322 cat conftest.err >&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } && {
10325 test -z "$ac_c_werror_flag" ||
10326 test ! -s conftest.err
10327 } && test -s conftest$ac_exeext &&
10328 $as_test_x conftest$ac_exeext; then
10329 ac_cv_lib_gphoto2_gp_camera_new=yes
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.$ac_ext >&5
10334 ac_cv_lib_gphoto2_gp_camera_new=no
10337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_lib_save_LIBS
10341 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10342 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10343 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10345 cat >>confdefs.h <<\_ACEOF
10346 #define HAVE_GPHOTO2 1
10360 LIBS="$ac_save_LIBS"
10361 CPPFLAGS="$ac_save_CPPFLAGS"
10364 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10367 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10369 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10370 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10371 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10372 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10373 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10374 cat >conftest.$ac_ext <<_ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10380 #include <unicode/ubidi.h>
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (ac_try="$ac_link"
10391 case "(($ac_try" in
10392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10393 *) ac_try_echo
=$ac_try;;
10395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10396 (eval "$ac_link") 2>conftest.er1
10398 grep -v '^ *+' conftest.er1
>conftest.err
10400 cat conftest.err
>&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } && {
10403 test -z "$ac_c_werror_flag" ||
10404 test ! -s conftest.err
10405 } && test -s conftest
$ac_exeext &&
10406 $as_test_x conftest
$ac_exeext; then
10408 cat >>confdefs.h
<<\_ACEOF
10412 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10414 { echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6; }
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.
$ac_ext >&5
10420 { echo "$as_me:$LINENO: result: no" >&5
10421 echo "${ECHO_T}no" >&6; }
10424 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10425 conftest
$ac_exeext conftest.
$ac_ext
10432 if test "$ac_cv_header_resolv_h" = "yes"
10434 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10435 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10436 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10439 ac_check_lib_save_LIBS
=$LIBS
10440 LIBS
="-lresolv $LIBS"
10441 cat >conftest.
$ac_ext <<_ACEOF
10444 cat confdefs.h
>>conftest.
$ac_ext
10445 cat >>conftest.
$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10458 return res_query ();
10463 rm -f conftest.
$ac_objext conftest
$ac_exeext
10464 if { (ac_try
="$ac_link"
10465 case "(($ac_try" in
10466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10467 *) ac_try_echo=$ac_try;;
10469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10470 (eval "$ac_link") 2>conftest.er1
10472 grep -v '^ *+' conftest.er1 >conftest.err
10474 cat conftest.err >&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); } && {
10477 test -z "$ac_c_werror_flag" ||
10478 test ! -s conftest.err
10479 } && test -s conftest$ac_exeext &&
10480 $as_test_x conftest$ac_exeext; then
10481 ac_cv_lib_resolv_res_query=yes
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10486 ac_cv_lib_resolv_res_query=no
10489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10490 conftest$ac_exeext conftest.$ac_ext
10491 LIBS=$ac_check_lib_save_LIBS
10493 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10494 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10495 if test $ac_cv_lib_resolv_res_query = yes; then
10497 cat >>confdefs.h <<\_ACEOF
10498 #define HAVE_RESOLV 1
10501 RESOLVLIBS="-lresolv"
10508 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10510 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10511 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10512 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10513 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 ac_check_lib_save_LIBS=$LIBS
10516 LIBS="-llcms $LIBS"
10517 cat >conftest.$ac_ext <<_ACEOF
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10530 char cmsOpenProfileFromFile ();
10534 return cmsOpenProfileFromFile ();
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (ac_try="$ac_link"
10541 case "(($ac_try" in
10542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10543 *) ac_try_echo
=$ac_try;;
10545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10546 (eval "$ac_link") 2>conftest.er1
10548 grep -v '^ *+' conftest.er1
>conftest.err
10550 cat conftest.err
>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } && {
10553 test -z "$ac_c_werror_flag" ||
10554 test ! -s conftest.err
10555 } && test -s conftest
$ac_exeext &&
10556 $as_test_x conftest
$ac_exeext; then
10557 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10559 echo "$as_me: failed program was:" >&5
10560 sed 's/^/| /' conftest.
$ac_ext >&5
10562 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10566 conftest
$ac_exeext conftest.
$ac_ext
10567 LIBS
=$ac_check_lib_save_LIBS
10569 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10570 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10571 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10573 cat >>confdefs.h
<<\_ACEOF
10574 #define HAVE_LCMS 1
10584 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10586 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10587 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10588 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 ac_check_lib_save_LIBS
=$LIBS
10592 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
10593 cat >conftest.
$ac_ext <<_ACEOF
10596 cat confdefs.h
>>conftest.
$ac_ext
10597 cat >>conftest.
$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10600 /* Override any GCC internal prototype to avoid an error.
10601 Use char because int might match the return type of a GCC
10602 builtin and then its argument prototype would still apply. */
10606 char ldap_initialize ();
10610 return ldap_initialize ();
10615 rm -f conftest.
$ac_objext conftest
$ac_exeext
10616 if { (ac_try
="$ac_link"
10617 case "(($ac_try" in
10618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10619 *) ac_try_echo=$ac_try;;
10621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10622 (eval "$ac_link") 2>conftest.er1
10624 grep -v '^ *+' conftest.er1 >conftest.err
10626 cat conftest.err >&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); } && {
10629 test -z "$ac_c_werror_flag" ||
10630 test ! -s conftest.err
10631 } && test -s conftest$ac_exeext &&
10632 $as_test_x conftest$ac_exeext; then
10633 ac_cv_lib_ldap_r_ldap_initialize=yes
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.$ac_ext >&5
10638 ac_cv_lib_ldap_r_ldap_initialize=no
10641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_lib_save_LIBS
10645 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10646 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10647 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10648 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10649 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10650 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 ac_check_lib_save_LIBS=$LIBS
10654 LIBS="-llber $LIBPTHREAD $LIBS"
10655 cat >conftest.$ac_ext <<_ACEOF
10658 cat confdefs.h >>conftest.$ac_ext
10659 cat >>conftest.$ac_ext <<_ACEOF
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10672 return ber_init ();
10677 rm -f conftest.$ac_objext conftest$ac_exeext
10678 if { (ac_try="$ac_link"
10679 case "(($ac_try" in
10680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10681 *) ac_try_echo
=$ac_try;;
10683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10684 (eval "$ac_link") 2>conftest.er1
10686 grep -v '^ *+' conftest.er1
>conftest.err
10688 cat conftest.err
>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); } && {
10691 test -z "$ac_c_werror_flag" ||
10692 test ! -s conftest.err
10693 } && test -s conftest
$ac_exeext &&
10694 $as_test_x conftest
$ac_exeext; then
10695 ac_cv_lib_lber_ber_init
=yes
10697 echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.
$ac_ext >&5
10700 ac_cv_lib_lber_ber_init
=no
10703 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10704 conftest
$ac_exeext conftest.
$ac_ext
10705 LIBS
=$ac_check_lib_save_LIBS
10707 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10708 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10709 if test $ac_cv_lib_lber_ber_init = yes; then
10711 cat >>confdefs.h
<<\_ACEOF
10712 #define HAVE_LDAP 1
10715 LDAPLIBS
="-lldap_r -llber"
10720 ac_wine_check_funcs_save_LIBS
="$LIBS"
10721 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
10727 ldap_count_references \
10728 ldap_first_reference \
10729 ldap_next_reference \
10730 ldap_parse_reference
10732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10735 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 cat >conftest.
$ac_ext <<_ACEOF
10741 cat confdefs.h
>>conftest.
$ac_ext
10742 cat >>conftest.
$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10746 #define $ac_func innocuous_$ac_func
10748 /* System header to define __stub macros and hopefully few prototypes,
10749 which can conflict with char $ac_func (); below.
10750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10751 <limits.h> exists even on freestanding compilers. */
10754 # include <limits.h>
10756 # include <assert.h>
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10768 /* The GNU C library defines this for functions which it implements
10769 to always fail with ENOSYS. Some functions are actually named
10770 something starting with __ and the normal name is an alias. */
10771 #if defined __stub_$ac_func || defined __stub___$ac_func
10778 return $ac_func ();
10783 rm -f conftest.
$ac_objext conftest
$ac_exeext
10784 if { (ac_try
="$ac_link"
10785 case "(($ac_try" in
10786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10787 *) ac_try_echo=$ac_try;;
10789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10790 (eval "$ac_link") 2>conftest.er1
10792 grep -v '^ *+' conftest.er1 >conftest.err
10794 cat conftest.err >&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); } && {
10797 test -z "$ac_c_werror_flag" ||
10798 test ! -s conftest.err
10799 } && test -s conftest$ac_exeext &&
10800 $as_test_x conftest$ac_exeext; then
10801 eval "$as_ac_var=yes"
10803 echo "$as_me: failed program was:" >&5
10804 sed 's/^/| /' conftest.$ac_ext >&5
10806 eval "$as_ac_var=no"
10809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10810 conftest$ac_exeext conftest.$ac_ext
10812 ac_res=`eval echo '${'$as_ac_var'}'`
10813 { echo "$as_me:$LINENO: result: $ac_res" >&5
10814 echo "${ECHO_T}$ac_res" >&6; }
10815 if test `eval echo '${'$as_ac_var'}'` = yes; then
10816 cat >>confdefs.h <<_ACEOF
10817 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10823 LIBS="$ac_wine_check_funcs_save_LIBS"
10830 # Extract the first word of "freetype-config", so it can be a program name with args.
10831 set dummy freetype-config; ac_word=$2
10832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10834 if test "${ac_cv_prog_ft_devel+set}" = set; then
10835 echo $ECHO_N "(cached) $ECHO_C" >&6
10837 if test -n "$ft_devel"; then
10838 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10841 for as_dir in $PATH
10844 test -z "$as_dir" && as_dir=.
10845 for ac_exec_ext in '' $ac_executable_extensions; do
10846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10847 ac_cv_prog_ft_devel="freetype-config"
10848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10855 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10858 ft_devel=$ac_cv_prog_ft_devel
10859 if test -n "$ft_devel"; then
10860 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10861 echo "${ECHO_T}$ft_devel" >&6; }
10863 { echo "$as_me:$LINENO: result: no" >&5
10864 echo "${ECHO_T}no" >&6; }
10868 if test "$ft_devel" = "no"
10870 # Extract the first word of "freetype2-config", so it can be a program name with args.
10871 set dummy freetype2-config; ac_word=$2
10872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10874 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 if test -n "$ft_devel2"; then
10878 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10881 for as_dir in $PATH
10884 test -z "$as_dir" && as_dir=.
10885 for ac_exec_ext in '' $ac_executable_extensions; do
10886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10887 ac_cv_prog_ft_devel2="freetype2-config"
10888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10898 ft_devel2=$ac_cv_prog_ft_devel2
10899 if test -n "$ft_devel2"; then
10900 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10901 echo "${ECHO_T}$ft_devel2" >&6; }
10903 { echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6; }
10908 if test "$ft_devel2" = "freetype2-config"
10910 ft_devel=$ft_devel2
10914 if test "$ft_devel" = "no"
10916 wine_cv_msg_freetype=yes
10918 FREETYPELIBS=`$ft_devel --libs`
10919 FREETYPEINCL=`$ft_devel --cflags`
10920 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10921 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10922 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 ac_check_lib_save_LIBS=$LIBS
10926 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10927 cat >conftest.$ac_ext <<_ACEOF
10930 cat confdefs.h >>conftest.$ac_ext
10931 cat >>conftest.$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10940 char FT_Init_FreeType ();
10944 return FT_Init_FreeType ();
10949 rm -f conftest.$ac_objext conftest$ac_exeext
10950 if { (ac_try="$ac_link"
10951 case "(($ac_try" in
10952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10953 *) ac_try_echo
=$ac_try;;
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_link") 2>conftest.er1
10958 grep -v '^ *+' conftest.er1
>conftest.err
10960 cat conftest.err
>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } && {
10963 test -z "$ac_c_werror_flag" ||
10964 test ! -s conftest.err
10965 } && test -s conftest
$ac_exeext &&
10966 $as_test_x conftest
$ac_exeext; then
10967 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.
$ac_ext >&5
10972 ac_cv_lib_freetype_FT_Init_FreeType
=no
10975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10976 conftest
$ac_exeext conftest.
$ac_ext
10977 LIBS
=$ac_check_lib_save_LIBS
10979 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10980 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10981 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10987 if test "$ft_lib" = "no"
10989 wine_cv_msg_freetype
=yes
10993 ac_save_CPPFLAGS
="$CPPFLAGS"
10994 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
11006 for ac_header
in ft2build.h \
11007 freetype
/freetype.h \
11008 freetype
/ftglyph.h \
11009 freetype
/tttables.h \
11010 freetype
/ftnames.h \
11011 freetype
/ftsnames.h \
11012 freetype
/ttnameid.h \
11013 freetype
/ftoutln.h \
11014 freetype
/ftwinfnt.h \
11015 freetype
/ftmodapi.h \
11016 freetype
/internal
/sfnt.h
11018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11019 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11021 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 cat >conftest.
$ac_ext <<_ACEOF
11027 cat confdefs.h
>>conftest.
$ac_ext
11028 cat >>conftest.
$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11030 #if HAVE_FT2BUILD_H
11031 #include <ft2build.h>
11034 #include <$ac_header>
11036 rm -f conftest.
$ac_objext
11037 if { (ac_try
="$ac_compile"
11038 case "(($ac_try" in
11039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11040 *) ac_try_echo=$ac_try;;
11042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11043 (eval "$ac_compile") 2>conftest.er1
11045 grep -v '^ *+' conftest.er1 >conftest.err
11047 cat conftest.err >&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } && {
11050 test -z "$ac_c_werror_flag" ||
11051 test ! -s conftest.err
11052 } && test -s conftest.$ac_objext; then
11053 eval "$as_ac_Header=yes"
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11058 eval "$as_ac_Header=no"
11061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11063 ac_res=`eval echo '${'$as_ac_Header'}'`
11064 { echo "$as_me:$LINENO: result: $ac_res" >&5
11065 echo "${ECHO_T}$ac_res" >&6; }
11066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11067 cat >>confdefs.h <<_ACEOF
11068 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11075 cat >conftest.$ac_ext <<_ACEOF
11078 cat confdefs.h >>conftest.$ac_ext
11079 cat >>conftest.$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11081 #include <ft2build.h>
11082 #include <freetype/fttrigon.h>
11084 if { (ac_try="$ac_cpp conftest.$ac_ext"
11085 case "(($ac_try" in
11086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11087 *) ac_try_echo
=$ac_try;;
11089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11092 grep -v '^ *+' conftest.er1
>conftest.err
11094 cat conftest.err
>&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } >/dev
/null
&& {
11097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11098 test ! -s conftest.err
11101 cat >>confdefs.h
<<\_ACEOF
11102 #define HAVE_FREETYPE_FTTRIGON_H 1
11105 wine_cv_fttrigon
=yes
11107 echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.
$ac_ext >&5
11110 wine_cv_fttrigon
=no
11113 rm -f conftest.err conftest.
$ac_ext
11114 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11115 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11116 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 cat >conftest.
$ac_ext <<_ACEOF
11122 cat confdefs.h
>>conftest.
$ac_ext
11123 cat >>conftest.
$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 #include <freetype/ftmodapi.h>
11127 typedef FT_TrueTypeEngineType ac__type_new_;
11131 if ((ac__type_new_ *) 0)
11133 if (sizeof (ac__type_new_))
11139 rm -f conftest.
$ac_objext
11140 if { (ac_try
="$ac_compile"
11141 case "(($ac_try" in
11142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11143 *) ac_try_echo=$ac_try;;
11145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11146 (eval "$ac_compile") 2>conftest.er1
11148 grep -v '^ *+' conftest.er1 >conftest.err
11150 cat conftest.err >&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); } && {
11153 test -z "$ac_c_werror_flag" ||
11154 test ! -s conftest.err
11155 } && test -s conftest.$ac_objext; then
11156 ac_cv_type_FT_TrueTypeEngineType=yes
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11161 ac_cv_type_FT_TrueTypeEngineType=no
11164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11166 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11167 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11168 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11170 cat >>confdefs.h <<_ACEOF
11171 #define HAVE_FT_TRUETYPEENGINETYPE 1
11177 ac_save_CFLAGS="$CFLAGS"
11178 CFLAGS="$CFLAGS $FREETYPELIBS"
11180 for ac_func in FT_Load_Sfnt_Table
11182 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11185 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 cat >conftest.$ac_ext <<_ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11196 #define $ac_func innocuous_$ac_func
11198 /* System header to define __stub macros and hopefully few prototypes,
11199 which can conflict with char $ac_func (); below.
11200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11201 <limits.h> exists even on freestanding compilers. */
11204 # include <limits.h>
11206 # include <assert.h>
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11218 /* The GNU C library defines this for functions which it implements
11219 to always fail with ENOSYS. Some functions are actually named
11220 something starting with __ and the normal name is an alias. */
11221 #if defined __stub_$ac_func || defined __stub___$ac_func
11228 return $ac_func ();
11233 rm -f conftest.$ac_objext conftest$ac_exeext
11234 if { (ac_try="$ac_link"
11235 case "(($ac_try" in
11236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11237 *) ac_try_echo
=$ac_try;;
11239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11240 (eval "$ac_link") 2>conftest.er1
11242 grep -v '^ *+' conftest.er1
>conftest.err
11244 cat conftest.err
>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } && {
11247 test -z "$ac_c_werror_flag" ||
11248 test ! -s conftest.err
11249 } && test -s conftest
$ac_exeext &&
11250 $as_test_x conftest
$ac_exeext; then
11251 eval "$as_ac_var=yes"
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.
$ac_ext >&5
11256 eval "$as_ac_var=no"
11259 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11260 conftest
$ac_exeext conftest.
$ac_ext
11262 ac_res
=`eval echo '${'$as_ac_var'}'`
11263 { echo "$as_me:$LINENO: result: $ac_res" >&5
11264 echo "${ECHO_T}$ac_res" >&6; }
11265 if test `eval echo '${'$as_ac_var'}'` = yes; then
11266 cat >>confdefs.h
<<_ACEOF
11267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11273 CFLAGS
="$ac_save_CFLAGS"
11274 CPPFLAGS
="$ac_save_CPPFLAGS"
11275 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11278 cat >>confdefs.h
<<\_ACEOF
11279 #define HAVE_FREETYPE 1
11282 wine_cv_msg_freetype
=no
11286 wine_cv_msg_freetype
=yes
11291 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11293 FONTSSUBDIRS
="fonts"
11297 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11298 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11299 if test "${ac_cv_c_ppdev+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 #include <linux/ppdev.h>
11312 ioctl (1,PPCLAIM,0)
11317 rm -f conftest.
$ac_objext
11318 if { (ac_try
="$ac_compile"
11319 case "(($ac_try" in
11320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11324 (eval "$ac_compile") 2>conftest.er1
11326 grep -v '^ *+' conftest.er1 >conftest.err
11328 cat conftest.err >&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } && {
11331 test -z "$ac_c_werror_flag" ||
11332 test ! -s conftest.err
11333 } && test -s conftest.$ac_objext; then
11334 ac_cv_c_ppdev="yes"
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.$ac_ext >&5
11342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11345 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11346 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11347 if test "$ac_cv_c_ppdev" = "yes"
11350 cat >>confdefs.h <<\_ACEOF
11351 #define HAVE_PPDEV 1
11356 { echo "$as_me:$LINENO: checking for va_copy" >&5
11357 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11358 if test "${ac_cv_c_va_copy+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 cat >conftest.$ac_ext <<_ACEOF
11364 cat confdefs.h >>conftest.$ac_ext
11365 cat >>conftest.$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11367 #include <stdarg.h>
11378 rm -f conftest.$ac_objext conftest$ac_exeext
11379 if { (ac_try="$ac_link"
11380 case "(($ac_try" in
11381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11382 *) ac_try_echo
=$ac_try;;
11384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11385 (eval "$ac_link") 2>conftest.er1
11387 grep -v '^ *+' conftest.er1
>conftest.err
11389 cat conftest.err
>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } && {
11392 test -z "$ac_c_werror_flag" ||
11393 test ! -s conftest.err
11394 } && test -s conftest
$ac_exeext &&
11395 $as_test_x conftest
$ac_exeext; then
11396 ac_cv_c_va_copy
="yes"
11398 echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.
$ac_ext >&5
11401 ac_cv_c_va_copy
="no"
11404 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11405 conftest
$ac_exeext conftest.
$ac_ext
11408 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11409 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11410 if test "$ac_cv_c_va_copy" = "yes"
11413 cat >>confdefs.h
<<\_ACEOF
11414 #define HAVE_VA_COPY 1
11418 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11419 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11420 if test "${ac_cv_c___va_copy+set}" = set; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 cat >conftest.
$ac_ext <<_ACEOF
11426 cat confdefs.h
>>conftest.
$ac_ext
11427 cat >>conftest.
$ac_ext <<_ACEOF
11428 /* end confdefs.h. */
11429 #include <stdarg.h>
11434 __va_copy(ap1,ap2);
11440 rm -f conftest.
$ac_objext conftest
$ac_exeext
11441 if { (ac_try
="$ac_link"
11442 case "(($ac_try" in
11443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11444 *) ac_try_echo=$ac_try;;
11446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11447 (eval "$ac_link") 2>conftest.er1
11449 grep -v '^ *+' conftest.er1 >conftest.err
11451 cat conftest.err >&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } && {
11454 test -z "$ac_c_werror_flag" ||
11455 test ! -s conftest.err
11456 } && test -s conftest$ac_exeext &&
11457 $as_test_x conftest$ac_exeext; then
11458 ac_cv_c___va_copy="yes"
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.$ac_ext >&5
11463 ac_cv_c___va_copy="no"
11466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11467 conftest$ac_exeext conftest.$ac_ext
11470 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11471 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11472 if test "$ac_cv_c___va_copy" = "yes"
11475 cat >>confdefs.h <<\_ACEOF
11476 #define HAVE___VA_COPY 1
11481 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11482 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11483 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11484 echo $ECHO_N "(cached) $ECHO_C" >&6
11486 cat >conftest.$ac_ext <<_ACEOF
11489 cat confdefs.h >>conftest.$ac_ext
11490 cat >>conftest.$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11492 #include <setjmp.h>
11497 sigsetjmp( buf, 1 );
11498 siglongjmp( buf, 1 );
11503 rm -f conftest.$ac_objext conftest$ac_exeext
11504 if { (ac_try="$ac_link"
11505 case "(($ac_try" in
11506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11507 *) ac_try_echo
=$ac_try;;
11509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11510 (eval "$ac_link") 2>conftest.er1
11512 grep -v '^ *+' conftest.er1
>conftest.err
11514 cat conftest.err
>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); } && {
11517 test -z "$ac_c_werror_flag" ||
11518 test ! -s conftest.err
11519 } && test -s conftest
$ac_exeext &&
11520 $as_test_x conftest
$ac_exeext; then
11521 ac_cv_c_sigsetjmp
="yes"
11523 echo "$as_me: failed program was:" >&5
11524 sed 's/^/| /' conftest.
$ac_ext >&5
11526 ac_cv_c_sigsetjmp
="no"
11529 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11530 conftest
$ac_exeext conftest.
$ac_ext
11533 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11534 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11535 if test "$ac_cv_c_sigsetjmp" = "yes"
11538 cat >>confdefs.h
<<\_ACEOF
11539 #define HAVE_SIGSETJMP 1
11544 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11545 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11546 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 cat >conftest.
$ac_ext <<_ACEOF
11552 cat confdefs.h
>>conftest.
$ac_ext
11553 cat >>conftest.
$ac_ext <<_ACEOF
11554 /* end confdefs.h. */
11555 #define _GNU_SOURCE
11556 #include <pthread.h>
11558 typedef pthread_rwlock_t ac__type_new_;
11562 if ((ac__type_new_ *) 0)
11564 if (sizeof (ac__type_new_))
11570 rm -f conftest.
$ac_objext
11571 if { (ac_try
="$ac_compile"
11572 case "(($ac_try" in
11573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11574 *) ac_try_echo=$ac_try;;
11576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11577 (eval "$ac_compile") 2>conftest.er1
11579 grep -v '^ *+' conftest.er1 >conftest.err
11581 cat conftest.err >&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } && {
11584 test -z "$ac_c_werror_flag" ||
11585 test ! -s conftest.err
11586 } && test -s conftest.$ac_objext; then
11587 ac_cv_type_pthread_rwlock_t=yes
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.$ac_ext >&5
11592 ac_cv_type_pthread_rwlock_t=no
11595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11597 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11598 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11599 if test $ac_cv_type_pthread_rwlock_t = yes; then
11601 cat >>confdefs.h <<_ACEOF
11602 #define HAVE_PTHREAD_RWLOCK_T 1
11607 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11608 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11609 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 cat >conftest.$ac_ext <<_ACEOF
11615 cat confdefs.h >>conftest.$ac_ext
11616 cat >>conftest.$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11618 #define _GNU_SOURCE
11619 #include <pthread.h>
11621 typedef pthread_rwlockattr_t ac__type_new_;
11625 if ((ac__type_new_ *) 0)
11627 if (sizeof (ac__type_new_))
11633 rm -f conftest.$ac_objext
11634 if { (ac_try="$ac_compile"
11635 case "(($ac_try" in
11636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11637 *) ac_try_echo
=$ac_try;;
11639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11640 (eval "$ac_compile") 2>conftest.er1
11642 grep -v '^ *+' conftest.er1
>conftest.err
11644 cat conftest.err
>&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); } && {
11647 test -z "$ac_c_werror_flag" ||
11648 test ! -s conftest.err
11649 } && test -s conftest.
$ac_objext; then
11650 ac_cv_type_pthread_rwlockattr_t
=yes
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.
$ac_ext >&5
11655 ac_cv_type_pthread_rwlockattr_t
=no
11658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11660 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11661 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11662 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11664 cat >>confdefs.h
<<_ACEOF
11665 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11672 ac_wine_check_funcs_save_LIBS
="$LIBS"
11673 LIBS
="$LIBS $LIBPTHREAD"
11679 pthread_attr_get_np \
11680 pthread_getattr_np \
11681 pthread_get_stackaddr_np \
11682 pthread_get_stacksize_np
11684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11685 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11687 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11688 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 cat >conftest.
$ac_ext <<_ACEOF
11693 cat confdefs.h
>>conftest.
$ac_ext
11694 cat >>conftest.
$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11698 #define $ac_func innocuous_$ac_func
11700 /* System header to define __stub macros and hopefully few prototypes,
11701 which can conflict with char $ac_func (); below.
11702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11703 <limits.h> exists even on freestanding compilers. */
11706 # include <limits.h>
11708 # include <assert.h>
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11720 /* The GNU C library defines this for functions which it implements
11721 to always fail with ENOSYS. Some functions are actually named
11722 something starting with __ and the normal name is an alias. */
11723 #if defined __stub_$ac_func || defined __stub___$ac_func
11730 return $ac_func ();
11735 rm -f conftest.
$ac_objext conftest
$ac_exeext
11736 if { (ac_try
="$ac_link"
11737 case "(($ac_try" in
11738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11739 *) ac_try_echo=$ac_try;;
11741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11742 (eval "$ac_link") 2>conftest.er1
11744 grep -v '^ *+' conftest.er1 >conftest.err
11746 cat conftest.err >&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } && {
11749 test -z "$ac_c_werror_flag" ||
11750 test ! -s conftest.err
11751 } && test -s conftest$ac_exeext &&
11752 $as_test_x conftest$ac_exeext; then
11753 eval "$as_ac_var=yes"
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.$ac_ext >&5
11758 eval "$as_ac_var=no"
11761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11762 conftest$ac_exeext conftest.$ac_ext
11764 ac_res=`eval echo '${'$as_ac_var'}'`
11765 { echo "$as_me:$LINENO: result: $ac_res" >&5
11766 echo "${ECHO_T}$ac_res" >&6; }
11767 if test `eval echo '${'$as_ac_var'}'` = yes; then
11768 cat >>confdefs.h <<_ACEOF
11769 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11775 LIBS="$ac_wine_check_funcs_save_LIBS"
11777 # Extract the first word of "esd-config", so it can be a program name with args.
11778 set dummy esd-config; ac_word=$2
11779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11781 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11790 for as_dir in $PATH
11793 test -z "$as_dir" && as_dir=.
11794 for ac_exec_ext in '' $ac_executable_extensions; do
11795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11796 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11807 ESDCONFIG=$ac_cv_path_ESDCONFIG
11808 if test -n "$ESDCONFIG"; then
11809 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11810 echo "${ECHO_T}$ESDCONFIG" >&6; }
11812 { echo "$as_me:$LINENO: result: no" >&5
11813 echo "${ECHO_T}no" >&6; }
11817 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11820 for i in `$ESDCONFIG --cflags`
11823 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11826 ESD_LIBS=`$ESDCONFIG --libs`
11827 save_CFLAGS="$CFLAGS"
11828 CFLAGS="$CFLAGS $ESD_CFLAGS"
11829 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11830 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11831 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11832 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 ac_check_lib_save_LIBS=$LIBS
11836 cat >conftest.$ac_ext <<_ACEOF
11839 cat confdefs.h >>conftest.$ac_ext
11840 cat >>conftest.$ac_ext <<_ACEOF
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11849 char esd_open_sound ();
11853 return esd_open_sound ();
11858 rm -f conftest.$ac_objext conftest$ac_exeext
11859 if { (ac_try="$ac_link"
11860 case "(($ac_try" in
11861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11862 *) ac_try_echo
=$ac_try;;
11864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11865 (eval "$ac_link") 2>conftest.er1
11867 grep -v '^ *+' conftest.er1
>conftest.err
11869 cat conftest.err
>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } && {
11872 test -z "$ac_c_werror_flag" ||
11873 test ! -s conftest.err
11874 } && test -s conftest
$ac_exeext &&
11875 $as_test_x conftest
$ac_exeext; then
11876 ac_cv_lib_esd_esd_open_sound
=yes
11878 echo "$as_me: failed program was:" >&5
11879 sed 's/^/| /' conftest.
$ac_ext >&5
11881 ac_cv_lib_esd_esd_open_sound
=no
11884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11885 conftest
$ac_exeext conftest.
$ac_ext
11886 LIBS
=$ac_check_lib_save_LIBS
11888 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11889 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11890 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11893 ESDINCL
=$ESD_CFLAGS
11896 cat >>confdefs.h
<<\_ACEOF
11902 CFLAGS
="$save_CFLAGS"
11907 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11909 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11910 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11911 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 ac_check_lib_save_LIBS
=$LIBS
11915 LIBS
="-lasound $LIBS"
11916 cat >conftest.
$ac_ext <<_ACEOF
11919 cat confdefs.h
>>conftest.
$ac_ext
11920 cat >>conftest.
$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11923 /* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11929 char snd_pcm_hw_params_get_access ();
11933 return snd_pcm_hw_params_get_access ();
11938 rm -f conftest.
$ac_objext conftest
$ac_exeext
11939 if { (ac_try
="$ac_link"
11940 case "(($ac_try" in
11941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11942 *) ac_try_echo=$ac_try;;
11944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11945 (eval "$ac_link") 2>conftest.er1
11947 grep -v '^ *+' conftest.er1 >conftest.err
11949 cat conftest.err >&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } && {
11952 test -z "$ac_c_werror_flag" ||
11953 test ! -s conftest.err
11954 } && test -s conftest$ac_exeext &&
11955 $as_test_x conftest$ac_exeext; then
11956 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11961 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11965 conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11968 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11969 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
11970 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11971 cat >conftest.$ac_ext <<_ACEOF
11974 cat confdefs.h >>conftest.$ac_ext
11975 cat >>conftest.$ac_ext <<_ACEOF
11976 /* end confdefs.h. */
11977 #ifdef HAVE_ALSA_ASOUNDLIB_H
11978 #include <alsa/asoundlib.h>
11979 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11980 #include <sys/asoundlib.h>
11985 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11990 rm -f conftest.$ac_objext
11991 if { (ac_try="$ac_compile"
11992 case "(($ac_try" in
11993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11994 *) ac_try_echo
=$ac_try;;
11996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11997 (eval "$ac_compile") 2>conftest.er1
11999 grep -v '^ *+' conftest.er1
>conftest.err
12001 cat conftest.err
>&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); } && {
12004 test -z "$ac_c_werror_flag" ||
12005 test ! -s conftest.err
12006 } && test -s conftest.
$ac_objext; then
12008 cat >>confdefs.h
<<\_ACEOF
12009 #define HAVE_ALSA 1
12012 ALSALIBS
="-lasound"
12014 echo "$as_me: failed program was:" >&5
12015 sed 's/^/| /' conftest.
$ac_ext >&5
12020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12028 if test "$ac_cv_header_libaudioio_h" = "yes"
12030 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12031 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12032 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 ac_check_lib_save_LIBS
=$LIBS
12036 LIBS
="-laudioio $LIBS"
12037 cat >conftest.
$ac_ext <<_ACEOF
12040 cat confdefs.h
>>conftest.
$ac_ext
12041 cat >>conftest.
$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12044 /* Override any GCC internal prototype to avoid an error.
12045 Use char because int might match the return type of a GCC
12046 builtin and then its argument prototype would still apply. */
12050 char AudioIOGetVersion ();
12054 return AudioIOGetVersion ();
12059 rm -f conftest.
$ac_objext conftest
$ac_exeext
12060 if { (ac_try
="$ac_link"
12061 case "(($ac_try" in
12062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12063 *) ac_try_echo=$ac_try;;
12065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12066 (eval "$ac_link") 2>conftest.er1
12068 grep -v '^ *+' conftest.er1 >conftest.err
12070 cat conftest.err >&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } && {
12073 test -z "$ac_c_werror_flag" ||
12074 test ! -s conftest.err
12075 } && test -s conftest$ac_exeext &&
12076 $as_test_x conftest$ac_exeext; then
12077 ac_cv_lib_audioio_AudioIOGetVersion=yes
12079 echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.$ac_ext >&5
12082 ac_cv_lib_audioio_AudioIOGetVersion=no
12085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_lib_save_LIBS
12089 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12090 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12091 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12092 AUDIOIOLIBS="-laudioio"
12094 cat >>confdefs.h <<\_ACEOF
12095 #define HAVE_LIBAUDIOIO 1
12103 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12105 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12106 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12107 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 ac_check_lib_save_LIBS=$LIBS
12111 LIBS="-lcapi20 $LIBS"
12112 cat >conftest.$ac_ext <<_ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12125 char capi20_register ();
12129 return capi20_register ();
12134 rm -f conftest.$ac_objext conftest$ac_exeext
12135 if { (ac_try="$ac_link"
12136 case "(($ac_try" in
12137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12138 *) ac_try_echo
=$ac_try;;
12140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12141 (eval "$ac_link") 2>conftest.er1
12143 grep -v '^ *+' conftest.er1
>conftest.err
12145 cat conftest.err
>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); } && {
12148 test -z "$ac_c_werror_flag" ||
12149 test ! -s conftest.err
12150 } && test -s conftest
$ac_exeext &&
12151 $as_test_x conftest
$ac_exeext; then
12152 ac_cv_lib_capi20_capi20_register
=yes
12154 echo "$as_me: failed program was:" >&5
12155 sed 's/^/| /' conftest.
$ac_ext >&5
12157 ac_cv_lib_capi20_capi20_register
=no
12160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12161 conftest
$ac_exeext conftest.
$ac_ext
12162 LIBS
=$ac_check_lib_save_LIBS
12164 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12165 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12166 if test $ac_cv_lib_capi20_capi20_register = yes; then
12168 cat >>confdefs.h
<<\_ACEOF
12169 #define HAVE_CAPI4LINUX 1
12179 if test "x${GCC}" = "xyes"
12181 EXTRACFLAGS
="-Wall -pipe"
12183 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12184 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12185 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12186 echo $ECHO_N "(cached) $ECHO_C" >&6
12188 if test "$cross_compiling" = yes; then
12189 ac_cv_c_gcc_strength_bug
="yes"
12191 cat >conftest.
$ac_ext <<_ACEOF
12194 cat confdefs.h
>>conftest.
$ac_ext
12195 cat >>conftest.
$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12198 int L[4] = {0,1,2,3};
12200 static int Array[3];
12201 unsigned int B = 3;
12203 for(i=0; i<B; i++) Array[i] = i - 3;
12204 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12207 exit( Array[1] != -2 || L[2] != 3);
12210 rm -f conftest
$ac_exeext
12211 if { (ac_try
="$ac_link"
12212 case "(($ac_try" in
12213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12214 *) ac_try_echo=$ac_try;;
12216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12217 (eval "$ac_link") 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12221 { (case "(($ac_try" in
12222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12223 *) ac_try_echo
=$ac_try;;
12225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12226 (eval "$ac_try") 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; }; then
12230 ac_cv_c_gcc_strength_bug
="no"
12232 echo "$as_me: program exited with status $ac_status" >&5
12233 echo "$as_me: failed program was:" >&5
12234 sed 's/^/| /' conftest.
$ac_ext >&5
12236 ( exit $ac_status )
12237 ac_cv_c_gcc_strength_bug
="yes"
12239 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12244 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12245 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12246 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12248 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12252 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12253 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12254 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12255 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 ac_wine_try_cflags_saved
=$CFLAGS
12258 CFLAGS
="$CFLAGS -fshort-wchar"
12259 cat >conftest.
$ac_ext <<_ACEOF
12262 cat confdefs.h
>>conftest.
$ac_ext
12263 cat >>conftest.
$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12274 rm -f conftest.
$ac_objext conftest
$ac_exeext
12275 if { (ac_try
="$ac_link"
12276 case "(($ac_try" in
12277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12278 *) ac_try_echo=$ac_try;;
12280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12281 (eval "$ac_link") 2>conftest.er1
12283 grep -v '^ *+' conftest.er1 >conftest.err
12285 cat conftest.err >&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } && {
12288 test -z "$ac_c_werror_flag" ||
12289 test ! -s conftest.err
12290 } && test -s conftest$ac_exeext &&
12291 $as_test_x conftest$ac_exeext; then
12292 ac_cv_cflags__fshort_wchar=yes
12294 echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.$ac_ext >&5
12297 ac_cv_cflags__fshort_wchar=no
12300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12301 conftest$ac_exeext conftest.$ac_ext
12302 CFLAGS=$ac_wine_try_cflags_saved
12304 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12305 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12306 if test $ac_cv_cflags__fshort_wchar = yes; then
12308 cat >>confdefs.h <<\_ACEOF
12309 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12314 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12315 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12316 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 ac_wine_try_cflags_saved=$CFLAGS
12320 CFLAGS="$CFLAGS -fno-strict-aliasing"
12321 cat >conftest.$ac_ext <<_ACEOF
12324 cat confdefs.h >>conftest.$ac_ext
12325 cat >>conftest.$ac_ext <<_ACEOF
12326 /* end confdefs.h. */
12336 rm -f conftest.$ac_objext conftest$ac_exeext
12337 if { (ac_try="$ac_link"
12338 case "(($ac_try" in
12339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12340 *) ac_try_echo
=$ac_try;;
12342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12343 (eval "$ac_link") 2>conftest.er1
12345 grep -v '^ *+' conftest.er1
>conftest.err
12347 cat conftest.err
>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } && {
12350 test -z "$ac_c_werror_flag" ||
12351 test ! -s conftest.err
12352 } && test -s conftest
$ac_exeext &&
12353 $as_test_x conftest
$ac_exeext; then
12354 ac_cv_cflags__fno_strict_aliasing
=yes
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.
$ac_ext >&5
12359 ac_cv_cflags__fno_strict_aliasing
=no
12362 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12363 conftest
$ac_exeext conftest.
$ac_ext
12364 CFLAGS
=$ac_wine_try_cflags_saved
12366 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12367 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12368 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12369 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12372 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12373 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12374 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 ac_wine_try_cflags_saved
=$CFLAGS
12378 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12379 cat >conftest.
$ac_ext <<_ACEOF
12382 cat confdefs.h
>>conftest.
$ac_ext
12383 cat >>conftest.
$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12394 rm -f conftest.
$ac_objext conftest
$ac_exeext
12395 if { (ac_try
="$ac_link"
12396 case "(($ac_try" in
12397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12398 *) ac_try_echo=$ac_try;;
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_link") 2>conftest.er1
12403 grep -v '^ *+' conftest.er1 >conftest.err
12405 cat conftest.err >&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); } && {
12408 test -z "$ac_c_werror_flag" ||
12409 test ! -s conftest.err
12410 } && test -s conftest$ac_exeext &&
12411 $as_test_x conftest$ac_exeext; then
12412 ac_cv_cflags__Wdeclaration_after_statement=yes
12414 echo "$as_me: failed program was:" >&5
12415 sed 's/^/| /' conftest.$ac_ext >&5
12417 ac_cv_cflags__Wdeclaration_after_statement=no
12420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12421 conftest$ac_exeext conftest.$ac_ext
12422 CFLAGS=$ac_wine_try_cflags_saved
12424 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12425 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12426 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12427 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12430 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12431 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12432 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12435 ac_wine_try_cflags_saved=$CFLAGS
12436 CFLAGS="$CFLAGS -Wwrite-strings"
12437 cat >conftest.$ac_ext <<_ACEOF
12440 cat confdefs.h >>conftest.$ac_ext
12441 cat >>conftest.$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12452 rm -f conftest.$ac_objext conftest$ac_exeext
12453 if { (ac_try="$ac_link"
12454 case "(($ac_try" in
12455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12456 *) ac_try_echo
=$ac_try;;
12458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12459 (eval "$ac_link") 2>conftest.er1
12461 grep -v '^ *+' conftest.er1
>conftest.err
12463 cat conftest.err
>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } && {
12466 test -z "$ac_c_werror_flag" ||
12467 test ! -s conftest.err
12468 } && test -s conftest
$ac_exeext &&
12469 $as_test_x conftest
$ac_exeext; then
12470 ac_cv_cflags__Wwrite_strings
=yes
12472 echo "$as_me: failed program was:" >&5
12473 sed 's/^/| /' conftest.
$ac_ext >&5
12475 ac_cv_cflags__Wwrite_strings
=no
12478 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12479 conftest
$ac_exeext conftest.
$ac_ext
12480 CFLAGS
=$ac_wine_try_cflags_saved
12482 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12483 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12484 if test $ac_cv_cflags__Wwrite_strings = yes; then
12485 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12489 saved_CFLAGS
="$CFLAGS"
12490 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12491 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12492 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12493 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 cat >conftest.
$ac_ext <<_ACEOF
12499 cat confdefs.h
>>conftest.
$ac_ext
12500 cat >>conftest.
$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 #include <string.h>
12511 rm -f conftest.
$ac_objext
12512 if { (ac_try
="$ac_compile"
12513 case "(($ac_try" in
12514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12515 *) ac_try_echo=$ac_try;;
12517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12518 (eval "$ac_compile") 2>conftest.er1
12520 grep -v '^ *+' conftest.er1 >conftest.err
12522 cat conftest.err >&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); } && {
12525 test -z "$ac_c_werror_flag" ||
12526 test ! -s conftest.err
12527 } && test -s conftest.$ac_objext; then
12528 ac_cv_c_string_h_warnings=no
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12533 ac_cv_c_string_h_warnings=yes
12536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12538 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12539 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12540 CFLAGS="$saved_CFLAGS"
12541 if test "$ac_cv_c_string_h_warnings" = "no"
12543 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12548 saved_CFLAGS="$CFLAGS"
12549 CFLAGS="$CFLAGS -Werror"
12550 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12551 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12552 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 cat >conftest.$ac_ext <<_ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12565 int iswlower(unsigned short);
12570 rm -f conftest.$ac_objext
12571 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
12587 ac_cv_c_builtin_wchar_ctype
=no
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.
$ac_ext >&5
12592 ac_cv_c_builtin_wchar_ctype
=yes
12595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12597 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12598 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12599 CFLAGS
="$saved_CFLAGS"
12600 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12602 BUILTINFLAG
="-fno-builtin"
12607 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12608 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12609 if test "${ac_cv_asm_func_def+set}" = set; then
12610 echo $ECHO_N "(cached) $ECHO_C" >&6
12612 cat >conftest.
$ac_ext <<_ACEOF
12615 cat confdefs.h
>>conftest.
$ac_ext
12616 cat >>conftest.
$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12618 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"); }
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_asm_func_def=".def"
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.$ac_ext >&5
12651 cat >conftest.$ac_ext <<_ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12667 rm -f conftest.$ac_objext conftest$ac_exeext
12668 if { (ac_try="$ac_link"
12669 case "(($ac_try" in
12670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12671 *) ac_try_echo
=$ac_try;;
12673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12674 (eval "$ac_link") 2>conftest.er1
12676 grep -v '^ *+' conftest.er1
>conftest.err
12678 cat conftest.err
>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); } && {
12681 test -z "$ac_c_werror_flag" ||
12682 test ! -s conftest.err
12683 } && test -s conftest
$ac_exeext &&
12684 $as_test_x conftest
$ac_exeext; then
12685 ac_cv_asm_func_def
=".type @function"
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.
$ac_ext >&5
12690 cat >conftest.
$ac_ext <<_ACEOF
12693 cat confdefs.h
>>conftest.
$ac_ext
12694 cat >>conftest.
$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12706 rm -f conftest.
$ac_objext conftest
$ac_exeext
12707 if { (ac_try
="$ac_link"
12708 case "(($ac_try" in
12709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12710 *) ac_try_echo=$ac_try;;
12712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12713 (eval "$ac_link") 2>conftest.er1
12715 grep -v '^ *+' conftest.er1 >conftest.err
12717 cat conftest.err >&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } && {
12720 test -z "$ac_c_werror_flag" ||
12721 test ! -s conftest.err
12722 } && test -s conftest$ac_exeext &&
12723 $as_test_x conftest$ac_exeext; then
12724 ac_cv_asm_func_def=".type 2"
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12729 ac_cv_asm_func_def="unknown"
12732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12733 conftest$ac_exeext conftest.$ac_ext
12736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12737 conftest$ac_exeext conftest.$ac_ext
12740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12741 conftest$ac_exeext conftest.$ac_ext
12743 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12744 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12748 case "$ac_cv_asm_func_def" in
12750 cat >>confdefs.h <<\_ACEOF
12751 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12755 cat >>confdefs.h <<\_ACEOF
12756 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12760 cat >>confdefs.h <<\_ACEOF
12761 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12765 cat >>confdefs.h <<\_ACEOF
12766 #define __ASM_FUNC(name) ""
12772 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12773 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12774 if test "${ac_cv_c_extern_prefix+set}" = set; then
12775 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 cat >conftest.$ac_ext <<_ACEOF
12780 cat confdefs.h >>conftest.$ac_ext
12781 cat >>conftest.$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12783 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12784 extern int ac_test;
12788 if (ac_test) return 1
12793 rm -f conftest.$ac_objext conftest$ac_exeext
12794 if { (ac_try="$ac_link"
12795 case "(($ac_try" in
12796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12797 *) ac_try_echo
=$ac_try;;
12799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12800 (eval "$ac_link") 2>conftest.er1
12802 grep -v '^ *+' conftest.er1
>conftest.err
12804 cat conftest.err
>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } && {
12807 test -z "$ac_c_werror_flag" ||
12808 test ! -s conftest.err
12809 } && test -s conftest
$ac_exeext &&
12810 $as_test_x conftest
$ac_exeext; then
12811 ac_cv_c_extern_prefix
="yes"
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.
$ac_ext >&5
12816 ac_cv_c_extern_prefix
="no"
12819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12820 conftest
$ac_exeext conftest.
$ac_ext
12822 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12823 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12827 if test "$ac_cv_c_extern_prefix" = "yes"
12829 cat >>confdefs.h
<<\_ACEOF
12830 #define __ASM_NAME(name) "_" name
12834 cat >>confdefs.h
<<\_ACEOF
12835 #define __ASM_NAME(name) name
12843 DLLFLAGS
="-D_REENTRANT"
12858 if test -n "$ac_tool_prefix"; then
12859 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12860 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
12861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12863 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 if test -n "$DLLTOOL"; then
12867 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
12869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12870 for as_dir
in $PATH
12873 test -z "$as_dir" && as_dir
=.
12874 for ac_exec_ext
in '' $ac_executable_extensions; do
12875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12876 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
12877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12886 DLLTOOL
=$ac_cv_prog_DLLTOOL
12887 if test -n "$DLLTOOL"; then
12888 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12889 echo "${ECHO_T}$DLLTOOL" >&6; }
12891 { echo "$as_me:$LINENO: result: no" >&5
12892 echo "${ECHO_T}no" >&6; }
12897 if test -z "$ac_cv_prog_DLLTOOL"; then
12898 ac_ct_DLLTOOL
=$DLLTOOL
12899 # Extract the first word of "dlltool", so it can be a program name with args.
12900 set dummy dlltool
; ac_word
=$2
12901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12903 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 if test -n "$ac_ct_DLLTOOL"; then
12907 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
12909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12910 for as_dir
in $PATH
12913 test -z "$as_dir" && as_dir
=.
12914 for ac_exec_ext
in '' $ac_executable_extensions; do
12915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12916 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
12917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12926 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
12927 if test -n "$ac_ct_DLLTOOL"; then
12928 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12929 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12931 { echo "$as_me:$LINENO: result: no" >&5
12932 echo "${ECHO_T}no" >&6; }
12935 if test "x$ac_ct_DLLTOOL" = x
; then
12938 case $cross_compiling:$ac_tool_warned in
12940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12941 whose name does not start with the host triplet. If you think this
12942 configuration is useful to you, please write to autoconf@gnu.org." >&5
12943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12944 whose name does not start with the host triplet. If you think this
12945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12946 ac_tool_warned
=yes ;;
12948 DLLTOOL
=$ac_ct_DLLTOOL
12951 DLLTOOL
="$ac_cv_prog_DLLTOOL"
12954 if test -n "$ac_tool_prefix"; then
12955 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12956 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
12957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12959 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 if test -n "$DLLWRAP"; then
12963 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
12965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12966 for as_dir
in $PATH
12969 test -z "$as_dir" && as_dir
=.
12970 for ac_exec_ext
in '' $ac_executable_extensions; do
12971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12972 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
12973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12982 DLLWRAP
=$ac_cv_prog_DLLWRAP
12983 if test -n "$DLLWRAP"; then
12984 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
12985 echo "${ECHO_T}$DLLWRAP" >&6; }
12987 { echo "$as_me:$LINENO: result: no" >&5
12988 echo "${ECHO_T}no" >&6; }
12993 if test -z "$ac_cv_prog_DLLWRAP"; then
12994 ac_ct_DLLWRAP
=$DLLWRAP
12995 # Extract the first word of "dllwrap", so it can be a program name with args.
12996 set dummy dllwrap
; ac_word
=$2
12997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12999 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 if test -n "$ac_ct_DLLWRAP"; then
13003 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13006 for as_dir
in $PATH
13009 test -z "$as_dir" && as_dir
=.
13010 for ac_exec_ext
in '' $ac_executable_extensions; do
13011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13012 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13022 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13023 if test -n "$ac_ct_DLLWRAP"; then
13024 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13025 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13027 { echo "$as_me:$LINENO: result: no" >&5
13028 echo "${ECHO_T}no" >&6; }
13031 if test "x$ac_ct_DLLWRAP" = x
; then
13034 case $cross_compiling:$ac_tool_warned in
13036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13037 whose name does not start with the host triplet. If you think this
13038 configuration is useful to you, please write to autoconf@gnu.org." >&5
13039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13040 whose name does not start with the host triplet. If you think this
13041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13042 ac_tool_warned
=yes ;;
13044 DLLWRAP
=$ac_ct_DLLWRAP
13047 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13050 if test -n "$ac_tool_prefix"; then
13051 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13052 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13055 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 if test -n "$MINGWAR"; then
13059 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
13061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13062 for as_dir
in $PATH
13065 test -z "$as_dir" && as_dir
=.
13066 for ac_exec_ext
in '' $ac_executable_extensions; do
13067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13068 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
13069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13078 MINGWAR
=$ac_cv_prog_MINGWAR
13079 if test -n "$MINGWAR"; then
13080 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13081 echo "${ECHO_T}$MINGWAR" >&6; }
13083 { echo "$as_me:$LINENO: result: no" >&5
13084 echo "${ECHO_T}no" >&6; }
13089 if test -z "$ac_cv_prog_MINGWAR"; then
13090 ac_ct_MINGWAR
=$MINGWAR
13091 # Extract the first word of "ar", so it can be a program name with args.
13092 set dummy
ar; ac_word
=$2
13093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13095 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 if test -n "$ac_ct_MINGWAR"; then
13099 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
13101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13102 for as_dir
in $PATH
13105 test -z "$as_dir" && as_dir
=.
13106 for ac_exec_ext
in '' $ac_executable_extensions; do
13107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13108 ac_cv_prog_ac_ct_MINGWAR
="ar"
13109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13118 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
13119 if test -n "$ac_ct_MINGWAR"; then
13120 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13121 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13123 { echo "$as_me:$LINENO: result: no" >&5
13124 echo "${ECHO_T}no" >&6; }
13127 if test "x$ac_ct_MINGWAR" = x
; then
13130 case $cross_compiling:$ac_tool_warned in
13132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13133 whose name does not start with the host triplet. If you think this
13134 configuration is useful to you, please write to autoconf@gnu.org." >&5
13135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13136 whose name does not start with the host triplet. If you think this
13137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13138 ac_tool_warned
=yes ;;
13140 MINGWAR
=$ac_ct_MINGWAR
13143 MINGWAR
="$ac_cv_prog_MINGWAR"
13146 if test "$DLLWRAP" = "false"; then
13158 DLLFLAGS
="$DLLFLAGS -fPIC"
13159 LDDLLFLAGS
="-bundle -multiply_defined suppress"
13160 LIBWINE_LDFLAGS
="-multiply_defined suppress"
13161 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13162 STRIP
="$STRIP -u -r"
13163 COREFOUNDATIONLIB
="-framework CoreFoundation"
13165 IOKITLIB
="-framework IOKit -framework CoreFoundation"
13167 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13169 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13171 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
13174 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13176 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13181 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
13183 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13185 CARBONLIB
="-framework Carbon"
13187 QUARTZFILES
='$(QUARTZFILES)'
13191 DLLFLAGS
="$DLLFLAGS -fPIC"
13193 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13194 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13195 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13196 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 ac_wine_try_cflags_saved
=$CFLAGS
13199 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13200 cat >conftest.
$ac_ext <<_ACEOF
13203 rm -f conftest.
$ac_objext conftest
$ac_exeext
13204 if { (ac_try
="$ac_link"
13205 case "(($ac_try" in
13206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_link") 2>conftest.er1
13212 grep -v '^ *+' conftest.er1 >conftest.err
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } && {
13217 test -z "$ac_c_werror_flag" ||
13218 test ! -s conftest.err
13219 } && test -s conftest$ac_exeext &&
13220 $as_test_x conftest$ac_exeext; then
13221 ac_cv_c_dll_gnuelf="yes"
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.$ac_ext >&5
13226 ac_cv_c_dll_gnuelf="no"
13229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13230 conftest$ac_exeext conftest.$ac_ext
13231 CFLAGS=$ac_wine_try_cflags_saved
13233 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13234 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13235 if test "$ac_cv_c_dll_gnuelf" = "yes"
13237 LDSHARED="\$(CC) -shared"
13238 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13239 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13240 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13241 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13244 ac_wine_try_cflags_saved=$CFLAGS
13245 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13246 cat >conftest.$ac_ext <<_ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13261 rm -f conftest.$ac_objext conftest$ac_exeext
13262 if { (ac_try="$ac_link"
13263 case "(($ac_try" in
13264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13265 *) ac_try_echo
=$ac_try;;
13267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 (eval "$ac_link") 2>conftest.er1
13270 grep -v '^ *+' conftest.er1
>conftest.err
13272 cat conftest.err
>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } && {
13275 test -z "$ac_c_werror_flag" ||
13276 test ! -s conftest.err
13277 } && test -s conftest
$ac_exeext &&
13278 $as_test_x conftest
$ac_exeext; then
13279 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
13287 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13288 conftest
$ac_exeext conftest.
$ac_ext
13289 CFLAGS
=$ac_wine_try_cflags_saved
13291 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13292 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13293 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13294 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13296 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13297 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13298 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13299 echo $ECHO_N "(cached) $ECHO_C" >&6
13301 ac_wine_try_cflags_saved
=$CFLAGS
13302 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13303 cat >conftest.
$ac_ext <<_ACEOF
13306 cat confdefs.h
>>conftest.
$ac_ext
13307 cat >>conftest.
$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13318 rm -f conftest.
$ac_objext conftest
$ac_exeext
13319 if { (ac_try
="$ac_link"
13320 case "(($ac_try" in
13321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13322 *) ac_try_echo=$ac_try;;
13324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13325 (eval "$ac_link") 2>conftest.er1
13327 grep -v '^ *+' conftest.er1 >conftest.err
13329 cat conftest.err >&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } && {
13332 test -z "$ac_c_werror_flag" ||
13333 test ! -s conftest.err
13334 } && test -s conftest$ac_exeext &&
13335 $as_test_x conftest$ac_exeext; then
13336 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13341 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13345 conftest$ac_exeext conftest.$ac_ext
13346 CFLAGS=$ac_wine_try_cflags_saved
13348 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13349 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13350 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13351 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13357 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13358 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13359 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13360 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 ac_wine_try_cflags_saved=$CFLAGS
13363 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13364 cat >conftest.$ac_ext <<_ACEOF
13367 cat confdefs.h >>conftest.$ac_ext
13368 cat >>conftest.$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
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_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.
$ac_ext >&5
13402 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=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_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13410 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13411 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13412 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13416 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13417 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13418 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13421 ac_wine_try_cflags_saved
=$CFLAGS
13422 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13423 cat >conftest.
$ac_ext <<_ACEOF
13426 cat confdefs.h
>>conftest.
$ac_ext
13427 cat >>conftest.
$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13438 rm -f conftest.
$ac_objext conftest
$ac_exeext
13439 if { (ac_try
="$ac_link"
13440 case "(($ac_try" in
13441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_link") 2>conftest.er1
13447 grep -v '^ *+' conftest.er1 >conftest.err
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest$ac_exeext &&
13455 $as_test_x conftest$ac_exeext; then
13456 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13466 CFLAGS=$ac_wine_try_cflags_saved
13468 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13469 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13470 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13471 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13475 echo '{ global: *; };' >conftest.map
13476 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13477 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13478 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 ac_wine_try_cflags_saved=$CFLAGS
13482 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13483 cat >conftest.$ac_ext <<_ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13498 rm -f conftest.$ac_objext conftest$ac_exeext
13499 if { (ac_try="$ac_link"
13500 case "(($ac_try" in
13501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13502 *) ac_try_echo
=$ac_try;;
13504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_link") 2>conftest.er1
13507 grep -v '^ *+' conftest.er1
>conftest.err
13509 cat conftest.err
>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } && {
13512 test -z "$ac_c_werror_flag" ||
13513 test ! -s conftest.err
13514 } && test -s conftest
$ac_exeext &&
13515 $as_test_x conftest
$ac_exeext; then
13516 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.
$ac_ext >&5
13521 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
13524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13525 conftest
$ac_exeext conftest.
$ac_ext
13526 CFLAGS
=$ac_wine_try_cflags_saved
13528 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13529 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13530 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13531 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13536 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13537 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13538 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13541 ac_wine_try_cflags_saved
=$CFLAGS
13542 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13543 cat >conftest.
$ac_ext <<_ACEOF
13546 cat confdefs.h
>>conftest.
$ac_ext
13547 cat >>conftest.
$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13558 rm -f conftest.
$ac_objext conftest
$ac_exeext
13559 if { (ac_try
="$ac_link"
13560 case "(($ac_try" in
13561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13562 *) ac_try_echo=$ac_try;;
13564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13565 (eval "$ac_link") 2>conftest.er1
13567 grep -v '^ *+' conftest.er1 >conftest.err
13569 cat conftest.err >&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } && {
13572 test -z "$ac_c_werror_flag" ||
13573 test ! -s conftest.err
13574 } && test -s conftest$ac_exeext &&
13575 $as_test_x conftest$ac_exeext; then
13576 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.$ac_ext >&5
13581 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13585 conftest$ac_exeext conftest.$ac_ext
13586 CFLAGS=$ac_wine_try_cflags_saved
13588 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13589 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13590 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13591 LDEXECFLAGS="-Wl,--export-dynamic"
13596 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
13597 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13598 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 ac_wine_try_cflags_saved=$CFLAGS
13603 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13604 cat >conftest.$ac_ext <<_ACEOF
13607 cat confdefs.h >>conftest.$ac_ext
13608 cat >>conftest.$ac_ext <<_ACEOF
13609 /* end confdefs.h. */
13619 rm -f conftest.$ac_objext conftest$ac_exeext
13620 if { (ac_try="$ac_link"
13621 case "(($ac_try" in
13622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13623 *) ac_try_echo
=$ac_try;;
13625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13626 (eval "$ac_link") 2>conftest.er1
13628 grep -v '^ *+' conftest.er1
>conftest.err
13630 cat conftest.err
>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } && {
13633 test -z "$ac_c_werror_flag" ||
13634 test ! -s conftest.err
13635 } && test -s conftest
$ac_exeext &&
13636 $as_test_x conftest
$ac_exeext; then
13637 eval "$as_ac_var=yes"
13639 echo "$as_me: failed program was:" >&5
13640 sed 's/^/| /' conftest.
$ac_ext >&5
13642 eval "$as_ac_var=no"
13645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13646 conftest
$ac_exeext conftest.
$ac_ext
13647 CFLAGS
=$ac_wine_try_cflags_saved
13649 ac_res
=`eval echo '${'$as_ac_var'}'`
13650 { echo "$as_me:$LINENO: result: $ac_res" >&5
13651 echo "${ECHO_T}$ac_res" >&6; }
13652 if test `eval echo '${'$as_ac_var'}'` = yes; then
13653 LIBWINE_LDFLAGS
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13658 *i
[3456789]86* | x86_64
)
13659 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13660 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13661 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13662 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 ac_wine_try_cflags_saved
=$CFLAGS
13665 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13666 cat >conftest.
$ac_ext <<_ACEOF
13669 cat confdefs.h
>>conftest.
$ac_ext
13670 cat >>conftest.
$ac_ext <<_ACEOF
13671 /* end confdefs.h. */
13681 rm -f conftest.
$ac_objext conftest
$ac_exeext
13682 if { (ac_try
="$ac_link"
13683 case "(($ac_try" in
13684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13685 *) ac_try_echo=$ac_try;;
13687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13688 (eval "$ac_link") 2>conftest.er1
13690 grep -v '^ *+' conftest.er1 >conftest.err
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && {
13695 test -z "$ac_c_werror_flag" ||
13696 test ! -s conftest.err
13697 } && test -s conftest$ac_exeext &&
13698 $as_test_x conftest$ac_exeext; then
13699 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.$ac_ext >&5
13704 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13708 conftest$ac_exeext conftest.$ac_ext
13709 CFLAGS=$ac_wine_try_cflags_saved
13711 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13712 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13713 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13714 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13721 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13722 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13723 if test "${ac_cv_c_dll_unixware+set}" = set; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 ac_wine_try_cflags_saved=$CFLAGS
13727 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13728 cat >conftest.$ac_ext <<_ACEOF
13731 rm -f conftest.$ac_objext conftest$ac_exeext
13732 if { (ac_try="$ac_link"
13733 case "(($ac_try" in
13734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13735 *) ac_try_echo
=$ac_try;;
13737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13738 (eval "$ac_link") 2>conftest.er1
13740 grep -v '^ *+' conftest.er1
>conftest.err
13742 cat conftest.err
>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } && {
13745 test -z "$ac_c_werror_flag" ||
13746 test ! -s conftest.err
13747 } && test -s conftest
$ac_exeext &&
13748 $as_test_x conftest
$ac_exeext; then
13749 ac_cv_c_dll_unixware
="yes"
13751 echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.
$ac_ext >&5
13754 ac_cv_c_dll_unixware
="no"
13757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13758 conftest
$ac_exeext conftest.
$ac_ext
13759 CFLAGS
=$ac_wine_try_cflags_saved
13761 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13762 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13763 if test "$ac_cv_c_dll_unixware" = "yes"
13765 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13766 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13769 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13770 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13771 if test "${ac_cv_c_dll_hpux+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13774 ac_wine_try_cflags_saved
=$CFLAGS
13775 CFLAGS
="$CFLAGS -shared"
13776 cat >conftest.
$ac_ext <<_ACEOF
13779 rm -f conftest.
$ac_objext conftest
$ac_exeext
13780 if { (ac_try
="$ac_link"
13781 case "(($ac_try" in
13782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13783 *) ac_try_echo=$ac_try;;
13785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13786 (eval "$ac_link") 2>conftest.er1
13788 grep -v '^ *+' conftest.er1 >conftest.err
13790 cat conftest.err >&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } && {
13793 test -z "$ac_c_werror_flag" ||
13794 test ! -s conftest.err
13795 } && test -s conftest$ac_exeext &&
13796 $as_test_x conftest$ac_exeext; then
13797 ac_cv_c_dll_hpux="yes"
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.$ac_ext >&5
13802 ac_cv_c_dll_hpux="no"
13805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13806 conftest$ac_exeext conftest.$ac_ext
13807 CFLAGS=$ac_wine_try_cflags_saved
13809 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13810 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13811 if test "$ac_cv_c_dll_hpux" = "yes"
13815 LDDLLFLAGS="-shared -fPIC"
13816 LDSHARED="\$(CC) -shared"
13823 if test "$cross_compiling" = "no"
13825 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13827 # Extract the first word of "$ac_prog", so it can be a program name with args.
13828 set dummy $ac_prog; ac_word=$2
13829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13831 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 if test -n "$CROSSCC"; then
13835 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13838 for as_dir in $PATH
13841 test -z "$as_dir" && as_dir=.
13842 for ac_exec_ext in '' $ac_executable_extensions; do
13843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13844 ac_cv_prog_CROSSCC="$ac_prog"
13845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 CROSSCC=$ac_cv_prog_CROSSCC
13855 if test -n "$CROSSCC"; then
13856 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13857 echo "${ECHO_T}$CROSSCC" >&6; }
13859 { echo "$as_me:$LINENO: result: no" >&5
13860 echo "${ECHO_T}no" >&6; }
13864 test -n "$CROSSCC" && break
13866 test -n "$CROSSCC" || CROSSCC="false"
13868 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13870 # Extract the first word of "$ac_prog", so it can be a program name with args.
13871 set dummy $ac_prog; ac_word=$2
13872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13874 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 if test -n "$DLLTOOL"; then
13878 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13881 for as_dir in $PATH
13884 test -z "$as_dir" && as_dir=.
13885 for ac_exec_ext in '' $ac_executable_extensions; do
13886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13887 ac_cv_prog_DLLTOOL="$ac_prog"
13888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13897 DLLTOOL=$ac_cv_prog_DLLTOOL
13898 if test -n "$DLLTOOL"; then
13899 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13900 echo "${ECHO_T}$DLLTOOL" >&6; }
13902 { echo "$as_me:$LINENO: result: no" >&5
13903 echo "${ECHO_T}no" >&6; }
13907 test -n "$DLLTOOL" && break
13909 test -n "$DLLTOOL" || DLLTOOL="false"
13911 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
13913 # Extract the first word of "$ac_prog", so it can be a program name with args.
13914 set dummy $ac_prog; ac_word=$2
13915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13917 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
13918 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 if test -n "$CROSSWINDRES"; then
13921 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
13923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13924 for as_dir in $PATH
13927 test -z "$as_dir" && as_dir=.
13928 for ac_exec_ext in '' $ac_executable_extensions; do
13929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13930 ac_cv_prog_CROSSWINDRES="$ac_prog"
13931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13940 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
13941 if test -n "$CROSSWINDRES"; then
13942 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
13943 echo "${ECHO_T}$CROSSWINDRES" >&6; }
13945 { echo "$as_me:$LINENO: result: no" >&5
13946 echo "${ECHO_T}no" >&6; }
13950 test -n "$CROSSWINDRES" && break
13952 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
13954 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
13956 # Extract the first word of "$ac_prog", so it can be a program name with args.
13957 set dummy $ac_prog; ac_word=$2
13958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13960 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 if test -n "$MINGWAR"; then
13964 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13967 for as_dir in $PATH
13970 test -z "$as_dir" && as_dir=.
13971 for ac_exec_ext in '' $ac_executable_extensions; do
13972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13973 ac_cv_prog_MINGWAR="$ac_prog"
13974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13983 MINGWAR=$ac_cv_prog_MINGWAR
13984 if test -n "$MINGWAR"; then
13985 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13986 echo "${ECHO_T}$MINGWAR" >&6; }
13988 { echo "$as_me:$LINENO: result: no" >&5
13989 echo "${ECHO_T}no" >&6; }
13993 test -n "$MINGWAR" && break
13995 test -n "$MINGWAR" || MINGWAR="false"
13997 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14002 if test "$LIBEXT" = "a"; then
14003 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14004 It is currently not possible to build Wine without shared library
14005 (.so) support to allow transparent switch between .so and .dll files.
14006 If you are using Linux, you will need a newer binutils.
14008 echo "$as_me: error: could not find a way to build shared libraries.
14009 It is currently not possible to build Wine without shared library
14010 (.so) support to allow transparent switch between .so and .dll files.
14011 If you are using Linux, you will need a newer binutils.
14013 { (exit 1); exit 1; }; }
14018 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14021 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14024 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14032 SOCKETLIBS="-lws2_32"
14037 MAIN_BINARY="wine-pthread"
14041 linux* | k*bsd*-gnu)
14042 MAIN_BINARY="wine-glibc"
14044 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14051 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14053 # Extract the first word of "ldd", so it can be a program name with args.
14054 set dummy ldd; ac_word=$2
14055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14057 if test "${ac_cv_path_LDD+set}" = set; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14062 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14066 as_dummy="/sbin:/usr/sbin:$PATH"
14067 for as_dir in $as_dummy
14070 test -z "$as_dir" && as_dir=.
14071 for ac_exec_ext in '' $ac_executable_extensions; do
14072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14073 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14081 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14085 LDD=$ac_cv_path_LDD
14086 if test -n "$LDD"; then
14087 { echo "$as_me:$LINENO: result: $LDD" >&5
14088 echo "${ECHO_T}$LDD" >&6; }
14090 { echo "$as_me:$LINENO: result: no" >&5
14091 echo "${ECHO_T}no" >&6; }
14095 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14096 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14097 if test "${ac_cv_lib_soname_X11+set}" = set; then
14098 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 ac_get_soname_save_LIBS=$LIBS
14101 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14102 cat >conftest.$ac_ext <<_ACEOF
14105 cat confdefs.h >>conftest.$ac_ext
14106 cat >>conftest.$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14115 char XCreateWindow ();
14119 return XCreateWindow ();
14124 rm -f conftest.$ac_objext conftest$ac_exeext
14125 if { (ac_try="$ac_link"
14126 case "(($ac_try" in
14127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14128 *) ac_try_echo
=$ac_try;;
14130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14131 (eval "$ac_link") 2>conftest.er1
14133 grep -v '^ *+' conftest.er1
>conftest.err
14135 cat conftest.err
>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } && {
14138 test -z "$ac_c_werror_flag" ||
14139 test ! -s conftest.err
14140 } && test -s conftest
$ac_exeext &&
14141 $as_test_x conftest
$ac_exeext; then
14143 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'` ;;
14144 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14146 if test "x$ac_cv_lib_soname_X11" = "x"
14148 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.
$ac_ext >&5
14154 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14158 conftest
$ac_exeext conftest.
$ac_ext
14159 LIBS
=$ac_get_soname_save_LIBS
14161 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14162 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14163 if test "${ac_cv_lib_soname_X11+set}" = set; then
14165 cat >>confdefs.h
<<_ACEOF
14166 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14171 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14172 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14173 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 ac_get_soname_save_LIBS
=$LIBS
14177 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14178 cat >conftest.
$ac_ext <<_ACEOF
14181 cat confdefs.h
>>conftest.
$ac_ext
14182 cat >>conftest.
$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14191 char XextCreateExtension ();
14195 return XextCreateExtension ();
14200 rm -f conftest.
$ac_objext conftest
$ac_exeext
14201 if { (ac_try
="$ac_link"
14202 case "(($ac_try" in
14203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14204 *) ac_try_echo=$ac_try;;
14206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14207 (eval "$ac_link") 2>conftest.er1
14209 grep -v '^ *+' conftest.er1 >conftest.err
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } && {
14214 test -z "$ac_c_werror_flag" ||
14215 test ! -s conftest.err
14216 } && test -s conftest$ac_exeext &&
14217 $as_test_x conftest$ac_exeext; then
14219 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'` ;;
14220 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14222 if test "x$ac_cv_lib_soname_Xext" = "x"
14224 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_get_soname_save_LIBS
14237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14238 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14239 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14241 cat >>confdefs.h <<_ACEOF
14242 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14247 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14248 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14249 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 ac_get_soname_save_LIBS=$LIBS
14253 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14254 cat >conftest.$ac_ext <<_ACEOF
14257 cat confdefs.h >>conftest.$ac_ext
14258 cat >>conftest.$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14267 char XOpenDevice ();
14271 return XOpenDevice ();
14276 rm -f conftest.$ac_objext conftest$ac_exeext
14277 if { (ac_try="$ac_link"
14278 case "(($ac_try" in
14279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14280 *) ac_try_echo
=$ac_try;;
14282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14283 (eval "$ac_link") 2>conftest.er1
14285 grep -v '^ *+' conftest.er1
>conftest.err
14287 cat conftest.err
>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } && {
14290 test -z "$ac_c_werror_flag" ||
14291 test ! -s conftest.err
14292 } && test -s conftest
$ac_exeext &&
14293 $as_test_x conftest
$ac_exeext; then
14295 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'` ;;
14296 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14298 if test "x$ac_cv_lib_soname_Xi" = "x"
14300 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.
$ac_ext >&5
14306 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14309 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14310 conftest
$ac_exeext conftest.
$ac_ext
14311 LIBS
=$ac_get_soname_save_LIBS
14313 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14314 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14315 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14317 cat >>confdefs.h
<<_ACEOF
14318 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14323 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14324 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14325 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14328 ac_get_soname_save_LIBS
=$LIBS
14329 LIBS
="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14330 cat >conftest.
$ac_ext <<_ACEOF
14333 cat confdefs.h
>>conftest.
$ac_ext
14334 cat >>conftest.
$ac_ext <<_ACEOF
14335 /* end confdefs.h. */
14337 /* Override any GCC internal prototype to avoid an error.
14338 Use char because int might match the return type of a GCC
14339 builtin and then its argument prototype would still apply. */
14343 char XineramaQueryScreens ();
14347 return XineramaQueryScreens ();
14352 rm -f conftest.
$ac_objext conftest
$ac_exeext
14353 if { (ac_try
="$ac_link"
14354 case "(($ac_try" in
14355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_link") 2>conftest.er1
14361 grep -v '^ *+' conftest.er1 >conftest.err
14363 cat conftest.err >&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } && {
14366 test -z "$ac_c_werror_flag" ||
14367 test ! -s conftest.err
14368 } && test -s conftest$ac_exeext &&
14369 $as_test_x conftest$ac_exeext; then
14371 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'` ;;
14372 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXinerama
\\.so |
sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14374 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14376 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.$ac_ext >&5
14382 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14386 conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_get_soname_save_LIBS
14389 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14390 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14391 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14393 cat >>confdefs.h <<_ACEOF
14394 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14399 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14400 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14401 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 ac_get_soname_save_LIBS=$LIBS
14405 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14406 cat >conftest.$ac_ext <<_ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14413 /* Override any GCC internal prototype to avoid an error.
14414 Use char because int might match the return type of a GCC
14415 builtin and then its argument prototype would still apply. */
14419 char XRenderQueryExtension ();
14423 return XRenderQueryExtension ();
14428 rm -f conftest.$ac_objext conftest$ac_exeext
14429 if { (ac_try="$ac_link"
14430 case "(($ac_try" in
14431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14432 *) ac_try_echo
=$ac_try;;
14434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14435 (eval "$ac_link") 2>conftest.er1
14437 grep -v '^ *+' conftest.er1
>conftest.err
14439 cat conftest.err
>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } && {
14442 test -z "$ac_c_werror_flag" ||
14443 test ! -s conftest.err
14444 } && test -s conftest
$ac_exeext &&
14445 $as_test_x conftest
$ac_exeext; then
14447 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'` ;;
14448 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14450 if test "x$ac_cv_lib_soname_Xrender" = "x"
14452 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.
$ac_ext >&5
14458 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14462 conftest
$ac_exeext conftest.
$ac_ext
14463 LIBS
=$ac_get_soname_save_LIBS
14465 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14466 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14467 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14469 cat >>confdefs.h
<<_ACEOF
14470 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14475 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14476 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14477 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 ac_get_soname_save_LIBS
=$LIBS
14481 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14482 cat >conftest.
$ac_ext <<_ACEOF
14485 cat confdefs.h
>>conftest.
$ac_ext
14486 cat >>conftest.
$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14489 /* Override any GCC internal prototype to avoid an error.
14490 Use char because int might match the return type of a GCC
14491 builtin and then its argument prototype would still apply. */
14495 char XRRQueryExtension ();
14499 return XRRQueryExtension ();
14504 rm -f conftest.
$ac_objext conftest
$ac_exeext
14505 if { (ac_try
="$ac_link"
14506 case "(($ac_try" in
14507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14508 *) ac_try_echo=$ac_try;;
14510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14511 (eval "$ac_link") 2>conftest.er1
14513 grep -v '^ *+' conftest.er1 >conftest.err
14515 cat conftest.err >&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } && {
14518 test -z "$ac_c_werror_flag" ||
14519 test ! -s conftest.err
14520 } && test -s conftest$ac_exeext &&
14521 $as_test_x conftest$ac_exeext; then
14523 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'` ;;
14524 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14526 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14528 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.$ac_ext >&5
14534 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14538 conftest$ac_exeext conftest.$ac_ext
14539 LIBS=$ac_get_soname_save_LIBS
14541 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14542 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14543 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14545 cat >>confdefs.h <<_ACEOF
14546 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14551 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14552 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14553 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 ac_get_soname_save_LIBS=$LIBS
14557 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14565 /* Override any GCC internal prototype to avoid an error.
14566 Use char because int might match the return type of a GCC
14567 builtin and then its argument prototype would still apply. */
14571 char XcursorImageLoadCursor ();
14575 return XcursorImageLoadCursor ();
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (ac_try="$ac_link"
14582 case "(($ac_try" in
14583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14584 *) ac_try_echo
=$ac_try;;
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_link") 2>conftest.er1
14589 grep -v '^ *+' conftest.er1
>conftest.err
14591 cat conftest.err
>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } && {
14594 test -z "$ac_c_werror_flag" ||
14595 test ! -s conftest.err
14596 } && test -s conftest
$ac_exeext &&
14597 $as_test_x conftest
$ac_exeext; then
14599 dylib
) ac_cv_lib_soname_Xcursor
=`otool -L conftest$ac_exeext | grep libXcursor\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14600 so
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14602 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14604 ac_cv_lib_soname_Xcursor
="libXcursor.$LIBEXT"
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.
$ac_ext >&5
14610 ac_cv_lib_soname_Xcursor
="libXcursor.$LIBEXT"
14613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14614 conftest
$ac_exeext conftest.
$ac_ext
14615 LIBS
=$ac_get_soname_save_LIBS
14617 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14618 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14619 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14621 cat >>confdefs.h
<<_ACEOF
14622 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14627 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14628 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14629 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 ac_get_soname_save_LIBS
=$LIBS
14633 LIBS
="-lfreetype $X_LIBS $LIBS"
14634 cat >conftest.
$ac_ext <<_ACEOF
14637 cat confdefs.h
>>conftest.
$ac_ext
14638 cat >>conftest.
$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14647 char FT_Init_FreeType ();
14651 return FT_Init_FreeType ();
14656 rm -f conftest.
$ac_objext conftest
$ac_exeext
14657 if { (ac_try
="$ac_link"
14658 case "(($ac_try" in
14659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14660 *) ac_try_echo=$ac_try;;
14662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14663 (eval "$ac_link") 2>conftest.er1
14665 grep -v '^ *+' conftest.er1 >conftest.err
14667 cat conftest.err >&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } && {
14670 test -z "$ac_c_werror_flag" ||
14671 test ! -s conftest.err
14672 } && test -s conftest$ac_exeext &&
14673 $as_test_x conftest$ac_exeext; then
14675 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'` ;;
14676 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14678 if test "x$ac_cv_lib_soname_freetype" = "x"
14680 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14686 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14690 conftest$ac_exeext conftest.$ac_ext
14691 LIBS=$ac_get_soname_save_LIBS
14693 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14694 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14695 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14697 cat >>confdefs.h <<_ACEOF
14698 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14703 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14704 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14705 if test "${ac_cv_lib_soname_GL+set}" = set; then
14706 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 ac_get_soname_save_LIBS=$LIBS
14709 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14710 cat >conftest.$ac_ext <<_ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14723 char glXQueryExtension ();
14727 return glXQueryExtension ();
14732 rm -f conftest.$ac_objext conftest$ac_exeext
14733 if { (ac_try="$ac_link"
14734 case "(($ac_try" in
14735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14736 *) ac_try_echo
=$ac_try;;
14738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_link") 2>conftest.er1
14741 grep -v '^ *+' conftest.er1
>conftest.err
14743 cat conftest.err
>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest
$ac_exeext &&
14749 $as_test_x conftest
$ac_exeext; then
14751 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'` ;;
14752 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14754 if test "x$ac_cv_lib_soname_GL" = "x"
14756 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14759 echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.
$ac_ext >&5
14762 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14766 conftest
$ac_exeext conftest.
$ac_ext
14767 LIBS
=$ac_get_soname_save_LIBS
14769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14770 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14771 if test "${ac_cv_lib_soname_GL+set}" = set; then
14773 cat >>confdefs.h
<<_ACEOF
14774 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14779 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14780 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14781 if test "${ac_cv_lib_soname_hal+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 ac_get_soname_save_LIBS
=$LIBS
14786 cat >conftest.
$ac_ext <<_ACEOF
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14793 /* Override any GCC internal prototype to avoid an error.
14794 Use char because int might match the return type of a GCC
14795 builtin and then its argument prototype would still apply. */
14799 char libhal_ctx_new ();
14803 return libhal_ctx_new ();
14808 rm -f conftest.
$ac_objext conftest
$ac_exeext
14809 if { (ac_try
="$ac_link"
14810 case "(($ac_try" in
14811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14812 *) ac_try_echo=$ac_try;;
14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14815 (eval "$ac_link") 2>conftest.er1
14817 grep -v '^ *+' conftest.er1 >conftest.err
14819 cat conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } && {
14822 test -z "$ac_c_werror_flag" ||
14823 test ! -s conftest.err
14824 } && test -s conftest$ac_exeext &&
14825 $as_test_x conftest$ac_exeext; then
14827 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'` ;;
14828 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14830 if test "x$ac_cv_lib_soname_hal" = "x"
14832 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14838 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14842 conftest$ac_exeext conftest.$ac_ext
14843 LIBS=$ac_get_soname_save_LIBS
14845 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14846 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14847 if test "${ac_cv_lib_soname_hal+set}" = set; then
14849 cat >>confdefs.h <<_ACEOF
14850 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14855 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14856 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14857 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 ac_get_soname_save_LIBS=$LIBS
14861 LIBS="-ltxc_dxtn $LIBS"
14862 cat >conftest.$ac_ext <<_ACEOF
14865 cat confdefs.h >>conftest.$ac_ext
14866 cat >>conftest.$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14875 char fetch_2d_texel_rgba_dxt1 ();
14879 return fetch_2d_texel_rgba_dxt1 ();
14884 rm -f conftest.$ac_objext conftest$ac_exeext
14885 if { (ac_try="$ac_link"
14886 case "(($ac_try" in
14887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14888 *) ac_try_echo
=$ac_try;;
14890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14891 (eval "$ac_link") 2>conftest.er1
14893 grep -v '^ *+' conftest.er1
>conftest.err
14895 cat conftest.err
>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } && {
14898 test -z "$ac_c_werror_flag" ||
14899 test ! -s conftest.err
14900 } && test -s conftest
$ac_exeext &&
14901 $as_test_x conftest
$ac_exeext; then
14903 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'` ;;
14904 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'` ;;
14906 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14908 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.
$ac_ext >&5
14914 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14918 conftest
$ac_exeext conftest.
$ac_ext
14919 LIBS
=$ac_get_soname_save_LIBS
14921 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14922 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14923 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14925 cat >>confdefs.h
<<_ACEOF
14926 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14931 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
14932 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
14933 if test "${ac_cv_lib_soname_cups+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 ac_get_soname_save_LIBS
=$LIBS
14937 LIBS
="-lcups $LIBS"
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14951 char cupsGetDefault ();
14955 return cupsGetDefault ();
14960 rm -f conftest.
$ac_objext conftest
$ac_exeext
14961 if { (ac_try
="$ac_link"
14962 case "(($ac_try" in
14963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_link") 2>conftest.er1
14969 grep -v '^ *+' conftest.er1 >conftest.err
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && {
14974 test -z "$ac_c_werror_flag" ||
14975 test ! -s conftest.err
14976 } && test -s conftest$ac_exeext &&
14977 $as_test_x conftest$ac_exeext; then
14979 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'` ;;
14980 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14982 if test "x$ac_cv_lib_soname_cups" = "x"
14984 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_get_soname_save_LIBS
14997 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14998 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14999 if test "${ac_cv_lib_soname_cups+set}" = set; then
15001 cat >>confdefs.h <<_ACEOF
15002 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15007 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15008 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15009 if test "${ac_cv_lib_soname_jack+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 ac_get_soname_save_LIBS=$LIBS
15013 LIBS="-ljack $LIBS"
15014 cat >conftest.$ac_ext <<_ACEOF
15017 cat confdefs.h >>conftest.$ac_ext
15018 cat >>conftest.$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15027 char jack_client_new ();
15031 return jack_client_new ();
15036 rm -f conftest.$ac_objext conftest$ac_exeext
15037 if { (ac_try="$ac_link"
15038 case "(($ac_try" in
15039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15040 *) ac_try_echo
=$ac_try;;
15042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15043 (eval "$ac_link") 2>conftest.er1
15045 grep -v '^ *+' conftest.er1
>conftest.err
15047 cat conftest.err
>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } && {
15050 test -z "$ac_c_werror_flag" ||
15051 test ! -s conftest.err
15052 } && test -s conftest
$ac_exeext &&
15053 $as_test_x conftest
$ac_exeext; then
15055 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'` ;;
15056 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15058 if test "x$ac_cv_lib_soname_jack" = "x"
15060 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.
$ac_ext >&5
15066 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15070 conftest
$ac_exeext conftest.
$ac_ext
15071 LIBS
=$ac_get_soname_save_LIBS
15073 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15074 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15075 if test "${ac_cv_lib_soname_jack+set}" = set; then
15077 cat >>confdefs.h
<<_ACEOF
15078 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15083 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15084 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15085 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15088 ac_get_soname_save_LIBS
=$LIBS
15089 LIBS
="-lfontconfig $LIBS"
15090 cat >conftest.
$ac_ext <<_ACEOF
15093 cat confdefs.h
>>conftest.
$ac_ext
15094 cat >>conftest.
$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15112 rm -f conftest.
$ac_objext conftest
$ac_exeext
15113 if { (ac_try
="$ac_link"
15114 case "(($ac_try" in
15115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_link") 2>conftest.er1
15121 grep -v '^ *+' conftest.er1 >conftest.err
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest$ac_exeext &&
15129 $as_test_x conftest$ac_exeext; then
15131 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'` ;;
15132 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15134 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15136 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15142 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15146 conftest$ac_exeext conftest.$ac_ext
15147 LIBS=$ac_get_soname_save_LIBS
15149 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15150 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15151 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15153 cat >>confdefs.h <<_ACEOF
15154 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15159 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15160 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15161 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 ac_get_soname_save_LIBS=$LIBS
15166 cat >conftest.$ac_ext <<_ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15173 /* Override any GCC internal prototype to avoid an error.
15174 Use char because int might match the return type of a GCC
15175 builtin and then its argument prototype would still apply. */
15179 char SSL_library_init ();
15183 return SSL_library_init ();
15188 rm -f conftest.$ac_objext conftest$ac_exeext
15189 if { (ac_try="$ac_link"
15190 case "(($ac_try" in
15191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15192 *) ac_try_echo
=$ac_try;;
15194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15195 (eval "$ac_link") 2>conftest.er1
15197 grep -v '^ *+' conftest.er1
>conftest.err
15199 cat conftest.err
>&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); } && {
15202 test -z "$ac_c_werror_flag" ||
15203 test ! -s conftest.err
15204 } && test -s conftest
$ac_exeext &&
15205 $as_test_x conftest
$ac_exeext; then
15207 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'` ;;
15208 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15210 if test "x$ac_cv_lib_soname_ssl" = "x"
15212 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.
$ac_ext >&5
15218 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15222 conftest
$ac_exeext conftest.
$ac_ext
15223 LIBS
=$ac_get_soname_save_LIBS
15225 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15226 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15227 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15229 cat >>confdefs.h
<<_ACEOF
15230 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15235 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15236 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15237 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15238 echo $ECHO_N "(cached) $ECHO_C" >&6
15240 ac_get_soname_save_LIBS
=$LIBS
15241 LIBS
="-lcrypto $LIBS"
15242 cat >conftest.
$ac_ext <<_ACEOF
15245 cat confdefs.h
>>conftest.
$ac_ext
15246 cat >>conftest.
$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15249 /* Override any GCC internal prototype to avoid an error.
15250 Use char because int might match the return type of a GCC
15251 builtin and then its argument prototype would still apply. */
15255 char BIO_new_socket ();
15259 return BIO_new_socket ();
15264 rm -f conftest.
$ac_objext conftest
$ac_exeext
15265 if { (ac_try
="$ac_link"
15266 case "(($ac_try" in
15267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15268 *) ac_try_echo=$ac_try;;
15270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15271 (eval "$ac_link") 2>conftest.er1
15273 grep -v '^ *+' conftest.er1 >conftest.err
15275 cat conftest.err >&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); } && {
15278 test -z "$ac_c_werror_flag" ||
15279 test ! -s conftest.err
15280 } && test -s conftest$ac_exeext &&
15281 $as_test_x conftest$ac_exeext; then
15283 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'` ;;
15284 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15286 if test "x$ac_cv_lib_soname_crypto" = "x"
15288 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15294 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15298 conftest$ac_exeext conftest.$ac_ext
15299 LIBS=$ac_get_soname_save_LIBS
15301 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15302 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15303 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15305 cat >>confdefs.h <<_ACEOF
15306 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15311 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15312 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15313 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15314 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 ac_get_soname_save_LIBS=$LIBS
15317 LIBS="-lncurses $LIBS"
15318 cat >conftest.$ac_ext <<_ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15340 rm -f conftest.$ac_objext conftest$ac_exeext
15341 if { (ac_try="$ac_link"
15342 case "(($ac_try" in
15343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15344 *) ac_try_echo
=$ac_try;;
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_link") 2>conftest.er1
15349 grep -v '^ *+' conftest.er1
>conftest.err
15351 cat conftest.err
>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } && {
15354 test -z "$ac_c_werror_flag" ||
15355 test ! -s conftest.err
15356 } && test -s conftest
$ac_exeext &&
15357 $as_test_x conftest
$ac_exeext; then
15359 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'` ;;
15360 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15362 if test "x$ac_cv_lib_soname_ncurses" = "x"
15364 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.
$ac_ext >&5
15370 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15374 conftest
$ac_exeext conftest.
$ac_ext
15375 LIBS
=$ac_get_soname_save_LIBS
15377 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15378 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15379 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15381 cat >>confdefs.h
<<_ACEOF
15382 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15387 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15388 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15389 if test "${ac_cv_lib_soname_curses+set}" = set; then
15390 echo $ECHO_N "(cached) $ECHO_C" >&6
15392 ac_get_soname_save_LIBS
=$LIBS
15393 LIBS
="-lcurses $LIBS"
15394 cat >conftest.
$ac_ext <<_ACEOF
15397 cat confdefs.h
>>conftest.
$ac_ext
15398 cat >>conftest.
$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15416 rm -f conftest.
$ac_objext conftest
$ac_exeext
15417 if { (ac_try
="$ac_link"
15418 case "(($ac_try" in
15419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15420 *) ac_try_echo=$ac_try;;
15422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15423 (eval "$ac_link") 2>conftest.er1
15425 grep -v '^ *+' conftest.er1 >conftest.err
15427 cat conftest.err >&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } && {
15430 test -z "$ac_c_werror_flag" ||
15431 test ! -s conftest.err
15432 } && test -s conftest$ac_exeext &&
15433 $as_test_x conftest$ac_exeext; then
15435 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'` ;;
15436 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15438 if test "x$ac_cv_lib_soname_curses" = "x"
15440 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15443 echo "$as_me: failed program was:" >&5
15444 sed 's/^/| /' conftest.$ac_ext >&5
15446 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15450 conftest$ac_exeext conftest.$ac_ext
15451 LIBS=$ac_get_soname_save_LIBS
15453 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15454 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15455 if test "${ac_cv_lib_soname_curses+set}" = set; then
15457 cat >>confdefs.h <<_ACEOF
15458 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15463 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15464 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15465 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 ac_get_soname_save_LIBS=$LIBS
15469 LIBS="-ljpeg $LIBS"
15470 cat >conftest.$ac_ext <<_ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15483 char jpeg_start_decompress ();
15487 return jpeg_start_decompress ();
15492 rm -f conftest.$ac_objext conftest$ac_exeext
15493 if { (ac_try="$ac_link"
15494 case "(($ac_try" in
15495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15496 *) ac_try_echo
=$ac_try;;
15498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15499 (eval "$ac_link") 2>conftest.er1
15501 grep -v '^ *+' conftest.er1
>conftest.err
15503 cat conftest.err
>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } && {
15506 test -z "$ac_c_werror_flag" ||
15507 test ! -s conftest.err
15508 } && test -s conftest
$ac_exeext &&
15509 $as_test_x conftest
$ac_exeext; then
15511 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'` ;;
15512 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15514 if test "x$ac_cv_lib_soname_jpeg" = "x"
15516 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.
$ac_ext >&5
15522 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15526 conftest
$ac_exeext conftest.
$ac_ext
15527 LIBS
=$ac_get_soname_save_LIBS
15529 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15530 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15531 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15533 cat >>confdefs.h
<<_ACEOF
15534 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15539 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15540 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15541 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 ac_get_soname_save_LIBS
=$LIBS
15545 LIBS
="-lcapi20 $LIBS"
15546 cat >conftest.
$ac_ext <<_ACEOF
15549 cat confdefs.h
>>conftest.
$ac_ext
15550 cat >>conftest.
$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15553 /* Override any GCC internal prototype to avoid an error.
15554 Use char because int might match the return type of a GCC
15555 builtin and then its argument prototype would still apply. */
15559 char capi20_isinstalled ();
15563 return capi20_isinstalled ();
15568 rm -f conftest.
$ac_objext conftest
$ac_exeext
15569 if { (ac_try
="$ac_link"
15570 case "(($ac_try" in
15571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15572 *) ac_try_echo=$ac_try;;
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_link") 2>conftest.er1
15577 grep -v '^ *+' conftest.er1 >conftest.err
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } && {
15582 test -z "$ac_c_werror_flag" ||
15583 test ! -s conftest.err
15584 } && test -s conftest$ac_exeext &&
15585 $as_test_x conftest$ac_exeext; then
15587 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'` ;;
15588 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15590 if test "x$ac_cv_lib_soname_capi20" = "x"
15592 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15598 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15602 conftest$ac_exeext conftest.$ac_ext
15603 LIBS=$ac_get_soname_save_LIBS
15605 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15606 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15607 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15609 cat >>confdefs.h <<_ACEOF
15610 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15615 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15616 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15617 if test "${ac_cv_lib_soname_sane+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 ac_get_soname_save_LIBS=$LIBS
15621 LIBS="-lsane $LIBS"
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15639 return sane_init ();
15644 rm -f conftest.$ac_objext conftest$ac_exeext
15645 if { (ac_try="$ac_link"
15646 case "(($ac_try" in
15647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15648 *) ac_try_echo
=$ac_try;;
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_link") 2>conftest.er1
15653 grep -v '^ *+' conftest.er1
>conftest.err
15655 cat conftest.err
>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_c_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest
$ac_exeext &&
15661 $as_test_x conftest
$ac_exeext; then
15663 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'` ;;
15664 so
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15666 if test "x$ac_cv_lib_soname_sane" = "x"
15668 ac_cv_lib_soname_sane
="libsane.$LIBEXT"
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.
$ac_ext >&5
15674 ac_cv_lib_soname_sane
="libsane.$LIBEXT"
15677 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15678 conftest
$ac_exeext conftest.
$ac_ext
15679 LIBS
=$ac_get_soname_save_LIBS
15681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15682 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15683 if test "${ac_cv_lib_soname_sane+set}" = set; then
15685 cat >>confdefs.h
<<_ACEOF
15686 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15821 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 cat >conftest.
$ac_ext <<_ACEOF
15827 cat confdefs.h
>>conftest.
$ac_ext
15828 cat >>conftest.
$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15832 #define $ac_func innocuous_$ac_func
15834 /* System header to define __stub macros and hopefully few prototypes,
15835 which can conflict with char $ac_func (); below.
15836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15837 <limits.h> exists even on freestanding compilers. */
15840 # include <limits.h>
15842 # include <assert.h>
15847 /* Override any GCC internal prototype to avoid an error.
15848 Use char because int might match the return type of a GCC
15849 builtin and then its argument prototype would still apply. */
15854 /* The GNU C library defines this for functions which it implements
15855 to always fail with ENOSYS. Some functions are actually named
15856 something starting with __ and the normal name is an alias. */
15857 #if defined __stub_$ac_func || defined __stub___$ac_func
15864 return $ac_func ();
15869 rm -f conftest.
$ac_objext conftest
$ac_exeext
15870 if { (ac_try
="$ac_link"
15871 case "(($ac_try" in
15872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15876 (eval "$ac_link") 2>conftest.er1
15878 grep -v '^ *+' conftest.er1 >conftest.err
15880 cat conftest.err >&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); } && {
15883 test -z "$ac_c_werror_flag" ||
15884 test ! -s conftest.err
15885 } && test -s conftest$ac_exeext &&
15886 $as_test_x conftest$ac_exeext; then
15887 eval "$as_ac_var=yes"
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15892 eval "$as_ac_var=no"
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15898 ac_res=`eval echo '${'$as_ac_var'}'`
15899 { echo "$as_me:$LINENO: result: $ac_res" >&5
15900 echo "${ECHO_T}$ac_res" >&6; }
15901 if test `eval echo '${'$as_ac_var'}'` = yes; then
15902 cat >>confdefs.h <<_ACEOF
15903 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15910 if test "$ac_cv_func_dlopen" = no
15912 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15913 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15914 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15915 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 ac_check_lib_save_LIBS=$LIBS
15919 cat >conftest.$ac_ext <<_ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15926 /* Override any GCC internal prototype to avoid an error.
15927 Use char because int might match the return type of a GCC
15928 builtin and then its argument prototype would still apply. */
15941 rm -f conftest.$ac_objext conftest$ac_exeext
15942 if { (ac_try="$ac_link"
15943 case "(($ac_try" in
15944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15945 *) ac_try_echo
=$ac_try;;
15947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15948 (eval "$ac_link") 2>conftest.er1
15950 grep -v '^ *+' conftest.er1
>conftest.err
15952 cat conftest.err
>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } && {
15955 test -z "$ac_c_werror_flag" ||
15956 test ! -s conftest.err
15957 } && test -s conftest
$ac_exeext &&
15958 $as_test_x conftest
$ac_exeext; then
15959 ac_cv_lib_dl_dlopen
=yes
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.
$ac_ext >&5
15964 ac_cv_lib_dl_dlopen
=no
15967 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15968 conftest
$ac_exeext conftest.
$ac_ext
15969 LIBS
=$ac_check_lib_save_LIBS
15971 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15973 if test $ac_cv_lib_dl_dlopen = yes; then
15974 cat >>confdefs.h
<<\_ACEOF
15975 #define HAVE_DLOPEN 1
15982 ac_wine_check_funcs_save_LIBS
="$LIBS"
15983 LIBS
="$LIBS $LIBDL"
15985 for ac_func
in dladdr
15987 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15988 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15990 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 cat >conftest.
$ac_ext <<_ACEOF
15996 cat confdefs.h
>>conftest.
$ac_ext
15997 cat >>conftest.
$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16001 #define $ac_func innocuous_$ac_func
16003 /* System header to define __stub macros and hopefully few prototypes,
16004 which can conflict with char $ac_func (); below.
16005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16006 <limits.h> exists even on freestanding compilers. */
16009 # include <limits.h>
16011 # include <assert.h>
16016 /* Override any GCC internal prototype to avoid an error.
16017 Use char because int might match the return type of a GCC
16018 builtin and then its argument prototype would still apply. */
16023 /* The GNU C library defines this for functions which it implements
16024 to always fail with ENOSYS. Some functions are actually named
16025 something starting with __ and the normal name is an alias. */
16026 #if defined __stub_$ac_func || defined __stub___$ac_func
16033 return $ac_func ();
16038 rm -f conftest.
$ac_objext conftest
$ac_exeext
16039 if { (ac_try
="$ac_link"
16040 case "(($ac_try" in
16041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16042 *) ac_try_echo=$ac_try;;
16044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045 (eval "$ac_link") 2>conftest.er1
16047 grep -v '^ *+' conftest.er1 >conftest.err
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } && {
16052 test -z "$ac_c_werror_flag" ||
16053 test ! -s conftest.err
16054 } && test -s conftest$ac_exeext &&
16055 $as_test_x conftest$ac_exeext; then
16056 eval "$as_ac_var=yes"
16058 echo "$as_me: failed program was:" >&5
16059 sed 's/^/| /' conftest.$ac_ext >&5
16061 eval "$as_ac_var=no"
16064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16065 conftest$ac_exeext conftest.$ac_ext
16067 ac_res=`eval echo '${'$as_ac_var'}'`
16068 { echo "$as_me:$LINENO: result: $ac_res" >&5
16069 echo "${ECHO_T}$ac_res" >&6; }
16070 if test `eval echo '${'$as_ac_var'}'` = yes; then
16071 cat >>confdefs.h <<_ACEOF
16072 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16078 LIBS="$ac_wine_check_funcs_save_LIBS"
16080 if test "$ac_cv_func_poll" = no
16082 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16083 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16084 if test "${ac_cv_lib_poll_poll+set}" = set; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 ac_check_lib_save_LIBS=$LIBS
16088 LIBS="-lpoll $LIBS"
16089 cat >conftest.$ac_ext <<_ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16111 rm -f conftest.$ac_objext conftest$ac_exeext
16112 if { (ac_try="$ac_link"
16113 case "(($ac_try" in
16114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16115 *) ac_try_echo
=$ac_try;;
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_link") 2>conftest.er1
16120 grep -v '^ *+' conftest.er1
>conftest.err
16122 cat conftest.err
>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && {
16125 test -z "$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 } && test -s conftest
$ac_exeext &&
16128 $as_test_x conftest
$ac_exeext; then
16129 ac_cv_lib_poll_poll
=yes
16131 echo "$as_me: failed program was:" >&5
16132 sed 's/^/| /' conftest.
$ac_ext >&5
16134 ac_cv_lib_poll_poll
=no
16137 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16138 conftest
$ac_exeext conftest.
$ac_ext
16139 LIBS
=$ac_check_lib_save_LIBS
16141 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16142 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16143 if test $ac_cv_lib_poll_poll = yes; then
16144 cat >>confdefs.h
<<\_ACEOF
16145 #define HAVE_POLL 1
16153 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16154 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16155 if test "${ac_cv_search_gethostbyname+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 ac_func_search_save_LIBS
=$LIBS
16159 cat >conftest.
$ac_ext <<_ACEOF
16162 cat confdefs.h
>>conftest.
$ac_ext
16163 cat >>conftest.
$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16166 /* Override any GCC internal prototype to avoid an error.
16167 Use char because int might match the return type of a GCC
16168 builtin and then its argument prototype would still apply. */
16172 char gethostbyname ();
16176 return gethostbyname ();
16181 for ac_lib
in '' nsl
; do
16182 if test -z "$ac_lib"; then
16183 ac_res
="none required"
16186 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16188 rm -f conftest.
$ac_objext conftest
$ac_exeext
16189 if { (ac_try
="$ac_link"
16190 case "(($ac_try" in
16191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_link") 2>conftest.er1
16197 grep -v '^ *+' conftest.er1 >conftest.err
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_c_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest$ac_exeext &&
16205 $as_test_x conftest$ac_exeext; then
16206 ac_cv_search_gethostbyname=$ac_res
16208 echo "$as_me: failed program was:" >&5
16209 sed 's/^/| /' conftest.$ac_ext >&5
16214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16216 if test "${ac_cv_search_gethostbyname+set}" = set; then
16220 if test "${ac_cv_search_gethostbyname+set}" = set; then
16223 ac_cv_search_gethostbyname=no
16225 rm conftest.$ac_ext
16226 LIBS=$ac_func_search_save_LIBS
16228 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16229 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16230 ac_res=$ac_cv_search_gethostbyname
16231 if test "$ac_res" != no; then
16232 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16237 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16238 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16239 if test "${ac_cv_search_connect+set}" = set; then
16240 echo $ECHO_N "(cached) $ECHO_C" >&6
16242 ac_func_search_save_LIBS=$LIBS
16243 cat >conftest.$ac_ext <<_ACEOF
16246 cat confdefs.h >>conftest.$ac_ext
16247 cat >>conftest.$ac_ext <<_ACEOF
16248 /* end confdefs.h. */
16250 /* Override any GCC internal prototype to avoid an error.
16251 Use char because int might match the return type of a GCC
16252 builtin and then its argument prototype would still apply. */
16265 for ac_lib in '' socket; do
16266 if test -z "$ac_lib"; then
16267 ac_res="none required"
16270 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16272 rm -f conftest.$ac_objext conftest$ac_exeext
16273 if { (ac_try="$ac_link"
16274 case "(($ac_try" in
16275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16276 *) ac_try_echo
=$ac_try;;
16278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16279 (eval "$ac_link") 2>conftest.er1
16281 grep -v '^ *+' conftest.er1
>conftest.err
16283 cat conftest.err
>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } && {
16286 test -z "$ac_c_werror_flag" ||
16287 test ! -s conftest.err
16288 } && test -s conftest
$ac_exeext &&
16289 $as_test_x conftest
$ac_exeext; then
16290 ac_cv_search_connect
=$ac_res
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16300 if test "${ac_cv_search_connect+set}" = set; then
16304 if test "${ac_cv_search_connect+set}" = set; then
16307 ac_cv_search_connect
=no
16309 rm conftest.
$ac_ext
16310 LIBS
=$ac_func_search_save_LIBS
16312 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16313 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16314 ac_res
=$ac_cv_search_connect
16315 if test "$ac_res" != no
; then
16316 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16321 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16322 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16323 if test "${ac_cv_search_inet_aton+set}" = set; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 ac_func_search_save_LIBS
=$LIBS
16327 cat >conftest.
$ac_ext <<_ACEOF
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16334 /* Override any GCC internal prototype to avoid an error.
16335 Use char because int might match the return type of a GCC
16336 builtin and then its argument prototype would still apply. */
16344 return inet_aton ();
16349 for ac_lib
in '' resolv
; do
16350 if test -z "$ac_lib"; then
16351 ac_res
="none required"
16354 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16356 rm -f conftest.
$ac_objext conftest
$ac_exeext
16357 if { (ac_try
="$ac_link"
16358 case "(($ac_try" in
16359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16360 *) ac_try_echo=$ac_try;;
16362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16363 (eval "$ac_link") 2>conftest.er1
16365 grep -v '^ *+' conftest.er1 >conftest.err
16367 cat conftest.err >&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && {
16370 test -z "$ac_c_werror_flag" ||
16371 test ! -s conftest.err
16372 } && test -s conftest$ac_exeext &&
16373 $as_test_x conftest$ac_exeext; then
16374 ac_cv_search_inet_aton=$ac_res
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16384 if test "${ac_cv_search_inet_aton+set}" = set; then
16388 if test "${ac_cv_search_inet_aton+set}" = set; then
16391 ac_cv_search_inet_aton=no
16393 rm conftest.$ac_ext
16394 LIBS=$ac_func_search_save_LIBS
16396 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16397 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16398 ac_res=$ac_cv_search_inet_aton
16399 if test "$ac_res" != no; then
16400 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16424 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16425 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16427 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 cat >conftest.$ac_ext <<_ACEOF
16433 cat confdefs.h >>conftest.$ac_ext
16434 cat >>conftest.$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16438 #define $ac_func innocuous_$ac_func
16440 /* System header to define __stub macros and hopefully few prototypes,
16441 which can conflict with char $ac_func (); below.
16442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16443 <limits.h> exists even on freestanding compilers. */
16446 # include <limits.h>
16448 # include <assert.h>
16453 /* Override any GCC internal prototype to avoid an error.
16454 Use char because int might match the return type of a GCC
16455 builtin and then its argument prototype would still apply. */
16460 /* The GNU C library defines this for functions which it implements
16461 to always fail with ENOSYS. Some functions are actually named
16462 something starting with __ and the normal name is an alias. */
16463 #if defined __stub_$ac_func || defined __stub___$ac_func
16470 return $ac_func ();
16475 rm -f conftest.$ac_objext conftest$ac_exeext
16476 if { (ac_try="$ac_link"
16477 case "(($ac_try" in
16478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16479 *) ac_try_echo
=$ac_try;;
16481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16482 (eval "$ac_link") 2>conftest.er1
16484 grep -v '^ *+' conftest.er1
>conftest.err
16486 cat conftest.err
>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } && {
16489 test -z "$ac_c_werror_flag" ||
16490 test ! -s conftest.err
16491 } && test -s conftest
$ac_exeext &&
16492 $as_test_x conftest
$ac_exeext; then
16493 eval "$as_ac_var=yes"
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.
$ac_ext >&5
16498 eval "$as_ac_var=no"
16501 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16502 conftest
$ac_exeext conftest.
$ac_ext
16504 ac_res
=`eval echo '${'$as_ac_var'}'`
16505 { echo "$as_me:$LINENO: result: $ac_res" >&5
16506 echo "${ECHO_T}$ac_res" >&6; }
16507 if test `eval echo '${'$as_ac_var'}'` = yes; then
16508 cat >>confdefs.h
<<_ACEOF
16509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16517 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16518 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16519 if test "${ac_cv_c_const+set}" = set; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16522 cat >conftest.
$ac_ext <<_ACEOF
16525 cat confdefs.h
>>conftest.
$ac_ext
16526 cat >>conftest.
$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16532 /* FIXME: Include the comments suggested by Paul. */
16533 #ifndef __cplusplus
16534 /* Ultrix mips cc rejects this. */
16535 typedef int charset[2];
16537 /* SunOS 4.1.1 cc rejects this. */
16538 char const *const *pcpcc;
16540 /* NEC SVR4.0.2 mips cc rejects this. */
16541 struct point {int x, y;};
16542 static struct point const zero = {0,0};
16543 /* AIX XL C 1.02.0.0 rejects this.
16544 It does not let you subtract one const X* pointer from another in
16545 an arm of an if-expression whose if-part is not a constant
16547 const char *g = "string";
16548 pcpcc = &g + (g ? g-g : 0);
16549 /* HPUX 7.0 cc rejects these. */
16551 ppc = (char**) pcpcc;
16552 pcpcc = (char const *const *) ppc;
16553 { /* SCO 3.2v4 cc rejects this. */
16555 char const *s = 0 ? (char *) 0 : (char const *) 0;
16560 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16561 int x[] = {25, 17};
16562 const int *foo = &x[0];
16565 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16566 typedef const int *iptr;
16570 { /* AIX XL C 1.02.0.0 rejects this saying
16571 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16572 struct s { int j; const int *ap[3]; };
16573 struct s *b; b->j = 5;
16575 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16576 const int foo = 10;
16577 if (!foo) return 0;
16579 return !cs[0] && !zero.x;
16586 rm -f conftest.
$ac_objext
16587 if { (ac_try
="$ac_compile"
16588 case "(($ac_try" in
16589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16590 *) ac_try_echo=$ac_try;;
16592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16593 (eval "$ac_compile") 2>conftest.er1
16595 grep -v '^ *+' conftest.er1 >conftest.err
16597 cat conftest.err >&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } && {
16600 test -z "$ac_c_werror_flag" ||
16601 test ! -s conftest.err
16602 } && test -s conftest.$ac_objext; then
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16614 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16615 if test $ac_cv_c_const = no; then
16617 cat >>confdefs.h <<\_ACEOF
16623 { echo "$as_me:$LINENO: checking for inline" >&5
16624 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16625 if test "${ac_cv_c_inline+set}" = set; then
16626 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 for ac_kw in inline __inline__ __inline; do
16630 cat >conftest.$ac_ext <<_ACEOF
16633 cat confdefs.h >>conftest.$ac_ext
16634 cat >>conftest.$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16636 #ifndef __cplusplus
16638 static $ac_kw foo_t static_foo () {return 0; }
16639 $ac_kw foo_t foo () {return 0; }
16643 rm -f conftest.$ac_objext
16644 if { (ac_try="$ac_compile"
16645 case "(($ac_try" in
16646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16647 *) ac_try_echo
=$ac_try;;
16649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16650 (eval "$ac_compile") 2>conftest.er1
16652 grep -v '^ *+' conftest.er1
>conftest.err
16654 cat conftest.err
>&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); } && {
16657 test -z "$ac_c_werror_flag" ||
16658 test ! -s conftest.err
16659 } && test -s conftest.
$ac_objext; then
16660 ac_cv_c_inline
=$ac_kw
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.
$ac_ext >&5
16668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 test "$ac_cv_c_inline" != no
&& break
16673 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16674 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16677 case $ac_cv_c_inline in
16680 case $ac_cv_c_inline in
16682 *) ac_val
=$ac_cv_c_inline;;
16684 cat >>confdefs.h
<<_ACEOF
16685 #ifndef __cplusplus
16686 #define inline $ac_val
16692 { echo "$as_me:$LINENO: checking for mode_t" >&5
16693 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16694 if test "${ac_cv_type_mode_t+set}" = set; then
16695 echo $ECHO_N "(cached) $ECHO_C" >&6
16697 cat >conftest.
$ac_ext <<_ACEOF
16700 cat confdefs.h
>>conftest.
$ac_ext
16701 cat >>conftest.
$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 $ac_includes_default
16704 typedef mode_t ac__type_new_;
16708 if ((ac__type_new_ *) 0)
16710 if (sizeof (ac__type_new_))
16716 rm -f conftest.
$ac_objext
16717 if { (ac_try
="$ac_compile"
16718 case "(($ac_try" in
16719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16720 *) ac_try_echo=$ac_try;;
16722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16723 (eval "$ac_compile") 2>conftest.er1
16725 grep -v '^ *+' conftest.er1 >conftest.err
16727 cat conftest.err >&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } && {
16730 test -z "$ac_c_werror_flag" ||
16731 test ! -s conftest.err
16732 } && test -s conftest.$ac_objext; then
16733 ac_cv_type_mode_t=yes
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.$ac_ext >&5
16738 ac_cv_type_mode_t=no
16741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16743 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16744 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16745 if test $ac_cv_type_mode_t = yes; then
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_MODE_T 1
16753 { echo "$as_me:$LINENO: checking for off_t" >&5
16754 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16755 if test "${ac_cv_type_off_t+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 cat >conftest.$ac_ext <<_ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 $ac_includes_default
16765 typedef off_t ac__type_new_;
16769 if ((ac__type_new_ *) 0)
16771 if (sizeof (ac__type_new_))
16777 rm -f conftest.$ac_objext
16778 if { (ac_try="$ac_compile"
16779 case "(($ac_try" in
16780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16781 *) ac_try_echo
=$ac_try;;
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_compile") 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } && {
16791 test -z "$ac_c_werror_flag" ||
16792 test ! -s conftest.err
16793 } && test -s conftest.
$ac_objext; then
16794 ac_cv_type_off_t
=yes
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.
$ac_ext >&5
16799 ac_cv_type_off_t
=no
16802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16804 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16805 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16806 if test $ac_cv_type_off_t = yes; then
16808 cat >>confdefs.h
<<_ACEOF
16809 #define HAVE_OFF_T 1
16814 { echo "$as_me:$LINENO: checking for pid_t" >&5
16815 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16816 if test "${ac_cv_type_pid_t+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 cat >conftest.
$ac_ext <<_ACEOF
16822 cat confdefs.h
>>conftest.
$ac_ext
16823 cat >>conftest.
$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 $ac_includes_default
16826 typedef pid_t ac__type_new_;
16830 if ((ac__type_new_ *) 0)
16832 if (sizeof (ac__type_new_))
16838 rm -f conftest.
$ac_objext
16839 if { (ac_try
="$ac_compile"
16840 case "(($ac_try" in
16841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16842 *) ac_try_echo=$ac_try;;
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_compile") 2>conftest.er1
16847 grep -v '^ *+' conftest.er1 >conftest.err
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } && {
16852 test -z "$ac_c_werror_flag" ||
16853 test ! -s conftest.err
16854 } && test -s conftest.$ac_objext; then
16855 ac_cv_type_pid_t=yes
16857 echo "$as_me: failed program was:" >&5
16858 sed 's/^/| /' conftest.$ac_ext >&5
16860 ac_cv_type_pid_t=no
16863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16865 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16866 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16867 if test $ac_cv_type_pid_t = yes; then
16869 cat >>confdefs.h <<_ACEOF
16870 #define HAVE_PID_T 1
16875 { echo "$as_me:$LINENO: checking for size_t" >&5
16876 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16877 if test "${ac_cv_type_size_t+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 cat >conftest.$ac_ext <<_ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 $ac_includes_default
16887 typedef size_t ac__type_new_;
16891 if ((ac__type_new_ *) 0)
16893 if (sizeof (ac__type_new_))
16899 rm -f conftest.$ac_objext
16900 if { (ac_try="$ac_compile"
16901 case "(($ac_try" in
16902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16903 *) ac_try_echo
=$ac_try;;
16905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16906 (eval "$ac_compile") 2>conftest.er1
16908 grep -v '^ *+' conftest.er1
>conftest.err
16910 cat conftest.err
>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } && {
16913 test -z "$ac_c_werror_flag" ||
16914 test ! -s conftest.err
16915 } && test -s conftest.
$ac_objext; then
16916 ac_cv_type_size_t
=yes
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.
$ac_ext >&5
16921 ac_cv_type_size_t
=no
16924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16926 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16927 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16928 if test $ac_cv_type_size_t = yes; then
16930 cat >>confdefs.h
<<_ACEOF
16931 #define HAVE_SIZE_T 1
16936 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16937 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16938 if test "${ac_cv_type_ssize_t+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 cat >conftest.
$ac_ext <<_ACEOF
16944 cat confdefs.h
>>conftest.
$ac_ext
16945 cat >>conftest.
$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 $ac_includes_default
16948 typedef ssize_t ac__type_new_;
16952 if ((ac__type_new_ *) 0)
16954 if (sizeof (ac__type_new_))
16960 rm -f conftest.
$ac_objext
16961 if { (ac_try
="$ac_compile"
16962 case "(($ac_try" in
16963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16964 *) ac_try_echo=$ac_try;;
16966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16967 (eval "$ac_compile") 2>conftest.er1
16969 grep -v '^ *+' conftest.er1 >conftest.err
16971 cat conftest.err >&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } && {
16974 test -z "$ac_c_werror_flag" ||
16975 test ! -s conftest.err
16976 } && test -s conftest.$ac_objext; then
16977 ac_cv_type_ssize_t=yes
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16982 ac_cv_type_ssize_t=no
16985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16987 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16988 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16989 if test $ac_cv_type_ssize_t = yes; then
16991 cat >>confdefs.h <<_ACEOF
16992 #define HAVE_SSIZE_T 1
16997 { echo "$as_me:$LINENO: checking for long long" >&5
16998 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16999 if test "${ac_cv_type_long_long+set}" = set; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17002 cat >conftest.$ac_ext <<_ACEOF
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008 $ac_includes_default
17009 typedef long long ac__type_new_;
17013 if ((ac__type_new_ *) 0)
17015 if (sizeof (ac__type_new_))
17021 rm -f conftest.$ac_objext
17022 if { (ac_try="$ac_compile"
17023 case "(($ac_try" in
17024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17025 *) ac_try_echo
=$ac_try;;
17027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028 (eval "$ac_compile") 2>conftest.er1
17030 grep -v '^ *+' conftest.er1
>conftest.err
17032 cat conftest.err
>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } && {
17035 test -z "$ac_c_werror_flag" ||
17036 test ! -s conftest.err
17037 } && test -s conftest.
$ac_objext; then
17038 ac_cv_type_long_long
=yes
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.
$ac_ext >&5
17043 ac_cv_type_long_long
=no
17046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17048 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17049 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17050 if test $ac_cv_type_long_long = yes; then
17052 cat >>confdefs.h
<<_ACEOF
17053 #define HAVE_LONG_LONG 1
17058 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17059 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17060 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 cat >conftest.
$ac_ext <<_ACEOF
17066 cat confdefs.h
>>conftest.
$ac_ext
17067 cat >>conftest.
$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 $ac_includes_default
17070 typedef fsblkcnt_t ac__type_new_;
17074 if ((ac__type_new_ *) 0)
17076 if (sizeof (ac__type_new_))
17082 rm -f conftest.
$ac_objext
17083 if { (ac_try
="$ac_compile"
17084 case "(($ac_try" in
17085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_compile") 2>conftest.er1
17091 grep -v '^ *+' conftest.er1 >conftest.err
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && {
17096 test -z "$ac_c_werror_flag" ||
17097 test ! -s conftest.err
17098 } && test -s conftest.$ac_objext; then
17099 ac_cv_type_fsblkcnt_t=yes
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.$ac_ext >&5
17104 ac_cv_type_fsblkcnt_t=no
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17109 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17110 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17111 if test $ac_cv_type_fsblkcnt_t = yes; then
17113 cat >>confdefs.h <<_ACEOF
17114 #define HAVE_FSBLKCNT_T 1
17119 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17120 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17121 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 cat >conftest.$ac_ext <<_ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 $ac_includes_default
17131 typedef fsfilcnt_t ac__type_new_;
17135 if ((ac__type_new_ *) 0)
17137 if (sizeof (ac__type_new_))
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17147 *) ac_try_echo
=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17152 grep -v '^ *+' conftest.er1
>conftest.err
17154 cat conftest.err
>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.
$ac_objext; then
17160 ac_cv_type_fsfilcnt_t
=yes
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.
$ac_ext >&5
17165 ac_cv_type_fsfilcnt_t
=no
17168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17170 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17171 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17172 if test $ac_cv_type_fsfilcnt_t = yes; then
17174 cat >>confdefs.h
<<_ACEOF
17175 #define HAVE_FSFILCNT_T 1
17181 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17182 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17183 if test "${ac_cv_type_sigset_t+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 cat >conftest.
$ac_ext <<_ACEOF
17189 cat confdefs.h
>>conftest.
$ac_ext
17190 cat >>conftest.
$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 #include <signal.h>
17194 typedef sigset_t ac__type_new_;
17198 if ((ac__type_new_ *) 0)
17200 if (sizeof (ac__type_new_))
17206 rm -f conftest.
$ac_objext
17207 if { (ac_try
="$ac_compile"
17208 case "(($ac_try" in
17209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17210 *) ac_try_echo=$ac_try;;
17212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17213 (eval "$ac_compile") 2>conftest.er1
17215 grep -v '^ *+' conftest.er1 >conftest.err
17217 cat conftest.err >&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } && {
17220 test -z "$ac_c_werror_flag" ||
17221 test ! -s conftest.err
17222 } && test -s conftest.$ac_objext; then
17223 ac_cv_type_sigset_t=yes
17225 echo "$as_me: failed program was:" >&5
17226 sed 's/^/| /' conftest.$ac_ext >&5
17228 ac_cv_type_sigset_t=no
17231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17233 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17234 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17235 if test $ac_cv_type_sigset_t = yes; then
17237 cat >>confdefs.h <<_ACEOF
17238 #define HAVE_SIGSET_T 1
17244 { echo "$as_me:$LINENO: checking for request_sense" >&5
17245 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17246 if test "${ac_cv_type_request_sense+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 cat >conftest.$ac_ext <<_ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 #include <linux/cdrom.h>
17257 typedef request_sense ac__type_new_;
17261 if ((ac__type_new_ *) 0)
17263 if (sizeof (ac__type_new_))
17269 rm -f conftest.$ac_objext
17270 if { (ac_try="$ac_compile"
17271 case "(($ac_try" in
17272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17273 *) ac_try_echo
=$ac_try;;
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_compile") 2>conftest.er1
17278 grep -v '^ *+' conftest.er1
>conftest.err
17280 cat conftest.err
>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } && {
17283 test -z "$ac_c_werror_flag" ||
17284 test ! -s conftest.err
17285 } && test -s conftest.
$ac_objext; then
17286 ac_cv_type_request_sense
=yes
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.
$ac_ext >&5
17291 ac_cv_type_request_sense
=no
17294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17296 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17297 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17298 if test $ac_cv_type_request_sense = yes; then
17300 cat >>confdefs.h
<<_ACEOF
17301 #define HAVE_REQUEST_SENSE 1
17308 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17309 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17310 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 cat >conftest.
$ac_ext <<_ACEOF
17316 cat confdefs.h
>>conftest.
$ac_ext
17317 cat >>conftest.
$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 #ifdef HAVE_LINUX_INPUT_H
17320 #include <linux/input.h>
17326 static struct ff_effect ac_aggr;
17327 if (ac_aggr.direction)
17333 rm -f conftest.
$ac_objext
17334 if { (ac_try
="$ac_compile"
17335 case "(($ac_try" in
17336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17337 *) ac_try_echo=$ac_try;;
17339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17340 (eval "$ac_compile") 2>conftest.er1
17342 grep -v '^ *+' conftest.er1 >conftest.err
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } && {
17347 test -z "$ac_c_werror_flag" ||
17348 test ! -s conftest.err
17349 } && test -s conftest.$ac_objext; then
17350 ac_cv_member_struct_ff_effect_direction=yes
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 cat >conftest.$ac_ext <<_ACEOF
17358 cat confdefs.h >>conftest.$ac_ext
17359 cat >>conftest.$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17361 #ifdef HAVE_LINUX_INPUT_H
17362 #include <linux/input.h>
17368 static struct ff_effect ac_aggr;
17369 if (sizeof ac_aggr.direction)
17375 rm -f conftest.$ac_objext
17376 if { (ac_try="$ac_compile"
17377 case "(($ac_try" in
17378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17379 *) ac_try_echo
=$ac_try;;
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_compile") 2>conftest.er1
17384 grep -v '^ *+' conftest.er1
>conftest.err
17386 cat conftest.err
>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && {
17389 test -z "$ac_c_werror_flag" ||
17390 test ! -s conftest.err
17391 } && test -s conftest.
$ac_objext; then
17392 ac_cv_member_struct_ff_effect_direction
=yes
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17397 ac_cv_member_struct_ff_effect_direction
=no
17400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17405 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17406 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17407 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17409 cat >>confdefs.h
<<_ACEOF
17410 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17417 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17418 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17419 if test "${wine_cv_have_sigaddset+set}" = set; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 cat >conftest.
$ac_ext <<_ACEOF
17425 cat confdefs.h
>>conftest.
$ac_ext
17426 cat >>conftest.
$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428 #include <signal.h>
17432 sigset_t set; sigaddset(&set,SIGTERM);
17437 rm -f conftest.
$ac_objext conftest
$ac_exeext
17438 if { (ac_try
="$ac_link"
17439 case "(($ac_try" in
17440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_link") 2>conftest.er1
17446 grep -v '^ *+' conftest.er1 >conftest.err
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest$ac_exeext &&
17454 $as_test_x conftest$ac_exeext; then
17455 wine_cv_have_sigaddset=yes
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.$ac_ext >&5
17460 wine_cv_have_sigaddset=no
17463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17464 conftest$ac_exeext conftest.$ac_ext
17466 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17467 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17468 if test "$wine_cv_have_sigaddset" = "yes"
17471 cat >>confdefs.h <<\_ACEOF
17472 #define HAVE_SIGADDSET 1
17478 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17479 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17480 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 cat >conftest.$ac_ext <<_ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17498 struct hostent *result;
17505 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17506 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17512 rm -f conftest.$ac_objext conftest$ac_exeext
17513 if { (ac_try="$ac_link"
17514 case "(($ac_try" in
17515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17516 *) ac_try_echo
=$ac_try;;
17518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17519 (eval "$ac_link") 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && {
17526 test -z "$ac_c_werror_flag" ||
17527 test ! -s conftest.err
17528 } && test -s conftest
$ac_exeext &&
17529 $as_test_x conftest
$ac_exeext; then
17530 wine_cv_linux_gethostbyname_r_6
=yes
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.
$ac_ext >&5
17535 wine_cv_linux_gethostbyname_r_6
=no
17539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17540 conftest
$ac_exeext conftest.
$ac_ext
17543 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17544 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17545 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17548 cat >>confdefs.h
<<\_ACEOF
17549 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17554 if test "$ac_cv_header_linux_joystick_h" = "yes"
17556 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17557 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17558 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17568 #include <sys/ioctl.h>
17569 #include <sys/types.h>
17570 #include <linux/joystick.h>
17572 struct js_event blub;
17573 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17574 #error "no 2.2 header"
17585 rm -f conftest.
$ac_objext
17586 if { (ac_try
="$ac_compile"
17587 case "(($ac_try" in
17588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17589 *) ac_try_echo=$ac_try;;
17591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17592 (eval "$ac_compile") 2>conftest.er1
17594 grep -v '^ *+' conftest.er1 >conftest.err
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } && {
17599 test -z "$ac_c_werror_flag" ||
17600 test ! -s conftest.err
17601 } && test -s conftest.$ac_objext; then
17602 wine_cv_linux_joystick_22_api=yes
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17607 wine_cv_linux_joystick_22_api=no
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17614 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17615 if test "$wine_cv_linux_joystick_22_api" = "yes"
17618 cat >>confdefs.h <<\_ACEOF
17619 #define HAVE_LINUX_22_JOYSTICK_API 1
17626 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17627 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17628 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 cat >conftest.$ac_ext <<_ACEOF
17634 cat confdefs.h >>conftest.$ac_ext
17635 cat >>conftest.$ac_ext <<_ACEOF
17636 /* end confdefs.h. */
17637 #include <sys/types.h>
17638 #ifdef HAVE_SYS_PARAM_H
17639 # include <sys/param.h>
17641 #ifdef HAVE_SYS_MOUNT_H
17642 # include <sys/mount.h>
17644 #ifdef HAVE_SYS_VFS_H
17645 # include <sys/vfs.h>
17647 #ifdef HAVE_SYS_STATFS_H
17648 # include <sys/statfs.h>
17654 static struct statfs ac_aggr;
17655 if (ac_aggr.f_bfree)
17661 rm -f conftest.$ac_objext
17662 if { (ac_try="$ac_compile"
17663 case "(($ac_try" in
17664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17665 *) ac_try_echo
=$ac_try;;
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_compile") 2>conftest.er1
17670 grep -v '^ *+' conftest.er1
>conftest.err
17672 cat conftest.err
>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } && {
17675 test -z "$ac_c_werror_flag" ||
17676 test ! -s conftest.err
17677 } && test -s conftest.
$ac_objext; then
17678 ac_cv_member_struct_statfs_f_bfree
=yes
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 #include <sys/types.h>
17690 #ifdef HAVE_SYS_PARAM_H
17691 # include <sys/param.h>
17693 #ifdef HAVE_SYS_MOUNT_H
17694 # include <sys/mount.h>
17696 #ifdef HAVE_SYS_VFS_H
17697 # include <sys/vfs.h>
17699 #ifdef HAVE_SYS_STATFS_H
17700 # include <sys/statfs.h>
17706 static struct statfs ac_aggr;
17707 if (sizeof ac_aggr.f_bfree)
17713 rm -f conftest.
$ac_objext
17714 if { (ac_try
="$ac_compile"
17715 case "(($ac_try" in
17716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17717 *) ac_try_echo=$ac_try;;
17719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17720 (eval "$ac_compile") 2>conftest.er1
17722 grep -v '^ *+' conftest.er1 >conftest.err
17724 cat conftest.err >&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } && {
17727 test -z "$ac_c_werror_flag" ||
17728 test ! -s conftest.err
17729 } && test -s conftest.$ac_objext; then
17730 ac_cv_member_struct_statfs_f_bfree=yes
17732 echo "$as_me: failed program was:" >&5
17733 sed 's/^/| /' conftest.$ac_ext >&5
17735 ac_cv_member_struct_statfs_f_bfree=no
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17744 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17745 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17747 cat >>confdefs.h <<_ACEOF
17748 #define HAVE_STRUCT_STATFS_F_BFREE 1
17753 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17754 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17755 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17756 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 cat >conftest.$ac_ext <<_ACEOF
17761 cat confdefs.h >>conftest.$ac_ext
17762 cat >>conftest.$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 #include <sys/types.h>
17765 #ifdef HAVE_SYS_PARAM_H
17766 # include <sys/param.h>
17768 #ifdef HAVE_SYS_MOUNT_H
17769 # include <sys/mount.h>
17771 #ifdef HAVE_SYS_VFS_H
17772 # include <sys/vfs.h>
17774 #ifdef HAVE_SYS_STATFS_H
17775 # include <sys/statfs.h>
17781 static struct statfs ac_aggr;
17782 if (ac_aggr.f_bavail)
17788 rm -f conftest.$ac_objext
17789 if { (ac_try="$ac_compile"
17790 case "(($ac_try" in
17791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17792 *) ac_try_echo
=$ac_try;;
17794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_compile") 2>conftest.er1
17797 grep -v '^ *+' conftest.er1
>conftest.err
17799 cat conftest.err
>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } && {
17802 test -z "$ac_c_werror_flag" ||
17803 test ! -s conftest.err
17804 } && test -s conftest.
$ac_objext; then
17805 ac_cv_member_struct_statfs_f_bavail
=yes
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.
$ac_ext >&5
17810 cat >conftest.
$ac_ext <<_ACEOF
17813 cat confdefs.h
>>conftest.
$ac_ext
17814 cat >>conftest.
$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 #include <sys/types.h>
17817 #ifdef HAVE_SYS_PARAM_H
17818 # include <sys/param.h>
17820 #ifdef HAVE_SYS_MOUNT_H
17821 # include <sys/mount.h>
17823 #ifdef HAVE_SYS_VFS_H
17824 # include <sys/vfs.h>
17826 #ifdef HAVE_SYS_STATFS_H
17827 # include <sys/statfs.h>
17833 static struct statfs ac_aggr;
17834 if (sizeof ac_aggr.f_bavail)
17840 rm -f conftest.
$ac_objext
17841 if { (ac_try
="$ac_compile"
17842 case "(($ac_try" in
17843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17844 *) ac_try_echo=$ac_try;;
17846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17847 (eval "$ac_compile") 2>conftest.er1
17849 grep -v '^ *+' conftest.er1 >conftest.err
17851 cat conftest.err >&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); } && {
17854 test -z "$ac_c_werror_flag" ||
17855 test ! -s conftest.err
17856 } && test -s conftest.$ac_objext; then
17857 ac_cv_member_struct_statfs_f_bavail=yes
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.$ac_ext >&5
17862 ac_cv_member_struct_statfs_f_bavail=no
17865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17870 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17871 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17872 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17874 cat >>confdefs.h <<_ACEOF
17875 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17880 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17881 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17882 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 cat >conftest.$ac_ext <<_ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17891 #include <sys/types.h>
17892 #ifdef HAVE_SYS_PARAM_H
17893 # include <sys/param.h>
17895 #ifdef HAVE_SYS_MOUNT_H
17896 # include <sys/mount.h>
17898 #ifdef HAVE_SYS_VFS_H
17899 # include <sys/vfs.h>
17901 #ifdef HAVE_SYS_STATFS_H
17902 # include <sys/statfs.h>
17908 static struct statfs ac_aggr;
17909 if (ac_aggr.f_frsize)
17915 rm -f conftest.$ac_objext
17916 if { (ac_try="$ac_compile"
17917 case "(($ac_try" in
17918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17919 *) ac_try_echo
=$ac_try;;
17921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_compile") 2>conftest.er1
17924 grep -v '^ *+' conftest.er1
>conftest.err
17926 cat conftest.err
>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } && {
17929 test -z "$ac_c_werror_flag" ||
17930 test ! -s conftest.err
17931 } && test -s conftest.
$ac_objext; then
17932 ac_cv_member_struct_statfs_f_frsize
=yes
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.
$ac_ext >&5
17937 cat >conftest.
$ac_ext <<_ACEOF
17940 cat confdefs.h
>>conftest.
$ac_ext
17941 cat >>conftest.
$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17943 #include <sys/types.h>
17944 #ifdef HAVE_SYS_PARAM_H
17945 # include <sys/param.h>
17947 #ifdef HAVE_SYS_MOUNT_H
17948 # include <sys/mount.h>
17950 #ifdef HAVE_SYS_VFS_H
17951 # include <sys/vfs.h>
17953 #ifdef HAVE_SYS_STATFS_H
17954 # include <sys/statfs.h>
17960 static struct statfs ac_aggr;
17961 if (sizeof ac_aggr.f_frsize)
17967 rm -f conftest.
$ac_objext
17968 if { (ac_try
="$ac_compile"
17969 case "(($ac_try" in
17970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17971 *) ac_try_echo=$ac_try;;
17973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17974 (eval "$ac_compile") 2>conftest.er1
17976 grep -v '^ *+' conftest.er1 >conftest.err
17978 cat conftest.err >&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); } && {
17981 test -z "$ac_c_werror_flag" ||
17982 test ! -s conftest.err
17983 } && test -s conftest.$ac_objext; then
17984 ac_cv_member_struct_statfs_f_frsize=yes
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17989 ac_cv_member_struct_statfs_f_frsize=no
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17997 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17998 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17999 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18001 cat >>confdefs.h <<_ACEOF
18002 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18007 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18008 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18009 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 cat >conftest.$ac_ext <<_ACEOF
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h. */
18018 #include <sys/types.h>
18019 #ifdef HAVE_SYS_PARAM_H
18020 # include <sys/param.h>
18022 #ifdef HAVE_SYS_MOUNT_H
18023 # include <sys/mount.h>
18025 #ifdef HAVE_SYS_VFS_H
18026 # include <sys/vfs.h>
18028 #ifdef HAVE_SYS_STATFS_H
18029 # include <sys/statfs.h>
18035 static struct statfs ac_aggr;
18036 if (ac_aggr.f_ffree)
18042 rm -f conftest.$ac_objext
18043 if { (ac_try="$ac_compile"
18044 case "(($ac_try" in
18045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18046 *) ac_try_echo
=$ac_try;;
18048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18049 (eval "$ac_compile") 2>conftest.er1
18051 grep -v '^ *+' conftest.er1
>conftest.err
18053 cat conftest.err
>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } && {
18056 test -z "$ac_c_werror_flag" ||
18057 test ! -s conftest.err
18058 } && test -s conftest.
$ac_objext; then
18059 ac_cv_member_struct_statfs_f_ffree
=yes
18061 echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.
$ac_ext >&5
18064 cat >conftest.
$ac_ext <<_ACEOF
18067 cat confdefs.h
>>conftest.
$ac_ext
18068 cat >>conftest.
$ac_ext <<_ACEOF
18069 /* end confdefs.h. */
18070 #include <sys/types.h>
18071 #ifdef HAVE_SYS_PARAM_H
18072 # include <sys/param.h>
18074 #ifdef HAVE_SYS_MOUNT_H
18075 # include <sys/mount.h>
18077 #ifdef HAVE_SYS_VFS_H
18078 # include <sys/vfs.h>
18080 #ifdef HAVE_SYS_STATFS_H
18081 # include <sys/statfs.h>
18087 static struct statfs ac_aggr;
18088 if (sizeof ac_aggr.f_ffree)
18094 rm -f conftest.
$ac_objext
18095 if { (ac_try
="$ac_compile"
18096 case "(($ac_try" in
18097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18098 *) ac_try_echo=$ac_try;;
18100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18101 (eval "$ac_compile") 2>conftest.er1
18103 grep -v '^ *+' conftest.er1 >conftest.err
18105 cat conftest.err >&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } && {
18108 test -z "$ac_c_werror_flag" ||
18109 test ! -s conftest.err
18110 } && test -s conftest.$ac_objext; then
18111 ac_cv_member_struct_statfs_f_ffree=yes
18113 echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.$ac_ext >&5
18116 ac_cv_member_struct_statfs_f_ffree=no
18119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18124 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18125 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18126 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18128 cat >>confdefs.h <<_ACEOF
18129 #define HAVE_STRUCT_STATFS_F_FFREE 1
18134 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18135 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18136 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18137 echo $ECHO_N "(cached) $ECHO_C" >&6
18139 cat >conftest.$ac_ext <<_ACEOF
18142 cat confdefs.h >>conftest.$ac_ext
18143 cat >>conftest.$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18145 #include <sys/types.h>
18146 #ifdef HAVE_SYS_PARAM_H
18147 # include <sys/param.h>
18149 #ifdef HAVE_SYS_MOUNT_H
18150 # include <sys/mount.h>
18152 #ifdef HAVE_SYS_VFS_H
18153 # include <sys/vfs.h>
18155 #ifdef HAVE_SYS_STATFS_H
18156 # include <sys/statfs.h>
18162 static struct statfs ac_aggr;
18163 if (ac_aggr.f_favail)
18169 rm -f conftest.$ac_objext
18170 if { (ac_try="$ac_compile"
18171 case "(($ac_try" in
18172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18173 *) ac_try_echo
=$ac_try;;
18175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18176 (eval "$ac_compile") 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } && {
18183 test -z "$ac_c_werror_flag" ||
18184 test ! -s conftest.err
18185 } && test -s conftest.
$ac_objext; then
18186 ac_cv_member_struct_statfs_f_favail
=yes
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.
$ac_ext >&5
18191 cat >conftest.
$ac_ext <<_ACEOF
18194 cat confdefs.h
>>conftest.
$ac_ext
18195 cat >>conftest.
$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18197 #include <sys/types.h>
18198 #ifdef HAVE_SYS_PARAM_H
18199 # include <sys/param.h>
18201 #ifdef HAVE_SYS_MOUNT_H
18202 # include <sys/mount.h>
18204 #ifdef HAVE_SYS_VFS_H
18205 # include <sys/vfs.h>
18207 #ifdef HAVE_SYS_STATFS_H
18208 # include <sys/statfs.h>
18214 static struct statfs ac_aggr;
18215 if (sizeof ac_aggr.f_favail)
18221 rm -f conftest.
$ac_objext
18222 if { (ac_try
="$ac_compile"
18223 case "(($ac_try" in
18224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18225 *) ac_try_echo=$ac_try;;
18227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18228 (eval "$ac_compile") 2>conftest.er1
18230 grep -v '^ *+' conftest.er1 >conftest.err
18232 cat conftest.err >&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); } && {
18235 test -z "$ac_c_werror_flag" ||
18236 test ! -s conftest.err
18237 } && test -s conftest.$ac_objext; then
18238 ac_cv_member_struct_statfs_f_favail=yes
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.$ac_ext >&5
18243 ac_cv_member_struct_statfs_f_favail=no
18246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18252 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18253 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18255 cat >>confdefs.h <<_ACEOF
18256 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18261 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18262 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18263 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 cat >conftest.$ac_ext <<_ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 #include <sys/types.h>
18273 #ifdef HAVE_SYS_PARAM_H
18274 # include <sys/param.h>
18276 #ifdef HAVE_SYS_MOUNT_H
18277 # include <sys/mount.h>
18279 #ifdef HAVE_SYS_VFS_H
18280 # include <sys/vfs.h>
18282 #ifdef HAVE_SYS_STATFS_H
18283 # include <sys/statfs.h>
18289 static struct statfs ac_aggr;
18290 if (ac_aggr.f_namelen)
18296 rm -f conftest.$ac_objext
18297 if { (ac_try="$ac_compile"
18298 case "(($ac_try" in
18299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18300 *) ac_try_echo
=$ac_try;;
18302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303 (eval "$ac_compile") 2>conftest.er1
18305 grep -v '^ *+' conftest.er1
>conftest.err
18307 cat conftest.err
>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } && {
18310 test -z "$ac_c_werror_flag" ||
18311 test ! -s conftest.err
18312 } && test -s conftest.
$ac_objext; then
18313 ac_cv_member_struct_statfs_f_namelen
=yes
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.
$ac_ext >&5
18318 cat >conftest.
$ac_ext <<_ACEOF
18321 cat confdefs.h
>>conftest.
$ac_ext
18322 cat >>conftest.
$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 #include <sys/types.h>
18325 #ifdef HAVE_SYS_PARAM_H
18326 # include <sys/param.h>
18328 #ifdef HAVE_SYS_MOUNT_H
18329 # include <sys/mount.h>
18331 #ifdef HAVE_SYS_VFS_H
18332 # include <sys/vfs.h>
18334 #ifdef HAVE_SYS_STATFS_H
18335 # include <sys/statfs.h>
18341 static struct statfs ac_aggr;
18342 if (sizeof ac_aggr.f_namelen)
18348 rm -f conftest.
$ac_objext
18349 if { (ac_try
="$ac_compile"
18350 case "(($ac_try" in
18351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18352 *) ac_try_echo=$ac_try;;
18354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18355 (eval "$ac_compile") 2>conftest.er1
18357 grep -v '^ *+' conftest.er1 >conftest.err
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } && {
18362 test -z "$ac_c_werror_flag" ||
18363 test ! -s conftest.err
18364 } && test -s conftest.$ac_objext; then
18365 ac_cv_member_struct_statfs_f_namelen=yes
18367 echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.$ac_ext >&5
18370 ac_cv_member_struct_statfs_f_namelen=no
18373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18378 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18379 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18380 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18382 cat >>confdefs.h <<_ACEOF
18383 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18390 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18391 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18392 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18393 echo $ECHO_N "(cached) $ECHO_C" >&6
18395 cat >conftest.$ac_ext <<_ACEOF
18398 cat confdefs.h >>conftest.$ac_ext
18399 cat >>conftest.$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 #ifdef HAVE_SYS_STATVFS_H
18402 #include <sys/statvfs.h>
18408 static struct statvfs ac_aggr;
18409 if (ac_aggr.f_blocks)
18415 rm -f conftest.$ac_objext
18416 if { (ac_try="$ac_compile"
18417 case "(($ac_try" in
18418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18419 *) ac_try_echo
=$ac_try;;
18421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18422 (eval "$ac_compile") 2>conftest.er1
18424 grep -v '^ *+' conftest.er1
>conftest.err
18426 cat conftest.err
>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } && {
18429 test -z "$ac_c_werror_flag" ||
18430 test ! -s conftest.err
18431 } && test -s conftest.
$ac_objext; then
18432 ac_cv_member_struct_statvfs_f_blocks
=yes
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.
$ac_ext >&5
18437 cat >conftest.
$ac_ext <<_ACEOF
18440 cat confdefs.h
>>conftest.
$ac_ext
18441 cat >>conftest.
$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 #ifdef HAVE_SYS_STATVFS_H
18444 #include <sys/statvfs.h>
18450 static struct statvfs ac_aggr;
18451 if (sizeof ac_aggr.f_blocks)
18457 rm -f conftest.
$ac_objext
18458 if { (ac_try
="$ac_compile"
18459 case "(($ac_try" in
18460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18461 *) ac_try_echo=$ac_try;;
18463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18464 (eval "$ac_compile") 2>conftest.er1
18466 grep -v '^ *+' conftest.er1 >conftest.err
18468 cat conftest.err >&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } && {
18471 test -z "$ac_c_werror_flag" ||
18472 test ! -s conftest.err
18473 } && test -s conftest.$ac_objext; then
18474 ac_cv_member_struct_statvfs_f_blocks=yes
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.$ac_ext >&5
18479 ac_cv_member_struct_statvfs_f_blocks=no
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18487 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18488 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18489 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18491 cat >>confdefs.h <<_ACEOF
18492 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18499 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18500 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18501 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18502 echo $ECHO_N "(cached) $ECHO_C" >&6
18504 cat >conftest.$ac_ext <<_ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <sys/types.h>
18511 #ifdef HAVE_SYS_SOCKET_H
18512 # include <sys/socket.h>
18514 #ifdef HAVE_SYS_UN_H
18515 # include <sys/un.h>
18521 static struct msghdr ac_aggr;
18522 if (ac_aggr.msg_accrights)
18528 rm -f conftest.$ac_objext
18529 if { (ac_try="$ac_compile"
18530 case "(($ac_try" in
18531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18532 *) ac_try_echo
=$ac_try;;
18534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18535 (eval "$ac_compile") 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } && {
18542 test -z "$ac_c_werror_flag" ||
18543 test ! -s conftest.err
18544 } && test -s conftest.
$ac_objext; then
18545 ac_cv_member_struct_msghdr_msg_accrights
=yes
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18550 cat >conftest.
$ac_ext <<_ACEOF
18553 cat confdefs.h
>>conftest.
$ac_ext
18554 cat >>conftest.
$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <sys/types.h>
18557 #ifdef HAVE_SYS_SOCKET_H
18558 # include <sys/socket.h>
18560 #ifdef HAVE_SYS_UN_H
18561 # include <sys/un.h>
18567 static struct msghdr ac_aggr;
18568 if (sizeof ac_aggr.msg_accrights)
18574 rm -f conftest.
$ac_objext
18575 if { (ac_try
="$ac_compile"
18576 case "(($ac_try" in
18577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_compile") 2>conftest.er1
18583 grep -v '^ *+' conftest.er1 >conftest.err
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } && {
18588 test -z "$ac_c_werror_flag" ||
18589 test ! -s conftest.err
18590 } && test -s conftest.$ac_objext; then
18591 ac_cv_member_struct_msghdr_msg_accrights=yes
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_cv_member_struct_msghdr_msg_accrights=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18605 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18606 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18608 cat >>confdefs.h <<_ACEOF
18609 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18614 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18615 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18616 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18617 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 cat >conftest.$ac_ext <<_ACEOF
18622 cat confdefs.h >>conftest.$ac_ext
18623 cat >>conftest.$ac_ext <<_ACEOF
18624 /* end confdefs.h. */
18625 #include <sys/types.h>
18626 #ifdef HAVE_SYS_SOCKET_H
18627 # include <sys/socket.h>
18629 #ifdef HAVE_SYS_UN_H
18630 # include <sys/un.h>
18636 static struct sockaddr ac_aggr;
18637 if (ac_aggr.sa_len)
18643 rm -f conftest.$ac_objext
18644 if { (ac_try="$ac_compile"
18645 case "(($ac_try" in
18646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18647 *) ac_try_echo
=$ac_try;;
18649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18650 (eval "$ac_compile") 2>conftest.er1
18652 grep -v '^ *+' conftest.er1
>conftest.err
18654 cat conftest.err
>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } && {
18657 test -z "$ac_c_werror_flag" ||
18658 test ! -s conftest.err
18659 } && test -s conftest.
$ac_objext; then
18660 ac_cv_member_struct_sockaddr_sa_len
=yes
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.
$ac_ext >&5
18665 cat >conftest.
$ac_ext <<_ACEOF
18668 cat confdefs.h
>>conftest.
$ac_ext
18669 cat >>conftest.
$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 #include <sys/types.h>
18672 #ifdef HAVE_SYS_SOCKET_H
18673 # include <sys/socket.h>
18675 #ifdef HAVE_SYS_UN_H
18676 # include <sys/un.h>
18682 static struct sockaddr ac_aggr;
18683 if (sizeof ac_aggr.sa_len)
18689 rm -f conftest.
$ac_objext
18690 if { (ac_try
="$ac_compile"
18691 case "(($ac_try" in
18692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_compile") 2>conftest.er1
18698 grep -v '^ *+' conftest.er1 >conftest.err
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_c_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest.$ac_objext; then
18706 ac_cv_member_struct_sockaddr_sa_len=yes
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 ac_cv_member_struct_sockaddr_sa_len=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18720 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18721 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18729 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18730 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18731 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18732 echo $ECHO_N "(cached) $ECHO_C" >&6
18734 cat >conftest.$ac_ext <<_ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 #include <sys/types.h>
18741 #ifdef HAVE_SYS_SOCKET_H
18742 # include <sys/socket.h>
18744 #ifdef HAVE_SYS_UN_H
18745 # include <sys/un.h>
18751 static struct sockaddr_un ac_aggr;
18752 if (ac_aggr.sun_len)
18758 rm -f conftest.$ac_objext
18759 if { (ac_try="$ac_compile"
18760 case "(($ac_try" in
18761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18762 *) ac_try_echo
=$ac_try;;
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_compile") 2>conftest.er1
18767 grep -v '^ *+' conftest.er1
>conftest.err
18769 cat conftest.err
>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } && {
18772 test -z "$ac_c_werror_flag" ||
18773 test ! -s conftest.err
18774 } && test -s conftest.
$ac_objext; then
18775 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.
$ac_ext >&5
18780 cat >conftest.
$ac_ext <<_ACEOF
18783 cat confdefs.h
>>conftest.
$ac_ext
18784 cat >>conftest.
$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 #include <sys/types.h>
18787 #ifdef HAVE_SYS_SOCKET_H
18788 # include <sys/socket.h>
18790 #ifdef HAVE_SYS_UN_H
18791 # include <sys/un.h>
18797 static struct sockaddr_un ac_aggr;
18798 if (sizeof ac_aggr.sun_len)
18804 rm -f conftest.
$ac_objext
18805 if { (ac_try
="$ac_compile"
18806 case "(($ac_try" in
18807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18808 *) ac_try_echo=$ac_try;;
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_compile") 2>conftest.er1
18813 grep -v '^ *+' conftest.er1 >conftest.err
18815 cat conftest.err >&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } && {
18818 test -z "$ac_c_werror_flag" ||
18819 test ! -s conftest.err
18820 } && test -s conftest.$ac_objext; then
18821 ac_cv_member_struct_sockaddr_un_sun_len=yes
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18826 ac_cv_member_struct_sockaddr_un_sun_len=no
18829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18834 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18835 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18836 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18838 cat >>confdefs.h <<_ACEOF
18839 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18846 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18847 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18848 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18849 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 cat >conftest.$ac_ext <<_ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 #include <sys/types.h>
18858 #ifdef HAVE_SCSI_SG_H
18859 #include <scsi/sg.h>
18865 static scsireq_t ac_aggr;
18872 rm -f conftest.$ac_objext
18873 if { (ac_try="$ac_compile"
18874 case "(($ac_try" in
18875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18876 *) ac_try_echo
=$ac_try;;
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_compile") 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } && {
18886 test -z "$ac_c_werror_flag" ||
18887 test ! -s conftest.err
18888 } && test -s conftest.
$ac_objext; then
18889 ac_cv_member_scsireq_t_cmd
=yes
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.
$ac_ext >&5
18894 cat >conftest.
$ac_ext <<_ACEOF
18897 cat confdefs.h
>>conftest.
$ac_ext
18898 cat >>conftest.
$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18901 #ifdef HAVE_SCSI_SG_H
18902 #include <scsi/sg.h>
18908 static scsireq_t ac_aggr;
18909 if (sizeof ac_aggr.cmd)
18915 rm -f conftest.
$ac_objext
18916 if { (ac_try
="$ac_compile"
18917 case "(($ac_try" in
18918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18919 *) ac_try_echo=$ac_try;;
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_compile") 2>conftest.er1
18924 grep -v '^ *+' conftest.er1 >conftest.err
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } && {
18929 test -z "$ac_c_werror_flag" ||
18930 test ! -s conftest.err
18931 } && test -s conftest.$ac_objext; then
18932 ac_cv_member_scsireq_t_cmd=yes
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 ac_cv_member_scsireq_t_cmd=no
18940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18945 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18946 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18947 if test $ac_cv_member_scsireq_t_cmd = yes; then
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_SCSIREQ_T_CMD 1
18955 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18956 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18957 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18960 cat >conftest.$ac_ext <<_ACEOF
18963 cat confdefs.h >>conftest.$ac_ext
18964 cat >>conftest.$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 #include <sys/types.h>
18967 #ifdef HAVE_SCSI_SG_H
18968 #include <scsi/sg.h>
18974 static sg_io_hdr_t ac_aggr;
18975 if (ac_aggr.interface_id)
18981 rm -f conftest.$ac_objext
18982 if { (ac_try="$ac_compile"
18983 case "(($ac_try" in
18984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18985 *) ac_try_echo
=$ac_try;;
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_compile") 2>conftest.er1
18990 grep -v '^ *+' conftest.er1
>conftest.err
18992 cat conftest.err
>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } && {
18995 test -z "$ac_c_werror_flag" ||
18996 test ! -s conftest.err
18997 } && test -s conftest.
$ac_objext; then
18998 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19000 echo "$as_me: failed program was:" >&5
19001 sed 's/^/| /' conftest.
$ac_ext >&5
19003 cat >conftest.
$ac_ext <<_ACEOF
19006 cat confdefs.h
>>conftest.
$ac_ext
19007 cat >>conftest.
$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 #include <sys/types.h>
19010 #ifdef HAVE_SCSI_SG_H
19011 #include <scsi/sg.h>
19017 static sg_io_hdr_t ac_aggr;
19018 if (sizeof ac_aggr.interface_id)
19024 rm -f conftest.
$ac_objext
19025 if { (ac_try
="$ac_compile"
19026 case "(($ac_try" in
19027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_compile") 2>conftest.er1
19033 grep -v '^ *+' conftest.er1 >conftest.err
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_c_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest.$ac_objext; then
19041 ac_cv_member_sg_io_hdr_t_interface_id=yes
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.$ac_ext >&5
19046 ac_cv_member_sg_io_hdr_t_interface_id=no
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19055 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19056 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19066 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19067 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19068 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 cat >conftest.$ac_ext <<_ACEOF
19074 cat confdefs.h >>conftest.$ac_ext
19075 cat >>conftest.$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19077 #include <signal.h>
19082 static siginfo_t ac_aggr;
19089 rm -f conftest.$ac_objext
19090 if { (ac_try="$ac_compile"
19091 case "(($ac_try" in
19092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19093 *) ac_try_echo
=$ac_try;;
19095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19096 (eval "$ac_compile") 2>conftest.er1
19098 grep -v '^ *+' conftest.er1
>conftest.err
19100 cat conftest.err
>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } && {
19103 test -z "$ac_c_werror_flag" ||
19104 test ! -s conftest.err
19105 } && test -s conftest.
$ac_objext; then
19106 ac_cv_member_siginfo_t_si_fd
=yes
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.
$ac_ext >&5
19111 cat >conftest.
$ac_ext <<_ACEOF
19114 cat confdefs.h
>>conftest.
$ac_ext
19115 cat >>conftest.
$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19117 #include <signal.h>
19122 static siginfo_t ac_aggr;
19123 if (sizeof ac_aggr.si_fd)
19129 rm -f conftest.
$ac_objext
19130 if { (ac_try
="$ac_compile"
19131 case "(($ac_try" in
19132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compile") 2>conftest.er1
19138 grep -v '^ *+' conftest.er1 >conftest.err
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && {
19143 test -z "$ac_c_werror_flag" ||
19144 test ! -s conftest.err
19145 } && test -s conftest.$ac_objext; then
19146 ac_cv_member_siginfo_t_si_fd=yes
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19151 ac_cv_member_siginfo_t_si_fd=no
19154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19160 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19161 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_SIGINFO_T_SI_FD 1
19171 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19172 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19173 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19176 cat >conftest.$ac_ext <<_ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 #include <sys/types.h>
19183 #ifdef HAVE_SYS_MTIO_H
19184 #include <sys/mtio.h>
19190 static struct mtget ac_aggr;
19191 if (ac_aggr.mt_blksiz)
19197 rm -f conftest.$ac_objext
19198 if { (ac_try="$ac_compile"
19199 case "(($ac_try" in
19200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19201 *) ac_try_echo
=$ac_try;;
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_compile") 2>conftest.er1
19206 grep -v '^ *+' conftest.er1
>conftest.err
19208 cat conftest.err
>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } && {
19211 test -z "$ac_c_werror_flag" ||
19212 test ! -s conftest.err
19213 } && test -s conftest.
$ac_objext; then
19214 ac_cv_member_struct_mtget_mt_blksiz
=yes
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.
$ac_ext >&5
19219 cat >conftest.
$ac_ext <<_ACEOF
19222 cat confdefs.h
>>conftest.
$ac_ext
19223 cat >>conftest.
$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 #include <sys/types.h>
19226 #ifdef HAVE_SYS_MTIO_H
19227 #include <sys/mtio.h>
19233 static struct mtget ac_aggr;
19234 if (sizeof ac_aggr.mt_blksiz)
19240 rm -f conftest.
$ac_objext
19241 if { (ac_try
="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19249 grep -v '^ *+' conftest.er1 >conftest.err
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 ac_cv_member_struct_mtget_mt_blksiz=yes
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19262 ac_cv_member_struct_mtget_mt_blksiz=no
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19271 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19272 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19274 cat >>confdefs.h <<_ACEOF
19275 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19280 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19281 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19282 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 cat >conftest.$ac_ext <<_ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <sys/types.h>
19292 #ifdef HAVE_SYS_MTIO_H
19293 #include <sys/mtio.h>
19299 static struct mtget ac_aggr;
19300 if (ac_aggr.mt_gstat)
19306 rm -f conftest.$ac_objext
19307 if { (ac_try="$ac_compile"
19308 case "(($ac_try" in
19309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19310 *) ac_try_echo
=$ac_try;;
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_compile") 2>conftest.er1
19315 grep -v '^ *+' conftest.er1
>conftest.err
19317 cat conftest.err
>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && {
19320 test -z "$ac_c_werror_flag" ||
19321 test ! -s conftest.err
19322 } && test -s conftest.
$ac_objext; then
19323 ac_cv_member_struct_mtget_mt_gstat
=yes
19325 echo "$as_me: failed program was:" >&5
19326 sed 's/^/| /' conftest.
$ac_ext >&5
19328 cat >conftest.
$ac_ext <<_ACEOF
19331 cat confdefs.h
>>conftest.
$ac_ext
19332 cat >>conftest.
$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19334 #include <sys/types.h>
19335 #ifdef HAVE_SYS_MTIO_H
19336 #include <sys/mtio.h>
19342 static struct mtget ac_aggr;
19343 if (sizeof ac_aggr.mt_gstat)
19349 rm -f conftest.
$ac_objext
19350 if { (ac_try
="$ac_compile"
19351 case "(($ac_try" in
19352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19353 *) ac_try_echo=$ac_try;;
19355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19356 (eval "$ac_compile") 2>conftest.er1
19358 grep -v '^ *+' conftest.er1 >conftest.err
19360 cat conftest.err >&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } && {
19363 test -z "$ac_c_werror_flag" ||
19364 test ! -s conftest.err
19365 } && test -s conftest.$ac_objext; then
19366 ac_cv_member_struct_mtget_mt_gstat=yes
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19371 ac_cv_member_struct_mtget_mt_gstat=no
19374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19380 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19381 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19383 cat >>confdefs.h <<_ACEOF
19384 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19389 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19390 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19391 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 cat >conftest.$ac_ext <<_ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 #include <sys/types.h>
19401 #ifdef HAVE_SYS_MTIO_H
19402 #include <sys/mtio.h>
19408 static struct mtget ac_aggr;
19409 if (ac_aggr.mt_blkno)
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19419 *) ac_try_echo
=$ac_try;;
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19424 grep -v '^ *+' conftest.er1
>conftest.err
19426 cat conftest.err
>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.
$ac_objext; then
19432 ac_cv_member_struct_mtget_mt_blkno
=yes
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.
$ac_ext >&5
19437 cat >conftest.
$ac_ext <<_ACEOF
19440 cat confdefs.h
>>conftest.
$ac_ext
19441 cat >>conftest.
$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 #include <sys/types.h>
19444 #ifdef HAVE_SYS_MTIO_H
19445 #include <sys/mtio.h>
19451 static struct mtget ac_aggr;
19452 if (sizeof ac_aggr.mt_blkno)
19458 rm -f conftest.
$ac_objext
19459 if { (ac_try
="$ac_compile"
19460 case "(($ac_try" in
19461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19462 *) ac_try_echo=$ac_try;;
19464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19465 (eval "$ac_compile") 2>conftest.er1
19467 grep -v '^ *+' conftest.er1 >conftest.err
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } && {
19472 test -z "$ac_c_werror_flag" ||
19473 test ! -s conftest.err
19474 } && test -s conftest.$ac_objext; then
19475 ac_cv_member_struct_mtget_mt_blkno=yes
19477 echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.$ac_ext >&5
19480 ac_cv_member_struct_mtget_mt_blkno=no
19483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19489 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19490 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19492 cat >>confdefs.h <<_ACEOF
19493 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19500 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19501 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19502 if test "${ac_cv_member_struct_option_name+set}" = set; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 cat >conftest.$ac_ext <<_ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19511 #ifdef HAVE_GETOPT_H
19512 #include <getopt.h>
19518 static struct option ac_aggr;
19525 rm -f conftest.$ac_objext
19526 if { (ac_try="$ac_compile"
19527 case "(($ac_try" in
19528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19529 *) ac_try_echo
=$ac_try;;
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532 (eval "$ac_compile") 2>conftest.er1
19534 grep -v '^ *+' conftest.er1
>conftest.err
19536 cat conftest.err
>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } && {
19539 test -z "$ac_c_werror_flag" ||
19540 test ! -s conftest.err
19541 } && test -s conftest.
$ac_objext; then
19542 ac_cv_member_struct_option_name
=yes
19544 echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.
$ac_ext >&5
19547 cat >conftest.
$ac_ext <<_ACEOF
19550 cat confdefs.h
>>conftest.
$ac_ext
19551 cat >>conftest.
$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19553 #ifdef HAVE_GETOPT_H
19554 #include <getopt.h>
19560 static struct option ac_aggr;
19561 if (sizeof ac_aggr.name)
19567 rm -f conftest.
$ac_objext
19568 if { (ac_try
="$ac_compile"
19569 case "(($ac_try" in
19570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19571 *) ac_try_echo=$ac_try;;
19573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19574 (eval "$ac_compile") 2>conftest.er1
19576 grep -v '^ *+' conftest.er1 >conftest.err
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } && {
19581 test -z "$ac_c_werror_flag" ||
19582 test ! -s conftest.err
19583 } && test -s conftest.$ac_objext; then
19584 ac_cv_member_struct_option_name=yes
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19589 ac_cv_member_struct_option_name=no
19592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19597 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19598 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19599 if test $ac_cv_member_struct_option_name = yes; then
19601 cat >>confdefs.h <<_ACEOF
19602 #define HAVE_STRUCT_OPTION_NAME 1
19609 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19610 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19611 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19612 echo $ECHO_N "(cached) $ECHO_C" >&6
19614 cat >conftest.$ac_ext <<_ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 $ac_includes_default
19624 static struct stat ac_aggr;
19625 if (ac_aggr.st_blocks)
19631 rm -f conftest.$ac_objext
19632 if { (ac_try="$ac_compile"
19633 case "(($ac_try" in
19634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19635 *) ac_try_echo
=$ac_try;;
19637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19638 (eval "$ac_compile") 2>conftest.er1
19640 grep -v '^ *+' conftest.er1
>conftest.err
19642 cat conftest.err
>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } && {
19645 test -z "$ac_c_werror_flag" ||
19646 test ! -s conftest.err
19647 } && test -s conftest.
$ac_objext; then
19648 ac_cv_member_struct_stat_st_blocks
=yes
19650 echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.
$ac_ext >&5
19653 cat >conftest.
$ac_ext <<_ACEOF
19656 cat confdefs.h
>>conftest.
$ac_ext
19657 cat >>conftest.
$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659 $ac_includes_default
19663 static struct stat ac_aggr;
19664 if (sizeof ac_aggr.st_blocks)
19670 rm -f conftest.
$ac_objext
19671 if { (ac_try
="$ac_compile"
19672 case "(($ac_try" in
19673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_compile") 2>conftest.er1
19679 grep -v '^ *+' conftest.er1 >conftest.err
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } && {
19684 test -z "$ac_c_werror_flag" ||
19685 test ! -s conftest.err
19686 } && test -s conftest.$ac_objext; then
19687 ac_cv_member_struct_stat_st_blocks=yes
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.$ac_ext >&5
19692 ac_cv_member_struct_stat_st_blocks=no
19695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19701 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19702 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19704 cat >>confdefs.h <<_ACEOF
19705 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19712 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19713 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19714 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 cat >conftest.$ac_ext <<_ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #ifdef HAVE_SYS_TYPES_H
19724 #include <sys/types.h>
19726 #ifdef HAVE_NETINET_IN_H
19727 #include <netinet/in.h>
19733 static struct sockaddr_in6 ac_aggr;
19734 if (ac_aggr.sin6_scope_id)
19740 rm -f conftest.$ac_objext
19741 if { (ac_try="$ac_compile"
19742 case "(($ac_try" in
19743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19744 *) ac_try_echo
=$ac_try;;
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_compile") 2>conftest.er1
19749 grep -v '^ *+' conftest.er1
>conftest.err
19751 cat conftest.err
>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } && {
19754 test -z "$ac_c_werror_flag" ||
19755 test ! -s conftest.err
19756 } && test -s conftest.
$ac_objext; then
19757 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.
$ac_ext >&5
19762 cat >conftest.
$ac_ext <<_ACEOF
19765 cat confdefs.h
>>conftest.
$ac_ext
19766 cat >>conftest.
$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 #ifdef HAVE_SYS_TYPES_H
19769 #include <sys/types.h>
19771 #ifdef HAVE_NETINET_IN_H
19772 #include <netinet/in.h>
19778 static struct sockaddr_in6 ac_aggr;
19779 if (sizeof ac_aggr.sin6_scope_id)
19785 rm -f conftest.
$ac_objext
19786 if { (ac_try
="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1 >conftest.err
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19807 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19816 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19817 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19819 cat >>confdefs.h <<_ACEOF
19820 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19827 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19828 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19829 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19830 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 cat >conftest.$ac_ext <<_ACEOF
19835 cat confdefs.h >>conftest.$ac_ext
19836 cat >>conftest.$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19838 #ifdef HAVE_SYS_TYPES_H
19839 #include <sys/types.h>
19841 #ifdef HAVE_NETINET_IN_H
19842 # include <netinet/in.h>
19844 #ifdef HAVE_ARPA_NAMESER_H
19845 # include <arpa/nameser.h>
19851 static ns_msg ac_aggr;
19852 if (ac_aggr._msg_ptr)
19858 rm -f conftest.$ac_objext
19859 if { (ac_try="$ac_compile"
19860 case "(($ac_try" in
19861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19862 *) ac_try_echo
=$ac_try;;
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_compile") 2>conftest.er1
19867 grep -v '^ *+' conftest.er1
>conftest.err
19869 cat conftest.err
>&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); } && {
19872 test -z "$ac_c_werror_flag" ||
19873 test ! -s conftest.err
19874 } && test -s conftest.
$ac_objext; then
19875 ac_cv_member_ns_msg__msg_ptr
=yes
19877 echo "$as_me: failed program was:" >&5
19878 sed 's/^/| /' conftest.
$ac_ext >&5
19880 cat >conftest.
$ac_ext <<_ACEOF
19883 cat confdefs.h
>>conftest.
$ac_ext
19884 cat >>conftest.
$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886 #ifdef HAVE_SYS_TYPES_H
19887 #include <sys/types.h>
19889 #ifdef HAVE_NETINET_IN_H
19890 # include <netinet/in.h>
19892 #ifdef HAVE_ARPA_NAMESER_H
19893 # include <arpa/nameser.h>
19899 static ns_msg ac_aggr;
19900 if (sizeof ac_aggr._msg_ptr)
19906 rm -f conftest.
$ac_objext
19907 if { (ac_try
="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19915 grep -v '^ *+' conftest.er1 >conftest.err
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && {
19920 test -z "$ac_c_werror_flag" ||
19921 test ! -s conftest.err
19922 } && test -s conftest.$ac_objext; then
19923 ac_cv_member_ns_msg__msg_ptr=yes
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19928 ac_cv_member_ns_msg__msg_ptr=no
19931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19936 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19937 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19938 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19940 cat >>confdefs.h <<_ACEOF
19941 #define HAVE_NS_MSG__MSG_PTR 1
19948 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19949 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19950 if test "${ac_cv_have_timezone+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 cat >conftest.$ac_ext <<_ACEOF
19956 cat confdefs.h >>conftest.$ac_ext
19957 cat >>conftest.$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19968 rm -f conftest.$ac_objext conftest$ac_exeext
19969 if { (ac_try="$ac_link"
19970 case "(($ac_try" in
19971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19972 *) ac_try_echo
=$ac_try;;
19974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19975 (eval "$ac_link") 2>conftest.er1
19977 grep -v '^ *+' conftest.er1
>conftest.err
19979 cat conftest.err
>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } && {
19982 test -z "$ac_c_werror_flag" ||
19983 test ! -s conftest.err
19984 } && test -s conftest
$ac_exeext &&
19985 $as_test_x conftest
$ac_exeext; then
19986 ac_cv_have_timezone
="yes"
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.
$ac_ext >&5
19991 ac_cv_have_timezone
="no"
19994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19995 conftest
$ac_exeext conftest.
$ac_ext
19997 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19998 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19999 if test "$ac_cv_have_timezone" = "yes"
20002 cat >>confdefs.h
<<\_ACEOF
20003 #define HAVE_TIMEZONE 1
20007 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20008 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20009 if test "${ac_cv_have_daylight+set}" = set; then
20010 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 cat >conftest.
$ac_ext <<_ACEOF
20015 cat confdefs.h
>>conftest.
$ac_ext
20016 cat >>conftest.
$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20027 rm -f conftest.
$ac_objext conftest
$ac_exeext
20028 if { (ac_try
="$ac_link"
20029 case "(($ac_try" in
20030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20031 *) ac_try_echo=$ac_try;;
20033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20034 (eval "$ac_link") 2>conftest.er1
20036 grep -v '^ *+' conftest.er1 >conftest.err
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_c_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest$ac_exeext &&
20044 $as_test_x conftest$ac_exeext; then
20045 ac_cv_have_daylight="yes"
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20050 ac_cv_have_daylight="no"
20053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20054 conftest$ac_exeext conftest.$ac_ext
20056 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20057 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20058 if test "$ac_cv_have_daylight" = "yes"
20061 cat >>confdefs.h <<\_ACEOF
20062 #define HAVE_DAYLIGHT 1
20069 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20070 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20071 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 cat >conftest.$ac_ext <<_ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20085 $EGREP "yes" >/dev/null 2>&1; then
20086 ac_cv_cpp_def___i386__=yes
20088 ac_cv_cpp_def___i386__=no
20093 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20094 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20095 if test $ac_cv_cpp_def___i386__ = yes; then
20096 CFLAGS="$CFLAGS -D__i386__"
20097 LINTFLAGS="$LINTFLAGS -D__i386__"
20100 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20101 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20102 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 cat >conftest.$ac_ext <<_ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20116 $EGREP "yes" >/dev/null 2>&1; then
20117 ac_cv_cpp_def___x86_64__=yes
20119 ac_cv_cpp_def___x86_64__=no
20124 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20125 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20126 if test $ac_cv_cpp_def___x86_64__ = yes; then
20127 CFLAGS="$CFLAGS -D__x86_64__"
20128 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20131 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20132 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20133 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20134 echo $ECHO_N "(cached) $ECHO_C" >&6
20136 cat >conftest.$ac_ext <<_ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20147 $EGREP "yes" >/dev/null 2>&1; then
20148 ac_cv_cpp_def___ALPHA__=yes
20150 ac_cv_cpp_def___ALPHA__=no
20155 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20156 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20157 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20158 CFLAGS="$CFLAGS -D__ALPHA__"
20159 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20162 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20163 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20164 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 cat >conftest.$ac_ext <<_ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20178 $EGREP "yes" >/dev/null 2>&1; then
20179 ac_cv_cpp_def___sparc__=yes
20181 ac_cv_cpp_def___sparc__=no
20186 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20187 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20188 if test $ac_cv_cpp_def___sparc__ = yes; then
20189 CFLAGS="$CFLAGS -D__sparc__"
20190 LINTFLAGS="$LINTFLAGS -D__sparc__"
20193 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20194 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20195 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 cat >conftest.$ac_ext <<_ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 #ifndef __powerpc__
20208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20209 $EGREP "yes" >/dev/null 2>&1; then
20210 ac_cv_cpp_def___powerpc__=yes
20212 ac_cv_cpp_def___powerpc__=no
20217 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20218 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20219 if test $ac_cv_cpp_def___powerpc__ = yes; then
20220 CFLAGS="$CFLAGS -D__powerpc__"
20221 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20226 case $host_vendor in
20227 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20228 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20229 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 cat >conftest.$ac_ext <<_ACEOF
20235 cat confdefs.h >>conftest.$ac_ext
20236 cat >>conftest.$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20243 $EGREP "yes" >/dev/null 2>&1; then
20244 ac_cv_cpp_def___sun__=yes
20246 ac_cv_cpp_def___sun__=no
20251 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20252 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20253 if test $ac_cv_cpp_def___sun__ = yes; then
20254 CFLAGS="$CFLAGS -D__sun__"
20255 LINTFLAGS="$LINTFLAGS -D__sun__"
20261 DEPENDENCIES="### Dependencies:
20266 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20268 \$(OBJS): \$(IDL_GEN_HEADERS)
20269 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20270 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20271 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20277 ac_config_commands="$ac_config_commands include/stamp-h"
20280 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20282 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20284 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20286 ac_config_commands="$ac_config_commands dlls/user32/resources"
20288 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20290 ac_config_commands="$ac_config_commands include/wine"
20293 MAKE_RULES=Make.rules
20296 MAKE_DLL_RULES=dlls/Makedll.rules
20299 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20302 MAKE_TEST_RULES=dlls/Maketest.rules
20305 MAKE_PROG_RULES=programs/Makeprog.rules
20308 ac_config_files="$ac_config_files Make.rules"
20310 ac_config_files="$ac_config_files dlls/Makedll.rules"
20312 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20314 ac_config_files="$ac_config_files dlls/Maketest.rules"
20316 ac_config_files="$ac_config_files programs/Makeprog.rules"
20318 ac_config_files="$ac_config_files Makefile"
20320 ac_config_files="$ac_config_files dlls/Makefile"
20322 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20324 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20326 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20328 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20330 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20332 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20334 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20336 ac_config_files="$ac_config_files dlls/atl/Makefile"
20338 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20340 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20342 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20344 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20346 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20348 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20350 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20352 ac_config_files="$ac_config_files dlls/cards/Makefile"
20354 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20356 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20358 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20360 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20362 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20364 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20366 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20368 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20370 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20372 ac_config_files="$ac_config_files dlls/credui/Makefile"
20374 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20376 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20378 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20380 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20382 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20384 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20386 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20388 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20390 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20392 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20394 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20396 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20398 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20400 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20402 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20404 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20406 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20408 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20410 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20412 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20414 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20416 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20418 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20420 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20422 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20424 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20426 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20428 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20430 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20432 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20434 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20436 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20438 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20440 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20442 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20444 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20446 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20448 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20450 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20452 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20454 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20456 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20458 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20460 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20462 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20464 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20466 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20468 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20470 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20472 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20474 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20476 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20478 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20480 ac_config_files="$ac_config_files dlls/hid/Makefile"
20482 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20484 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20486 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20488 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20490 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20492 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20494 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20496 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20498 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20500 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20502 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20504 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20506 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20508 ac_config_files="$ac_config_files dlls/itss/Makefile"
20510 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20512 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20514 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20516 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20518 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20520 ac_config_files="$ac_config_files dlls/localui/Makefile"
20522 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20524 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20526 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20528 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20530 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20532 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20534 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20536 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20538 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20540 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20542 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20544 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20546 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20548 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20550 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20552 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20554 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20556 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20558 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20562 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20564 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20566 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20568 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20570 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20572 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20574 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20576 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20578 ac_config_files="$ac_config_files dlls/msi/Makefile"
20580 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20582 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20584 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20586 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20588 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20590 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20592 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20594 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20596 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20598 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20600 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20602 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20604 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20606 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20608 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20610 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20614 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20616 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20618 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20620 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20622 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20624 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20626 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20628 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20630 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20632 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20636 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20638 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20640 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20642 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20646 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20648 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20650 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20652 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20654 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20656 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20658 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20660 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20662 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20664 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20666 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/query/Makefile"
20670 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20672 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20674 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20676 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20678 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20680 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20682 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20686 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20688 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20690 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20692 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20694 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20696 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20698 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20700 ac_config_files="$ac_config_files dlls/security/Makefile"
20702 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20704 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20706 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20708 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20710 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20712 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20714 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20716 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20718 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20720 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20722 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20724 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20726 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20728 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20730 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20732 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20734 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20736 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20738 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20740 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20742 ac_config_files="$ac_config_files dlls/sti/Makefile"
20744 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20746 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20748 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20750 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20752 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20754 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20756 ac_config_files="$ac_config_files dlls/url/Makefile"
20758 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20760 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20762 ac_config_files="$ac_config_files dlls/user32/Makefile"
20764 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20766 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20768 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20770 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20772 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20774 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20776 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20778 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20780 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20782 ac_config_files="$ac_config_files dlls/version/Makefile"
20784 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20786 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20788 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20790 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20792 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20794 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20796 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20798 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20800 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20802 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20804 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20806 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20808 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20810 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20812 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20814 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20816 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20818 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20820 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20822 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20824 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20826 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20828 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20830 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20832 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20834 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20836 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20838 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20840 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20842 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20844 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20846 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20848 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20850 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20852 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20854 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20856 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20858 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20860 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20862 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20864 ac_config_files="$ac_config_files documentation/Makefile"
20866 ac_config_files="$ac_config_files fonts/Makefile"
20868 ac_config_files="$ac_config_files include/Makefile"
20870 ac_config_files="$ac_config_files libs/Makefile"
20872 ac_config_files="$ac_config_files libs/port/Makefile"
20874 ac_config_files="$ac_config_files libs/wine/Makefile"
20876 ac_config_files="$ac_config_files libs/wpp/Makefile"
20878 ac_config_files="$ac_config_files loader/Makefile"
20880 ac_config_files="$ac_config_files programs/Makefile"
20882 ac_config_files="$ac_config_files programs/clock/Makefile"
20884 ac_config_files="$ac_config_files programs/cmd/Makefile"
20886 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20888 ac_config_files="$ac_config_files programs/control/Makefile"
20890 ac_config_files="$ac_config_files programs/eject/Makefile"
20892 ac_config_files="$ac_config_files programs/expand/Makefile"
20894 ac_config_files="$ac_config_files programs/explorer/Makefile"
20896 ac_config_files="$ac_config_files programs/hh/Makefile"
20898 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20900 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20902 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20904 ac_config_files="$ac_config_files programs/notepad/Makefile"
20906 ac_config_files="$ac_config_files programs/oleview/Makefile"
20908 ac_config_files="$ac_config_files programs/progman/Makefile"
20910 ac_config_files="$ac_config_files programs/regedit/Makefile"
20912 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20914 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20916 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20918 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20920 ac_config_files="$ac_config_files programs/start/Makefile"
20922 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20924 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20926 ac_config_files="$ac_config_files programs/view/Makefile"
20928 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20930 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20932 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20934 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20936 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20938 ac_config_files="$ac_config_files programs/winefile/Makefile"
20940 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20942 ac_config_files="$ac_config_files programs/winemine/Makefile"
20944 ac_config_files="$ac_config_files programs/winepath/Makefile"
20946 ac_config_files="$ac_config_files programs/winetest/Makefile"
20948 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20950 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20952 ac_config_files="$ac_config_files programs/winver/Makefile"
20954 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20956 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20958 ac_config_files="$ac_config_files server/Makefile"
20960 ac_config_files="$ac_config_files tools/Makefile"
20962 ac_config_files="$ac_config_files tools/widl/Makefile"
20964 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20966 ac_config_files="$ac_config_files tools/winedump/Makefile"
20968 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20970 ac_config_files="$ac_config_files tools/wmc/Makefile"
20972 ac_config_files="$ac_config_files tools/wrc/Makefile"
20975 cat >confcache <<\_ACEOF
20976 # This file is a shell script that caches the results of configure
20977 # tests run on this system so they can be shared between configure
20978 # scripts and configure runs, see configure's option --config-cache.
20979 # It is not useful on other systems. If it contains results you don't
20980 # want to keep, you may remove or edit it.
20982 # config.status only pays attention to the cache file if you give it
20983 # the --recheck option to rerun configure.
20985 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20987 # following values.
20991 # The following way of writing the cache mishandles newlines in values,
20992 # but we know of no workaround that is simple, portable, and efficient.
20993 # So, we kill variables containing newlines.
20994 # Ultrix sh set writes to stderr and can't be redirected directly,
20995 # and sets the high bit in the cache file unless we assign to the vars.
20997 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20998 eval ac_val
=\$
$ac_var
21002 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21003 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21006 _ | IFS | as_nl
) ;; #(
21007 *) $as_unset $ac_var ;;
21013 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21014 *${as_nl}ac_space
=\
*)
21015 # `set' does not quote correctly, so add quotes (double-quote
21016 # substitution turns \\\\ into \\, and sed turns \\ into \).
21019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21022 # `set' quotes correctly as required by POSIX, so do not add quotes.
21023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21036 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21037 if test -w "$cache_file"; then
21038 test "x$cache_file" != "x/dev/null" &&
21039 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21040 echo "$as_me: updating cache $cache_file" >&6;}
21041 cat confcache
>$cache_file
21043 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21044 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21049 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21050 # Let make expand exec_prefix.
21051 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21053 DEFS
=-DHAVE_CONFIG_H
21057 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21058 # 1. Remove the extension, and $U if already installed.
21059 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21060 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21061 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21062 # will be set to the directory where LIBOBJS objects are built.
21063 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21064 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21066 LIBOBJS
=$ac_libobjs
21068 LTLIBOBJS
=$ac_ltlibobjs
21072 : ${CONFIG_STATUS=./config.status}
21073 ac_clean_files_save
=$ac_clean_files
21074 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21075 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21076 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21077 cat >$CONFIG_STATUS <<_ACEOF
21079 # Generated by $as_me.
21080 # Run this file to recreate the current configuration.
21081 # Compiler output produced by configure, useful for debugging
21082 # configure, is in config.log if it exists.
21085 ac_cs_recheck=false
21087 SHELL=\${CONFIG_SHELL-$SHELL}
21090 cat >>$CONFIG_STATUS <<\_ACEOF
21091 ## --------------------- ##
21092 ## M4sh Initialization. ##
21093 ## --------------------- ##
21095 # Be more Bourne compatible
21096 DUALCASE
=1; export DUALCASE
# for MKS sh
21097 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21100 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21101 # is contrary to our usage. Disable this feature.
21102 alias -g '${1+"$@"}'='"$@"'
21103 setopt NO_GLOB_SUBST
21105 case `(set -o) 2>/dev/null` in
21106 *posix
*) set -o posix
;;
21115 # Avoid depending upon Character Ranges.
21116 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21117 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21118 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21119 as_cr_digits
='0123456789'
21120 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21122 # The user is always right.
21123 if test "${PATH_SEPARATOR+set}" != set; then
21124 echo "#! /bin/sh" >conf$$.sh
21125 echo "exit 0" >>conf$$.sh
21127 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21135 # Support unset when possible.
21136 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21144 # We need space, tab and new line, in precisely that order. Quoting is
21145 # there to prevent editors from complaining about space-tab.
21146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21147 # splitting by setting IFS to empty value.)
21152 # Find who we are. Look in the path if we contain no directory separator.
21154 *[\\/]* ) as_myself
=$0 ;;
21155 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21156 for as_dir
in $PATH
21159 test -z "$as_dir" && as_dir
=.
21160 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21166 # We did not find ourselves, most probably we were run as `sh COMMAND'
21167 # in which case we are not to be found in the path.
21168 if test "x$as_myself" = x
; then
21171 if test ! -f "$as_myself"; then
21172 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21173 { (exit 1); exit 1; }
21176 # Work around bugs in pre-3.0 UWIN ksh.
21177 for as_var
in ENV MAIL MAILPATH
21178 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21186 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21187 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21188 LC_TELEPHONE LC_TIME
21190 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21191 eval $as_var=C
; export $as_var
21193 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21197 # Required to use basename.
21198 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21199 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21205 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21206 as_basename
=basename
21212 # Name of the executable.
21213 as_me
=`$as_basename -- "$0" ||
21214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21215 X"$0" : 'X\(//\)$' \| \
21216 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21218 sed '/^.*\/\([^/][^/]*\)\/*$/{
21237 as_lineno_1
=$LINENO
21238 as_lineno_2
=$LINENO
21239 test "x$as_lineno_1" != "x$as_lineno_2" &&
21240 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21242 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21243 # uniformly replaced by the line number. The first 'sed' inserts a
21244 # line-number line after each line using $LINENO; the second 'sed'
21245 # does the real work. The second script uses 'N' to pair each
21246 # line-number line with the line containing $LINENO, and appends
21247 # trailing '-' during substitution so that $LINENO is not a special
21248 # case at line end.
21249 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21250 # scripts with optimization help from Paolo Bonzini. Blame Lee
21251 # E. McMahon (1931-1989) for sed's syntax. :-)
21263 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21266 ' >$as_me.lineno
&&
21267 chmod +x
"$as_me.lineno" ||
21268 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21269 { (exit 1); exit 1; }; }
21271 # Don't try to exec as it changes $[0], causing all sort of problems
21272 # (the dirname of $[0] is not the place where we might find the
21273 # original and so on. Autoconf is especially sensitive to this).
21274 .
"./$as_me.lineno"
21275 # Exit status is that of the last command.
21280 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21286 ECHO_C
= ECHO_N
= ECHO_T
=
21287 case `echo -n x` in
21289 case `echo 'x\c'` in
21290 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21297 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21298 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21304 rm -f conf$$ conf$$.exe conf$$.
file
21305 if test -d conf$$.dir
; then
21306 rm -f conf$$.dir
/conf$$.
file
21312 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21314 # ... but there are two gotchas:
21315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21317 # In both cases, we have to default to `cp -p'.
21318 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21320 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21325 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21326 rmdir conf$$.dir
2>/dev
/null
21328 if mkdir
-p .
2>/dev
/null
; then
21331 test -d .
/-p && rmdir .
/-p
21335 if test -x / >/dev
/null
2>&1; then
21336 as_test_x
='test -x'
21338 if ls -dL / >/dev
/null
2>&1; then
21345 if test -d "$1"; then
21351 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21352 ???[sx]*):;;*)false;;esac;fi
21356 as_executable_p
=$as_test_x
21358 # Sed expression to map a string onto a valid CPP name.
21359 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21361 # Sed expression to map a string onto a valid variable name.
21362 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21367 # Save the log message, to keep $[0] and so on meaningful, and to
21368 # report actual input values of CONFIG_FILES etc. instead of their
21369 # values after options handling.
21371 This file was extended by Wine $as_me 0.9.35, which was
21372 generated by GNU Autoconf 2.61. Invocation command line was
21374 CONFIG_FILES = $CONFIG_FILES
21375 CONFIG_HEADERS = $CONFIG_HEADERS
21376 CONFIG_LINKS = $CONFIG_LINKS
21377 CONFIG_COMMANDS = $CONFIG_COMMANDS
21380 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21385 cat >>$CONFIG_STATUS <<_ACEOF
21386 # Files that config.status was made for.
21387 config_files="$ac_config_files"
21388 config_headers="$ac_config_headers"
21389 config_commands="$ac_config_commands"
21393 cat >>$CONFIG_STATUS <<\_ACEOF
21395 \`$as_me' instantiates files from templates according to the
21396 current configuration.
21398 Usage: $0 [OPTIONS] [FILE]...
21400 -h, --help print this help, then exit
21401 -V, --version print version number and configuration settings, then exit
21402 -q, --quiet do not print progress messages
21403 -d, --debug don't remove temporary files
21404 --recheck update $as_me by reconfiguring in the same conditions
21405 --file=FILE[:TEMPLATE]
21406 instantiate the configuration file FILE
21407 --header=FILE[:TEMPLATE]
21408 instantiate the configuration header FILE
21410 Configuration files:
21413 Configuration headers:
21416 Configuration commands:
21419 Report bugs to <bug-autoconf@gnu.org>."
21422 cat >>$CONFIG_STATUS <<_ACEOF
21424 Wine config.status 0.9.35
21425 configured by $0, generated by GNU Autoconf 2.61,
21426 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21428 Copyright (C) 2006 Free Software Foundation, Inc.
21429 This config.status script is free software; the Free Software Foundation
21430 gives unlimited permission to copy, distribute and modify it."
21437 cat >>$CONFIG_STATUS <<\_ACEOF
21438 # If no file are specified by the user, then we need to provide default
21439 # value. By we need to know if files were specified by the user.
21445 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21446 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21457 # Handling of the options.
21458 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21460 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21461 echo "$ac_cs_version"; exit ;;
21462 --debug |
--debu |
--deb |
--de |
--d |
-d )
21464 --file |
--fil |
--fi |
--f )
21466 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21467 ac_need_defaults
=false
;;
21468 --header |
--heade |
--head |
--hea )
21470 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21471 ac_need_defaults
=false
;;
21473 # Conflict between --help and --header
21474 { echo "$as_me: error: ambiguous option: $1
21475 Try \`$0 --help' for more information." >&2
21476 { (exit 1); exit 1; }; };;
21477 --help |
--hel |
-h )
21478 echo "$ac_cs_usage"; exit ;;
21479 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21480 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21483 # This is an error.
21484 -*) { echo "$as_me: error: unrecognized option: $1
21485 Try \`$0 --help' for more information." >&2
21486 { (exit 1); exit 1; }; } ;;
21488 *) ac_config_targets
="$ac_config_targets $1"
21489 ac_need_defaults
=false
;;
21495 ac_configure_extra_args
=
21497 if $ac_cs_silent; then
21499 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21503 cat >>$CONFIG_STATUS <<_ACEOF
21504 if \$ac_cs_recheck; then
21505 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21506 CONFIG_SHELL=$SHELL
21507 export CONFIG_SHELL
21508 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21512 cat >>$CONFIG_STATUS <<\_ACEOF
21516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21517 ## Running $as_me. ##
21523 cat >>$CONFIG_STATUS <<_ACEOF
21526 cat >>$CONFIG_STATUS <<\_ACEOF
21528 # Handling of arguments.
21529 for ac_config_target
in $ac_config_targets
21531 case $ac_config_target in
21532 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21533 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21534 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21535 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21536 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21537 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21538 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21539 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21540 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21541 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21542 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21543 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21544 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21545 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21546 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21547 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21548 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21549 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21550 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21551 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21552 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21553 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21554 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21555 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21556 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21557 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21558 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21559 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21560 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21561 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21562 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21563 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21564 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21565 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21566 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21567 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21568 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21569 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21570 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21571 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21572 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21573 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21574 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21575 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21576 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21577 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21578 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21579 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21580 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21581 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21582 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21583 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21584 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21585 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21586 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21587 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21588 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21589 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21590 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21591 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21592 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21593 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21594 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21595 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21596 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21597 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21598 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21599 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21600 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21601 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21602 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21603 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21604 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21605 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21606 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21607 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21608 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21609 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21610 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21611 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21612 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21613 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21614 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21615 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21616 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21617 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21618 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21619 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21620 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21621 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21622 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21623 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21624 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21625 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21626 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21627 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21628 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21629 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21630 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21631 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21632 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21633 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21634 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21635 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21636 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21637 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21638 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21639 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21640 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21641 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21642 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21643 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21644 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21645 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21646 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21647 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21648 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21649 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21650 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21651 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21652 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21653 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21654 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21655 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21656 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21657 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21658 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21659 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21660 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21661 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21662 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21663 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21664 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21665 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21666 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21667 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21668 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21669 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21670 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21671 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21672 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21673 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21674 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21675 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21676 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21677 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21678 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21679 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21680 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21681 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21682 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21683 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21684 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21685 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21686 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21687 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21688 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21689 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21690 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21691 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21692 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21693 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21694 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21695 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21696 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21697 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21698 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21699 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21700 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21701 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21702 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21703 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21704 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21705 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21706 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21707 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21708 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21709 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21710 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21711 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21712 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21713 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21714 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21715 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21716 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21717 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21718 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21719 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21720 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21721 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21722 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21723 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21724 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21725 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21726 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21727 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21728 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21729 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21730 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21731 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21732 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21733 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21734 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21735 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21736 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21737 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21738 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21739 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21740 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21741 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21742 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21743 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21744 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21745 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21746 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21747 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21748 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21749 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21750 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21751 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21752 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21753 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21754 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21755 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21756 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21757 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21758 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21759 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21760 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21761 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21762 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21763 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21764 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21765 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21766 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21767 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21768 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21769 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21770 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21771 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21772 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21773 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21774 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21775 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21776 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21777 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21778 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21779 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21780 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21781 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21782 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21783 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21784 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21785 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21786 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21787 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21788 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21789 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21790 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21791 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21792 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21793 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21794 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21795 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21796 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21797 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21798 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21799 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21800 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21801 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21802 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21803 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21804 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21805 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21806 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21807 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21808 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21809 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21810 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21811 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21812 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21813 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21814 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21815 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21816 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21817 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21818 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21819 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21820 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21821 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21822 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21823 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21824 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21825 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21826 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21827 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21828 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21829 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21830 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21831 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21832 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21833 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21834 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21835 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21836 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21837 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21838 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21839 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21840 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21841 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21842 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21843 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21844 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21845 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21846 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21847 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21848 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21849 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21850 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21851 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21852 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21853 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21854 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21855 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21856 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21857 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21858 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21859 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21860 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21861 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21862 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21863 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21864 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21865 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21866 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21867 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21868 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21869 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21870 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21871 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21872 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21874 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21875 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21876 { (exit 1); exit 1; }; };;
21881 # If the user did not use the arguments to specify the items to instantiate,
21882 # then the envvar interface is used. Set only those that are not.
21883 # We use the long form for the default assignment because of an extremely
21884 # bizarre bug on SunOS 4.1.3.
21885 if $ac_need_defaults; then
21886 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21887 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21888 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21891 # Have a temporary directory for convenience. Make it in the build tree
21892 # simply because there is no reason against having it here, and in addition,
21893 # creating and moving files from /tmp can sometimes cause problems.
21894 # Hook for its removal unless debugging.
21895 # Note that there is a small window in which the directory will not be cleaned:
21896 # after its creation but before its name has been assigned to `$tmp'.
21900 trap 'exit_status=$?
21901 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21903 trap '{ (exit 1); exit 1; }' 1 2 13 15
21905 # Create a (secure) tmp directory for tmp files.
21908 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21909 test -n "$tmp" && test -d "$tmp"
21912 tmp
=.
/conf$$
-$RANDOM
21913 (umask 077 && mkdir
"$tmp")
21916 echo "$me: cannot create a temporary directory in ." >&2
21917 { (exit 1); exit 1; }
21921 # Set up the sed scripts for CONFIG_FILES section.
21924 # No need to generate the scripts if there are no CONFIG_FILES.
21925 # This happens for instance when ./config.status config.h
21926 if test -n "$CONFIG_FILES"; then
21930 # Create sed commands to just substitute file output variables.
21932 # Remaining file output variables are in a fragment that also has non-file
21938 for ac_last_try
in false false false false false
:; do
21939 cat >conf$
$subs.
sed <<_ACEOF
21940 SHELL!$SHELL$ac_delim
21941 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21942 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21943 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21944 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21945 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21946 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21947 exec_prefix!$exec_prefix$ac_delim
21948 prefix!$prefix$ac_delim
21949 program_transform_name!$program_transform_name$ac_delim
21950 bindir!$bindir$ac_delim
21951 sbindir!$sbindir$ac_delim
21952 libexecdir!$libexecdir$ac_delim
21953 datarootdir!$datarootdir$ac_delim
21954 datadir!$datadir$ac_delim
21955 sysconfdir!$sysconfdir$ac_delim
21956 sharedstatedir!$sharedstatedir$ac_delim
21957 localstatedir!$localstatedir$ac_delim
21958 includedir!$includedir$ac_delim
21959 oldincludedir!$oldincludedir$ac_delim
21960 docdir!$docdir$ac_delim
21961 infodir!$infodir$ac_delim
21962 htmldir!$htmldir$ac_delim
21963 dvidir!$dvidir$ac_delim
21964 pdfdir!$pdfdir$ac_delim
21965 psdir!$psdir$ac_delim
21966 libdir!$libdir$ac_delim
21967 localedir!$localedir$ac_delim
21968 mandir!$mandir$ac_delim
21969 DEFS!$DEFS$ac_delim
21970 ECHO_C!$ECHO_C$ac_delim
21971 ECHO_N!$ECHO_N$ac_delim
21972 ECHO_T!$ECHO_T$ac_delim
21973 LIBS!$LIBS$ac_delim
21974 build_alias!$build_alias$ac_delim
21975 host_alias!$host_alias$ac_delim
21976 target_alias!$target_alias$ac_delim
21977 build!$build$ac_delim
21978 build_cpu!$build_cpu$ac_delim
21979 build_vendor!$build_vendor$ac_delim
21980 build_os!$build_os$ac_delim
21981 host!$host$ac_delim
21982 host_cpu!$host_cpu$ac_delim
21983 host_vendor!$host_vendor$ac_delim
21984 host_os!$host_os$ac_delim
21985 WIN16_FILES!$WIN16_FILES$ac_delim
21986 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21987 SET_MAKE!$SET_MAKE$ac_delim
21989 CFLAGS!$CFLAGS$ac_delim
21990 LDFLAGS!$LDFLAGS$ac_delim
21991 CPPFLAGS!$CPPFLAGS$ac_delim
21992 ac_ct_CC!$ac_ct_CC$ac_delim
21993 EXEEXT!$EXEEXT$ac_delim
21994 OBJEXT!$OBJEXT$ac_delim
21996 CXXFLAGS!$CXXFLAGS$ac_delim
21997 ac_ct_CXX!$ac_ct_CXX$ac_delim
21998 CPPBIN!$CPPBIN$ac_delim
21999 TOOLSDIR!$TOOLSDIR$ac_delim
22000 XMKMF!$XMKMF$ac_delim
22002 X_CFLAGS!$X_CFLAGS$ac_delim
22003 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22004 X_LIBS!$X_LIBS$ac_delim
22005 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22006 FLEX!$FLEX$ac_delim
22007 BISON!$BISON$ac_delim
22009 ac_ct_AS!$ac_ct_AS$ac_delim
22012 RANLIB!$RANLIB$ac_delim
22013 STRIP!$STRIP$ac_delim
22014 WINDRES!$WINDRES$ac_delim
22015 LN_S!$LN_S$ac_delim
22017 GREP!$GREP$ac_delim
22018 EGREP!$EGREP$ac_delim
22019 LDCONFIG!$LDCONFIG$ac_delim
22020 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22021 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22024 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22026 elif $ac_last_try; then
22027 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22028 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22029 { (exit 1); exit 1; }; }
22031 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22035 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22036 if test -n "$ac_eof"; then
22037 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22038 ac_eof
=`expr $ac_eof + 1`
22041 cat >>$CONFIG_STATUS <<_ACEOF
22042 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22043 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22044 /^[ ]*@MAKE_RULES@[ ]*$/{
22048 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22052 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22053 r $MAKE_IMPLIB_RULES
22056 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22060 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22066 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22067 s/^/s,@/; s/!/@,|#_!!_#|/
22070 s/'"$ac_delim"'$/,g/; t
22072 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22073 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22074 rm -f conf$
$subs.
sed
22075 cat >>$CONFIG_STATUS <<_ACEOF
22081 for ac_last_try
in false false false false false
:; do
22082 cat >conf$
$subs.
sed <<_ACEOF
22083 INSTALL_DATA!$INSTALL_DATA$ac_delim
22084 LINT!$LINT$ac_delim
22085 LINTFLAGS!$LINTFLAGS$ac_delim
22086 FONTFORGE!$FONTFORGE$ac_delim
22087 PKG_CONFIG!$PKG_CONFIG$ac_delim
22088 PRELINK!$PRELINK$ac_delim
22089 LIBPTHREAD!$LIBPTHREAD$ac_delim
22090 XLIB!$XLIB$ac_delim
22091 XFILES!$XFILES$ac_delim
22092 OPENGLFILES!$OPENGLFILES$ac_delim
22093 GLU32FILES!$GLU32FILES$ac_delim
22094 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22095 QUARTZFILES!$QUARTZFILES$ac_delim
22096 NASLIBS!$NASLIBS$ac_delim
22097 XML2LIBS!$XML2LIBS$ac_delim
22098 XML2INCL!$XML2INCL$ac_delim
22099 XSLTLIBS!$XSLTLIBS$ac_delim
22100 XSLTINCL!$XSLTINCL$ac_delim
22101 HALINCL!$HALINCL$ac_delim
22102 sane_devel!$sane_devel$ac_delim
22103 SANEINCL!$SANEINCL$ac_delim
22104 gphoto2_devel!$gphoto2_devel$ac_delim
22105 gphoto2port_devel!$gphoto2port_devel$ac_delim
22106 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22107 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22108 ICULIBS!$ICULIBS$ac_delim
22109 RESOLVLIBS!$RESOLVLIBS$ac_delim
22110 LCMSLIBS!$LCMSLIBS$ac_delim
22111 LDAPLIBS!$LDAPLIBS$ac_delim
22112 FREETYPELIBS!$FREETYPELIBS$ac_delim
22113 FREETYPEINCL!$FREETYPEINCL$ac_delim
22114 ft_devel!$ft_devel$ac_delim
22115 ft_devel2!$ft_devel2$ac_delim
22116 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22117 ESDCONFIG!$ESDCONFIG$ac_delim
22118 ESDLIBS!$ESDLIBS$ac_delim
22119 ESDINCL!$ESDINCL$ac_delim
22120 ALSALIBS!$ALSALIBS$ac_delim
22121 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22122 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22123 BUILTINFLAG!$BUILTINFLAG$ac_delim
22124 DLLEXT!$DLLEXT$ac_delim
22125 DLLFLAGS!$DLLFLAGS$ac_delim
22126 LDSHARED!$LDSHARED$ac_delim
22127 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22128 LIBEXT!$LIBEXT$ac_delim
22129 IMPLIBEXT!$IMPLIBEXT$ac_delim
22130 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22131 DLLTOOL!$DLLTOOL$ac_delim
22132 DLLWRAP!$DLLWRAP$ac_delim
22133 MINGWAR!$MINGWAR$ac_delim
22134 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22135 IOKITLIB!$IOKITLIB$ac_delim
22136 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22137 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22138 COREAUDIO!$COREAUDIO$ac_delim
22139 CARBONLIB!$CARBONLIB$ac_delim
22140 CROSSTEST!$CROSSTEST$ac_delim
22141 CROSSCC!$CROSSCC$ac_delim
22142 CROSSWINDRES!$CROSSWINDRES$ac_delim
22143 LDPATH!$LDPATH$ac_delim
22144 CRTLIBS!$CRTLIBS$ac_delim
22145 SOCKETLIBS!$SOCKETLIBS$ac_delim
22146 MAIN_BINARY!$MAIN_BINARY$ac_delim
22147 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22149 LIBDL!$LIBDL$ac_delim
22150 LIBPOLL!$LIBPOLL$ac_delim
22151 DEPENDENCIES!$DEPENDENCIES$ac_delim
22152 LIBOBJS!$LIBOBJS$ac_delim
22153 LTLIBOBJS!$LTLIBOBJS$ac_delim
22156 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22158 elif $ac_last_try; then
22159 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22160 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22161 { (exit 1); exit 1; }; }
22163 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22167 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22168 if test -n "$ac_eof"; then
22169 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22170 ac_eof
=`expr $ac_eof + 1`
22173 cat >>$CONFIG_STATUS <<_ACEOF
22174 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22175 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22178 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22179 s/^/s,@/; s/!/@,|#_!!_#|/
22182 s/'"$ac_delim"'$/,g/; t
22184 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22185 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22186 rm -f conf$
$subs.
sed
22187 cat >>$CONFIG_STATUS <<_ACEOF
22194 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22195 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22196 # trailing colons and then remove the whole line if VPATH becomes empty
22197 # (actually we leave an empty line to preserve line numbers).
22198 if test "x$srcdir" = x.
; then
22199 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22200 s/:*\$(srcdir):*/:/
22201 s/:*\${srcdir}:*/:/
22203 s/^\([^=]*=[ ]*\):*/\1/
22209 cat >>$CONFIG_STATUS <<\_ACEOF
22210 fi # test -n "$CONFIG_FILES"
22213 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22216 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22218 case $ac_mode$ac_tag in
22220 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22221 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22222 { (exit 1); exit 1; }; };;
22223 :[FH
]-) ac_tag
=-:-;;
22224 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22241 -) ac_f
="$tmp/stdin";;
22242 *) # Look for the file first in the build tree, then in the source tree
22243 # (if the path is not absolute). The absolute path cannot be DOS-style,
22244 # because $ac_f cannot contain `:'.
22248 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22250 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22251 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22252 { (exit 1); exit 1; }; };;
22254 ac_file_inputs
="$ac_file_inputs $ac_f"
22257 # Let's still pretend it is `configure' which instantiates (i.e., don't
22258 # use $as_me), people would be surprised to read:
22259 # /* config.h. Generated by config.status. */
22260 configure_input
="Generated from "`IFS=:
22261 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22262 if test x
"$ac_file" != x-
; then
22263 configure_input
="$ac_file. $configure_input"
22264 { echo "$as_me:$LINENO: creating $ac_file" >&5
22265 echo "$as_me: creating $ac_file" >&6;}
22269 *:-:* |
*:-) cat >"$tmp/stdin";;
22274 ac_dir
=`$as_dirname -- "$ac_file" ||
22275 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22276 X"$ac_file" : 'X\(//\)[^/]' \| \
22277 X"$ac_file" : 'X\(//\)$' \| \
22278 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22284 /^X\(\/\/\)[^/].*/{
22299 -*) as_dir
=.
/$as_dir;;
22301 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22305 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22306 *) as_qdir
=$as_dir;;
22308 as_dirs
="'$as_qdir' $as_dirs"
22309 as_dir
=`$as_dirname -- "$as_dir" ||
22310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22311 X"$as_dir" : 'X\(//\)[^/]' \| \
22312 X"$as_dir" : 'X\(//\)$' \| \
22313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22319 /^X\(\/\/\)[^/].*/{
22332 test -d "$as_dir" && break
22334 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22335 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22336 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22337 { (exit 1); exit 1; }; }; }
22341 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22343 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22344 # A ".." for each directory in $ac_dir_suffix.
22345 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22346 case $ac_top_builddir_sub in
22347 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22348 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22351 ac_abs_top_builddir
=$ac_pwd
22352 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22353 # for backward compatibility:
22354 ac_top_builddir
=$ac_top_build_prefix
22357 .
) # We are building in place.
22359 ac_top_srcdir
=$ac_top_builddir_sub
22360 ac_abs_top_srcdir
=$ac_pwd ;;
22361 [\\/]* | ?
:[\\/]* ) # Absolute name.
22362 ac_srcdir
=$srcdir$ac_dir_suffix;
22363 ac_top_srcdir
=$srcdir
22364 ac_abs_top_srcdir
=$srcdir ;;
22365 *) # Relative name.
22366 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22367 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22368 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22370 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22380 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22381 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22385 cat >>$CONFIG_STATUS <<\_ACEOF
22386 # If the template does not know about datarootdir, expand it.
22387 # FIXME: This hack should be removed a few years after 2.60.
22388 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22390 case `sed -n '/datarootdir/ {
22399 ' $ac_file_inputs` in
22400 *datarootdir
*) ac_datarootdir_seen
=yes;;
22401 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22402 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22403 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22405 cat >>$CONFIG_STATUS <<_ACEOF
22406 ac_datarootdir_hack='
22407 s&@datadir@&$datadir&g
22408 s&@docdir@&$docdir&g
22409 s&@infodir@&$infodir&g
22410 s&@localedir@&$localedir&g
22411 s&@mandir@&$mandir&g
22412 s&\\\${datarootdir}&$datarootdir&g' ;;
22416 # Neutralize VPATH when `$srcdir' = `.'.
22417 # Shell code in configure.ac might set extrasub.
22418 # FIXME: do we really want to maintain this feature?
22419 cat >>$CONFIG_STATUS <<_ACEOF
22423 cat >>$CONFIG_STATUS <<\_ACEOF
22425 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22426 s
&@configure_input@
&$configure_input&;t t
22427 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22428 s
&@srcdir@
&$ac_srcdir&;t t
22429 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22430 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22431 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22432 s
&@builddir@
&$ac_builddir&;t t
22433 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22434 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22435 s
&@INSTALL@
&$ac_INSTALL&;t t
22436 $ac_datarootdir_hack
22437 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22439 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22440 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22441 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22442 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22443 which seems to be undefined. Please make sure it is defined." >&5
22444 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22445 which seems to be undefined. Please make sure it is defined." >&2;}
22449 -) cat "$tmp/out"; rm -f "$tmp/out";;
22450 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22459 # Transform confdefs.h into a sed script `conftest.defines', that
22460 # substitutes the proper values into config.h.in to produce config.h.
22461 rm -f conftest.defines conftest.
tail
22462 # First, append a space to every undef/define line, to ease matching.
22463 echo 's/$/ /' >conftest.defines
22464 # Then, protect against being on the right side of a sed subst, or in
22465 # an unquoted here document, in config.status. If some macros were
22466 # called several times there might be several #defines for the same
22467 # symbol, which is useless. But do not sort them, since the last
22468 # AC_DEFINE must be honored.
22469 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22470 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22471 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22472 # PARAMS is the parameter list in the macro definition--in most cases, it's
22473 # just an empty string.
22474 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22475 ac_dB
='\\)[ (].*,\\1define\\2'
22483 s/^[ ]*#[ ]*define[ ][ ]*//
22488 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22489 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22490 ' >>conftest.defines
22492 # Remove the space that was appended to ease matching.
22493 # Then replace #undef with comments. This is necessary, for
22494 # example, in the case of _POSIX_SOURCE, which is predefined and required
22495 # on some systems where configure will not decide to define it.
22496 # (The regexp can be short, since the line contains either #define or #undef.)
22498 s,^[ #]*u.*,/* & */,' >>conftest.defines
22500 # Break up conftest.defines:
22501 ac_max_sed_lines
=50
22503 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22504 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22505 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22507 ac_in
='$ac_file_inputs'
22508 ac_out
='"$tmp/out1"'
22509 ac_nxt
='"$tmp/out2"'
22513 # Write a here document:
22514 cat >>$CONFIG_STATUS <<_ACEOF
22515 # First, check the format of the line:
22516 cat >"\$tmp/defines.sed" <<\\CEOF
22517 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22518 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22522 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22524 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22525 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22526 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22527 grep . conftest.
tail >/dev
/null ||
break
22528 rm -f conftest.defines
22529 mv conftest.
tail conftest.defines
22531 rm -f conftest.defines conftest.
tail
22533 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22534 cat >>$CONFIG_STATUS <<\_ACEOF
22535 if test x
"$ac_file" != x-
; then
22536 echo "/* $configure_input */" >"$tmp/config.h"
22537 cat "$ac_result" >>"$tmp/config.h"
22538 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22539 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22540 echo "$as_me: $ac_file is unchanged" >&6;}
22543 mv "$tmp/config.h" $ac_file
22546 echo "/* $configure_input */"
22552 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22553 echo "$as_me: executing $ac_file commands" >&6;}
22558 case $ac_file$ac_mode in
22559 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22560 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22561 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22562 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22563 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22564 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22565 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22566 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22567 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22568 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22569 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22570 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22571 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22577 { (exit 0); exit 0; }
22579 chmod +x
$CONFIG_STATUS
22580 ac_clean_files
=$ac_clean_files_save
22583 # configure is writing to config.log, and then calls config.status.
22584 # config.status does its own redirection, appending to config.log.
22585 # Unfortunately, on DOS this fails, as config.log is still kept open
22586 # by configure, so config.status won't be able to write to it; its
22587 # output is simply discarded. So we exec the FD to /dev/null,
22588 # effectively closing config.log, so it can be properly (re)opened and
22589 # appended to by config.status. When coming back to configure, we
22590 # need to make the FD available again.
22591 if test "$no_create" != yes; then
22593 ac_config_status_args
=
22594 test "$silent" = yes &&
22595 ac_config_status_args
="$ac_config_status_args --quiet"
22597 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22599 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22600 # would make configure fail if this is the last instruction.
22601 $ac_cs_success ||
{ (exit 1); exit 1; }
22606 if test "$no_create" = "yes"
22611 if test "$verbose" = "yes"
22613 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22616 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22617 echo "$as_me: libcapi20 development files not found." >&6;}
22618 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22619 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22622 if test "$ac_cv_header_cups_cups_h" != "yes"
22625 { echo "$as_me:$LINENO: libcups development files not found." >&5
22626 echo "$as_me: libcups development files not found." >&6;}
22627 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22628 echo "$as_me: Wine will be built without CUPS support." >&6;}
22632 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22635 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22636 echo "$as_me: libgphoto2 development files not found." >&6;}
22637 if test "$ac_cv_header_sane_sane_h" = "yes"
22639 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22640 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22642 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22643 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22647 if test "$ac_cv_header_hal_libhal_h" != "yes"
22650 { echo "$as_me:$LINENO: libhal development files not found." >&5
22651 echo "$as_me: libhal development files not found." >&6;}
22652 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22653 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22656 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22659 { echo "$as_me:$LINENO: libicu development files not found." >&5
22660 echo "$as_me: libicu development files not found." >&6;}
22661 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22662 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22665 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22668 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22669 echo "$as_me: liblcms development files not found." >&6;}
22670 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22671 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22674 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22677 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22678 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22679 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22680 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22683 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22686 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22687 echo "$as_me: lib(n)curses development files not found." >&6;}
22688 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22689 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22692 if test "$ac_cv_header_sane_sane_h" != "yes"
22695 { echo "$as_me:$LINENO: libsane development files not found." >&5
22696 echo "$as_me: libsane development files not found." >&6;}
22697 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22698 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22701 if test "$have_x" = "yes"
22703 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22706 { echo "$as_me:$LINENO: libxext development files not found." >&5
22707 echo "$as_me: libxext development files not found." >&6;}
22708 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22709 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22712 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22715 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22716 echo "$as_me: libXrandr development files not found." >&6;}
22717 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22718 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22721 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22724 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22725 echo "$as_me: libXrender development files not found." >&6;}
22726 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22727 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22730 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22733 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22734 echo "$as_me: libXxf86vm development files not found." >&6;}
22735 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22736 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22740 if test "$ac_cv_header_libxml_parser_h" != "yes"
22743 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22744 echo "$as_me: libxml2 development files not found." >&6;}
22745 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22746 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22749 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22752 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22753 echo "$as_me: libxslt development files not found." >&6;}
22754 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22755 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22760 if test "$have_x" = "no"
22763 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22764 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22765 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22766 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22767 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22768 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22769 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22770 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22773 if test -z "$OPENGLFILES"
22776 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22777 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22778 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22779 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22780 if test "$wine_cv_opengl_headers_found" = "no"
22782 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22783 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22785 if test "$wine_cv_opengl_header_version_OK" = "no"
22787 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22788 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22789 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22791 if test -f /usr
/X11R
6/lib
/libGL.a
22793 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22794 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22795 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22796 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22798 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22799 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22804 if test "$wine_cv_msg_freetype" = "yes"
22807 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22808 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22809 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22810 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22811 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22812 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22813 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22814 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22817 if test -z "$FONTSSUBDIRS"
22820 if test "$FONTFORGE" = "false"
22822 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22823 echo "$as_me: WARNING: FontForge is missing." >&2;}
22825 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22826 echo "$as_me: WARNING: FreeType is missing." >&2;}
22828 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22829 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22832 if test -z "$ALSALIBS" -a \
22833 -z "$AUDIOIOLIBS" -a \
22835 -z "$ESD_LIBS" -a \
22836 -z "$ac_cv_lib_soname_jack" -a \
22837 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22838 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22839 "$ac_cv_header_soundcard_h" != "yes"
22842 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22843 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22844 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22845 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22846 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22847 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22851 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."