2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.49.
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.49'
578 PACKAGE_STRING
='Wine 0.9.49'
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
773 ac_subst_files
='MAKE_RULES
778 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name
=s
,x
,x
,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir
='${exec_prefix}/bin'
820 sbindir
='${exec_prefix}/sbin'
821 libexecdir
='${exec_prefix}/libexec'
822 datarootdir
='${prefix}/share'
823 datadir
='${datarootdir}'
824 sysconfdir
='${prefix}/etc'
825 sharedstatedir
='${prefix}/com'
826 localstatedir
='${prefix}/var'
827 includedir
='${prefix}/include'
828 oldincludedir
='/usr/include'
829 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir
='${datarootdir}/info'
835 libdir
='${exec_prefix}/lib'
836 localedir
='${datarootdir}/locale'
837 mandir
='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\
$ac_option
851 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_
$ac_feature=no
;;
902 -docdir |
--docdir |
--docdi |
--doc |
--do)
904 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
907 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
909 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
912 -enable-* |
--enable-*)
913 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_
$ac_feature=\
$ac_optarg ;;
921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
923 |
--exec |
--exe |
--ex)
924 ac_prev
=exec_prefix
;;
925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
927 |
--exec=* |
--exe=* |
--ex=*)
928 exec_prefix
=$ac_optarg ;;
930 -gas |
--gas |
--ga |
--g)
931 # Obsolete; use --with-gas.
934 -help |
--help |
--hel |
--he |
-h)
936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
937 ac_init_help
=recursive
;;
938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
939 ac_init_help
=short
;;
941 -host |
--host |
--hos |
--ho)
942 ac_prev
=host_alias
;;
943 -host=* |
--host=* |
--hos=* |
--ho=*)
944 host_alias
=$ac_optarg ;;
946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
950 htmldir
=$ac_optarg ;;
952 -includedir |
--includedir |
--includedi |
--included |
--include \
953 |
--includ |
--inclu |
--incl |
--inc)
954 ac_prev
=includedir
;;
955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
957 includedir
=$ac_optarg ;;
959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
962 infodir
=$ac_optarg ;;
964 -libdir |
--libdir |
--libdi |
--libd)
966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
970 |
--libexe |
--libex |
--libe)
971 ac_prev
=libexecdir
;;
972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
973 |
--libexe=* |
--libex=* |
--libe=*)
974 libexecdir
=$ac_optarg ;;
976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
979 localedir
=$ac_optarg ;;
981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
983 ac_prev
=localstatedir
;;
984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
986 localstatedir
=$ac_optarg ;;
988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
994 # Obsolete; use --without-fp.
997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
998 |
--no-cr |
--no-c |
-n)
1001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1007 |
--oldin |
--oldi |
--old |
--ol |
--o)
1008 ac_prev
=oldincludedir
;;
1009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1012 oldincludedir
=$ac_optarg ;;
1014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1017 prefix
=$ac_optarg ;;
1019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1020 |
--program-pre |
--program-pr |
--program-p)
1021 ac_prev
=program_prefix
;;
1022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1024 program_prefix
=$ac_optarg ;;
1026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1027 |
--program-suf |
--program-su |
--program-s)
1028 ac_prev
=program_suffix
;;
1029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1031 program_suffix
=$ac_optarg ;;
1033 -program-transform-name |
--program-transform-name \
1034 |
--program-transform-nam |
--program-transform-na \
1035 |
--program-transform-n |
--program-transform- \
1036 |
--program-transform |
--program-transfor \
1037 |
--program-transfo |
--program-transf \
1038 |
--program-trans |
--program-tran \
1039 |
--progr-tra |
--program-tr |
--program-t)
1040 ac_prev
=program_transform_name
;;
1041 -program-transform-name=* |
--program-transform-name=* \
1042 |
--program-transform-nam=* |
--program-transform-na=* \
1043 |
--program-transform-n=* |
--program-transform-=* \
1044 |
--program-transform=* |
--program-transfor=* \
1045 |
--program-transfo=* |
--program-transf=* \
1046 |
--program-trans=* |
--program-tran=* \
1047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1048 program_transform_name
=$ac_optarg ;;
1050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1053 pdfdir
=$ac_optarg ;;
1055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1064 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1066 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1068 sbindir
=$ac_optarg ;;
1070 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1071 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1072 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1074 ac_prev
=sharedstatedir
;;
1075 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1076 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1077 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1079 sharedstatedir
=$ac_optarg ;;
1081 -site |
--site |
--sit)
1083 -site=* |
--site=* |
--sit=*)
1086 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1088 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1089 srcdir
=$ac_optarg ;;
1091 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1092 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1093 ac_prev
=sysconfdir
;;
1094 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1095 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1096 sysconfdir
=$ac_optarg ;;
1098 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1099 ac_prev
=target_alias
;;
1100 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1101 target_alias
=$ac_optarg ;;
1103 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1106 -version |
--version |
--versio |
--versi |
--vers |
-V)
1107 ac_init_version
=: ;;
1110 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_
$ac_package=\
$ac_optarg ;;
1118 -without-* |
--without-*)
1119 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_
$ac_package=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1151 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val
=\$
$ac_var
1184 [\\/$
]* | ?
:[\\/]* ) continue;;
1185 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures Wine 0.9.49 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --x-includes=DIR X include files are
in DIR
1352 --x-libraries=DIR X library files are
in DIR
1355 --build=BUILD configure
for building on BUILD
[guessed
]
1356 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive
) echo "Configuration of Wine 0.9.49:";;
1367 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1368 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1372 --disable-tests do not build the testsuites
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to
help
1395 it to
find libraries and programs with nonstandard names
/locations.
1397 Report bugs to
<wine-devel@winehq.org
>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1405 test -d "$ac_dir" ||
continue
1409 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1411 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1416 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir
=$ac_pwd
1420 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir
=$ac_top_build_prefix
1425 .
) # We are building in place.
1427 ac_top_srcdir
=$ac_top_builddir_sub
1428 ac_abs_top_srcdir
=$ac_pwd ;;
1429 [\\/]* | ?
:[\\/]* ) # Absolute name.
1430 ac_srcdir
=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir
=$srcdir
1432 ac_abs_top_srcdir
=$srcdir ;;
1434 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure
0.9.49
1459 generated by GNU Autoconf
2.61
1461 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1463 This configure
script is free software
; the Free Software Foundation
1464 gives unlimited permission to copy
, distribute and modify it.
1468 cat >config.log
<<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.49, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next
=false
1539 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1541 |
-silent |
--silent |
--silen |
--sile |
--sil)
1544 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true
; then
1551 ac_must_keep_next
=false
# Got value, back to normal.
1554 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1555 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1556 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1557 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next
=true
;;
1565 ac_configure_args
="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1571 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var
in $ac_subst_files
1645 eval ac_val
=\$
$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal
in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest
* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h
<<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h
<<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x
"$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE
; then
1712 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x
"$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1736 *) .
"./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted
=false
1748 for ac_var
in $ac_precious_vars; do
1749 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1750 eval ac_new_set
=\
$ac_env_${ac_var}_set
1751 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1752 eval ac_new_val
=\
$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted
=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted
=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted
=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg
=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp
='$CPP $CPPFLAGS'
1820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1826 ac_config_headers
="$ac_config_headers include/config.h"
1829 for ac_dir
in tools
"$srcdir"/tools
; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh
="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh
="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh
="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval
=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval
=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval
=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval
=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval
=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 ac_build_alias
=$build_alias
1902 test "x$ac_build_alias" = x
&&
1903 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x
&&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1923 ac_save_IFS
=$IFS; IFS
='-'
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1933 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test "x$host_alias" = x
; then
1942 ac_cv_host
=$ac_cv_build
1944 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1960 ac_save_IFS
=$IFS; IFS
='-'
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1970 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1975 if test "x$enable_win64" != "xyes"
1977 test -n "$CC" || CC
="gcc -m32"
1978 test -n "$CXX"|| CXX
="g++ -m32"
1979 test -n "$LD" || LD
="ld -m elf_i386"
1980 test -n "$AS" || AS
="as --32"
1988 if test "x$enable_win16" != "xno"
1995 WIN16_FILES
="\$(WIN16_FILES)"
1997 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1999 if test "x$enable_win16" != "xyes"
2005 if test "x$enable_tests" == "xno"
2012 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2020 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2021 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2022 You need to run 'make distclean' in the source tree first." >&5
2023 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2024 You need to run 'make distclean' in the source tree first." >&2;}
2025 { (exit 1); exit 1; }; }
2030 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2032 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2033 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
make <<\_ACEOF
2039 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2044 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2046 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2050 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2051 { echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6; }
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 SET_MAKE
="MAKE=${MAKE-make}"
2061 ac_cpp
='$CPP $CPPFLAGS'
2062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC
="$CC" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc
; ac_word
=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC
="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x
; then
2145 case $cross_compiling:$ac_tool_warned in
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned
=yes ;;
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC
="$CC" # Let the user override the test.
2173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir
=.
2178 for ac_exec_ext
in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc
; ac_word
=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC
="$CC" # Let the user override the test.
2214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir
=.
2219 for ac_exec_ext
in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected
=yes
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy
$ac_cv_prog_CC
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2242 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog
in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC
="$CC" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2302 if test -z "$CC"; then
2304 for ac_prog
in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy
$ac_prog; ac_word
=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC
="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2346 if test "x$ac_ct_CC" = x
; then
2349 case $cross_compiling:$ac_tool_warned in
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned
=yes ;;
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details." >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking for C compiler version" >&5
2374 ac_compiler
=`set X $ac_compile; echo $2`
2375 { (ac_try
="$ac_compiler --version >&5"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2388 *) ac_try_echo
=$ac_try;;
2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try
="$ac_compiler -V >&5"
2397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2426 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2427 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2439 for ac_file in $ac_files
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2448 if { (ac_try="$ac_link_default"
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2463 for ac_file
in $ac_files ''
2465 test -f "$ac_file" ||
continue
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2470 # We found the default executable, but exeext='' is most
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2476 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2488 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2494 { echo "$as_me:$LINENO: result: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.
$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext
=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try
='./$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 if test "$cross_compiling" = maybe; then
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details.
" >&5
2534 echo "$as_me: error
: cannot run C compiled programs.
2535 If you meant to cross compile
, use \
`--host'.
2536 See \`config.log
' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2569 for ac_file
in conftest.exe conftest conftest.
*; do
2570 test -f "$ac_file" ||
continue
2572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2573 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest
$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.
$ac_ext
2591 EXEEXT
=$ac_cv_exeext
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.
$ac_ext <<_ACEOF
2601 cat confdefs.h
>>conftest.
$ac_ext
2602 cat >>conftest.
$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try
="$ac_compile"
2616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log
' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details.
" >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached
) $ECHO_C" >&6
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2691 echo "$as_me: failed program was
:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS=${CFLAGS+set}
2705 ac_save_CFLAGS=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2707 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached
) $ECHO_C" >&6
2711 ac_save_c_werror_flag=$ac_c_werror_flag
2712 ac_c_werror_flag=yes
2715 cat >conftest.$ac_ext <<_ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2739 grep -v '^ *+' conftest.er1 >conftest.err
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2749 echo "$as_me: failed program was
:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2777 grep -v '^ *+' conftest.er1 >conftest.err
2779 cat conftest.err >&5
2780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2787 echo "$as_me: failed program was
:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2792 cat >conftest.$ac_ext <<_ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 echo "$as_me: failed program was
:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2852 if test "$GCC" = yes; then
2858 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2859 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached
) $ECHO_C" >&6
2863 ac_cv_prog_cc_c89=no
2865 cat >conftest.$ac_ext <<_ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2889 s = g (p, va_arg (v,int));
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_c89=$ac_arg
2945 echo "$as_me: failed program was
:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext
2952 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2954 rm -f conftest.$ac_ext
2959 case "x
$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result
: none needed
" >&5
2962 echo "${ECHO_T}none needed
" >&6; } ;;
2964 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2965 echo "${ECHO_T}unsupported
" >&6; } ;;
2967 CC="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2980 ac_cpp='$CXXCPP $CPPFLAGS'
2981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2984 if test -z "$CXX"; then
2985 if test -n "$CCC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2995 if test "${ac_cv_prog_CXX+set}" = set; then
2996 echo $ECHO_N "(cached
) $ECHO_C" >&6
2998 if test -n "$CXX"; then
2999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3009 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CXX"; then
3020 { echo "$as_me:$LINENO: result
: $CXX" >&5
3021 echo "${ECHO_T}$CXX" >&6; }
3023 { echo "$as_me:$LINENO: result
: no
" >&5
3024 echo "${ECHO_T}no
" >&6; }
3028 test -n "$CXX" && break
3031 if test -z "$CXX"; then
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3039 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3040 echo $ECHO_N "(cached
) $ECHO_C" >&6
3042 if test -n "$ac_ct_CXX"; then
3043 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CXX="$ac_prog"
3053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3063 if test -n "$ac_ct_CXX"; then
3064 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3065 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3067 { echo "$as_me:$LINENO: result
: no
" >&5
3068 echo "${ECHO_T}no
" >&6; }
3072 test -n "$ac_ct_CXX" && break
3075 if test "x
$ac_ct_CXX" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3081 whose name does not start with the
host triplet. If you think this
3082 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3083 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3084 whose name does not start with the
host triplet. If you think this
3085 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3086 ac_tool_warned=yes ;;
3094 # Provide some information about the compiler.
3095 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (ac_try="$ac_compiler --version >&5"
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compiler -v >&5") 2>&5
3115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3116 (exit $ac_status); }
3117 { (ac_try="$ac_compiler -V >&5"
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compiler -V >&5") 2>&5
3125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3126 (exit $ac_status); }
3128 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3129 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3130 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3131 echo $ECHO_N "(cached
) $ECHO_C" >&6
3133 cat >conftest.$ac_ext <<_ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 echo "$as_me: failed program was
:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3180 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3182 GXX=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3186 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then
3188 echo $ECHO_N "(cached
) $ECHO_C" >&6
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3218 grep -v '^ *+' conftest.er1 >conftest.err
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3228 echo "$as_me: failed program was
:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3247 rm -f conftest.$ac_objext
3248 if { (ac_try="$ac_compile"
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_cxx_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3266 echo "$as_me: failed program was
:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3271 cat >conftest.$ac_ext <<_ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_cxx_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cxx_g=yes
3305 echo "$as_me: failed program was
:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3320 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3322 if test "$ac_test_CXXFLAGS" = set; then
3323 CXXFLAGS=$ac_save_CXXFLAGS
3324 elif test $ac_cv_prog_cxx_g = yes; then
3325 if test "$GXX" = yes; then
3331 if test "$GXX" = yes; then
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3346 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3349 echo $ECHO_N "(cached
) $ECHO_C" >&6
3351 if test -n "$CPPBIN"; then
3352 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3362 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3371 CPPBIN=$ac_cv_prog_CPPBIN
3372 if test -n "$CPPBIN"; then
3373 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3374 echo "${ECHO_T}$CPPBIN" >&6; }
3376 { echo "$as_me:$LINENO: result
: no
" >&5
3377 echo "${ECHO_T}no
" >&6; }
3382 if test -z "$ac_cv_prog_CPPBIN"; then
3383 ac_ct_CPPBIN=$CPPBIN
3384 # Extract the first word of "cpp
", so it can be a program name with args.
3385 set dummy cpp; ac_word=$2
3386 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3389 echo $ECHO_N "(cached
) $ECHO_C" >&6
3391 if test -n "$ac_ct_CPPBIN"; then
3392 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3412 if test -n "$ac_ct_CPPBIN"; then
3413 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3414 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3416 { echo "$as_me:$LINENO: result
: no
" >&5
3417 echo "${ECHO_T}no
" >&6; }
3420 if test "x
$ac_ct_CPPBIN" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3426 whose name does not start with the
host triplet. If you think this
3427 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3428 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3429 whose name does not start with the
host triplet. If you think this
3430 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3431 ac_tool_warned=yes ;;
3433 CPPBIN=$ac_ct_CPPBIN
3436 CPPBIN="$ac_cv_prog_CPPBIN"
3440 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3441 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3442 if test "${wine_cv_toolsdir+set}" = set; then
3443 echo $ECHO_N "(cached
) $ECHO_C" >&6
3445 if test -z "$with_wine_tools"; then
3446 if test "$cross_compiling" = "yes"; then
3447 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3448 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3449 { (exit 1); exit 1; }; }
3451 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3453 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3454 case $with_wine_tools in
3455 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3456 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3459 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3460 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3461 { (exit 1); exit 1; }; }
3464 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3465 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3466 TOOLSDIR=$wine_cv_toolsdir
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3476 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then
3483 echo $ECHO_N "(cached
) $ECHO_C" >&6
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error
" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3504 # include <limits.h>
3506 # include <assert.h>
3510 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3528 echo "$as_me: failed program was
:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3547 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3563 # Broken: success on invalid input.
3566 echo "$as_me: failed program was
:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3574 rm -f conftest.err conftest.$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3591 { echo "$as_me:$LINENO: result
: $CPP" >&5
3592 echo "${ECHO_T}$CPP" >&6; }
3594 for ac_c_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error
" is here to catch this case.
3602 cat >conftest.$ac_ext <<_ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3609 # include <limits.h>
3611 # include <assert.h>
3615 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3633 echo "$as_me: failed program was
:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3652 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3668 # Broken: success on invalid input.
3671 echo "$as_me: failed program was
:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 # Passes both tests.
3679 rm -f conftest.err conftest.$ac_ext
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then
3687 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3688 See \
`config.log' for more details." >&5
3689 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log
' for more details." >&2;}
3691 { (exit 1); exit 1; }; }
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3697 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking for X" >&5
3702 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3705 # Check whether --with-x was given.
3706 if test "${with_x+set}" = set; then
3710 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3711 if test "x$with_x" = xno; then
3712 # The user explicitly disabled X.
3715 case $x_includes,$x_libraries in #(
3716 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3717 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3718 { (exit 1); exit 1; }; };; #(
3719 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 # One or both of the vars are not set, and there is no cached value.
3723 ac_x_includes=no ac_x_libraries=no
3724 rm -f -r conftest.dir
3725 if mkdir conftest.dir; then
3727 cat >Imakefile <<'_ACEOF'
3729 @echo incroot='${INCROOT}'
3731 @echo usrlibdir='${USRLIBDIR}'
3733 @echo libdir='${LIBDIR}'
3735 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 for ac_var in incroot usrlibdir libdir; do
3738 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3740 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3741 for ac_extension in a so sl; do
3742 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3743 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3744 ac_im_usrlibdir=$ac_im_libdir; break
3747 # Screen out bogus values from the imake configuration. They are
3748 # bogus both because they are the default anyway, and because
3749 # using them would break gcc on systems where it needs fixed includes.
3750 case $ac_im_incroot in
3751 /usr/include) ac_x_includes= ;;
3752 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3754 case $ac_im_usrlibdir in
3756 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3760 rm -f -r conftest.dir
3763 # Standard set of common directories for X headers.
3764 # Check X11 before X11Rn because it is often a symlink to the current release.
3776 /usr
/local
/X11
/include
3777 /usr
/local
/X11R
6/include
3778 /usr
/local
/X11R
5/include
3779 /usr
/local
/X11R
4/include
3781 /usr
/local
/include
/X11
3782 /usr
/local
/include
/X11R6
3783 /usr
/local
/include
/X11R5
3784 /usr
/local
/include
/X11R4
3788 /usr
/XFree86
/include
/X11
3792 /usr
/unsupported
/include
3794 /usr
/local
/x11r
5/include
3795 /usr
/lpp
/Xamples
/include
3797 /usr
/openwin
/include
3798 /usr
/openwin
/share
/include
'
3800 if test "$ac_x_includes" = no; then
3801 # Guess where to find include files, by looking for Xlib.h.
3802 # First, try using that file with no special directory specified.
3803 cat >conftest.$ac_ext <<_ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <X11/Xlib.h>
3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3819 grep -v '^
*+' conftest.er1 >conftest.err
3821 cat conftest.err >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } >/dev/null && {
3824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3825 test ! -s conftest.err
3827 # We can compile using X headers with no special include directory.
3830 echo "$as_me: failed program was:" >&5
3831 sed 's
/^
/|
/' conftest.$ac_ext >&5
3833 for ac_dir in $ac_x_header_dirs; do
3834 if test -r "$ac_dir/X11/Xlib.h"; then
3835 ac_x_includes=$ac_dir
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to
$LIBS permanently.
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <X11/Xlib.h>
3865 rm -f conftest.
$ac_objext conftest
$ac_exeext
3866 if { (ac_try
="$ac_link"
3868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_link") 2>conftest.er1
3874 grep -v '^ *+' conftest.er1 >conftest.err
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest$ac_exeext &&
3882 $as_test_x conftest$ac_exeext; then
3884 # We can link X programs with no special library path.
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3891 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3893 # Don't even attempt the hair of trying to link an X program!
3894 for ac_extension in a so sl; do
3895 if test -r "$ac_dir/libX11.$ac_extension"; then
3896 ac_x_libraries=$ac_dir
3903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3904 conftest$ac_exeext conftest.$ac_ext
3905 fi # $ac_x_libraries = no
3907 case $ac_x_includes,$ac_x_libraries in #(
3909 # Didn't find X, or a directory has "'" in its name.
3910 ac_cv_have_x="have_x=no";; #(
3912 # Record where we found X for the cache.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$ac_x_includes'\
3915 ac_x_libraries='$ac_x_libraries'"
3921 eval "$ac_cv_have_x"
3924 if test "$have_x" != yes; then
3925 { echo "$as_me:$LINENO: result: $have_x" >&5
3926 echo "${ECHO_T}$have_x" >&6; }
3929 # If each of the values was on the command line, it overrides each guess.
3930 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3931 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3932 # Update the cache value to reflect the command line values.
3933 ac_cv_have_x="have_x=yes\
3934 ac_x_includes='$x_includes'\
3935 ac_x_libraries='$x_libraries'"
3936 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3937 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3940 if test "$no_x" = yes; then
3941 # Not all programs may use this symbol, but it does not hurt to define it.
3943 cat >>confdefs.h <<\_ACEOF
3944 #define X_DISPLAY_MISSING 1
3947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3949 if test -n "$x_includes"; then
3950 X_CFLAGS="$X_CFLAGS -I$x_includes"
3953 # It would also be nice to do this for all -L options, not just this one.
3954 if test -n "$x_libraries"; then
3955 X_LIBS="$X_LIBS -L$x_libraries"
3956 # For Solaris; some versions of Sun CC require a space after -R and
3957 # others require no space. Words are not sufficient . . . .
3958 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3959 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3961 ac_xsave_c_werror_flag=$ac_c_werror_flag
3962 ac_c_werror_flag=yes
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3982 *) ac_try_echo
=$ac_try;;
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>conftest.er1
3987 grep -v '^ *+' conftest.er1
>conftest.err
3989 cat conftest.err
>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest
$ac_exeext &&
3995 $as_test_x conftest
$ac_exeext; then
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 X_LIBS
="$X_LIBS -R$x_libraries"
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.
$ac_ext >&5
4003 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4019 rm -f conftest.
$ac_objext conftest
$ac_exeext
4020 if { (ac_try
="$ac_link"
4022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_link") 2>conftest.er1
4028 grep -v '^ *+' conftest.er1 >conftest.err
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext &&
4036 $as_test_x conftest$ac_exeext; then
4037 { echo "$as_me:$LINENO: result: yes" >&5
4038 echo "${ECHO_T}yes" >&6; }
4039 X_LIBS="$X_LIBS -R $x_libraries"
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { echo "$as_me:$LINENO: result: neither works" >&5
4045 echo "${ECHO_T}neither works" >&6; }
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4053 conftest$ac_exeext conftest.$ac_ext
4054 ac_c_werror_flag=$ac_xsave_c_werror_flag
4058 # Check for system-dependent libraries X programs must link with.
4059 # Do this before checking for the system-independent R6 libraries
4060 # (-lICE), since we may need -lsocket or whatever for X linking.
4062 if test "$ISC" = yes; then
4063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4065 # Martyn Johnson says this is needed for Ultrix, if the X
4066 # libraries were built with DECnet support. And Karl Berry says
4067 # the Alpha needs dnet_stub (dnet does not exist).
4068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4069 cat >conftest.$ac_ext <<_ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4082 char XOpenDisplay ();
4086 return XOpenDisplay ();
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4095 *) ac_try_echo
=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1
>conftest.err
4102 cat conftest.err
>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest
$ac_exeext &&
4108 $as_test_x conftest
$ac_exeext; then
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.
$ac_ext >&5
4114 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 ac_check_lib_save_LIBS
=$LIBS
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 /* Override any GCC internal prototype to avoid an error.
4129 Use char because int might match the return type of a GCC
4130 builtin and then its argument prototype would still apply. */
4138 return dnet_ntoa ();
4143 rm -f conftest.
$ac_objext conftest
$ac_exeext
4144 if { (ac_try
="$ac_link"
4146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_link") 2>conftest.er1
4152 grep -v '^ *+' conftest.er1 >conftest.err
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest$ac_exeext &&
4160 $as_test_x conftest$ac_exeext; then
4161 ac_cv_lib_dnet_dnet_ntoa=yes
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 ac_cv_lib_dnet_dnet_ntoa=no
4169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4170 conftest$ac_exeext conftest.$ac_ext
4171 LIBS=$ac_check_lib_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4174 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4175 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4180 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4181 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4182 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 ac_check_lib_save_LIBS=$LIBS
4186 LIBS="-ldnet_stub $LIBS"
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 /* Override any GCC internal prototype to avoid an error.
4195 Use char because int might match the return type of a GCC
4196 builtin and then its argument prototype would still apply. */
4204 return dnet_ntoa ();
4209 rm -f conftest.$ac_objext conftest$ac_exeext
4210 if { (ac_try="$ac_link"
4212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4213 *) ac_try_echo
=$ac_try;;
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_link") 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && {
4223 test -z "$ac_c_werror_flag" ||
4224 test ! -s conftest.err
4225 } && test -s conftest
$ac_exeext &&
4226 $as_test_x conftest
$ac_exeext; then
4227 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.
$ac_ext >&5
4232 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4236 conftest
$ac_exeext conftest.
$ac_ext
4237 LIBS
=$ac_check_lib_save_LIBS
4239 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4240 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4241 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4242 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4249 conftest
$ac_exeext conftest.
$ac_ext
4250 LIBS
="$ac_xsave_LIBS"
4252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4253 # to get the SysV transport functions.
4254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4256 # The nsl library prevents programs from opening the X display
4257 # on Irix 5.2, according to T.E. Dickey.
4258 # The functions gethostbyname, getservbyname, and inet_addr are
4259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4260 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4261 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4262 if test "${ac_cv_func_gethostbyname+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 cat >conftest.
$ac_ext <<_ACEOF
4268 cat confdefs.h
>>conftest.
$ac_ext
4269 cat >>conftest.
$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4273 #define gethostbyname innocuous_gethostbyname
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char gethostbyname (); below.
4277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 <limits.h> exists even on freestanding compilers. */
4281 # include <limits.h>
4283 # include <assert.h>
4286 #undef gethostbyname
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4294 char gethostbyname ();
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4305 return gethostbyname ();
4310 rm -f conftest.
$ac_objext conftest
$ac_exeext
4311 if { (ac_try
="$ac_link"
4313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4319 grep -v '^ *+' conftest.er1 >conftest.err
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4328 ac_cv_func_gethostbyname=yes
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_func_gethostbyname=no
4336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4337 conftest$ac_exeext conftest.$ac_ext
4339 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4340 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4342 if test $ac_cv_func_gethostbyname = no; then
4343 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4344 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4345 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 ac_check_lib_save_LIBS=$LIBS
4350 cat >conftest.$ac_ext <<_ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4363 char gethostbyname ();
4367 return gethostbyname ();
4372 rm -f conftest.$ac_objext conftest$ac_exeext
4373 if { (ac_try="$ac_link"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_link") 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && {
4386 test -z "$ac_c_werror_flag" ||
4387 test ! -s conftest.err
4388 } && test -s conftest
$ac_exeext &&
4389 $as_test_x conftest
$ac_exeext; then
4390 ac_cv_lib_nsl_gethostbyname
=yes
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.
$ac_ext >&5
4395 ac_cv_lib_nsl_gethostbyname
=no
4398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4399 conftest
$ac_exeext conftest.
$ac_ext
4400 LIBS
=$ac_check_lib_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4403 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4404 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4408 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4409 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4410 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4411 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 ac_check_lib_save_LIBS
=$LIBS
4416 cat >conftest.
$ac_ext <<_ACEOF
4419 cat confdefs.h
>>conftest.
$ac_ext
4420 cat >>conftest.
$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 /* Override any GCC internal prototype to avoid an error.
4424 Use char because int might match the return type of a GCC
4425 builtin and then its argument prototype would still apply. */
4429 char gethostbyname ();
4433 return gethostbyname ();
4438 rm -f conftest.
$ac_objext conftest
$ac_exeext
4439 if { (ac_try
="$ac_link"
4441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>conftest.er1
4447 grep -v '^ *+' conftest.er1 >conftest.err
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && {
4452 test -z "$ac_c_werror_flag" ||
4453 test ! -s conftest.err
4454 } && test -s conftest$ac_exeext &&
4455 $as_test_x conftest$ac_exeext; then
4456 ac_cv_lib_bsd_gethostbyname=yes
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 ac_cv_lib_bsd_gethostbyname=no
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4466 LIBS=$ac_check_lib_save_LIBS
4468 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4469 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4470 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4477 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4478 # socket/setsockopt and other routines are undefined under SCO ODT
4479 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4480 # on later versions), says Simon Leinen: it contains gethostby*
4481 # variants that don't use the name server (or something). -lsocket
4482 # must be given before -lnsl if both are needed. We assume that
4483 # if connect needs -lnsl, so does gethostbyname.
4484 { echo "$as_me:$LINENO: checking for connect" >&5
4485 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_connect+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 cat >conftest.$ac_ext <<_ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define connect innocuous_connect
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char connect (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4505 # include <limits.h>
4507 # include <assert.h>
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_connect || defined __stub___connect
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4538 *) ac_try_echo
=$ac_try;;
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1
>conftest.err
4545 cat conftest.err
>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest
$ac_exeext &&
4551 $as_test_x conftest
$ac_exeext; then
4552 ac_cv_func_connect
=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.
$ac_ext >&5
4557 ac_cv_func_connect
=no
4560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4561 conftest
$ac_exeext conftest.
$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4564 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4566 if test $ac_cv_func_connect = no
; then
4567 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_socket_connect+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4573 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (ac_try
="$ac_link"
4599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_socket_connect=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_socket_connect=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4628 if test $ac_cv_lib_socket_connect = yes; then
4629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4634 # Guillermo Gomez says -lposix is necessary on A/UX.
4635 { echo "$as_me:$LINENO: checking for remove" >&5
4636 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4637 if test "${ac_cv_func_remove+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4648 #define remove innocuous_remove
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char remove (); below.
4652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 <limits.h> exists even on freestanding compilers. */
4656 # include <limits.h>
4658 # include <assert.h>
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4670 /* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673 #if defined __stub_remove || defined __stub___remove
4685 rm -f conftest.$ac_objext conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4689 *) ac_try_echo
=$ac_try;;
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>conftest.er1
4694 grep -v '^ *+' conftest.er1
>conftest.err
4696 cat conftest.err
>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && {
4699 test -z "$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4701 } && test -s conftest
$ac_exeext &&
4702 $as_test_x conftest
$ac_exeext; then
4703 ac_cv_func_remove
=yes
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.
$ac_ext >&5
4708 ac_cv_func_remove
=no
4711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4712 conftest
$ac_exeext conftest.
$ac_ext
4714 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4715 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4717 if test $ac_cv_func_remove = no
; then
4718 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4719 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4720 if test "${ac_cv_lib_posix_remove+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 ac_check_lib_save_LIBS
=$LIBS
4724 LIBS
="-lposix $LIBS"
4725 cat >conftest.
$ac_ext <<_ACEOF
4728 cat confdefs.h
>>conftest.
$ac_ext
4729 cat >>conftest.
$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4747 rm -f conftest.
$ac_objext conftest
$ac_exeext
4748 if { (ac_try
="$ac_link"
4750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_lib_posix_remove=yes
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_lib_posix_remove=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4775 LIBS=$ac_check_lib_save_LIBS
4777 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4778 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4779 if test $ac_cv_lib_posix_remove = yes; then
4780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4786 { echo "$as_me:$LINENO: checking for shmat" >&5
4787 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4788 if test "${ac_cv_func_shmat+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799 #define shmat innocuous_shmat
4801 /* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char shmat (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */
4807 # include <limits.h>
4809 # include <assert.h>
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined __stub_shmat || defined __stub___shmat
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4840 *) ac_try_echo
=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest
$ac_exeext &&
4853 $as_test_x conftest
$ac_exeext; then
4854 ac_cv_func_shmat
=yes
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4863 conftest
$ac_exeext conftest.
$ac_ext
4865 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4866 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4868 if test $ac_cv_func_shmat = no
; then
4869 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4870 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4871 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 ac_check_lib_save_LIBS
=$LIBS
4876 cat >conftest.
$ac_ext <<_ACEOF
4879 cat confdefs.h
>>conftest.
$ac_ext
4880 cat >>conftest.
$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4883 /* Override any GCC internal prototype to avoid an error.
4884 Use char because int might match the return type of a GCC
4885 builtin and then its argument prototype would still apply. */
4898 rm -f conftest.
$ac_objext conftest
$ac_exeext
4899 if { (ac_try
="$ac_link"
4901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_lib_ipc_shmat=yes
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_ipc_shmat=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4926 LIBS=$ac_check_lib_save_LIBS
4928 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4929 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4930 if test $ac_cv_lib_ipc_shmat = yes; then
4931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4937 # Check for libraries that X11R6 Xt/Xaw programs need.
4938 ac_save_LDFLAGS=$LDFLAGS
4939 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4940 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4941 # check for ICE first), but we must link in the order -lSM -lICE or
4942 # we get undefined symbols. So assume we have SM if we have ICE.
4943 # These have to be linked with before -lX11, unlike the other
4944 # libraries we check for below, so use a different variable.
4945 # John Interrante, Karl Berry
4946 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4947 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4948 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 ac_check_lib_save_LIBS=$LIBS
4952 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4953 cat >conftest.$ac_ext <<_ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 /* Override any GCC internal prototype to avoid an error.
4961 Use char because int might match the return type of a GCC
4962 builtin and then its argument prototype would still apply. */
4966 char IceConnectionNumber ();
4970 return IceConnectionNumber ();
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4979 *) ac_try_echo
=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1
>conftest.err
4986 cat conftest.err
>&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest
$ac_exeext &&
4992 $as_test_x conftest
$ac_exeext; then
4993 ac_cv_lib_ICE_IceConnectionNumber
=yes
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.
$ac_ext >&5
4998 ac_cv_lib_ICE_IceConnectionNumber
=no
5001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5002 conftest
$ac_exeext conftest.
$ac_ext
5003 LIBS
=$ac_check_lib_save_LIBS
5005 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5006 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5007 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5008 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5011 LDFLAGS
=$ac_save_LDFLAGS
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy
$ac_prog; ac_word
=$2
5020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_FLEX+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_FLEX
="$ac_prog"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 FLEX
=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { echo "$as_me:$LINENO: result: $FLEX" >&5
5048 echo "${ECHO_T}$FLEX" >&6; }
5050 { echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6; }
5055 test -n "$FLEX" && break
5057 test -n "$FLEX" || FLEX
="none"
5059 if test "$FLEX" = "none"
5061 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5062 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5063 { (exit 1); exit 1; }; }
5066 for ac_prog
in bison
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy
$ac_prog; ac_word
=$2
5070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5072 if test "${ac_cv_prog_BISON+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 if test -n "$BISON"; then
5076 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_BISON
="$ac_prog"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 BISON
=$ac_cv_prog_BISON
5096 if test -n "$BISON"; then
5097 { echo "$as_me:$LINENO: result: $BISON" >&5
5098 echo "${ECHO_T}$BISON" >&6; }
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 test -n "$BISON" && break
5107 test -n "$BISON" || BISON
="none"
5109 if test "$BISON" = "none"
5111 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5112 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5113 { (exit 1); exit 1; }; }
5116 if test -n "$ac_tool_prefix"; then
5117 for ac_prog
in gas as
5119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5120 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5123 if test "${ac_cv_prog_AS+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$AS"; then
5127 ac_cv_prog_AS
="$AS" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 if test -n "$AS"; then
5148 { echo "$as_me:$LINENO: result: $AS" >&5
5149 echo "${ECHO_T}$AS" >&6; }
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$AS" && break
5159 if test -z "$AS"; then
5161 for ac_prog
in gas as
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy
$ac_prog; ac_word
=$2
5165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5167 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 if test -n "$ac_ct_AS"; then
5171 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_ac_ct_AS
="$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5191 if test -n "$ac_ct_AS"; then
5192 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5193 echo "${ECHO_T}$ac_ct_AS" >&6; }
5195 { echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6; }
5200 test -n "$ac_ct_AS" && break
5203 if test "x$ac_ct_AS" = x
; then
5206 case $cross_compiling:$ac_tool_warned in
5208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5209 whose name does not start with the host triplet. If you think this
5210 configuration is useful to you, please write to autoconf@gnu.org." >&5
5211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5214 ac_tool_warned
=yes ;;
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_LD+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$LD"; then
5229 ac_cv_prog_LD
="$LD" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 if test -n "$LD"; then
5250 { echo "$as_me:$LINENO: result: $LD" >&5
5251 echo "${ECHO_T}$LD" >&6; }
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5259 if test -z "$ac_cv_prog_LD"; then
5261 # Extract the first word of "ld", so it can be a program name with args.
5262 set dummy ld
; ac_word
=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 if test -n "$ac_ct_LD"; then
5269 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_LD
="ld"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5289 if test -n "$ac_ct_LD"; then
5290 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5291 echo "${ECHO_T}$ac_ct_LD" >&6; }
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5297 if test "x$ac_ct_LD" = x
; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5303 whose name does not start with the host triplet. If you think this
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5306 whose name does not start with the host triplet. If you think this
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5308 ac_tool_warned
=yes ;;
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5318 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_AR+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$AR"; then
5325 ac_cv_prog_AR
="$AR" # Let the user override the test.
5327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir
=.
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 if test -n "$AR"; then
5346 { echo "$as_me:$LINENO: result: $AR" >&5
5347 echo "${ECHO_T}$AR" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5355 if test -z "$ac_cv_prog_AR"; then
5357 # Extract the first word of "ar", so it can be a program name with args.
5358 set dummy
ar; ac_word
=$2
5359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if test -n "$ac_ct_AR"; then
5365 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_AR
="ar"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5387 echo "${ECHO_T}$ac_ct_AR" >&6; }
5389 { echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6; }
5393 if test "x$ac_ct_AR" = x
; then
5396 case $cross_compiling:$ac_tool_warned in
5398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5399 whose name does not start with the host triplet. If you think this
5400 configuration is useful to you, please write to autoconf@gnu.org." >&5
5401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5404 ac_tool_warned
=yes ;;
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5414 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 if test -n "$RANLIB"; then
5421 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 for ac_exec_ext
in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 RANLIB
=$ac_cv_prog_RANLIB
5441 if test -n "$RANLIB"; then
5442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5443 echo "${ECHO_T}$RANLIB" >&6; }
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_RANLIB"; then
5452 ac_ct_RANLIB
=$RANLIB
5453 # Extract the first word of "ranlib", so it can be a program name with args.
5454 set dummy ranlib
; ac_word
=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 if test -n "$ac_ct_RANLIB"; then
5461 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5481 if test -n "$ac_ct_RANLIB"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_RANLIB" = x
; then
5492 case $cross_compiling:$ac_tool_warned in
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned
=yes ;;
5502 RANLIB
=$ac_ct_RANLIB
5505 RANLIB
="$ac_cv_prog_RANLIB"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_STRIP+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 STRIP
=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { echo "$as_me:$LINENO: result: $STRIP" >&5
5539 echo "${ECHO_T}$STRIP" >&6; }
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip
; ac_word
=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir
=.
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_STRIP
="strip"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5579 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_STRIP" = x
; then
5588 case $cross_compiling:$ac_tool_warned in
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned
=yes ;;
5601 STRIP
="$ac_cv_prog_STRIP"
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5606 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5609 if test "${ac_cv_prog_WINDRES+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 if test -n "$WINDRES"; then
5613 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir
=.
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 WINDRES
=$ac_cv_prog_WINDRES
5633 if test -n "$WINDRES"; then
5634 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5635 echo "${ECHO_T}$WINDRES" >&6; }
5637 { echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6; }
5643 if test -z "$ac_cv_prog_WINDRES"; then
5644 ac_ct_WINDRES
=$WINDRES
5645 # Extract the first word of "windres", so it can be a program name with args.
5646 set dummy windres
; ac_word
=$2
5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5649 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test -n "$ac_ct_WINDRES"; then
5653 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_WINDRES
="windres"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5673 if test -n "$ac_ct_WINDRES"; then
5674 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5675 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5677 { echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6; }
5681 if test "x$ac_ct_WINDRES" = x
; then
5684 case $cross_compiling:$ac_tool_warned in
5686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&5
5689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5690 whose name does not start with the host triplet. If you think this
5691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5692 ac_tool_warned
=yes ;;
5694 WINDRES
=$ac_ct_WINDRES
5697 WINDRES
="$ac_cv_prog_WINDRES"
5700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5703 if test "$LN_S" = "ln -s"; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5708 echo "${ECHO_T}no, using $LN_S" >&6; }
5711 { echo "$as_me:$LINENO: checking whether ln works" >&5
5712 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5713 rm -f conf$$ conf$$.
file
5715 if ln conf$$.
file conf$$
2>/dev
/null
; then
5718 { echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6; }
5723 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5724 echo "${ECHO_T}no, using $LN" >&6; }
5726 rm -f conf$$ conf$$.
file
5727 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5728 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5729 if test "${ac_cv_path_GREP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 # Extract the first word of "grep ggrep" to use in msg output
5733 if test -z "$GREP"; then
5734 set dummy
grep ggrep
; ac_prog_name
=$2
5735 if test "${ac_cv_path_GREP+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 ac_path_GREP_found
=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_prog
in grep ggrep
; do
5746 for ac_exec_ext
in '' $ac_executable_extensions; do
5747 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5749 # Check for GNU ac_path_GREP and select it if it is found.
5750 # Check for GNU $ac_path_GREP
5751 case `"$ac_path_GREP" --version 2>&1` in
5753 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 echo 'GREP' >> "conftest.nl"
5763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5764 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5765 ac_count
=`expr $ac_count + 1`
5766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_GREP
="$ac_path_GREP"
5769 ac_path_GREP_max
=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5774 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5778 $ac_path_GREP_found && break 3
5788 GREP
="$ac_cv_path_GREP"
5789 if test -z "$GREP"; then
5790 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5791 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5792 { (exit 1); exit 1; }; }
5796 ac_cv_path_GREP
=$GREP
5801 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5803 GREP
="$ac_cv_path_GREP"
5806 { echo "$as_me:$LINENO: checking for egrep" >&5
5807 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_EGREP+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5812 then ac_cv_path_EGREP
="$GREP -E"
5814 # Extract the first word of "egrep" to use in msg output
5815 if test -z "$EGREP"; then
5816 set dummy
egrep; ac_prog_name
=$2
5817 if test "${ac_cv_path_EGREP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 ac_path_EGREP_found
=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5826 test -z "$as_dir" && as_dir
=.
5827 for ac_prog
in egrep; do
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5835 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5846 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5847 ac_count
=`expr $ac_count + 1`
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP
="$ac_path_EGREP"
5851 ac_path_EGREP_max
=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5856 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5860 $ac_path_EGREP_found && break 3
5870 EGREP
="$ac_cv_path_EGREP"
5871 if test -z "$EGREP"; then
5872 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5873 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5874 { (exit 1); exit 1; }; }
5878 ac_cv_path_EGREP
=$EGREP
5884 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5886 EGREP
="$ac_cv_path_EGREP"
5889 # Extract the first word of "ldconfig", so it can be a program name with args.
5890 set dummy ldconfig
; ac_word
=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5902 for as_dir
in /sbin
/usr
/sbin
$PATH
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5920 LDCONFIG
=$ac_cv_path_LDCONFIG
5921 if test -n "$LDCONFIG"; then
5922 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5923 echo "${ECHO_T}$LDCONFIG" >&6; }
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 # Find a good install program. We prefer a C program (faster),
5931 # so one script is as good as another. But avoid the broken or
5932 # incompatible versions:
5933 # SysV /etc/install, /usr/sbin/install
5934 # SunOS /usr/etc/install
5935 # IRIX /sbin/install
5937 # AmigaOS /C/install, which installs bootblocks on floppy discs
5938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5941 # OS/2's system install, which has a completely different semantic
5942 # ./install, which can be erroneously created by make from ./install.sh.
5943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5945 if test -z "$INSTALL"; then
5946 if test "${ac_cv_path_install+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir
=.
5954 # Account for people who put trailing slashes in PATH elements.
5956 .
/ | .
// |
/cC
/* | \
5957 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5958 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5961 # OSF1 and SCO ODT 3.0 have their own names for install.
5962 # Don't use installbsd from OSF since it installs stuff as root
5964 for ac_prog
in ginstall scoinst
install; do
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5967 if test $ac_prog = install &&
5968 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5969 # AIX install. It has an incompatible calling convention.
5971 elif test $ac_prog = install &&
5972 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5973 # program-specific install script used by HP pwplus--don't use.
5976 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5989 if test "${ac_cv_path_install+set}" = set; then
5990 INSTALL
=$ac_cv_path_install
5992 # As a last resort, use the slow shell script. Don't cache a
5993 # value for INSTALL within a source directory, because that will
5994 # break other packages using the cache if that directory is
5995 # removed, or if the value is a relative name.
5996 INSTALL
=$ac_install_sh
5999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6000 echo "${ECHO_T}$INSTALL" >&6; }
6002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6003 # It thinks the first close brace ends the variable substitution.
6004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6008 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6011 [\\/$
]* | ?
:[\\/]* ) ;;
6012 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6015 for ac_prog
in lclint lint
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy
$ac_prog; ac_word
=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_LINT+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 if test -n "$LINT"; then
6025 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_LINT
="$ac_prog"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 LINT
=$ac_cv_prog_LINT
6045 if test -n "$LINT"; then
6046 { echo "$as_me:$LINENO: result: $LINT" >&5
6047 echo "${ECHO_T}$LINT" >&6; }
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6054 test -n "$LINT" && break
6057 if test "$LINT" = "lint"
6059 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6064 for ac_prog
in fontforge
6066 # Extract the first word of "$ac_prog", so it can be a program name with args.
6067 set dummy
$ac_prog; ac_word
=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 if test -n "$FONTFORGE"; then
6074 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 test -z "$as_dir" && as_dir
=.
6081 for ac_exec_ext
in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_FONTFORGE
="$ac_prog"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 FONTFORGE
=$ac_cv_prog_FONTFORGE
6094 if test -n "$FONTFORGE"; then
6095 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6096 echo "${ECHO_T}$FONTFORGE" >&6; }
6098 { echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6; }
6103 test -n "$FONTFORGE" && break
6105 test -n "$FONTFORGE" || FONTFORGE
="false"
6107 for ac_prog
in pkg-config
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy
$ac_prog; ac_word
=$2
6111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6113 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 if test -n "$PKG_CONFIG"; then
6117 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir
=.
6124 for ac_exec_ext
in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6137 if test -n "$PKG_CONFIG"; then
6138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6141 { echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6; }
6146 test -n "$PKG_CONFIG" && break
6148 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6153 # Extract the first word of "prelink", so it can be a program name with args.
6154 set dummy prelink
; ac_word
=$2
6155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157 if test "${ac_cv_path_PRELINK+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 for as_dir
in /sbin
/usr
/sbin
$PATH
6169 test -z "$as_dir" && as_dir
=.
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6184 PRELINK
=$ac_cv_path_PRELINK
6185 if test -n "$PRELINK"; then
6186 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6187 echo "${ECHO_T}$PRELINK" >&6; }
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6199 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6200 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 ac_check_lib_save_LIBS
=$LIBS
6206 cat >conftest.
$ac_ext <<_ACEOF
6209 cat confdefs.h
>>conftest.
$ac_ext
6210 cat >>conftest.
$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6219 char i386_set_ldt ();
6223 return i386_set_ldt ();
6228 rm -f conftest.
$ac_objext conftest
$ac_exeext
6229 if { (ac_try
="$ac_link"
6231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_link") 2>conftest.er1
6237 grep -v '^ *+' conftest.er1 >conftest.err
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } && {
6242 test -z "$ac_c_werror_flag" ||
6243 test ! -s conftest.err
6244 } && test -s conftest$ac_exeext &&
6245 $as_test_x conftest$ac_exeext; then
6246 ac_cv_lib_i386_i386_set_ldt=yes
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_cv_lib_i386_i386_set_ldt=no
6254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6259 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6260 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBI386 1
6270 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6271 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6272 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-lossaudio $LIBS"
6277 cat >conftest.$ac_ext <<_ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6294 return _oss_ioctl ();
6299 rm -f conftest.$ac_objext conftest$ac_exeext
6300 if { (ac_try="$ac_link"
6302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6303 *) ac_try_echo
=$ac_try;;
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest
$ac_exeext &&
6316 $as_test_x conftest
$ac_exeext; then
6317 ac_cv_lib_ossaudio__oss_ioctl
=yes
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.
$ac_ext >&5
6322 ac_cv_lib_ossaudio__oss_ioctl
=no
6325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6326 conftest
$ac_exeext conftest.
$ac_ext
6327 LIBS
=$ac_check_lib_save_LIBS
6329 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6330 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6331 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6332 cat >>confdefs.h
<<_ACEOF
6333 #define HAVE_LIBOSSAUDIO 1
6336 LIBS
="-lossaudio $LIBS"
6340 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6341 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 ac_check_lib_save_LIBS
=$LIBS
6346 LIBS
="-lpthread $LIBS"
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6360 char pthread_create ();
6364 return pthread_create ();
6369 rm -f conftest.
$ac_objext conftest
$ac_exeext
6370 if { (ac_try
="$ac_link"
6372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6378 grep -v '^ *+' conftest.er1 >conftest.err
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_pthread_pthread_create=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_pthread_pthread_create=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6400 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6401 if test $ac_cv_lib_pthread_pthread_create = yes; then
6402 LIBPTHREAD="-lpthread"
6421 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6423 if test "${ac_cv_header_stdc+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 cat >conftest.$ac_ext <<_ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6445 rm -f conftest.$ac_objext
6446 if { (ac_try="$ac_compile"
6448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6449 *) ac_try_echo
=$ac_try;;
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compile") 2>conftest.er1
6454 grep -v '^ *+' conftest.er1
>conftest.err
6456 cat conftest.err
>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err
6461 } && test -s conftest.
$ac_objext; then
6462 ac_cv_header_stdc
=yes
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.
$ac_ext >&5
6467 ac_cv_header_stdc
=no
6470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "memchr" >/dev
/null
2>&1; then
6487 ac_cv_header_stdc
=no
6493 if test $ac_cv_header_stdc = yes; then
6494 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6495 cat >conftest.
$ac_ext <<_ACEOF
6498 cat confdefs.h
>>conftest.
$ac_ext
6499 cat >>conftest.
$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6505 $EGREP "free" >/dev
/null
2>&1; then
6508 ac_cv_header_stdc
=no
6514 if test $ac_cv_header_stdc = yes; then
6515 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6516 if test "$cross_compiling" = yes; then
6519 cat >conftest.
$ac_ext <<_ACEOF
6522 cat confdefs.h
>>conftest.
$ac_ext
6523 cat >>conftest.
$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6527 #if ((' ' & 0x0FF) == 0x020)
6528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 # define ISLOWER(c) \
6532 (('a' <= (c) && (c) <= 'i') \
6533 || ('j' <= (c) && (c) <= 'r') \
6534 || ('s' <= (c) && (c) <= 'z'))
6535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6543 for (i = 0; i < 256; i++)
6544 if (XOR (islower (i), ISLOWER (i))
6545 || toupper (i) != TOUPPER (i))
6550 rm -f conftest
$ac_exeext
6551 if { (ac_try
="$ac_link"
6553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_link") 2>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6561 { (case "(($ac_try" in
6562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6563 *) ac_try_echo
=$ac_try;;
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_try") 2>&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then
6572 echo "$as_me: program exited with status $ac_status" >&5
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.
$ac_ext >&5
6577 ac_cv_header_stdc
=no
6579 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6585 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6586 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6587 if test $ac_cv_header_stdc = yes; then
6589 cat >>confdefs.h
<<\_ACEOF
6590 #define STDC_HEADERS 1
6595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6605 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6606 inttypes.h stdint.h unistd.h
6608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6611 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6612 echo $ECHO_N "(cached) $ECHO_C" >&6
6614 cat >conftest.
$ac_ext <<_ACEOF
6617 cat confdefs.h
>>conftest.
$ac_ext
6618 cat >>conftest.
$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 $ac_includes_default
6622 #include <$ac_header>
6624 rm -f conftest.
$ac_objext
6625 if { (ac_try
="$ac_compile"
6627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6628 *) ac_try_echo=$ac_try;;
6630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6631 (eval "$ac_compile") 2>conftest.er1
6633 grep -v '^ *+' conftest.er1 >conftest.err
6635 cat conftest.err >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && {
6638 test -z "$ac_c_werror_flag" ||
6639 test ! -s conftest.err
6640 } && test -s conftest.$ac_objext; then
6641 eval "$as_ac_Header=yes"
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 eval "$as_ac_Header=no"
6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6651 ac_res=`eval echo '${'$as_ac_Header'}'`
6652 { echo "$as_me:$LINENO: result: $ac_res" >&5
6653 echo "${ECHO_T}$ac_res" >&6; }
6654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6655 cat >>confdefs.h <<_ACEOF
6656 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6775 AudioUnit/AudioUnit.h \
6777 CoreAudio/CoreAudio.h \
6778 DiskArbitration/DiskArbitration.h \
6791 fontconfig/fontconfig.h \
6817 machine/soundcard.h \
6822 netinet/in_systm.h \
6887 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 ac_res=`eval echo '${'$as_ac_Header'}'`
6895 { echo "$as_me:$LINENO: result: $ac_res" >&5
6896 echo "${ECHO_T}$ac_res" >&6; }
6898 # Is the header compilable?
6899 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6901 cat >conftest.$ac_ext <<_ACEOF
6904 cat confdefs.h >>conftest.$ac_ext
6905 cat >>conftest.$ac_ext <<_ACEOF
6906 /* end confdefs.h. */
6907 $ac_includes_default
6908 #include <$ac_header>
6910 rm -f conftest.$ac_objext
6911 if { (ac_try="$ac_compile"
6913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6914 *) ac_try_echo
=$ac_try;;
6916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6917 (eval "$ac_compile") 2>conftest.er1
6919 grep -v '^ *+' conftest.er1
>conftest.err
6921 cat conftest.err
>&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } && {
6924 test -z "$ac_c_werror_flag" ||
6925 test ! -s conftest.err
6926 } && test -s conftest.
$ac_objext; then
6927 ac_header_compiler
=yes
6929 echo "$as_me: failed program was:" >&5
6930 sed 's/^/| /' conftest.
$ac_ext >&5
6932 ac_header_compiler
=no
6935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6937 echo "${ECHO_T}$ac_header_compiler" >&6; }
6939 # Is the header present?
6940 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6942 cat >conftest.
$ac_ext <<_ACEOF
6945 cat confdefs.h
>>conftest.
$ac_ext
6946 cat >>conftest.
$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6948 #include <$ac_header>
6950 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6953 *) ac_try_echo=$ac_try;;
6955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6958 grep -v '^ *+' conftest.er1 >conftest.err
6960 cat conftest.err >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } >/dev/null && {
6963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6964 test ! -s conftest.err
6966 ac_header_preproc=yes
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6971 ac_header_preproc=no
6974 rm -f conftest.err conftest.$ac_ext
6975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6976 echo "${ECHO_T}$ac_header_preproc" >&6; }
6978 # So? What about this header?
6979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6985 ac_header_preproc=yes
6988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7001 ## ------------------------------------ ##
7002 ## Report this to wine-devel@winehq.org ##
7003 ## ------------------------------------ ##
7005 ) | sed "s/^/$as_me: WARNING: /" >&2
7008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 eval "$as_ac_Header=\$ac_header_preproc"
7015 ac_res=`eval echo '${'$as_ac_Header'}'`
7016 { echo "$as_me:$LINENO: result: $ac_res" >&5
7017 echo "${ECHO_T}$ac_res" >&6; }
7020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7021 cat >>confdefs.h <<_ACEOF
7022 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7029 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7030 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7031 if test "${ac_cv_header_stat_broken+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 cat >conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h >>conftest.$ac_ext
7038 cat >>conftest.$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7040 #include <sys/types.h>
7041 #include <sys/stat.h>
7043 #if defined S_ISBLK && defined S_IFDIR
7044 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7047 #if defined S_ISBLK && defined S_IFCHR
7048 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7051 #if defined S_ISLNK && defined S_IFREG
7052 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7055 #if defined S_ISSOCK && defined S_IFREG
7056 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7060 rm -f conftest.$ac_objext
7061 if { (ac_try="$ac_compile"
7063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7064 *) ac_try_echo
=$ac_try;;
7066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7067 (eval "$ac_compile") 2>conftest.er1
7069 grep -v '^ *+' conftest.er1
>conftest.err
7071 cat conftest.err
>&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } && {
7074 test -z "$ac_c_werror_flag" ||
7075 test ! -s conftest.err
7076 } && test -s conftest.
$ac_objext; then
7077 ac_cv_header_stat_broken
=no
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7082 ac_cv_header_stat_broken
=yes
7085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7087 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7088 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7089 if test $ac_cv_header_stat_broken = yes; then
7091 cat >>confdefs.h
<<\_ACEOF
7092 #define STAT_MACROS_BROKEN 1
7103 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7108 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 cat >conftest.
$ac_ext <<_ACEOF
7114 cat confdefs.h
>>conftest.
$ac_ext
7115 cat >>conftest.
$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7117 #include <sys/types.h>
7118 #if HAVE_SYS_PARAM_H
7119 # include <sys/param.h>
7122 #include <$ac_header>
7124 rm -f conftest.
$ac_objext
7125 if { (ac_try
="$ac_compile"
7127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7128 *) ac_try_echo=$ac_try;;
7130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131 (eval "$ac_compile") 2>conftest.er1
7133 grep -v '^ *+' conftest.er1 >conftest.err
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } && {
7138 test -z "$ac_c_werror_flag" ||
7139 test ! -s conftest.err
7140 } && test -s conftest.$ac_objext; then
7141 eval "$as_ac_Header=yes"
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.$ac_ext >&5
7146 eval "$as_ac_Header=no"
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 ac_res=`eval echo '${'$as_ac_Header'}'`
7152 { echo "$as_me:$LINENO: result: $ac_res" >&5
7153 echo "${ECHO_T}$ac_res" >&6; }
7154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7155 cat >>confdefs.h <<_ACEOF
7156 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7172 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7174 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7175 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 cat >conftest.$ac_ext <<_ACEOF
7183 cat confdefs.h >>conftest.$ac_ext
7184 cat >>conftest.$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7186 #include <sys/types.h>
7187 #if HAVE_SYS_SOCKET_H
7188 # include <sys/socket.h>
7190 #if HAVE_SYS_SOCKETVAR_H
7191 # include <sys/socketvar.h>
7193 #if HAVE_NETINET_IN_H
7194 # include <netinet/in.h>
7197 #include <$ac_header>
7199 rm -f conftest.$ac_objext
7200 if { (ac_try="$ac_compile"
7202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7203 *) ac_try_echo
=$ac_try;;
7205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7206 (eval "$ac_compile") 2>conftest.er1
7208 grep -v '^ *+' conftest.er1
>conftest.err
7210 cat conftest.err
>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && {
7213 test -z "$ac_c_werror_flag" ||
7214 test ! -s conftest.err
7215 } && test -s conftest.
$ac_objext; then
7216 eval "$as_ac_Header=yes"
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.
$ac_ext >&5
7221 eval "$as_ac_Header=no"
7224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7226 ac_res
=`eval echo '${'$as_ac_Header'}'`
7227 { echo "$as_me:$LINENO: result: $ac_res" >&5
7228 echo "${ECHO_T}$ac_res" >&6; }
7229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7230 cat >>confdefs.h
<<_ACEOF
7231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 for ac_header
in netinet
/tcp_var.h
7242 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7245 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7246 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 cat >conftest.
$ac_ext <<_ACEOF
7251 cat confdefs.h
>>conftest.
$ac_ext
7252 cat >>conftest.
$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7254 #include <sys/types.h>
7255 #if HAVE_SYS_SOCKET_H
7256 # include <sys/socket.h>
7258 #if HAVE_SYS_SOCKETVAR_H
7259 # include <sys/socketvar.h>
7261 #if HAVE_NETINET_IN_H
7262 # include <netinet/in.h>
7264 #ifdef HAVE_NETINET_TCP_H
7265 # include <netinet/tcp.h>
7268 #include <$ac_header>
7270 rm -f conftest.
$ac_objext
7271 if { (ac_try
="$ac_compile"
7273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7277 (eval "$ac_compile") 2>conftest.er1
7279 grep -v '^ *+' conftest.er1 >conftest.err
7281 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } && {
7284 test -z "$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7286 } && test -s conftest.$ac_objext; then
7287 eval "$as_ac_Header=yes"
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 eval "$as_ac_Header=no"
7295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7297 ac_res=`eval echo '${'$as_ac_Header'}'`
7298 { echo "$as_me:$LINENO: result: $ac_res" >&5
7299 echo "${ECHO_T}$ac_res" >&6; }
7300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7301 cat >>confdefs.h <<_ACEOF
7302 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7311 for ac_header in linux/ipx.h
7313 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7317 echo $ECHO_N "(cached) $ECHO_C" >&6
7319 cat >conftest.$ac_ext <<_ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7325 #include <sys/types.h>
7326 #ifdef HAVE_ASM_TYPES_H
7327 # include <asm/types.h>
7329 #if HAVE_SYS_SOCKET_H
7330 # include <sys/socket.h>
7333 #include <$ac_header>
7335 rm -f conftest.$ac_objext
7336 if { (ac_try="$ac_compile"
7338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7339 *) ac_try_echo
=$ac_try;;
7341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7342 (eval "$ac_compile") 2>conftest.er1
7344 grep -v '^ *+' conftest.er1
>conftest.err
7346 cat conftest.err
>&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); } && {
7349 test -z "$ac_c_werror_flag" ||
7350 test ! -s conftest.err
7351 } && test -s conftest.
$ac_objext; then
7352 eval "$as_ac_Header=yes"
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.
$ac_ext >&5
7357 eval "$as_ac_Header=no"
7360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7362 ac_res
=`eval echo '${'$as_ac_Header'}'`
7363 { echo "$as_me:$LINENO: result: $ac_res" >&5
7364 echo "${ECHO_T}$ac_res" >&6; }
7365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7366 cat >>confdefs.h
<<_ACEOF
7367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7376 for ac_header
in resolv.h
7378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7381 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 cat >conftest.
$ac_ext <<_ACEOF
7387 cat confdefs.h
>>conftest.
$ac_ext
7388 cat >>conftest.
$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #include <sys/types.h>
7391 #if HAVE_SYS_SOCKET_H
7392 # include <sys/socket.h>
7394 #if HAVE_NETINET_IN_H
7395 # include <netinet/in.h>
7397 #if HAVE_ARPA_NAMESER_H
7398 # include <arpa/nameser.h>
7401 #include <$ac_header>
7403 rm -f conftest.
$ac_objext
7404 if { (ac_try
="$ac_compile"
7406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7407 *) ac_try_echo=$ac_try;;
7409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7410 (eval "$ac_compile") 2>conftest.er1
7412 grep -v '^ *+' conftest.er1 >conftest.err
7414 cat conftest.err >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); } && {
7417 test -z "$ac_c_werror_flag" ||
7418 test ! -s conftest.err
7419 } && test -s conftest.$ac_objext; then
7420 eval "$as_ac_Header=yes"
7422 echo "$as_me: failed program was:" >&5
7423 sed 's/^/| /' conftest.$ac_ext >&5
7425 eval "$as_ac_Header=no"
7428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7430 ac_res=`eval echo '${'$as_ac_Header'}'`
7431 { echo "$as_me:$LINENO: result: $ac_res" >&5
7432 echo "${ECHO_T}$ac_res" >&6; }
7433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7434 cat >>confdefs.h <<_ACEOF
7435 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7444 for ac_header in ucontext.h
7446 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7447 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7450 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 cat >conftest.$ac_ext <<_ACEOF
7455 cat confdefs.h >>conftest.$ac_ext
7456 cat >>conftest.$ac_ext <<_ACEOF
7457 /* end confdefs.h. */
7460 #include <$ac_header>
7462 rm -f conftest.$ac_objext
7463 if { (ac_try="$ac_compile"
7465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7466 *) ac_try_echo
=$ac_try;;
7468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 (eval "$ac_compile") 2>conftest.er1
7471 grep -v '^ *+' conftest.er1
>conftest.err
7473 cat conftest.err
>&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); } && {
7476 test -z "$ac_c_werror_flag" ||
7477 test ! -s conftest.err
7478 } && test -s conftest.
$ac_objext; then
7479 eval "$as_ac_Header=yes"
7481 echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.
$ac_ext >&5
7484 eval "$as_ac_Header=no"
7487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7489 ac_res
=`eval echo '${'$as_ac_Header'}'`
7490 { echo "$as_me:$LINENO: result: $ac_res" >&5
7491 echo "${ECHO_T}$ac_res" >&6; }
7492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7493 cat >>confdefs.h
<<_ACEOF
7494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7503 for ac_header
in sys
/thr.h
7505 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7508 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 cat >conftest.
$ac_ext <<_ACEOF
7514 cat confdefs.h
>>conftest.
$ac_ext
7515 cat >>conftest.
$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 #include <sys/types.h>
7519 #include <ucontext.h>
7522 #include <$ac_header>
7524 rm -f conftest.
$ac_objext
7525 if { (ac_try
="$ac_compile"
7527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7528 *) ac_try_echo=$ac_try;;
7530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7531 (eval "$ac_compile") 2>conftest.er1
7533 grep -v '^ *+' conftest.er1 >conftest.err
7535 cat conftest.err >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } && {
7538 test -z "$ac_c_werror_flag" ||
7539 test ! -s conftest.err
7540 } && test -s conftest.$ac_objext; then
7541 eval "$as_ac_Header=yes"
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.$ac_ext >&5
7546 eval "$as_ac_Header=no"
7549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7551 ac_res=`eval echo '${'$as_ac_Header'}'`
7552 { echo "$as_me:$LINENO: result: $ac_res" >&5
7553 echo "${ECHO_T}$ac_res" >&6; }
7554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7555 cat >>confdefs.h <<_ACEOF
7556 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7565 for ac_header in pthread_np.h
7567 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 cat >conftest.$ac_ext <<_ACEOF
7576 cat confdefs.h >>conftest.$ac_ext
7577 cat >>conftest.$ac_ext <<_ACEOF
7578 /* end confdefs.h. */
7579 #ifdef HAVE_PTHREAD_H
7580 #include <pthread.h>
7583 #include <$ac_header>
7585 rm -f conftest.$ac_objext
7586 if { (ac_try="$ac_compile"
7588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7589 *) ac_try_echo
=$ac_try;;
7591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7592 (eval "$ac_compile") 2>conftest.er1
7594 grep -v '^ *+' conftest.er1
>conftest.err
7596 cat conftest.err
>&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && {
7599 test -z "$ac_c_werror_flag" ||
7600 test ! -s conftest.err
7601 } && test -s conftest.
$ac_objext; then
7602 eval "$as_ac_Header=yes"
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.
$ac_ext >&5
7607 eval "$as_ac_Header=no"
7610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7612 ac_res
=`eval echo '${'$as_ac_Header'}'`
7613 { echo "$as_me:$LINENO: result: $ac_res" >&5
7614 echo "${ECHO_T}$ac_res" >&6; }
7615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7616 cat >>confdefs.h
<<_ACEOF
7617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7626 for ac_header
in linux
/videodev.h
7628 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7631 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 cat >conftest.
$ac_ext <<_ACEOF
7637 cat confdefs.h
>>conftest.
$ac_ext
7638 cat >>conftest.
$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7640 #ifdef HAVE_SYS_TIME_H
7641 #include <sys/time.h>
7643 #include <sys/types.h>
7644 #ifdef HAVE_ASM_TYPES_H
7645 #include <asm/types.h>
7648 #include <$ac_header>
7650 rm -f conftest.
$ac_objext
7651 if { (ac_try
="$ac_compile"
7653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_compile") 2>conftest.er1
7659 grep -v '^ *+' conftest.er1 >conftest.err
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_c_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest.$ac_objext; then
7667 eval "$as_ac_Header=yes"
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.$ac_ext >&5
7672 eval "$as_ac_Header=no"
7675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7677 ac_res=`eval echo '${'$as_ac_Header'}'`
7678 { echo "$as_me:$LINENO: result: $ac_res" >&5
7679 echo "${ECHO_T}$ac_res" >&6; }
7680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7681 cat >>confdefs.h <<_ACEOF
7682 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7691 for ac_header in linux/capi.h
7693 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7694 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 cat >conftest.$ac_ext <<_ACEOF
7702 cat confdefs.h >>conftest.$ac_ext
7703 cat >>conftest.$ac_ext <<_ACEOF
7704 /* end confdefs.h. */
7707 #include <$ac_header>
7709 rm -f conftest.$ac_objext
7710 if { (ac_try="$ac_compile"
7712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7713 *) ac_try_echo
=$ac_try;;
7715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7716 (eval "$ac_compile") 2>conftest.er1
7718 grep -v '^ *+' conftest.er1
>conftest.err
7720 cat conftest.err
>&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); } && {
7723 test -z "$ac_c_werror_flag" ||
7724 test ! -s conftest.err
7725 } && test -s conftest.
$ac_objext; then
7726 eval "$as_ac_Header=yes"
7728 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.
$ac_ext >&5
7731 eval "$as_ac_Header=no"
7734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7736 ac_res
=`eval echo '${'$as_ac_Header'}'`
7737 { echo "$as_me:$LINENO: result: $ac_res" >&5
7738 echo "${ECHO_T}$ac_res" >&6; }
7739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7740 cat >>confdefs.h
<<_ACEOF
7741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7752 DLLFLAGS
="-D_REENTRANT"
7766 # Extract the first word of "ldd", so it can be a program name with args.
7767 set dummy ldd
; ac_word
=$2
7768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7770 if test "${ac_cv_path_LDD+set}" = set; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7775 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7779 as_dummy
="/sbin:/usr/sbin:$PATH"
7780 for as_dir
in $as_dummy
7783 test -z "$as_dir" && as_dir
=.
7784 for ac_exec_ext
in '' $ac_executable_extensions; do
7785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7794 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7799 if test -n "$LDD"; then
7800 { echo "$as_me:$LINENO: result: $LDD" >&5
7801 echo "${ECHO_T}$LDD" >&6; }
7803 { echo "$as_me:$LINENO: result: no" >&5
7804 echo "${ECHO_T}no" >&6; }
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7813 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7816 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 if test -n "$DLLTOOL"; then
7820 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir
=.
7827 for ac_exec_ext
in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 DLLTOOL
=$ac_cv_prog_DLLTOOL
7840 if test -n "$DLLTOOL"; then
7841 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7842 echo "${ECHO_T}$DLLTOOL" >&6; }
7844 { echo "$as_me:$LINENO: result: no" >&5
7845 echo "${ECHO_T}no" >&6; }
7850 if test -z "$ac_cv_prog_DLLTOOL"; then
7851 ac_ct_DLLTOOL
=$DLLTOOL
7852 # Extract the first word of "dlltool", so it can be a program name with args.
7853 set dummy dlltool
; ac_word
=$2
7854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7856 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 if test -n "$ac_ct_DLLTOOL"; then
7860 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir
=.
7867 for ac_exec_ext
in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7880 if test -n "$ac_ct_DLLTOOL"; then
7881 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7882 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7884 { echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6; }
7888 if test "x$ac_ct_DLLTOOL" = x
; then
7891 case $cross_compiling:$ac_tool_warned in
7893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7894 whose name does not start with the host triplet. If you think this
7895 configuration is useful to you, please write to autoconf@gnu.org." >&5
7896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7897 whose name does not start with the host triplet. If you think this
7898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7899 ac_tool_warned
=yes ;;
7901 DLLTOOL
=$ac_ct_DLLTOOL
7904 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7907 if test -n "$ac_tool_prefix"; then
7908 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7909 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7912 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 if test -n "$DLLWRAP"; then
7916 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7922 test -z "$as_dir" && as_dir
=.
7923 for ac_exec_ext
in '' $ac_executable_extensions; do
7924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7925 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 DLLWRAP
=$ac_cv_prog_DLLWRAP
7936 if test -n "$DLLWRAP"; then
7937 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7938 echo "${ECHO_T}$DLLWRAP" >&6; }
7940 { echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6; }
7946 if test -z "$ac_cv_prog_DLLWRAP"; then
7947 ac_ct_DLLWRAP
=$DLLWRAP
7948 # Extract the first word of "dllwrap", so it can be a program name with args.
7949 set dummy dllwrap
; ac_word
=$2
7950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7952 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 if test -n "$ac_ct_DLLWRAP"; then
7956 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir
=.
7963 for ac_exec_ext
in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7976 if test -n "$ac_ct_DLLWRAP"; then
7977 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7978 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7980 { echo "$as_me:$LINENO: result: no" >&5
7981 echo "${ECHO_T}no" >&6; }
7984 if test "x$ac_ct_DLLWRAP" = x
; then
7987 case $cross_compiling:$ac_tool_warned in
7989 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7990 whose name does not start with the host triplet. If you think this
7991 configuration is useful to you, please write to autoconf@gnu.org." >&5
7992 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7993 whose name does not start with the host triplet. If you think this
7994 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7995 ac_tool_warned
=yes ;;
7997 DLLWRAP
=$ac_ct_DLLWRAP
8000 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8005 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8008 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8011 if test -n "$MINGWAR"; then
8012 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir
=.
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8021 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 MINGWAR
=$ac_cv_prog_MINGWAR
8032 if test -n "$MINGWAR"; then
8033 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8034 echo "${ECHO_T}$MINGWAR" >&6; }
8036 { echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6; }
8042 if test -z "$ac_cv_prog_MINGWAR"; then
8043 ac_ct_MINGWAR
=$MINGWAR
8044 # Extract the first word of "ar", so it can be a program name with args.
8045 set dummy
ar; ac_word
=$2
8046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8048 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 if test -n "$ac_ct_MINGWAR"; then
8052 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8058 test -z "$as_dir" && as_dir
=.
8059 for ac_exec_ext
in '' $ac_executable_extensions; do
8060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8061 ac_cv_prog_ac_ct_MINGWAR
="ar"
8062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8072 if test -n "$ac_ct_MINGWAR"; then
8073 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8074 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8076 { echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6; }
8080 if test "x$ac_ct_MINGWAR" = x
; then
8083 case $cross_compiling:$ac_tool_warned in
8085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8086 whose name does not start with the host triplet. If you think this
8087 configuration is useful to you, please write to autoconf@gnu.org." >&5
8088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8089 whose name does not start with the host triplet. If you think this
8090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8091 ac_tool_warned
=yes ;;
8093 MINGWAR
=$ac_ct_MINGWAR
8096 MINGWAR
="$ac_cv_prog_MINGWAR"
8099 if test "$DLLWRAP" = "false"; then
8111 DLLFLAGS
="$DLLFLAGS -fPIC"
8112 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8113 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8114 LDSHARED
="\$(CC) -dynamiclib"
8116 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8117 COREFOUNDATIONLIB
="-framework CoreFoundation"
8119 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8121 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8123 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8125 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8128 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8130 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8135 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8137 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8139 CARBONLIB
="-framework Carbon"
8141 QUARTZFILES
='$(QUARTZFILES)'
8145 DLLFLAGS
="$DLLFLAGS -fPIC"
8147 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8148 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8149 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8152 ac_wine_try_cflags_saved
=$CFLAGS
8153 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8154 cat >conftest.
$ac_ext <<_ACEOF
8157 rm -f conftest.
$ac_objext conftest
$ac_exeext
8158 if { (ac_try
="$ac_link"
8160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8161 *) ac_try_echo=$ac_try;;
8163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8164 (eval "$ac_link") 2>conftest.er1
8166 grep -v '^ *+' conftest.er1 >conftest.err
8168 cat conftest.err >&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } && {
8171 test -z "$ac_c_werror_flag" ||
8172 test ! -s conftest.err
8173 } && test -s conftest$ac_exeext &&
8174 $as_test_x conftest$ac_exeext; then
8175 ac_cv_c_dll_gnuelf="yes"
8177 echo "$as_me: failed program was:" >&5
8178 sed 's/^/| /' conftest.$ac_ext >&5
8180 ac_cv_c_dll_gnuelf="no"
8183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8188 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8189 if test "$ac_cv_c_dll_gnuelf" = "yes"
8191 LDSHARED="\$(CC) -shared"
8192 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8193 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8194 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8195 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8196 echo $ECHO_N "(cached) $ECHO_C" >&6
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8200 cat >conftest.$ac_ext <<_ACEOF
8203 cat confdefs.h >>conftest.$ac_ext
8204 cat >>conftest.$ac_ext <<_ACEOF
8205 /* end confdefs.h. */
8215 rm -f conftest.$ac_objext conftest$ac_exeext
8216 if { (ac_try="$ac_link"
8218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8219 *) ac_try_echo
=$ac_try;;
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_link") 2>conftest.er1
8224 grep -v '^ *+' conftest.er1
>conftest.err
8226 cat conftest.err
>&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } && {
8229 test -z "$ac_c_werror_flag" ||
8230 test ! -s conftest.err
8231 } && test -s conftest
$ac_exeext &&
8232 $as_test_x conftest
$ac_exeext; then
8233 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.
$ac_ext >&5
8238 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8242 conftest
$ac_exeext conftest.
$ac_ext
8243 CFLAGS
=$ac_wine_try_cflags_saved
8245 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8246 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8247 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8248 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8250 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8251 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8252 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8253 echo $ECHO_N "(cached) $ECHO_C" >&6
8255 ac_wine_try_cflags_saved
=$CFLAGS
8256 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8257 cat >conftest.
$ac_ext <<_ACEOF
8260 cat confdefs.h
>>conftest.
$ac_ext
8261 cat >>conftest.
$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8272 rm -f conftest.
$ac_objext conftest
$ac_exeext
8273 if { (ac_try
="$ac_link"
8275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8276 *) ac_try_echo=$ac_try;;
8278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8279 (eval "$ac_link") 2>conftest.er1
8281 grep -v '^ *+' conftest.er1 >conftest.err
8283 cat conftest.err >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } && {
8286 test -z "$ac_c_werror_flag" ||
8287 test ! -s conftest.err
8288 } && test -s conftest$ac_exeext &&
8289 $as_test_x conftest$ac_exeext; then
8290 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8292 echo "$as_me: failed program was:" >&5
8293 sed 's/^/| /' conftest.$ac_ext >&5
8295 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8299 conftest$ac_exeext conftest.$ac_ext
8300 CFLAGS=$ac_wine_try_cflags_saved
8302 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8303 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8304 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8305 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8311 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8312 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8313 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8318 cat >conftest.$ac_ext <<_ACEOF
8321 cat confdefs.h >>conftest.$ac_ext
8322 cat >>conftest.$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8333 rm -f conftest.$ac_objext conftest$ac_exeext
8334 if { (ac_try="$ac_link"
8336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8337 *) ac_try_echo
=$ac_try;;
8339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8340 (eval "$ac_link") 2>conftest.er1
8342 grep -v '^ *+' conftest.er1
>conftest.err
8344 cat conftest.err
>&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); } && {
8347 test -z "$ac_c_werror_flag" ||
8348 test ! -s conftest.err
8349 } && test -s conftest
$ac_exeext &&
8350 $as_test_x conftest
$ac_exeext; then
8351 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8353 echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.
$ac_ext >&5
8356 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8359 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8360 conftest
$ac_exeext conftest.
$ac_ext
8361 CFLAGS
=$ac_wine_try_cflags_saved
8363 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8364 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8365 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8366 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8370 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8371 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8372 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 ac_wine_try_cflags_saved
=$CFLAGS
8376 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8377 cat >conftest.
$ac_ext <<_ACEOF
8380 cat confdefs.h
>>conftest.
$ac_ext
8381 cat >>conftest.
$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8392 rm -f conftest.
$ac_objext conftest
$ac_exeext
8393 if { (ac_try
="$ac_link"
8395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8396 *) ac_try_echo=$ac_try;;
8398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8399 (eval "$ac_link") 2>conftest.er1
8401 grep -v '^ *+' conftest.er1 >conftest.err
8403 cat conftest.err >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); } && {
8406 test -z "$ac_c_werror_flag" ||
8407 test ! -s conftest.err
8408 } && test -s conftest$ac_exeext &&
8409 $as_test_x conftest$ac_exeext; then
8410 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8423 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8424 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8425 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8429 echo '{ global: *; };' >conftest.map
8430 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8431 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8432 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 ac_wine_try_cflags_saved=$CFLAGS
8436 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8437 cat >conftest.$ac_ext <<_ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8452 rm -f conftest.$ac_objext conftest$ac_exeext
8453 if { (ac_try="$ac_link"
8455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8456 *) ac_try_echo
=$ac_try;;
8458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8459 (eval "$ac_link") 2>conftest.er1
8461 grep -v '^ *+' conftest.er1
>conftest.err
8463 cat conftest.err
>&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } && {
8466 test -z "$ac_c_werror_flag" ||
8467 test ! -s conftest.err
8468 } && test -s conftest
$ac_exeext &&
8469 $as_test_x conftest
$ac_exeext; then
8470 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.
$ac_ext >&5
8475 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8478 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8479 conftest
$ac_exeext conftest.
$ac_ext
8480 CFLAGS
=$ac_wine_try_cflags_saved
8482 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8483 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8484 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8485 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8490 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8491 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8492 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 ac_wine_try_cflags_saved
=$CFLAGS
8496 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8497 cat >conftest.
$ac_ext <<_ACEOF
8500 cat confdefs.h
>>conftest.
$ac_ext
8501 cat >>conftest.
$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8512 rm -f conftest.
$ac_objext conftest
$ac_exeext
8513 if { (ac_try
="$ac_link"
8515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8516 *) ac_try_echo=$ac_try;;
8518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519 (eval "$ac_link") 2>conftest.er1
8521 grep -v '^ *+' conftest.er1 >conftest.err
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } && {
8526 test -z "$ac_c_werror_flag" ||
8527 test ! -s conftest.err
8528 } && test -s conftest$ac_exeext &&
8529 $as_test_x conftest$ac_exeext; then
8530 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8543 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8544 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8545 LDEXECFLAGS="-Wl,--export-dynamic"
8550 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8551 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8552 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8553 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8554 echo $ECHO_N "(cached) $ECHO_C" >&6
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8558 cat >conftest.$ac_ext <<_ACEOF
8561 cat confdefs.h >>conftest.$ac_ext
8562 cat >>conftest.$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8577 *) ac_try_echo
=$ac_try;;
8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8580 (eval "$ac_link") 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } && {
8587 test -z "$ac_c_werror_flag" ||
8588 test ! -s conftest.err
8589 } && test -s conftest
$ac_exeext &&
8590 $as_test_x conftest
$ac_exeext; then
8591 eval "$as_ac_var=yes"
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.
$ac_ext >&5
8596 eval "$as_ac_var=no"
8599 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8600 conftest
$ac_exeext conftest.
$ac_ext
8601 CFLAGS
=$ac_wine_try_cflags_saved
8603 ac_res
=`eval echo '${'$as_ac_var'}'`
8604 { echo "$as_me:$LINENO: result: $ac_res" >&5
8605 echo "${ECHO_T}$ac_res" >&6; }
8606 if test `eval echo '${'$as_ac_var'}'` = yes; then
8607 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8608 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8610 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8611 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8612 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8613 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 ac_wine_try_cflags_saved
=$CFLAGS
8617 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8618 cat >conftest.
$ac_ext <<_ACEOF
8621 cat confdefs.h
>>conftest.
$ac_ext
8622 cat >>conftest.
$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8633 rm -f conftest.
$ac_objext conftest
$ac_exeext
8634 if { (ac_try
="$ac_link"
8636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8637 *) ac_try_echo=$ac_try;;
8639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8640 (eval "$ac_link") 2>conftest.er1
8642 grep -v '^ *+' conftest.er1 >conftest.err
8644 cat conftest.err >&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } && {
8647 test -z "$ac_c_werror_flag" ||
8648 test ! -s conftest.err
8649 } && test -s conftest$ac_exeext &&
8650 $as_test_x conftest$ac_exeext; then
8651 eval "$as_ac_var=yes"
8653 echo "$as_me: failed program was:" >&5
8654 sed 's/^/| /' conftest.$ac_ext >&5
8656 eval "$as_ac_var=no"
8659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 ac_res=`eval echo '${'$as_ac_var'}'`
8664 { echo "$as_me:$LINENO: result: $ac_res" >&5
8665 echo "${ECHO_T}$ac_res" >&6; }
8666 if test `eval echo '${'$as_ac_var'}'` = yes; then
8667 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8668 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8674 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8675 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8676 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8681 cat >conftest.$ac_ext <<_ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (ac_try="$ac_link"
8699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8700 *) ac_try_echo
=$ac_try;;
8702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8703 (eval "$ac_link") 2>conftest.er1
8705 grep -v '^ *+' conftest.er1
>conftest.err
8707 cat conftest.err
>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } && {
8710 test -z "$ac_c_werror_flag" ||
8711 test ! -s conftest.err
8712 } && test -s conftest
$ac_exeext &&
8713 $as_test_x conftest
$ac_exeext; then
8714 ac_cv_cflags__Wl___enable_new_dtags
=yes
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.
$ac_ext >&5
8719 ac_cv_cflags__Wl___enable_new_dtags
=no
8722 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8723 conftest
$ac_exeext conftest.
$ac_ext
8724 CFLAGS
=$ac_wine_try_cflags_saved
8726 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8727 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8728 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8729 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8734 *i
[3456789]86* | x86_64
)
8735 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8736 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8737 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8738 echo $ECHO_N "(cached) $ECHO_C" >&6
8740 ac_wine_try_cflags_saved
=$CFLAGS
8741 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8742 cat >conftest.
$ac_ext <<_ACEOF
8745 cat confdefs.h
>>conftest.
$ac_ext
8746 cat >>conftest.
$ac_ext <<_ACEOF
8747 /* end confdefs.h. */
8757 rm -f conftest.
$ac_objext conftest
$ac_exeext
8758 if { (ac_try
="$ac_link"
8760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8761 *) ac_try_echo=$ac_try;;
8763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8764 (eval "$ac_link") 2>conftest.er1
8766 grep -v '^ *+' conftest.er1 >conftest.err
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); } && {
8771 test -z "$ac_c_werror_flag" ||
8772 test ! -s conftest.err
8773 } && test -s conftest$ac_exeext &&
8774 $as_test_x conftest$ac_exeext; then
8775 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8777 echo "$as_me: failed program was:" >&5
8778 sed 's/^/| /' conftest.$ac_ext >&5
8780 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8788 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8789 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8790 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8797 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8798 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8799 if test "${ac_cv_c_dll_unixware+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8804 cat >conftest.$ac_ext <<_ACEOF
8807 rm -f conftest.$ac_objext conftest$ac_exeext
8808 if { (ac_try="$ac_link"
8810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8811 *) ac_try_echo
=$ac_try;;
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_link") 2>conftest.er1
8816 grep -v '^ *+' conftest.er1
>conftest.err
8818 cat conftest.err
>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } && {
8821 test -z "$ac_c_werror_flag" ||
8822 test ! -s conftest.err
8823 } && test -s conftest
$ac_exeext &&
8824 $as_test_x conftest
$ac_exeext; then
8825 ac_cv_c_dll_unixware
="yes"
8827 echo "$as_me: failed program was:" >&5
8828 sed 's/^/| /' conftest.
$ac_ext >&5
8830 ac_cv_c_dll_unixware
="no"
8833 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8834 conftest
$ac_exeext conftest.
$ac_ext
8835 CFLAGS
=$ac_wine_try_cflags_saved
8837 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8838 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8839 if test "$ac_cv_c_dll_unixware" = "yes"
8841 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8842 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8845 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8846 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8847 if test "${ac_cv_c_dll_hpux+set}" = set; then
8848 echo $ECHO_N "(cached) $ECHO_C" >&6
8850 ac_wine_try_cflags_saved
=$CFLAGS
8851 CFLAGS
="$CFLAGS -shared"
8852 cat >conftest.
$ac_ext <<_ACEOF
8855 rm -f conftest.
$ac_objext conftest
$ac_exeext
8856 if { (ac_try
="$ac_link"
8858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_link") 2>conftest.er1
8864 grep -v '^ *+' conftest.er1 >conftest.err
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } && {
8869 test -z "$ac_c_werror_flag" ||
8870 test ! -s conftest.err
8871 } && test -s conftest$ac_exeext &&
8872 $as_test_x conftest$ac_exeext; then
8873 ac_cv_c_dll_hpux="yes"
8875 echo "$as_me: failed program was:" >&5
8876 sed 's/^/| /' conftest.$ac_ext >&5
8878 ac_cv_c_dll_hpux="no"
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8886 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8887 if test "$ac_cv_c_dll_hpux" = "yes"
8891 LDDLLFLAGS="-shared -fPIC"
8892 LDSHARED="\$(CC) -shared"
8899 if test "$cross_compiling" = "no"
8901 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8903 # Extract the first word of "$ac_prog", so it can be a program name with args.
8904 set dummy $ac_prog; ac_word=$2
8905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8907 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8910 if test -n "$CROSSCC"; then
8911 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8917 test -z "$as_dir" && as_dir=.
8918 for ac_exec_ext in '' $ac_executable_extensions; do
8919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8920 ac_cv_prog_CROSSCC="$ac_prog"
8921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 CROSSCC=$ac_cv_prog_CROSSCC
8931 if test -n "$CROSSCC"; then
8932 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8933 echo "${ECHO_T}$CROSSCC" >&6; }
8935 { echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6; }
8940 test -n "$CROSSCC" && break
8942 test -n "$CROSSCC" || CROSSCC="false"
8944 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8946 # Extract the first word of "$ac_prog", so it can be a program name with args.
8947 set dummy $ac_prog; ac_word=$2
8948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8950 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8953 if test -n "$DLLTOOL"; then
8954 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_DLLTOOL="$ac_prog"
8964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8973 DLLTOOL=$ac_cv_prog_DLLTOOL
8974 if test -n "$DLLTOOL"; then
8975 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8976 echo "${ECHO_T}$DLLTOOL" >&6; }
8978 { echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6; }
8983 test -n "$DLLTOOL" && break
8985 test -n "$DLLTOOL" || DLLTOOL="false"
8987 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8989 # Extract the first word of "$ac_prog", so it can be a program name with args.
8990 set dummy $ac_prog; ac_word=$2
8991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8993 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 if test -n "$CROSSWINDRES"; then
8997 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_CROSSWINDRES="$ac_prog"
9007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9016 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9017 if test -n "$CROSSWINDRES"; then
9018 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9019 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9021 { echo "$as_me:$LINENO: result: no" >&5
9022 echo "${ECHO_T}no" >&6; }
9026 test -n "$CROSSWINDRES" && break
9028 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9030 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9032 # Extract the first word of "$ac_prog", so it can be a program name with args.
9033 set dummy $ac_prog; ac_word=$2
9034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9036 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 if test -n "$MINGWAR"; then
9040 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9046 test -z "$as_dir" && as_dir=.
9047 for ac_exec_ext in '' $ac_executable_extensions; do
9048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9049 ac_cv_prog_MINGWAR="$ac_prog"
9050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9059 MINGWAR=$ac_cv_prog_MINGWAR
9060 if test -n "$MINGWAR"; then
9061 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9062 echo "${ECHO_T}$MINGWAR" >&6; }
9064 { echo "$as_me:$LINENO: result: no" >&5
9065 echo "${ECHO_T}no" >&6; }
9069 test -n "$MINGWAR" && break
9071 test -n "$MINGWAR" || MINGWAR="false"
9073 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9078 if test "$LIBEXT" = "a"; then
9079 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9080 It is currently not possible to build Wine without shared library
9081 (.so) support to allow transparent switch between .so and .dll files.
9082 If you are using Linux, you will need a newer binutils.
9084 echo "$as_me: error: could not find a way to build shared libraries.
9085 It is currently not possible to build Wine without shared library
9086 (.so) support to allow transparent switch between .so and .dll files.
9087 If you are using Linux, you will need a newer binutils.
9089 { (exit 1); exit 1; }; }
9093 if test "$have_x" = "yes"
9096 ac_save_CPPFLAGS="$CPPFLAGS"
9097 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9099 { echo "$as_me:$LINENO: checking for -lX11" >&5
9100 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9101 if test "${ac_cv_lib_soname_X11+set}" = set; then
9102 echo $ECHO_N "(cached) $ECHO_C" >&6
9104 ac_check_soname_save_LIBS=$LIBS
9105 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9106 cat >conftest.$ac_ext <<_ACEOF
9109 cat confdefs.h >>conftest.$ac_ext
9110 cat >>conftest.$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9113 /* Override any GCC internal prototype to avoid an error.
9114 Use char because int might match the return type of a GCC
9115 builtin and then its argument prototype would still apply. */
9119 char XCreateWindow ();
9123 return XCreateWindow ();
9128 rm -f conftest.$ac_objext conftest$ac_exeext
9129 if { (ac_try="$ac_link"
9131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9132 *) ac_try_echo
=$ac_try;;
9134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9135 (eval "$ac_link") 2>conftest.er1
9137 grep -v '^ *+' conftest.er1
>conftest.err
9139 cat conftest.err
>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } && {
9142 test -z "$ac_c_werror_flag" ||
9143 test ! -s conftest.err
9144 } && test -s conftest
$ac_exeext &&
9145 $as_test_x conftest
$ac_exeext; then
9148 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'` ;;
9149 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.
$ac_ext >&5
9158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9159 conftest
$ac_exeext conftest.
$ac_ext
9160 LIBS
=$ac_check_soname_save_LIBS
9162 if test "x$ac_cv_lib_soname_X11" = "x"; then
9163 { echo "$as_me:$LINENO: result: not found" >&5
9164 echo "${ECHO_T}not found" >&6; }
9167 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9168 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9170 cat >>confdefs.h
<<_ACEOF
9171 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9177 { echo "$as_me:$LINENO: checking for -lXext" >&5
9178 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9179 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 ac_check_soname_save_LIBS
=$LIBS
9183 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9184 cat >conftest.
$ac_ext <<_ACEOF
9187 cat confdefs.h
>>conftest.
$ac_ext
9188 cat >>conftest.
$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9197 char XextCreateExtension ();
9201 return XextCreateExtension ();
9206 rm -f conftest.
$ac_objext conftest
$ac_exeext
9207 if { (ac_try
="$ac_link"
9209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9210 *) ac_try_echo=$ac_try;;
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 (eval "$ac_link") 2>conftest.er1
9215 grep -v '^ *+' conftest.er1 >conftest.err
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } && {
9220 test -z "$ac_c_werror_flag" ||
9221 test ! -s conftest.err
9222 } && test -s conftest$ac_exeext &&
9223 $as_test_x conftest$ac_exeext; then
9226 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'` ;;
9227 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_soname_save_LIBS
9240 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9241 { echo "$as_me:$LINENO: result: not found" >&5
9242 echo "${ECHO_T}not found" >&6; }
9245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9246 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9248 cat >>confdefs.h <<_ACEOF
9249 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9268 for ac_header in X11/Xlib.h \
9271 X11/Xcursor/Xcursor.h \
9272 X11/extensions/shape.h \
9273 X11/extensions/XInput.h \
9274 X11/extensions/XShm.h \
9275 X11/extensions/Xcomposite.h \
9276 X11/extensions/Xinerama.h \
9277 X11/extensions/Xrandr.h \
9278 X11/extensions/Xrender.h \
9279 X11/extensions/xf86vmode.h
9281 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 cat >conftest.$ac_ext <<_ACEOF
9290 cat confdefs.h >>conftest.$ac_ext
9291 cat >>conftest.$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9293 #ifdef HAVE_X11_XLIB_H
9294 # include <X11/Xlib.h>
9296 #ifdef HAVE_X11_XUTIL_H
9297 # include <X11/Xutil.h>
9300 #include <$ac_header>
9302 rm -f conftest.$ac_objext
9303 if { (ac_try="$ac_compile"
9305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9306 *) ac_try_echo
=$ac_try;;
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_compile") 2>conftest.er1
9311 grep -v '^ *+' conftest.er1
>conftest.err
9313 cat conftest.err
>&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } && {
9316 test -z "$ac_c_werror_flag" ||
9317 test ! -s conftest.err
9318 } && test -s conftest.
$ac_objext; then
9319 eval "$as_ac_Header=yes"
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.
$ac_ext >&5
9324 eval "$as_ac_Header=no"
9327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9329 ac_res
=`eval echo '${'$as_ac_Header'}'`
9330 { echo "$as_me:$LINENO: result: $ac_res" >&5
9331 echo "${ECHO_T}$ac_res" >&6; }
9332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9333 cat >>confdefs.h
<<_ACEOF
9334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9342 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9344 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9345 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9346 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9349 ac_check_lib_save_LIBS
=$LIBS
9350 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9351 cat >conftest.
$ac_ext <<_ACEOF
9354 cat confdefs.h
>>conftest.
$ac_ext
9355 cat >>conftest.
$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9364 char XkbQueryExtension ();
9368 return XkbQueryExtension ();
9373 rm -f conftest.
$ac_objext conftest
$ac_exeext
9374 if { (ac_try
="$ac_link"
9376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9377 *) ac_try_echo=$ac_try;;
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_link") 2>conftest.er1
9382 grep -v '^ *+' conftest.er1 >conftest.err
9384 cat conftest.err >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } && {
9387 test -z "$ac_c_werror_flag" ||
9388 test ! -s conftest.err
9389 } && test -s conftest$ac_exeext &&
9390 $as_test_x conftest$ac_exeext; then
9391 ac_cv_lib_X11_XkbQueryExtension=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 ac_cv_lib_X11_XkbQueryExtension=no
9399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9400 conftest$ac_exeext conftest.$ac_ext
9401 LIBS=$ac_check_lib_save_LIBS
9403 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9404 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9405 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9407 cat >>confdefs.h <<\_ACEOF
9415 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9417 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9418 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9419 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 ac_check_soname_save_LIBS=$LIBS
9423 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9424 cat >conftest.$ac_ext <<_ACEOF
9427 cat confdefs.h >>conftest.$ac_ext
9428 cat >>conftest.$ac_ext <<_ACEOF
9429 /* end confdefs.h. */
9431 /* Override any GCC internal prototype to avoid an error.
9432 Use char because int might match the return type of a GCC
9433 builtin and then its argument prototype would still apply. */
9437 char XcursorImageLoadCursor ();
9441 return XcursorImageLoadCursor ();
9446 rm -f conftest.$ac_objext conftest$ac_exeext
9447 if { (ac_try="$ac_link"
9449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9450 *) ac_try_echo
=$ac_try;;
9452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9453 (eval "$ac_link") 2>conftest.er1
9455 grep -v '^ *+' conftest.er1
>conftest.err
9457 cat conftest.err
>&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } && {
9460 test -z "$ac_c_werror_flag" ||
9461 test ! -s conftest.err
9462 } && test -s conftest
$ac_exeext &&
9463 $as_test_x conftest
$ac_exeext; then
9466 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'` ;;
9467 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.
$ac_ext >&5
9476 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9477 conftest
$ac_exeext conftest.
$ac_ext
9478 LIBS
=$ac_check_soname_save_LIBS
9480 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9481 { echo "$as_me:$LINENO: result: not found" >&5
9482 echo "${ECHO_T}not found" >&6; }
9485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9486 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9488 cat >>confdefs.h
<<_ACEOF
9489 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9497 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9499 { echo "$as_me:$LINENO: checking for -lXi" >&5
9500 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9501 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 ac_check_soname_save_LIBS
=$LIBS
9505 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9506 cat >conftest.
$ac_ext <<_ACEOF
9509 cat confdefs.h
>>conftest.
$ac_ext
9510 cat >>conftest.
$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9519 char XOpenDevice ();
9523 return XOpenDevice ();
9528 rm -f conftest.
$ac_objext conftest
$ac_exeext
9529 if { (ac_try
="$ac_link"
9531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest$ac_exeext &&
9545 $as_test_x conftest$ac_exeext; then
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9552 echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9563 { echo "$as_me:$LINENO: result: not found" >&5
9564 echo "${ECHO_T}not found" >&6; }
9567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9568 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9579 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9581 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9582 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9583 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 ac_check_lib_save_LIBS=$LIBS
9587 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9588 cat >conftest.$ac_ext <<_ACEOF
9591 cat confdefs.h >>conftest.$ac_ext
9592 cat >>conftest.$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9601 char XShmQueryExtension ();
9605 return XShmQueryExtension ();
9610 rm -f conftest.$ac_objext conftest$ac_exeext
9611 if { (ac_try="$ac_link"
9613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9614 *) ac_try_echo
=$ac_try;;
9616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9617 (eval "$ac_link") 2>conftest.er1
9619 grep -v '^ *+' conftest.er1
>conftest.err
9621 cat conftest.err
>&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && {
9624 test -z "$ac_c_werror_flag" ||
9625 test ! -s conftest.err
9626 } && test -s conftest
$ac_exeext &&
9627 $as_test_x conftest
$ac_exeext; then
9628 ac_cv_lib_Xext_XShmQueryExtension
=yes
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9633 ac_cv_lib_Xext_XShmQueryExtension
=no
9636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_lib_save_LIBS
9640 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9641 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9642 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9644 cat >>confdefs.h
<<\_ACEOF
9645 #define HAVE_LIBXXSHM 1
9651 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9652 wine_notices
="$wine_notices|XShm development files not found.
9653 Wine will be built without XShm support. (winex11.drv)"
9657 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9659 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9660 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9661 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 ac_check_lib_save_LIBS
=$LIBS
9665 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9666 cat >conftest.
$ac_ext <<_ACEOF
9669 cat confdefs.h
>>conftest.
$ac_ext
9670 cat >>conftest.
$ac_ext <<_ACEOF
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9679 char XShapeQueryExtension ();
9683 return XShapeQueryExtension ();
9688 rm -f conftest.
$ac_objext conftest
$ac_exeext
9689 if { (ac_try
="$ac_link"
9691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9692 *) ac_try_echo=$ac_try;;
9694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9695 (eval "$ac_link") 2>conftest.er1
9697 grep -v '^ *+' conftest.er1 >conftest.err
9699 cat conftest.err >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } && {
9702 test -z "$ac_c_werror_flag" ||
9703 test ! -s conftest.err
9704 } && test -s conftest$ac_exeext &&
9705 $as_test_x conftest$ac_exeext; then
9706 ac_cv_lib_Xext_XShapeQueryExtension=yes
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9711 ac_cv_lib_Xext_XShapeQueryExtension=no
9714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9715 conftest$ac_exeext conftest.$ac_ext
9716 LIBS=$ac_check_lib_save_LIBS
9718 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9719 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9720 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9722 cat >>confdefs.h <<\_ACEOF
9723 #define HAVE_LIBXSHAPE 1
9729 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9730 wine_notices="$wine_notices|XShape development files not found.
9731 Wine will be built without XShape support. (winex11.drv)"
9735 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9737 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9738 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9739 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 ac_check_lib_save_LIBS=$LIBS
9743 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9744 cat >conftest.$ac_ext <<_ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9757 char XF86VidModeQueryExtension ();
9761 return XF86VidModeQueryExtension ();
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (ac_try="$ac_link"
9769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9770 *) ac_try_echo
=$ac_try;;
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_link") 2>conftest.er1
9775 grep -v '^ *+' conftest.er1
>conftest.err
9777 cat conftest.err
>&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } && {
9780 test -z "$ac_c_werror_flag" ||
9781 test ! -s conftest.err
9782 } && test -s conftest
$ac_exeext &&
9783 $as_test_x conftest
$ac_exeext; then
9784 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.
$ac_ext >&5
9789 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9793 conftest
$ac_exeext conftest.
$ac_ext
9794 LIBS
=$ac_check_lib_save_LIBS
9796 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9797 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9798 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9800 cat >>confdefs.h
<<\_ACEOF
9801 #define HAVE_LIBXXF86VM 1
9804 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9809 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9810 wine_notices
="$wine_notices|Xxf86vm development files not found.
9811 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9815 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9817 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9818 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9819 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 ac_check_soname_save_LIBS
=$LIBS
9823 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9824 cat >conftest.
$ac_ext <<_ACEOF
9827 cat confdefs.h
>>conftest.
$ac_ext
9828 cat >>conftest.
$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9837 char XRenderQueryExtension ();
9841 return XRenderQueryExtension ();
9846 rm -f conftest.
$ac_objext conftest
$ac_exeext
9847 if { (ac_try
="$ac_link"
9849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9855 grep -v '^ *+' conftest.er1 >conftest.err
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest$ac_exeext &&
9863 $as_test_x conftest$ac_exeext; then
9866 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'` ;;
9867 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_soname_save_LIBS
9880 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9881 { echo "$as_me:$LINENO: result: not found" >&5
9882 echo "${ECHO_T}not found" >&6; }
9885 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9886 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9888 cat >>confdefs.h <<_ACEOF
9889 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9892 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9893 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9894 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9895 echo $ECHO_N "(cached) $ECHO_C" >&6
9897 ac_check_lib_save_LIBS=$LIBS
9898 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9899 cat >conftest.$ac_ext <<_ACEOF
9902 cat confdefs.h >>conftest.$ac_ext
9903 cat >>conftest.$ac_ext <<_ACEOF
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9912 char XRenderSetPictureTransform ();
9916 return XRenderSetPictureTransform ();
9921 rm -f conftest.$ac_objext conftest$ac_exeext
9922 if { (ac_try="$ac_link"
9924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9925 *) ac_try_echo
=$ac_try;;
9927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9928 (eval "$ac_link") 2>conftest.er1
9930 grep -v '^ *+' conftest.er1
>conftest.err
9932 cat conftest.err
>&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } && {
9935 test -z "$ac_c_werror_flag" ||
9936 test ! -s conftest.err
9937 } && test -s conftest
$ac_exeext &&
9938 $as_test_x conftest
$ac_exeext; then
9939 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9941 echo "$as_me: failed program was:" >&5
9942 sed 's/^/| /' conftest.
$ac_ext >&5
9944 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9947 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9948 conftest
$ac_exeext conftest.
$ac_ext
9949 LIBS
=$ac_check_lib_save_LIBS
9951 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9952 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9953 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9955 cat >>confdefs.h
<<\_ACEOF
9956 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9965 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9966 wine_notices
="$wine_notices|XRender development files not found.
9967 Wine will be built without XRender support. (winex11.drv)"
9971 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9973 cat >conftest.
$ac_ext <<_ACEOF
9976 cat confdefs.h
>>conftest.
$ac_ext
9977 cat >>conftest.
$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9979 #include <X11/Xlib.h>
9980 #include <X11/extensions/Xrandr.h>
9984 static typeof(XRRSetScreenConfigAndRate) * func;
9989 rm -f conftest.
$ac_objext
9990 if { (ac_try
="$ac_compile"
9992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9993 *) ac_try_echo=$ac_try;;
9995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9996 (eval "$ac_compile") 2>conftest.er1
9998 grep -v '^ *+' conftest.er1 >conftest.err
10000 cat conftest.err >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); } && {
10003 test -z "$ac_c_werror_flag" ||
10004 test ! -s conftest.err
10005 } && test -s conftest.$ac_objext; then
10006 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10007 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10008 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10011 ac_check_soname_save_LIBS=$LIBS
10012 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10013 cat >conftest.$ac_ext <<_ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10026 char XRRQueryExtension ();
10030 return XRRQueryExtension ();
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (ac_try="$ac_link"
10037 case "(($ac_try" in
10038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10039 *) ac_try_echo
=$ac_try;;
10041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_link") 2>conftest.er1
10044 grep -v '^ *+' conftest.er1
>conftest.err
10046 cat conftest.err
>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } && {
10049 test -z "$ac_c_werror_flag" ||
10050 test ! -s conftest.err
10051 } && test -s conftest
$ac_exeext &&
10052 $as_test_x conftest
$ac_exeext; then
10055 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'` ;;
10056 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.
$ac_ext >&5
10065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10066 conftest
$ac_exeext conftest.
$ac_ext
10067 LIBS
=$ac_check_soname_save_LIBS
10069 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10070 { echo "$as_me:$LINENO: result: not found" >&5
10071 echo "${ECHO_T}not found" >&6; }
10074 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10075 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10077 cat >>confdefs.h
<<_ACEOF
10078 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10085 echo "$as_me: failed program was:" >&5
10086 sed 's/^/| /' conftest.
$ac_ext >&5
10091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10093 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10094 wine_notices
="$wine_notices|XRandr development files not found.
10095 Wine will be built without XRandr support. (winex11.drv)"
10099 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10101 cat >conftest.
$ac_ext <<_ACEOF
10104 cat confdefs.h
>>conftest.
$ac_ext
10105 cat >>conftest.
$ac_ext <<_ACEOF
10106 /* end confdefs.h. */
10107 #include <X11/Xlib.h>
10108 #include <X11/extensions/Xinerama.h>
10112 static typeof(XineramaQueryScreens) * func;
10117 rm -f conftest.
$ac_objext
10118 if { (ac_try
="$ac_compile"
10119 case "(($ac_try" in
10120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10121 *) ac_try_echo=$ac_try;;
10123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10124 (eval "$ac_compile") 2>conftest.er1
10126 grep -v '^ *+' conftest.er1 >conftest.err
10128 cat conftest.err >&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); } && {
10131 test -z "$ac_c_werror_flag" ||
10132 test ! -s conftest.err
10133 } && test -s conftest.$ac_objext; then
10134 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10135 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10136 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10139 ac_check_soname_save_LIBS=$LIBS
10140 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10141 cat >conftest.$ac_ext <<_ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10154 char XineramaQueryScreens ();
10158 return XineramaQueryScreens ();
10163 rm -f conftest.$ac_objext conftest$ac_exeext
10164 if { (ac_try="$ac_link"
10165 case "(($ac_try" in
10166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10167 *) ac_try_echo
=$ac_try;;
10169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10170 (eval "$ac_link") 2>conftest.er1
10172 grep -v '^ *+' conftest.er1
>conftest.err
10174 cat conftest.err
>&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); } && {
10177 test -z "$ac_c_werror_flag" ||
10178 test ! -s conftest.err
10179 } && test -s conftest
$ac_exeext &&
10180 $as_test_x conftest
$ac_exeext; then
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.
$ac_ext >&5
10193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10194 conftest
$ac_exeext conftest.
$ac_ext
10195 LIBS
=$ac_check_soname_save_LIBS
10197 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10198 { echo "$as_me:$LINENO: result: not found" >&5
10199 echo "${ECHO_T}not found" >&6; }
10202 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10203 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10205 cat >>confdefs.h
<<_ACEOF
10206 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10213 echo "$as_me: failed program was:" >&5
10214 sed 's/^/| /' conftest.
$ac_ext >&5
10219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10221 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10222 wine_notices
="$wine_notices|Xinerama development files not found.
10223 Wine will be built without Xinerama support. (winex11.drv)"
10227 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10229 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10230 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10231 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 ac_check_soname_save_LIBS
=$LIBS
10235 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10236 cat >conftest.
$ac_ext <<_ACEOF
10239 cat confdefs.h
>>conftest.
$ac_ext
10240 cat >>conftest.
$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10249 char XCompositeRedirectWindow ();
10253 return XCompositeRedirectWindow ();
10258 rm -f conftest.
$ac_objext conftest
$ac_exeext
10259 if { (ac_try
="$ac_link"
10260 case "(($ac_try" in
10261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10262 *) ac_try_echo=$ac_try;;
10264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10265 (eval "$ac_link") 2>conftest.er1
10267 grep -v '^ *+' conftest.er1 >conftest.err
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } && {
10272 test -z "$ac_c_werror_flag" ||
10273 test ! -s conftest.err
10274 } && test -s conftest$ac_exeext &&
10275 $as_test_x conftest$ac_exeext; then
10278 dylib) ac_cv_lib_soname_Xcomposite=`otool
-L conftest
$ac_exeext |
grep "libXcomposite\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10279 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_soname_save_LIBS
10292 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10293 { echo "$as_me:$LINENO: result: not found" >&5
10294 echo "${ECHO_T}not found" >&6; }
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10298 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10300 cat >>confdefs.h <<_ACEOF
10301 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10308 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10309 wine_notices="$wine_notices|XComposite development files not found.
10310 Wine will be built without XComposite support. (winex11.drv)"
10315 if test "x$with_opengl" != "xno"
10321 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10323 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10327 echo $ECHO_N "(cached) $ECHO_C" >&6
10329 cat >conftest.$ac_ext <<_ACEOF
10332 cat confdefs.h >>conftest.$ac_ext
10333 cat >>conftest.$ac_ext <<_ACEOF
10334 /* end confdefs.h. */
10335 #ifdef HAVE_GL_GLX_H
10336 # include <GL/glx.h>
10339 #include <$ac_header>
10341 rm -f conftest.$ac_objext
10342 if { (ac_try="$ac_compile"
10343 case "(($ac_try" in
10344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10345 *) ac_try_echo
=$ac_try;;
10347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10348 (eval "$ac_compile") 2>conftest.er1
10350 grep -v '^ *+' conftest.er1
>conftest.err
10352 cat conftest.err
>&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } && {
10355 test -z "$ac_c_werror_flag" ||
10356 test ! -s conftest.err
10357 } && test -s conftest.
$ac_objext; then
10358 eval "$as_ac_Header=yes"
10360 echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.
$ac_ext >&5
10363 eval "$as_ac_Header=no"
10366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10368 ac_res
=`eval echo '${'$as_ac_Header'}'`
10369 { echo "$as_me:$LINENO: result: $ac_res" >&5
10370 echo "${ECHO_T}$ac_res" >&6; }
10371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10372 cat >>confdefs.h
<<_ACEOF
10373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10380 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10382 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10383 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10384 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10387 cat >conftest.
$ac_ext <<_ACEOF
10390 cat confdefs.h
>>conftest.
$ac_ext
10391 cat >>conftest.
$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10397 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10402 rm -f conftest.
$ac_objext
10403 if { (ac_try
="$ac_compile"
10404 case "(($ac_try" in
10405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10406 *) ac_try_echo=$ac_try;;
10408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10409 (eval "$ac_compile") 2>conftest.er1
10411 grep -v '^ *+' conftest.er1 >conftest.err
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } && {
10416 test -z "$ac_c_werror_flag" ||
10417 test ! -s conftest.err
10418 } && test -s conftest.$ac_objext; then
10419 wine_cv_opengl_header_version_OK="yes"
10421 echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.$ac_ext >&5
10424 wine_cv_opengl_header_version_OK="no"
10427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10429 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10430 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10432 if test "$wine_cv_opengl_header_version_OK" = "yes"
10434 { echo "$as_me:$LINENO: checking for -lGL" >&5
10435 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10436 if test "${ac_cv_lib_soname_GL+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10439 ac_check_soname_save_LIBS=$LIBS
10440 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $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. */
10454 char glXCreateContext ();
10458 return glXCreateContext ();
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
10483 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'` ;;
10484 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.
$ac_ext >&5
10493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10494 conftest
$ac_exeext conftest.
$ac_ext
10495 LIBS
=$ac_check_soname_save_LIBS
10497 if test "x$ac_cv_lib_soname_GL" = "x"; then
10498 { echo "$as_me:$LINENO: result: not found" >&5
10499 echo "${ECHO_T}not found" >&6; }
10500 if test -f /usr
/X11R
6/lib
/libGL.a
10502 wine_warnings
="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10503 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10505 wine_warnings
="$wine_warnings|No OpenGL library found on this system.
10506 Wine will be built without OpenGL or Direct3D support."
10509 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10510 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10512 cat >>confdefs.h
<<_ACEOF
10513 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10517 OPENGLFILES
='$(OPENGLFILES)'
10519 cat >>confdefs.h
<<\_ACEOF
10520 #define HAVE_OPENGL 1
10526 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10527 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10528 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 ac_check_lib_save_LIBS
=$LIBS
10532 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10533 cat >conftest.
$ac_ext <<_ACEOF
10536 cat confdefs.h
>>conftest.
$ac_ext
10537 cat >>conftest.
$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10540 /* Override any GCC internal prototype to avoid an error.
10541 Use char because int might match the return type of a GCC
10542 builtin and then its argument prototype would still apply. */
10550 return gluLookAt ();
10555 rm -f conftest.
$ac_objext conftest
$ac_exeext
10556 if { (ac_try
="$ac_link"
10557 case "(($ac_try" in
10558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10559 *) ac_try_echo=$ac_try;;
10561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10562 (eval "$ac_link") 2>conftest.er1
10564 grep -v '^ *+' conftest.er1 >conftest.err
10566 cat conftest.err >&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); } && {
10569 test -z "$ac_c_werror_flag" ||
10570 test ! -s conftest.err
10571 } && test -s conftest$ac_exeext &&
10572 $as_test_x conftest$ac_exeext; then
10573 ac_cv_lib_GLU_gluLookAt=yes
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.$ac_ext >&5
10578 ac_cv_lib_GLU_gluLookAt=no
10581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS=$ac_check_lib_save_LIBS
10585 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10586 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10587 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10588 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10589 GLU32FILES='$(GLU32FILES)'
10594 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10595 Wine will be built without OpenGL or Direct3D support."
10598 wine_warnings="$wine_warnings|OpenGL development headers not found.
10599 Wine will be built without OpenGL or Direct3D support."
10606 for ac_header in audio/audiolib.h
10608 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 ac_res=`eval echo '${'$as_ac_Header'}'`
10616 { echo "$as_me:$LINENO: result: $ac_res" >&5
10617 echo "${ECHO_T}$ac_res" >&6; }
10619 # Is the header compilable?
10620 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10622 cat >conftest.$ac_ext <<_ACEOF
10625 cat confdefs.h >>conftest.$ac_ext
10626 cat >>conftest.$ac_ext <<_ACEOF
10627 /* end confdefs.h. */
10628 $ac_includes_default
10629 #include <$ac_header>
10631 rm -f conftest.$ac_objext
10632 if { (ac_try="$ac_compile"
10633 case "(($ac_try" in
10634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10635 *) ac_try_echo
=$ac_try;;
10637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10638 (eval "$ac_compile") 2>conftest.er1
10640 grep -v '^ *+' conftest.er1
>conftest.err
10642 cat conftest.err
>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } && {
10645 test -z "$ac_c_werror_flag" ||
10646 test ! -s conftest.err
10647 } && test -s conftest.
$ac_objext; then
10648 ac_header_compiler
=yes
10650 echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.
$ac_ext >&5
10653 ac_header_compiler
=no
10656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10657 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10658 echo "${ECHO_T}$ac_header_compiler" >&6; }
10660 # Is the header present?
10661 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10663 cat >conftest.
$ac_ext <<_ACEOF
10666 cat confdefs.h
>>conftest.
$ac_ext
10667 cat >>conftest.
$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10669 #include <$ac_header>
10671 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10672 case "(($ac_try" in
10673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10674 *) ac_try_echo=$ac_try;;
10676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10679 grep -v '^ *+' conftest.er1 >conftest.err
10681 cat conftest.err >&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } >/dev/null && {
10684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10685 test ! -s conftest.err
10687 ac_header_preproc=yes
10689 echo "$as_me: failed program was:" >&5
10690 sed 's/^/| /' conftest.$ac_ext >&5
10692 ac_header_preproc=no
10695 rm -f conftest.err conftest.$ac_ext
10696 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10697 echo "${ECHO_T}$ac_header_preproc" >&6; }
10699 # So? What about this header?
10700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10706 ac_header_preproc=yes
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10722 ## ------------------------------------ ##
10723 ## Report this to wine-devel@winehq.org ##
10724 ## ------------------------------------ ##
10726 ) | sed "s/^/$as_me: WARNING: /" >&2
10729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 eval "$as_ac_Header=\$ac_header_preproc"
10736 ac_res=`eval echo '${'$as_ac_Header'}'`
10737 { echo "$as_me:$LINENO: result: $ac_res" >&5
10738 echo "${ECHO_T}$ac_res" >&6; }
10741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10742 cat >>confdefs.h <<_ACEOF
10743 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10746 for ac_header in audio/soundlib.h
10748 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10749 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 #include <audio/audiolib.h>
10762 #include <$ac_header>
10764 rm -f conftest.$ac_objext
10765 if { (ac_try="$ac_compile"
10766 case "(($ac_try" in
10767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10768 *) ac_try_echo
=$ac_try;;
10770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10771 (eval "$ac_compile") 2>conftest.er1
10773 grep -v '^ *+' conftest.er1
>conftest.err
10775 cat conftest.err
>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } && {
10778 test -z "$ac_c_werror_flag" ||
10779 test ! -s conftest.err
10780 } && test -s conftest.
$ac_objext; then
10781 eval "$as_ac_Header=yes"
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.
$ac_ext >&5
10786 eval "$as_ac_Header=no"
10789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10791 ac_res
=`eval echo '${'$as_ac_Header'}'`
10792 { echo "$as_me:$LINENO: result: $ac_res" >&5
10793 echo "${ECHO_T}$ac_res" >&6; }
10794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10795 cat >>confdefs.h
<<_ACEOF
10796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10803 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10804 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10805 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 ac_check_lib_save_LIBS
=$LIBS
10809 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10810 cat >conftest.
$ac_ext <<_ACEOF
10813 cat confdefs.h
>>conftest.
$ac_ext
10814 cat >>conftest.
$ac_ext <<_ACEOF
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10823 char AuCreateFlow ();
10827 return AuCreateFlow ();
10832 rm -f conftest.
$ac_objext conftest
$ac_exeext
10833 if { (ac_try
="$ac_link"
10834 case "(($ac_try" in
10835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10836 *) ac_try_echo=$ac_try;;
10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10839 (eval "$ac_link") 2>conftest.er1
10841 grep -v '^ *+' conftest.er1 >conftest.err
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest$ac_exeext &&
10849 $as_test_x conftest$ac_exeext; then
10850 ac_cv_lib_audio_AuCreateFlow=yes
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 ac_cv_lib_audio_AuCreateFlow=no
10858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10863 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10864 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10866 cat >>confdefs.h <<\_ACEOF
10870 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10871 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10872 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 ac_check_lib_save_LIBS=$LIBS
10876 LIBS="-lXau $X_LIBS $LIBS"
10877 cat >conftest.$ac_ext <<_ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10890 char XauGetBestAuthByAddr ();
10894 return XauGetBestAuthByAddr ();
10899 rm -f conftest.$ac_objext conftest$ac_exeext
10900 if { (ac_try="$ac_link"
10901 case "(($ac_try" in
10902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10903 *) ac_try_echo
=$ac_try;;
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_link") 2>conftest.er1
10908 grep -v '^ *+' conftest.er1
>conftest.err
10910 cat conftest.err
>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } && {
10913 test -z "$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10915 } && test -s conftest
$ac_exeext &&
10916 $as_test_x conftest
$ac_exeext; then
10917 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.
$ac_ext >&5
10922 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
10925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10926 conftest
$ac_exeext conftest.
$ac_ext
10927 LIBS
=$ac_check_lib_save_LIBS
10929 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10930 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10931 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10932 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10934 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10945 CPPFLAGS
="$ac_save_CPPFLAGS"
10951 wine_warnings
="$wine_warnings|X development files not found. Wine will be built
10952 without X support, which probably isn't what you want. You will need to install
10953 development packages of Xlib/Xfree86 at the very least."
10965 ac_save_CPPFLAGS
="$CPPFLAGS"
10966 if test "$PKG_CONFIG" != "false"
10968 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10969 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10971 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
10972 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
10974 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10976 for ac_header
in libxml
/parser.h
10978 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10979 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10982 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 ac_res
=`eval echo '${'$as_ac_Header'}'`
10986 { echo "$as_me:$LINENO: result: $ac_res" >&5
10987 echo "${ECHO_T}$ac_res" >&6; }
10989 # Is the header compilable?
10990 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10992 cat >conftest.
$ac_ext <<_ACEOF
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 $ac_includes_default
10999 #include <$ac_header>
11001 rm -f conftest.
$ac_objext
11002 if { (ac_try
="$ac_compile"
11003 case "(($ac_try" in
11004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11005 *) ac_try_echo=$ac_try;;
11007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11008 (eval "$ac_compile") 2>conftest.er1
11010 grep -v '^ *+' conftest.er1 >conftest.err
11012 cat conftest.err >&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } && {
11015 test -z "$ac_c_werror_flag" ||
11016 test ! -s conftest.err
11017 } && test -s conftest.$ac_objext; then
11018 ac_header_compiler=yes
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.$ac_ext >&5
11023 ac_header_compiler=no
11026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11027 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11028 echo "${ECHO_T}$ac_header_compiler" >&6; }
11030 # Is the header present?
11031 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11033 cat >conftest.$ac_ext <<_ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #include <$ac_header>
11041 if { (ac_try="$ac_cpp conftest.$ac_ext"
11042 case "(($ac_try" in
11043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11044 *) ac_try_echo
=$ac_try;;
11046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11049 grep -v '^ *+' conftest.er1
>conftest.err
11051 cat conftest.err
>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } >/dev
/null
&& {
11054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11055 test ! -s conftest.err
11057 ac_header_preproc
=yes
11059 echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.
$ac_ext >&5
11062 ac_header_preproc
=no
11065 rm -f conftest.err conftest.
$ac_ext
11066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11067 echo "${ECHO_T}$ac_header_preproc" >&6; }
11069 # So? What about this header?
11070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11076 ac_header_preproc
=yes
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11092 ## ------------------------------------ ##
11093 ## Report this to wine-devel@winehq.org ##
11094 ## ------------------------------------ ##
11096 ) |
sed "s/^/$as_me: WARNING: /" >&2
11099 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11101 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 eval "$as_ac_Header=\$ac_header_preproc"
11106 ac_res
=`eval echo '${'$as_ac_Header'}'`
11107 { echo "$as_me:$LINENO: result: $ac_res" >&5
11108 echo "${ECHO_T}$ac_res" >&6; }
11111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11112 cat >>confdefs.h
<<_ACEOF
11113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11115 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11116 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11117 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 ac_check_lib_save_LIBS
=$LIBS
11121 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11122 cat >conftest.
$ac_ext <<_ACEOF
11125 cat confdefs.h
>>conftest.
$ac_ext
11126 cat >>conftest.
$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11135 char xmlParseMemory ();
11139 return xmlParseMemory ();
11144 rm -f conftest.
$ac_objext conftest
$ac_exeext
11145 if { (ac_try
="$ac_link"
11146 case "(($ac_try" in
11147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11148 *) ac_try_echo=$ac_try;;
11150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11151 (eval "$ac_link") 2>conftest.er1
11153 grep -v '^ *+' conftest.er1 >conftest.err
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } && {
11158 test -z "$ac_c_werror_flag" ||
11159 test ! -s conftest.err
11160 } && test -s conftest$ac_exeext &&
11161 $as_test_x conftest$ac_exeext; then
11162 ac_cv_lib_xml2_xmlParseMemory=yes
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11167 ac_cv_lib_xml2_xmlParseMemory=no
11170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11175 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11176 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11178 cat >>confdefs.h <<\_ACEOF
11179 #define HAVE_LIBXML2 1
11182 XML2LIBS="$ac_xml_libs"
11183 XML2INCL="$ac_xml_cflags"
11186 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11187 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11188 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-lxml2 $ac_xml_libs $LIBS"
11193 cat >conftest.$ac_ext <<_ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11206 char xmlReadMemory ();
11210 return xmlReadMemory ();
11215 rm -f conftest.$ac_objext conftest$ac_exeext
11216 if { (ac_try="$ac_link"
11217 case "(($ac_try" in
11218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11219 *) ac_try_echo
=$ac_try;;
11221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_link") 2>conftest.er1
11224 grep -v '^ *+' conftest.er1
>conftest.err
11226 cat conftest.err
>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } && {
11229 test -z "$ac_c_werror_flag" ||
11230 test ! -s conftest.err
11231 } && test -s conftest
$ac_exeext &&
11232 $as_test_x conftest
$ac_exeext; then
11233 ac_cv_lib_xml2_xmlReadMemory
=yes
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.
$ac_ext >&5
11238 ac_cv_lib_xml2_xmlReadMemory
=no
11241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_lib_save_LIBS
11245 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11246 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11247 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11249 cat >>confdefs.h
<<\_ACEOF
11250 #define HAVE_XMLREADMEMORY 1
11255 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11256 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11257 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 ac_check_lib_save_LIBS
=$LIBS
11261 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11262 cat >conftest.
$ac_ext <<_ACEOF
11265 cat confdefs.h
>>conftest.
$ac_ext
11266 cat >>conftest.
$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11275 char xmlNewDocPI ();
11279 return xmlNewDocPI ();
11284 rm -f conftest.
$ac_objext conftest
$ac_exeext
11285 if { (ac_try
="$ac_link"
11286 case "(($ac_try" in
11287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_link") 2>conftest.er1
11293 grep -v '^ *+' conftest.er1 >conftest.err
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } && {
11298 test -z "$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11300 } && test -s conftest$ac_exeext &&
11301 $as_test_x conftest$ac_exeext; then
11302 ac_cv_lib_xml2_xmlNewDocPI=yes
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11307 ac_cv_lib_xml2_xmlNewDocPI=no
11310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_lib_save_LIBS
11314 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11315 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11316 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11318 cat >>confdefs.h <<\_ACEOF
11319 #define HAVE_XMLNEWDOCPI 1
11329 CPPFLAGS="$ac_save_CPPFLAGS"
11330 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11331 wine_notices="$wine_notices|libxml2 development files not found.
11332 Wine will be built without XML support. (msxml.dll)"
11336 if test "$PKG_CONFIG" != "false"
11338 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
11339 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
11341 ac_xslt_libs="`xslt-config
--libs 2>/dev
/null
`"
11342 ac_xslt_cflags="`xslt-config
--cflags 2>/dev
/null
`"
11344 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11347 for ac_header in libxslt/pattern.h libxslt/transform.h
11349 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 cat >conftest.$ac_ext <<_ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #ifdef HAVE_LIBXSLT_PATTERN_H
11362 # include <libxslt/pattern.h>
11365 #include <$ac_header>
11367 rm -f conftest.$ac_objext
11368 if { (ac_try="$ac_compile"
11369 case "(($ac_try" in
11370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11371 *) ac_try_echo
=$ac_try;;
11373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11374 (eval "$ac_compile") 2>conftest.er1
11376 grep -v '^ *+' conftest.er1
>conftest.err
11378 cat conftest.err
>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } && {
11381 test -z "$ac_c_werror_flag" ||
11382 test ! -s conftest.err
11383 } && test -s conftest.
$ac_objext; then
11384 eval "$as_ac_Header=yes"
11386 echo "$as_me: failed program was:" >&5
11387 sed 's/^/| /' conftest.
$ac_ext >&5
11389 eval "$as_ac_Header=no"
11392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11394 ac_res
=`eval echo '${'$as_ac_Header'}'`
11395 { echo "$as_me:$LINENO: result: $ac_res" >&5
11396 echo "${ECHO_T}$ac_res" >&6; }
11397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11398 cat >>confdefs.h
<<_ACEOF
11399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11401 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11402 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11403 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 ac_check_lib_save_LIBS
=$LIBS
11407 LIBS
="-lxslt $ac_xslt_libs $LIBS"
11408 cat >conftest.
$ac_ext <<_ACEOF
11411 cat confdefs.h
>>conftest.
$ac_ext
11412 cat >>conftest.
$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11421 char xsltCompilePattern ();
11425 return xsltCompilePattern ();
11430 rm -f conftest.
$ac_objext conftest
$ac_exeext
11431 if { (ac_try
="$ac_link"
11432 case "(($ac_try" in
11433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11434 *) ac_try_echo=$ac_try;;
11436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11437 (eval "$ac_link") 2>conftest.er1
11439 grep -v '^ *+' conftest.er1 >conftest.err
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } && {
11444 test -z "$ac_c_werror_flag" ||
11445 test ! -s conftest.err
11446 } && test -s conftest$ac_exeext &&
11447 $as_test_x conftest$ac_exeext; then
11448 ac_cv_lib_xslt_xsltCompilePattern=yes
11450 echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.$ac_ext >&5
11453 ac_cv_lib_xslt_xsltCompilePattern=no
11456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11461 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11462 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11464 cat >>confdefs.h <<\_ACEOF
11465 #define HAVE_LIBXSLT 1
11468 XSLTLIBS="$ac_xslt_libs"
11469 XSLTINCL="$ac_xslt_cflags"
11477 CPPFLAGS="$ac_save_CPPFLAGS"
11478 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11479 wine_notices="$wine_notices|libxslt development files not found.
11480 Wine will be built without xslt support. (msxml.dll)"
11486 if test "$PKG_CONFIG" != "false"
11488 ac_save_CPPFLAGS="$CPPFLAGS"
11489 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11490 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11491 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11494 for ac_header in dbus/dbus.h hal/libhal.h
11496 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 ac_res=`eval echo '${'$as_ac_Header'}'`
11504 { echo "$as_me:$LINENO: result: $ac_res" >&5
11505 echo "${ECHO_T}$ac_res" >&6; }
11507 # Is the header compilable?
11508 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11510 cat >conftest.$ac_ext <<_ACEOF
11513 cat confdefs.h >>conftest.$ac_ext
11514 cat >>conftest.$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11516 $ac_includes_default
11517 #include <$ac_header>
11519 rm -f conftest.$ac_objext
11520 if { (ac_try="$ac_compile"
11521 case "(($ac_try" in
11522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11523 *) ac_try_echo
=$ac_try;;
11525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11526 (eval "$ac_compile") 2>conftest.er1
11528 grep -v '^ *+' conftest.er1
>conftest.err
11530 cat conftest.err
>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && {
11533 test -z "$ac_c_werror_flag" ||
11534 test ! -s conftest.err
11535 } && test -s conftest.
$ac_objext; then
11536 ac_header_compiler
=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11541 ac_header_compiler
=no
11544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11545 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11546 echo "${ECHO_T}$ac_header_compiler" >&6; }
11548 # Is the header present?
11549 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11551 cat >conftest.
$ac_ext <<_ACEOF
11554 cat confdefs.h
>>conftest.
$ac_ext
11555 cat >>conftest.
$ac_ext <<_ACEOF
11556 /* end confdefs.h. */
11557 #include <$ac_header>
11559 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11560 case "(($ac_try" in
11561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11567 grep -v '^ *+' conftest.er1 >conftest.err
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } >/dev/null && {
11572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11573 test ! -s conftest.err
11575 ac_header_preproc=yes
11577 echo "$as_me: failed program was:" >&5
11578 sed 's/^/| /' conftest.$ac_ext >&5
11580 ac_header_preproc=no
11583 rm -f conftest.err conftest.$ac_ext
11584 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11585 echo "${ECHO_T}$ac_header_preproc" >&6; }
11587 # So? What about this header?
11588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11594 ac_header_preproc=yes
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11610 ## ------------------------------------ ##
11611 ## Report this to wine-devel@winehq.org ##
11612 ## ------------------------------------ ##
11614 ) | sed "s/^/$as_me: WARNING: /" >&2
11617 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 eval "$as_ac_Header=\$ac_header_preproc"
11624 ac_res=`eval echo '${'$as_ac_Header'}'`
11625 { echo "$as_me:$LINENO: result: $ac_res" >&5
11626 echo "${ECHO_T}$ac_res" >&6; }
11629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11630 cat >>confdefs.h <<_ACEOF
11631 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11638 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11640 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11641 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11642 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 ac_check_lib_save_LIBS=$LIBS
11646 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11647 cat >conftest.$ac_ext <<_ACEOF
11650 cat confdefs.h >>conftest.$ac_ext
11651 cat >>conftest.$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11660 char dbus_connection_close ();
11664 return dbus_connection_close ();
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (ac_try="$ac_link"
11671 case "(($ac_try" in
11672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11673 *) ac_try_echo
=$ac_try;;
11675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 (eval "$ac_link") 2>conftest.er1
11678 grep -v '^ *+' conftest.er1
>conftest.err
11680 cat conftest.err
>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } && {
11683 test -z "$ac_c_werror_flag" ||
11684 test ! -s conftest.err
11685 } && test -s conftest
$ac_exeext &&
11686 $as_test_x conftest
$ac_exeext; then
11687 ac_cv_lib_dbus_1_dbus_connection_close
=yes
11689 echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.
$ac_ext >&5
11692 ac_cv_lib_dbus_1_dbus_connection_close
=no
11695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11696 conftest
$ac_exeext conftest.
$ac_ext
11697 LIBS
=$ac_check_lib_save_LIBS
11699 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11700 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11701 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11702 { echo "$as_me:$LINENO: checking for -lhal" >&5
11703 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11704 if test "${ac_cv_lib_soname_hal+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 ac_check_soname_save_LIBS
=$LIBS
11708 LIBS
="-lhal $ac_hal_libs $LIBS"
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11722 char libhal_ctx_new ();
11726 return libhal_ctx_new ();
11731 rm -f conftest.
$ac_objext conftest
$ac_exeext
11732 if { (ac_try
="$ac_link"
11733 case "(($ac_try" in
11734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11735 *) ac_try_echo=$ac_try;;
11737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11738 (eval "$ac_link") 2>conftest.er1
11740 grep -v '^ *+' conftest.er1 >conftest.err
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } && {
11745 test -z "$ac_c_werror_flag" ||
11746 test ! -s conftest.err
11747 } && test -s conftest$ac_exeext &&
11748 $as_test_x conftest$ac_exeext; then
11751 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'` ;;
11752 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.$ac_ext >&5
11761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11762 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_soname_save_LIBS
11765 if test "x$ac_cv_lib_soname_hal" = "x"; then
11766 { echo "$as_me:$LINENO: result: not found" >&5
11767 echo "${ECHO_T}not found" >&6; }
11770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11771 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11773 cat >>confdefs.h <<_ACEOF
11774 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11777 HALINCL="$ac_hal_cflags"
11783 CPPFLAGS="$ac_save_CPPFLAGS"
11785 if test "x$ac_cv_lib_soname_hal" = "x"; then
11786 wine_notices="$wine_notices|libhal development files not found.
11787 Wine will be built without dynamic device support. (explorer.exe)"
11792 if test "$ac_cv_header_ncurses_h" = "yes"
11794 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11795 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11796 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 ac_check_soname_save_LIBS=$LIBS
11800 LIBS="-lncurses $LIBS"
11801 cat >conftest.$ac_ext <<_ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11823 rm -f conftest.$ac_objext conftest$ac_exeext
11824 if { (ac_try="$ac_link"
11825 case "(($ac_try" in
11826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11827 *) ac_try_echo
=$ac_try;;
11829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11830 (eval "$ac_link") 2>conftest.er1
11832 grep -v '^ *+' conftest.er1
>conftest.err
11834 cat conftest.err
>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } && {
11837 test -z "$ac_c_werror_flag" ||
11838 test ! -s conftest.err
11839 } && test -s conftest
$ac_exeext &&
11840 $as_test_x conftest
$ac_exeext; then
11843 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'` ;;
11844 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11854 conftest
$ac_exeext conftest.
$ac_ext
11855 LIBS
=$ac_check_soname_save_LIBS
11857 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11858 { echo "$as_me:$LINENO: result: not found" >&5
11859 echo "${ECHO_T}not found" >&6; }
11862 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11863 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11865 cat >>confdefs.h
<<_ACEOF
11866 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11869 CURSESLIBS
="-lncurses"
11872 elif test "$ac_cv_header_curses_h" = "yes"
11874 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11875 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11876 if test "${ac_cv_lib_soname_curses+set}" = set; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 ac_check_soname_save_LIBS
=$LIBS
11880 LIBS
="-lcurses $LIBS"
11881 cat >conftest.
$ac_ext <<_ACEOF
11884 cat confdefs.h
>>conftest.
$ac_ext
11885 cat >>conftest.
$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11903 rm -f conftest.
$ac_objext conftest
$ac_exeext
11904 if { (ac_try
="$ac_link"
11905 case "(($ac_try" in
11906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11907 *) ac_try_echo=$ac_try;;
11909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11910 (eval "$ac_link") 2>conftest.er1
11912 grep -v '^ *+' conftest.er1 >conftest.err
11914 cat conftest.err >&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } && {
11917 test -z "$ac_c_werror_flag" ||
11918 test ! -s conftest.err
11919 } && test -s conftest$ac_exeext &&
11920 $as_test_x conftest$ac_exeext; then
11923 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'` ;;
11924 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_soname_save_LIBS
11937 if test "x$ac_cv_lib_soname_curses" = "x"; then
11938 { echo "$as_me:$LINENO: result: not found" >&5
11939 echo "${ECHO_T}not found" >&6; }
11942 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11943 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11945 cat >>confdefs.h <<_ACEOF
11946 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11949 CURSESLIBS="-lcurses"
11953 ac_save_LIBS="$LIBS"
11954 LIBS="$LIBS $CURSESLIBS"
11956 for ac_func in mousemask
11958 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11959 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11961 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11962 echo $ECHO_N "(cached) $ECHO_C" >&6
11964 cat >conftest.$ac_ext <<_ACEOF
11967 cat confdefs.h >>conftest.$ac_ext
11968 cat >>conftest.$ac_ext <<_ACEOF
11969 /* end confdefs.h. */
11970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11972 #define $ac_func innocuous_$ac_func
11974 /* System header to define __stub macros and hopefully few prototypes,
11975 which can conflict with char $ac_func (); below.
11976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11977 <limits.h> exists even on freestanding compilers. */
11980 # include <limits.h>
11982 # include <assert.h>
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11994 /* The GNU C library defines this for functions which it implements
11995 to always fail with ENOSYS. Some functions are actually named
11996 something starting with __ and the normal name is an alias. */
11997 #if defined __stub_$ac_func || defined __stub___$ac_func
12004 return $ac_func ();
12009 rm -f conftest.$ac_objext conftest$ac_exeext
12010 if { (ac_try="$ac_link"
12011 case "(($ac_try" in
12012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12013 *) ac_try_echo
=$ac_try;;
12015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12016 (eval "$ac_link") 2>conftest.er1
12018 grep -v '^ *+' conftest.er1
>conftest.err
12020 cat conftest.err
>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } && {
12023 test -z "$ac_c_werror_flag" ||
12024 test ! -s conftest.err
12025 } && test -s conftest
$ac_exeext &&
12026 $as_test_x conftest
$ac_exeext; then
12027 eval "$as_ac_var=yes"
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.
$ac_ext >&5
12032 eval "$as_ac_var=no"
12035 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12036 conftest
$ac_exeext conftest.
$ac_ext
12038 ac_res
=`eval echo '${'$as_ac_var'}'`
12039 { echo "$as_me:$LINENO: result: $ac_res" >&5
12040 echo "${ECHO_T}$ac_res" >&6; }
12041 if test `eval echo '${'$as_ac_var'}'` = yes; then
12042 cat >>confdefs.h
<<_ACEOF
12043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12049 LIBS
="$ac_save_LIBS"
12050 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12051 wine_notices
="$wine_notices|lib(n)curses development files not found.
12052 Wine will be built without (n)curses support. (wineconsole.exe)"
12056 # Extract the first word of "sane-config", so it can be a program name with args.
12057 set dummy sane-config
; ac_word
=$2
12058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12060 if test "${ac_cv_prog_sane_devel+set}" = set; then
12061 echo $ECHO_N "(cached) $ECHO_C" >&6
12063 if test -n "$sane_devel"; then
12064 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12067 for as_dir
in $PATH
12070 test -z "$as_dir" && as_dir
=.
12071 for ac_exec_ext
in '' $ac_executable_extensions; do
12072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12073 ac_cv_prog_sane_devel
="sane-config"
12074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12081 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
12084 sane_devel
=$ac_cv_prog_sane_devel
12085 if test -n "$sane_devel"; then
12086 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12087 echo "${ECHO_T}$sane_devel" >&6; }
12089 { echo "$as_me:$LINENO: result: no" >&5
12090 echo "${ECHO_T}no" >&6; }
12094 if test "$sane_devel" != "no"
12096 ac_sane_incl
="`$sane_devel --cflags`"
12097 ac_save_CPPFLAGS
="$CPPFLAGS"
12098 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
12099 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12100 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12101 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12102 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12106 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12108 # Is the header compilable?
12109 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12110 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12111 cat >conftest.
$ac_ext <<_ACEOF
12114 cat confdefs.h
>>conftest.
$ac_ext
12115 cat >>conftest.
$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117 $ac_includes_default
12118 #include <sane/sane.h>
12120 rm -f conftest.
$ac_objext
12121 if { (ac_try
="$ac_compile"
12122 case "(($ac_try" in
12123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12124 *) ac_try_echo=$ac_try;;
12126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12127 (eval "$ac_compile") 2>conftest.er1
12129 grep -v '^ *+' conftest.er1 >conftest.err
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } && {
12134 test -z "$ac_c_werror_flag" ||
12135 test ! -s conftest.err
12136 } && test -s conftest.$ac_objext; then
12137 ac_header_compiler=yes
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.$ac_ext >&5
12142 ac_header_compiler=no
12145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12147 echo "${ECHO_T}$ac_header_compiler" >&6; }
12149 # Is the header present?
12150 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12151 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12152 cat >conftest.$ac_ext <<_ACEOF
12155 cat confdefs.h >>conftest.$ac_ext
12156 cat >>conftest.$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12158 #include <sane/sane.h>
12160 if { (ac_try="$ac_cpp conftest.$ac_ext"
12161 case "(($ac_try" in
12162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12163 *) ac_try_echo
=$ac_try;;
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12168 grep -v '^ *+' conftest.er1
>conftest.err
12170 cat conftest.err
>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); } >/dev
/null
&& {
12173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12174 test ! -s conftest.err
12176 ac_header_preproc
=yes
12178 echo "$as_me: failed program was:" >&5
12179 sed 's/^/| /' conftest.
$ac_ext >&5
12181 ac_header_preproc
=no
12184 rm -f conftest.err conftest.
$ac_ext
12185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12186 echo "${ECHO_T}$ac_header_preproc" >&6; }
12188 # So? What about this header?
12189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12191 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12192 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12193 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12194 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12195 ac_header_preproc
=yes
12198 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12199 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12201 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12202 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12203 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12205 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12207 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12209 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12211 ## ------------------------------------ ##
12212 ## Report this to wine-devel@winehq.org ##
12213 ## ------------------------------------ ##
12215 ) |
sed "s/^/$as_me: WARNING: /" >&2
12218 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12219 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12220 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 ac_cv_header_sane_sane_h
=$ac_header_preproc
12225 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12226 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12229 if test $ac_cv_header_sane_sane_h = yes; then
12230 { echo "$as_me:$LINENO: checking for -lsane" >&5
12231 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12232 if test "${ac_cv_lib_soname_sane+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 ac_check_soname_save_LIBS
=$LIBS
12236 LIBS
="-lsane $LIBS"
12237 cat >conftest.
$ac_ext <<_ACEOF
12240 cat confdefs.h
>>conftest.
$ac_ext
12241 cat >>conftest.
$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12254 return sane_init ();
12259 rm -f conftest.
$ac_objext conftest
$ac_exeext
12260 if { (ac_try
="$ac_link"
12261 case "(($ac_try" in
12262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12263 *) ac_try_echo=$ac_try;;
12265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12266 (eval "$ac_link") 2>conftest.er1
12268 grep -v '^ *+' conftest.er1 >conftest.err
12270 cat conftest.err >&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } && {
12273 test -z "$ac_c_werror_flag" ||
12274 test ! -s conftest.err
12275 } && test -s conftest$ac_exeext &&
12276 $as_test_x conftest$ac_exeext; then
12279 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'` ;;
12280 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.$ac_ext >&5
12289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_soname_save_LIBS
12293 if test "x$ac_cv_lib_soname_sane" = "x"; then
12294 { echo "$as_me:$LINENO: result: not found" >&5
12295 echo "${ECHO_T}not found" >&6; }
12298 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12299 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12301 cat >>confdefs.h <<_ACEOF
12302 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12305 SANEINCL="$ac_sane_incl"
12312 CPPFLAGS="$ac_save_CPPFLAGS"
12314 if test "x$ac_cv_lib_soname_sane" = "x"; then
12315 wine_notices="$wine_notices|libsane development files not found.
12316 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12320 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12321 set dummy gphoto2-config; ac_word=$2
12322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12324 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12327 if test -n "$gphoto2_devel"; then
12328 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $PATH
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_prog_gphoto2_devel="gphoto2-config"
12338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12345 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12348 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12349 if test -n "$gphoto2_devel"; then
12350 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12351 echo "${ECHO_T}$gphoto2_devel" >&6; }
12353 { echo "$as_me:$LINENO: result: no" >&5
12354 echo "${ECHO_T}no" >&6; }
12358 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12359 set dummy gphoto2-port-config; ac_word=$2
12360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12362 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12363 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 if test -n "$gphoto2port_devel"; then
12366 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369 for as_dir in $PATH
12372 test -z "$as_dir" && as_dir=.
12373 for ac_exec_ext in '' $ac_executable_extensions; do
12374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12375 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12383 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12386 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12387 if test -n "$gphoto2port_devel"; then
12388 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12389 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12391 { echo "$as_me:$LINENO: result: no" >&5
12392 echo "${ECHO_T}no" >&6; }
12396 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12398 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12400 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12403 -L/usr/lib|-L/usr/lib64) ;;
12404 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12407 ac_save_CPPFLAGS="$CPPFLAGS"
12408 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12409 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12410 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12411 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12412 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12416 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12418 # Is the header compilable?
12419 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12420 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12421 cat >conftest.$ac_ext <<_ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_includes_default
12428 #include <gphoto2-camera.h>
12430 rm -f conftest.$ac_objext
12431 if { (ac_try="$ac_compile"
12432 case "(($ac_try" in
12433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12434 *) ac_try_echo
=$ac_try;;
12436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12437 (eval "$ac_compile") 2>conftest.er1
12439 grep -v '^ *+' conftest.er1
>conftest.err
12441 cat conftest.err
>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } && {
12444 test -z "$ac_c_werror_flag" ||
12445 test ! -s conftest.err
12446 } && test -s conftest.
$ac_objext; then
12447 ac_header_compiler
=yes
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.
$ac_ext >&5
12452 ac_header_compiler
=no
12455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12456 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12457 echo "${ECHO_T}$ac_header_compiler" >&6; }
12459 # Is the header present?
12460 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12461 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12462 cat >conftest.
$ac_ext <<_ACEOF
12465 cat confdefs.h
>>conftest.
$ac_ext
12466 cat >>conftest.
$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12468 #include <gphoto2-camera.h>
12470 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12471 case "(($ac_try" in
12472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12473 *) ac_try_echo=$ac_try;;
12475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12478 grep -v '^ *+' conftest.er1 >conftest.err
12480 cat conftest.err >&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); } >/dev/null && {
12483 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12484 test ! -s conftest.err
12486 ac_header_preproc=yes
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.$ac_ext >&5
12491 ac_header_preproc=no
12494 rm -f conftest.err conftest.$ac_ext
12495 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12496 echo "${ECHO_T}$ac_header_preproc" >&6; }
12498 # So? What about this header?
12499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12501 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12502 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12503 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12504 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12505 ac_header_preproc=yes
12508 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12509 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12510 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12511 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12512 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12513 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12515 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12516 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12517 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12518 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12519 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12521 ## ------------------------------------ ##
12522 ## Report this to wine-devel@winehq.org ##
12523 ## ------------------------------------ ##
12525 ) | sed "s/^/$as_me: WARNING: /" >&2
12528 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12529 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12530 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12535 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12536 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12539 if test $ac_cv_header_gphoto2_camera_h = yes; then
12540 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12541 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12542 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12543 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 ac_check_lib_save_LIBS=$LIBS
12546 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12547 cat >conftest.$ac_ext <<_ACEOF
12550 cat confdefs.h >>conftest.$ac_ext
12551 cat >>conftest.$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12554 /* Override any GCC internal prototype to avoid an error.
12555 Use char because int might match the return type of a GCC
12556 builtin and then its argument prototype would still apply. */
12560 char gp_camera_new ();
12564 return gp_camera_new ();
12569 rm -f conftest.$ac_objext conftest$ac_exeext
12570 if { (ac_try="$ac_link"
12571 case "(($ac_try" in
12572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12573 *) ac_try_echo
=$ac_try;;
12575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12576 (eval "$ac_link") 2>conftest.er1
12578 grep -v '^ *+' conftest.er1
>conftest.err
12580 cat conftest.err
>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } && {
12583 test -z "$ac_c_werror_flag" ||
12584 test ! -s conftest.err
12585 } && test -s conftest
$ac_exeext &&
12586 $as_test_x conftest
$ac_exeext; then
12587 ac_cv_lib_gphoto2_gp_camera_new
=yes
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.
$ac_ext >&5
12592 ac_cv_lib_gphoto2_gp_camera_new
=no
12595 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12596 conftest
$ac_exeext conftest.
$ac_ext
12597 LIBS
=$ac_check_lib_save_LIBS
12599 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12600 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12601 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12603 cat >>confdefs.h
<<\_ACEOF
12604 #define HAVE_GPHOTO2 1
12607 GPHOTO2LIBS
="$ac_gphoto2_libs"
12609 GPHOTO2INCL
="$ac_gphoto2_incl"
12616 CPPFLAGS
="$ac_save_CPPFLAGS"
12618 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12619 wine_notices
="$wine_notices|libgphoto2 development files not found.
12620 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12627 if test "$ac_cv_header_resolv_h" = "yes"
12629 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12630 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12631 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 ac_check_lib_save_LIBS
=$LIBS
12635 LIBS
="-lresolv $LIBS"
12636 cat >conftest.
$ac_ext <<_ACEOF
12639 cat confdefs.h
>>conftest.
$ac_ext
12640 cat >>conftest.
$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12643 /* Override any GCC internal prototype to avoid an error.
12644 Use char because int might match the return type of a GCC
12645 builtin and then its argument prototype would still apply. */
12653 return res_query ();
12658 rm -f conftest.
$ac_objext conftest
$ac_exeext
12659 if { (ac_try
="$ac_link"
12660 case "(($ac_try" in
12661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;;
12664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 (eval "$ac_link") 2>conftest.er1
12667 grep -v '^ *+' conftest.er1 >conftest.err
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } && {
12672 test -z "$ac_c_werror_flag" ||
12673 test ! -s conftest.err
12674 } && test -s conftest$ac_exeext &&
12675 $as_test_x conftest$ac_exeext; then
12676 ac_cv_lib_resolv_res_query=yes
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 ac_cv_lib_resolv_res_query=no
12684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12685 conftest$ac_exeext conftest.$ac_ext
12686 LIBS=$ac_check_lib_save_LIBS
12688 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12689 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12690 if test $ac_cv_lib_resolv_res_query = yes; then
12692 cat >>confdefs.h <<\_ACEOF
12693 #define HAVE_RESOLV 1
12696 RESOLVLIBS="-lresolv"
12703 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12705 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12706 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12707 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 ac_check_lib_save_LIBS=$LIBS
12711 LIBS="-llcms $LIBS"
12712 cat >conftest.$ac_ext <<_ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12725 char cmsOpenProfileFromFile ();
12729 return cmsOpenProfileFromFile ();
12734 rm -f conftest.$ac_objext conftest$ac_exeext
12735 if { (ac_try="$ac_link"
12736 case "(($ac_try" in
12737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12738 *) ac_try_echo
=$ac_try;;
12740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12741 (eval "$ac_link") 2>conftest.er1
12743 grep -v '^ *+' conftest.er1
>conftest.err
12745 cat conftest.err
>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } && {
12748 test -z "$ac_c_werror_flag" ||
12749 test ! -s conftest.err
12750 } && test -s conftest
$ac_exeext &&
12751 $as_test_x conftest
$ac_exeext; then
12752 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.
$ac_ext >&5
12757 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12761 conftest
$ac_exeext conftest.
$ac_ext
12762 LIBS
=$ac_check_lib_save_LIBS
12764 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12765 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12766 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12768 cat >>confdefs.h
<<\_ACEOF
12769 #define HAVE_LCMS 1
12776 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12777 wine_notices
="$wine_notices|liblcms development files not found.
12778 Wine will be built without Color Management support. (mscms.dll)"
12784 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12786 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12787 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12788 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12791 ac_check_lib_save_LIBS
=$LIBS
12792 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12793 cat >conftest.
$ac_ext <<_ACEOF
12796 cat confdefs.h
>>conftest.
$ac_ext
12797 cat >>conftest.
$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12806 char ldap_initialize ();
12810 return ldap_initialize ();
12815 rm -f conftest.
$ac_objext conftest
$ac_exeext
12816 if { (ac_try
="$ac_link"
12817 case "(($ac_try" in
12818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12819 *) ac_try_echo=$ac_try;;
12821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12822 (eval "$ac_link") 2>conftest.er1
12824 grep -v '^ *+' conftest.er1 >conftest.err
12826 cat conftest.err >&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } && {
12829 test -z "$ac_c_werror_flag" ||
12830 test ! -s conftest.err
12831 } && test -s conftest$ac_exeext &&
12832 $as_test_x conftest$ac_exeext; then
12833 ac_cv_lib_ldap_r_ldap_initialize=yes
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 ac_cv_lib_ldap_r_ldap_initialize=no
12841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12846 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12847 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12848 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12849 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12850 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-llber $LIBPTHREAD $LIBS"
12855 cat >conftest.$ac_ext <<_ACEOF
12858 cat confdefs.h >>conftest.$ac_ext
12859 cat >>conftest.$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12872 return ber_init ();
12877 rm -f conftest.$ac_objext conftest$ac_exeext
12878 if { (ac_try="$ac_link"
12879 case "(($ac_try" in
12880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12881 *) ac_try_echo
=$ac_try;;
12883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884 (eval "$ac_link") 2>conftest.er1
12886 grep -v '^ *+' conftest.er1
>conftest.err
12888 cat conftest.err
>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } && {
12891 test -z "$ac_c_werror_flag" ||
12892 test ! -s conftest.err
12893 } && test -s conftest
$ac_exeext &&
12894 $as_test_x conftest
$ac_exeext; then
12895 ac_cv_lib_lber_ber_init
=yes
12897 echo "$as_me: failed program was:" >&5
12898 sed 's/^/| /' conftest.
$ac_ext >&5
12900 ac_cv_lib_lber_ber_init
=no
12903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12904 conftest
$ac_exeext conftest.
$ac_ext
12905 LIBS
=$ac_check_lib_save_LIBS
12907 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12908 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12909 if test $ac_cv_lib_lber_ber_init = yes; then
12911 cat >>confdefs.h
<<\_ACEOF
12912 #define HAVE_LDAP 1
12915 LDAPLIBS
="-lldap_r -llber"
12920 ac_wine_check_funcs_save_LIBS
="$LIBS"
12921 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12931 ldap_count_references \
12932 ldap_first_reference \
12933 ldap_next_reference \
12934 ldap_parse_reference \
12935 ldap_parse_sort_control \
12936 ldap_parse_sortresponse_control \
12937 ldap_parse_vlv_control \
12938 ldap_parse_vlvresponse_control
12940 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12943 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12946 cat >conftest.
$ac_ext <<_ACEOF
12949 cat confdefs.h
>>conftest.
$ac_ext
12950 cat >>conftest.
$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12954 #define $ac_func innocuous_$ac_func
12956 /* System header to define __stub macros and hopefully few prototypes,
12957 which can conflict with char $ac_func (); below.
12958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12959 <limits.h> exists even on freestanding compilers. */
12962 # include <limits.h>
12964 # include <assert.h>
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12976 /* The GNU C library defines this for functions which it implements
12977 to always fail with ENOSYS. Some functions are actually named
12978 something starting with __ and the normal name is an alias. */
12979 #if defined __stub_$ac_func || defined __stub___$ac_func
12986 return $ac_func ();
12991 rm -f conftest.
$ac_objext conftest
$ac_exeext
12992 if { (ac_try
="$ac_link"
12993 case "(($ac_try" in
12994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12995 *) ac_try_echo=$ac_try;;
12997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12998 (eval "$ac_link") 2>conftest.er1
13000 grep -v '^ *+' conftest.er1 >conftest.err
13002 cat conftest.err >&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } && {
13005 test -z "$ac_c_werror_flag" ||
13006 test ! -s conftest.err
13007 } && test -s conftest$ac_exeext &&
13008 $as_test_x conftest$ac_exeext; then
13009 eval "$as_ac_var=yes"
13011 echo "$as_me: failed program was:" >&5
13012 sed 's/^/| /' conftest.$ac_ext >&5
13014 eval "$as_ac_var=no"
13017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13018 conftest$ac_exeext conftest.$ac_ext
13020 ac_res=`eval echo '${'$as_ac_var'}'`
13021 { echo "$as_me:$LINENO: result: $ac_res" >&5
13022 echo "${ECHO_T}$ac_res" >&6; }
13023 if test `eval echo '${'$as_ac_var'}'` = yes; then
13024 cat >>confdefs.h <<_ACEOF
13025 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13031 LIBS="$ac_wine_check_funcs_save_LIBS"
13033 if test "x$LDAPLIBS" = "x"; then
13034 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13035 Wine will be built without LDAP support. (wldap32.dll)"
13039 for ac_prog in freetype-config freetype2-config
13041 # Extract the first word of "$ac_prog", so it can be a program name with args.
13042 set dummy $ac_prog; ac_word=$2
13043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13045 if test "${ac_cv_prog_ft_devel+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 if test -n "$ft_devel"; then
13049 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13052 for as_dir in $PATH
13055 test -z "$as_dir" && as_dir=.
13056 for ac_exec_ext in '' $ac_executable_extensions; do
13057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13058 ac_cv_prog_ft_devel="$ac_prog"
13059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13068 ft_devel=$ac_cv_prog_ft_devel
13069 if test -n "$ft_devel"; then
13070 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13071 echo "${ECHO_T}$ft_devel" >&6; }
13073 { echo "$as_me:$LINENO: result: no" >&5
13074 echo "${ECHO_T}no" >&6; }
13078 test -n "$ft_devel" && break
13080 test -n "$ft_devel" || ft_devel="false"
13082 if test "$ft_devel" != "false"
13084 ac_freetype_libs=`$ft_devel --libs`
13085 ac_freetype_incl=`$ft_devel --cflags`
13086 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13087 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13088 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 ac_check_soname_save_LIBS=$LIBS
13092 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13093 cat >conftest.$ac_ext <<_ACEOF
13096 cat confdefs.h >>conftest.$ac_ext
13097 cat >>conftest.$ac_ext <<_ACEOF
13098 /* end confdefs.h. */
13100 /* Override any GCC internal prototype to avoid an error.
13101 Use char because int might match the return type of a GCC
13102 builtin and then its argument prototype would still apply. */
13106 char FT_Init_FreeType ();
13110 return FT_Init_FreeType ();
13115 rm -f conftest.$ac_objext conftest$ac_exeext
13116 if { (ac_try="$ac_link"
13117 case "(($ac_try" in
13118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13119 *) ac_try_echo
=$ac_try;;
13121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13122 (eval "$ac_link") 2>conftest.er1
13124 grep -v '^ *+' conftest.er1
>conftest.err
13126 cat conftest.err
>&5
13127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13128 (exit $ac_status); } && {
13129 test -z "$ac_c_werror_flag" ||
13130 test ! -s conftest.err
13131 } && test -s conftest
$ac_exeext &&
13132 $as_test_x conftest
$ac_exeext; then
13135 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'` ;;
13136 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.
$ac_ext >&5
13145 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13146 conftest
$ac_exeext conftest.
$ac_ext
13147 LIBS
=$ac_check_soname_save_LIBS
13149 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13150 { echo "$as_me:$LINENO: result: not found" >&5
13151 echo "${ECHO_T}not found" >&6; }
13154 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13155 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13157 cat >>confdefs.h
<<_ACEOF
13158 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13164 if test "$ft_lib" = "yes"
13166 ac_save_CPPFLAGS
="$CPPFLAGS"
13167 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
13180 for ac_header
in ft2build.h \
13181 freetype
/freetype.h \
13182 freetype
/ftglyph.h \
13183 freetype
/fttypes.h \
13184 freetype
/tttables.h \
13185 freetype
/ftnames.h \
13186 freetype
/ftsnames.h \
13187 freetype
/ttnameid.h \
13188 freetype
/ftoutln.h \
13189 freetype
/ftwinfnt.h \
13190 freetype
/ftmodapi.h \
13191 freetype
/internal
/sfnt.h
13193 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13196 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 cat >conftest.
$ac_ext <<_ACEOF
13202 cat confdefs.h
>>conftest.
$ac_ext
13203 cat >>conftest.
$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13205 #if HAVE_FT2BUILD_H
13206 #include <ft2build.h>
13209 #include <$ac_header>
13211 rm -f conftest.
$ac_objext
13212 if { (ac_try
="$ac_compile"
13213 case "(($ac_try" in
13214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13215 *) ac_try_echo=$ac_try;;
13217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13218 (eval "$ac_compile") 2>conftest.er1
13220 grep -v '^ *+' conftest.er1 >conftest.err
13222 cat conftest.err >&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } && {
13225 test -z "$ac_c_werror_flag" ||
13226 test ! -s conftest.err
13227 } && test -s conftest.$ac_objext; then
13228 eval "$as_ac_Header=yes"
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.$ac_ext >&5
13233 eval "$as_ac_Header=no"
13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 ac_res=`eval echo '${'$as_ac_Header'}'`
13239 { echo "$as_me:$LINENO: result: $ac_res" >&5
13240 echo "${ECHO_T}$ac_res" >&6; }
13241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13242 cat >>confdefs.h <<_ACEOF
13243 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13250 cat >conftest.$ac_ext <<_ACEOF
13253 cat confdefs.h >>conftest.$ac_ext
13254 cat >>conftest.$ac_ext <<_ACEOF
13255 /* end confdefs.h. */
13256 #include <ft2build.h>
13257 #include <freetype/fttrigon.h>
13259 if { (ac_try="$ac_cpp conftest.$ac_ext"
13260 case "(($ac_try" in
13261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13262 *) ac_try_echo
=$ac_try;;
13264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13267 grep -v '^ *+' conftest.er1
>conftest.err
13269 cat conftest.err
>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); } >/dev
/null
&& {
13272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13273 test ! -s conftest.err
13276 cat >>confdefs.h
<<\_ACEOF
13277 #define HAVE_FREETYPE_FTTRIGON_H 1
13280 wine_cv_fttrigon
=yes
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.
$ac_ext >&5
13285 wine_cv_fttrigon
=no
13288 rm -f conftest.err conftest.
$ac_ext
13289 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13290 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13291 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 #include <freetype/ftmodapi.h>
13302 typedef FT_TrueTypeEngineType ac__type_new_;
13306 if ((ac__type_new_ *) 0)
13308 if (sizeof (ac__type_new_))
13314 rm -f conftest.
$ac_objext
13315 if { (ac_try
="$ac_compile"
13316 case "(($ac_try" in
13317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13318 *) ac_try_echo=$ac_try;;
13320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13321 (eval "$ac_compile") 2>conftest.er1
13323 grep -v '^ *+' conftest.er1 >conftest.err
13325 cat conftest.err >&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } && {
13328 test -z "$ac_c_werror_flag" ||
13329 test ! -s conftest.err
13330 } && test -s conftest.$ac_objext; then
13331 ac_cv_type_FT_TrueTypeEngineType=yes
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.$ac_ext >&5
13336 ac_cv_type_FT_TrueTypeEngineType=no
13339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13341 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13342 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13343 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13345 cat >>confdefs.h <<_ACEOF
13346 #define HAVE_FT_TRUETYPEENGINETYPE 1
13352 ac_save_CFLAGS="$CFLAGS"
13353 CFLAGS="$CFLAGS $ac_freetype_libs"
13355 for ac_func in FT_Load_Sfnt_Table
13357 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 cat >conftest.$ac_ext <<_ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13371 #define $ac_func innocuous_$ac_func
13373 /* System header to define __stub macros and hopefully few prototypes,
13374 which can conflict with char $ac_func (); below.
13375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13376 <limits.h> exists even on freestanding compilers. */
13379 # include <limits.h>
13381 # include <assert.h>
13386 /* Override any GCC internal prototype to avoid an error.
13387 Use char because int might match the return type of a GCC
13388 builtin and then its argument prototype would still apply. */
13393 /* The GNU C library defines this for functions which it implements
13394 to always fail with ENOSYS. Some functions are actually named
13395 something starting with __ and the normal name is an alias. */
13396 #if defined __stub_$ac_func || defined __stub___$ac_func
13403 return $ac_func ();
13408 rm -f conftest.$ac_objext conftest$ac_exeext
13409 if { (ac_try="$ac_link"
13410 case "(($ac_try" in
13411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13412 *) ac_try_echo
=$ac_try;;
13414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13415 (eval "$ac_link") 2>conftest.er1
13417 grep -v '^ *+' conftest.er1
>conftest.err
13419 cat conftest.err
>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); } && {
13422 test -z "$ac_c_werror_flag" ||
13423 test ! -s conftest.err
13424 } && test -s conftest
$ac_exeext &&
13425 $as_test_x conftest
$ac_exeext; then
13426 eval "$as_ac_var=yes"
13428 echo "$as_me: failed program was:" >&5
13429 sed 's/^/| /' conftest.
$ac_ext >&5
13431 eval "$as_ac_var=no"
13434 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13435 conftest
$ac_exeext conftest.
$ac_ext
13437 ac_res
=`eval echo '${'$as_ac_var'}'`
13438 { echo "$as_me:$LINENO: result: $ac_res" >&5
13439 echo "${ECHO_T}$ac_res" >&6; }
13440 if test `eval echo '${'$as_ac_var'}'` = yes; then
13441 cat >>confdefs.h
<<_ACEOF
13442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13448 CFLAGS
="$ac_save_CFLAGS"
13449 CPPFLAGS
="$ac_save_CPPFLAGS"
13450 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13453 cat >>confdefs.h
<<\_ACEOF
13454 #define HAVE_FREETYPE 1
13457 FREETYPELIBS
="$ac_freetype_libs"
13459 FREETYPEINCL
="$ac_freetype_incl"
13465 if test "$FONTFORGE" = "false"
13467 wine_warnings
="$wine_warnings|FontForge is missing.
13468 Fonts will not be built. Dialog text may be invisible or unaligned."
13469 elif test "x$FREETYPELIBS" = "x"
13471 wine_warnings
="$wine_warnings|FreeType development files not found.
13472 Fonts will not be built. Dialog text may be invisible or unaligned."
13474 FONTSSUBDIRS
="fonts"
13478 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13479 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13480 if test "${ac_cv_c_ppdev+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 cat >conftest.
$ac_ext <<_ACEOF
13486 cat confdefs.h
>>conftest.
$ac_ext
13487 cat >>conftest.
$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13489 #include <linux/ppdev.h>
13493 ioctl (1,PPCLAIM,0)
13498 rm -f conftest.
$ac_objext
13499 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
13515 ac_cv_c_ppdev="yes"
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13526 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13527 if test "$ac_cv_c_ppdev" = "yes"
13530 cat >>confdefs.h <<\_ACEOF
13531 #define HAVE_PPDEV 1
13536 { echo "$as_me:$LINENO: checking for va_copy" >&5
13537 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13538 if test "${ac_cv_c_va_copy+set}" = set; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13541 cat >conftest.$ac_ext <<_ACEOF
13544 cat confdefs.h >>conftest.$ac_ext
13545 cat >>conftest.$ac_ext <<_ACEOF
13546 /* end confdefs.h. */
13547 #include <stdarg.h>
13551 va_list ap1, ap2; va_copy(ap1,ap2);
13556 rm -f conftest.$ac_objext conftest$ac_exeext
13557 if { (ac_try="$ac_link"
13558 case "(($ac_try" in
13559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13560 *) ac_try_echo
=$ac_try;;
13562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13563 (eval "$ac_link") 2>conftest.er1
13565 grep -v '^ *+' conftest.er1
>conftest.err
13567 cat conftest.err
>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } && {
13570 test -z "$ac_c_werror_flag" ||
13571 test ! -s conftest.err
13572 } && test -s conftest
$ac_exeext &&
13573 $as_test_x conftest
$ac_exeext; then
13574 ac_cv_c_va_copy
="yes"
13576 echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.
$ac_ext >&5
13579 ac_cv_c_va_copy
="no"
13582 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13583 conftest
$ac_exeext conftest.
$ac_ext
13586 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13587 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13588 if test "$ac_cv_c_va_copy" = "yes"
13591 cat >>confdefs.h
<<\_ACEOF
13592 #define HAVE_VA_COPY 1
13596 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13597 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13598 if test "${ac_cv_c___va_copy+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <stdarg.h>
13611 va_list ap1, ap2; __va_copy(ap1,ap2);
13616 rm -f conftest.
$ac_objext conftest
$ac_exeext
13617 if { (ac_try
="$ac_link"
13618 case "(($ac_try" in
13619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13620 *) ac_try_echo=$ac_try;;
13622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13623 (eval "$ac_link") 2>conftest.er1
13625 grep -v '^ *+' conftest.er1 >conftest.err
13627 cat conftest.err >&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } && {
13630 test -z "$ac_c_werror_flag" ||
13631 test ! -s conftest.err
13632 } && test -s conftest$ac_exeext &&
13633 $as_test_x conftest$ac_exeext; then
13634 ac_cv_c___va_copy="yes"
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.$ac_ext >&5
13639 ac_cv_c___va_copy="no"
13642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13643 conftest$ac_exeext conftest.$ac_ext
13646 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13647 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13648 if test "$ac_cv_c___va_copy" = "yes"
13651 cat >>confdefs.h <<\_ACEOF
13652 #define HAVE___VA_COPY 1
13657 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13658 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13659 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 cat >conftest.$ac_ext <<_ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #include <setjmp.h>
13673 sigsetjmp( buf, 1 );
13674 siglongjmp( buf, 1 );
13679 rm -f conftest.$ac_objext conftest$ac_exeext
13680 if { (ac_try="$ac_link"
13681 case "(($ac_try" in
13682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13683 *) ac_try_echo
=$ac_try;;
13685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13686 (eval "$ac_link") 2>conftest.er1
13688 grep -v '^ *+' conftest.er1
>conftest.err
13690 cat conftest.err
>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } && {
13693 test -z "$ac_c_werror_flag" ||
13694 test ! -s conftest.err
13695 } && test -s conftest
$ac_exeext &&
13696 $as_test_x conftest
$ac_exeext; then
13697 ac_cv_c_sigsetjmp
="yes"
13699 echo "$as_me: failed program was:" >&5
13700 sed 's/^/| /' conftest.
$ac_ext >&5
13702 ac_cv_c_sigsetjmp
="no"
13705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13706 conftest
$ac_exeext conftest.
$ac_ext
13709 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13710 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13711 if test "$ac_cv_c_sigsetjmp" = "yes"
13714 cat >>confdefs.h
<<\_ACEOF
13715 #define HAVE_SIGSETJMP 1
13720 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13721 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13722 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 cat >conftest.
$ac_ext <<_ACEOF
13728 cat confdefs.h
>>conftest.
$ac_ext
13729 cat >>conftest.
$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #define _GNU_SOURCE
13732 #include <pthread.h>
13734 typedef pthread_rwlock_t ac__type_new_;
13738 if ((ac__type_new_ *) 0)
13740 if (sizeof (ac__type_new_))
13746 rm -f conftest.
$ac_objext
13747 if { (ac_try
="$ac_compile"
13748 case "(($ac_try" in
13749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13750 *) ac_try_echo=$ac_try;;
13752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13753 (eval "$ac_compile") 2>conftest.er1
13755 grep -v '^ *+' conftest.er1 >conftest.err
13757 cat conftest.err >&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } && {
13760 test -z "$ac_c_werror_flag" ||
13761 test ! -s conftest.err
13762 } && test -s conftest.$ac_objext; then
13763 ac_cv_type_pthread_rwlock_t=yes
13765 echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.$ac_ext >&5
13768 ac_cv_type_pthread_rwlock_t=no
13771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13773 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13774 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13775 if test $ac_cv_type_pthread_rwlock_t = yes; then
13777 cat >>confdefs.h <<_ACEOF
13778 #define HAVE_PTHREAD_RWLOCK_T 1
13783 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13784 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13785 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13786 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 cat >conftest.$ac_ext <<_ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 #define _GNU_SOURCE
13795 #include <pthread.h>
13797 typedef pthread_rwlockattr_t ac__type_new_;
13801 if ((ac__type_new_ *) 0)
13803 if (sizeof (ac__type_new_))
13809 rm -f conftest.$ac_objext
13810 if { (ac_try="$ac_compile"
13811 case "(($ac_try" in
13812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13813 *) ac_try_echo
=$ac_try;;
13815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13816 (eval "$ac_compile") 2>conftest.er1
13818 grep -v '^ *+' conftest.er1
>conftest.err
13820 cat conftest.err
>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); } && {
13823 test -z "$ac_c_werror_flag" ||
13824 test ! -s conftest.err
13825 } && test -s conftest.
$ac_objext; then
13826 ac_cv_type_pthread_rwlockattr_t
=yes
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13831 ac_cv_type_pthread_rwlockattr_t
=no
13834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13836 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13837 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13838 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13840 cat >>confdefs.h
<<_ACEOF
13841 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13848 ac_wine_check_funcs_save_LIBS
="$LIBS"
13849 LIBS
="$LIBS $LIBPTHREAD"
13855 pthread_attr_get_np \
13856 pthread_getattr_np \
13857 pthread_get_stackaddr_np \
13858 pthread_get_stacksize_np
13860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13861 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13863 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13866 cat >conftest.
$ac_ext <<_ACEOF
13869 cat confdefs.h
>>conftest.
$ac_ext
13870 cat >>conftest.
$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13874 #define $ac_func innocuous_$ac_func
13876 /* System header to define __stub macros and hopefully few prototypes,
13877 which can conflict with char $ac_func (); below.
13878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13879 <limits.h> exists even on freestanding compilers. */
13882 # include <limits.h>
13884 # include <assert.h>
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13896 /* The GNU C library defines this for functions which it implements
13897 to always fail with ENOSYS. Some functions are actually named
13898 something starting with __ and the normal name is an alias. */
13899 #if defined __stub_$ac_func || defined __stub___$ac_func
13906 return $ac_func ();
13911 rm -f conftest.
$ac_objext conftest
$ac_exeext
13912 if { (ac_try
="$ac_link"
13913 case "(($ac_try" in
13914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13915 *) ac_try_echo=$ac_try;;
13917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13918 (eval "$ac_link") 2>conftest.er1
13920 grep -v '^ *+' conftest.er1 >conftest.err
13922 cat conftest.err >&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } && {
13925 test -z "$ac_c_werror_flag" ||
13926 test ! -s conftest.err
13927 } && test -s conftest$ac_exeext &&
13928 $as_test_x conftest$ac_exeext; then
13929 eval "$as_ac_var=yes"
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.$ac_ext >&5
13934 eval "$as_ac_var=no"
13937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13938 conftest$ac_exeext conftest.$ac_ext
13940 ac_res=`eval echo '${'$as_ac_var'}'`
13941 { echo "$as_me:$LINENO: result: $ac_res" >&5
13942 echo "${ECHO_T}$ac_res" >&6; }
13943 if test `eval echo '${'$as_ac_var'}'` = yes; then
13944 cat >>confdefs.h <<_ACEOF
13945 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13951 LIBS="$ac_wine_check_funcs_save_LIBS"
13953 # Extract the first word of "esd-config", so it can be a program name with args.
13954 set dummy esd-config; ac_word=$2
13955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13957 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13966 for as_dir in $PATH
13969 test -z "$as_dir" && as_dir=.
13970 for ac_exec_ext in '' $ac_executable_extensions; do
13971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13972 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13983 ESDCONFIG=$ac_cv_path_ESDCONFIG
13984 if test -n "$ESDCONFIG"; then
13985 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13986 echo "${ECHO_T}$ESDCONFIG" >&6; }
13988 { echo "$as_me:$LINENO: result: no" >&5
13989 echo "${ECHO_T}no" >&6; }
13993 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13996 for i in `$ESDCONFIG --cflags`
13999 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14002 ESD_LIBS=`$ESDCONFIG --libs`
14003 save_CFLAGS="$CFLAGS"
14004 CFLAGS="$CFLAGS $ESD_CFLAGS"
14005 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14006 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14007 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 ac_check_lib_save_LIBS=$LIBS
14012 cat >conftest.$ac_ext <<_ACEOF
14015 cat confdefs.h >>conftest.$ac_ext
14016 cat >>conftest.$ac_ext <<_ACEOF
14017 /* end confdefs.h. */
14019 /* Override any GCC internal prototype to avoid an error.
14020 Use char because int might match the return type of a GCC
14021 builtin and then its argument prototype would still apply. */
14025 char esd_open_sound ();
14029 return esd_open_sound ();
14034 rm -f conftest.$ac_objext conftest$ac_exeext
14035 if { (ac_try="$ac_link"
14036 case "(($ac_try" in
14037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14038 *) ac_try_echo
=$ac_try;;
14040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14041 (eval "$ac_link") 2>conftest.er1
14043 grep -v '^ *+' conftest.er1
>conftest.err
14045 cat conftest.err
>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } && {
14048 test -z "$ac_c_werror_flag" ||
14049 test ! -s conftest.err
14050 } && test -s conftest
$ac_exeext &&
14051 $as_test_x conftest
$ac_exeext; then
14052 ac_cv_lib_esd_esd_open_sound
=yes
14054 echo "$as_me: failed program was:" >&5
14055 sed 's/^/| /' conftest.
$ac_ext >&5
14057 ac_cv_lib_esd_esd_open_sound
=no
14060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14061 conftest
$ac_exeext conftest.
$ac_ext
14062 LIBS
=$ac_check_lib_save_LIBS
14064 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14065 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14066 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14069 ESDINCL
=$ESD_CFLAGS
14072 cat >>confdefs.h
<<\_ACEOF
14078 CFLAGS
="$save_CFLAGS"
14083 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14085 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14086 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14087 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14088 echo $ECHO_N "(cached) $ECHO_C" >&6
14090 ac_check_lib_save_LIBS
=$LIBS
14091 LIBS
="-lasound $LIBS"
14092 cat >conftest.
$ac_ext <<_ACEOF
14095 cat confdefs.h
>>conftest.
$ac_ext
14096 cat >>conftest.
$ac_ext <<_ACEOF
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14105 char snd_pcm_hw_params_get_access ();
14109 return snd_pcm_hw_params_get_access ();
14114 rm -f conftest.
$ac_objext conftest
$ac_exeext
14115 if { (ac_try
="$ac_link"
14116 case "(($ac_try" in
14117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14118 *) ac_try_echo=$ac_try;;
14120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14121 (eval "$ac_link") 2>conftest.er1
14123 grep -v '^ *+' conftest.er1 >conftest.err
14125 cat conftest.err >&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); } && {
14128 test -z "$ac_c_werror_flag" ||
14129 test ! -s conftest.err
14130 } && test -s conftest$ac_exeext &&
14131 $as_test_x conftest$ac_exeext; then
14132 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.$ac_ext >&5
14137 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14141 conftest$ac_exeext conftest.$ac_ext
14142 LIBS=$ac_check_lib_save_LIBS
14144 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14145 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14146 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14147 cat >conftest.$ac_ext <<_ACEOF
14150 cat confdefs.h >>conftest.$ac_ext
14151 cat >>conftest.$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14153 #ifdef HAVE_ALSA_ASOUNDLIB_H
14154 #include <alsa/asoundlib.h>
14155 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14156 #include <sys/asoundlib.h>
14161 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14170 *) ac_try_echo
=$ac_try;;
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14175 grep -v '^ *+' conftest.er1
>conftest.err
14177 cat conftest.err
>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.
$ac_objext; then
14184 cat >>confdefs.h
<<\_ACEOF
14185 #define HAVE_ALSA 1
14188 ALSALIBS
="-lasound"
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.
$ac_ext >&5
14196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14203 if test "$ac_cv_header_libaudioio_h" = "yes"
14205 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14206 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14207 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 ac_check_lib_save_LIBS
=$LIBS
14211 LIBS
="-laudioio $LIBS"
14212 cat >conftest.
$ac_ext <<_ACEOF
14215 cat confdefs.h
>>conftest.
$ac_ext
14216 cat >>conftest.
$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14219 /* Override any GCC internal prototype to avoid an error.
14220 Use char because int might match the return type of a GCC
14221 builtin and then its argument prototype would still apply. */
14225 char AudioIOGetVersion ();
14229 return AudioIOGetVersion ();
14234 rm -f conftest.
$ac_objext conftest
$ac_exeext
14235 if { (ac_try
="$ac_link"
14236 case "(($ac_try" in
14237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14238 *) ac_try_echo=$ac_try;;
14240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14241 (eval "$ac_link") 2>conftest.er1
14243 grep -v '^ *+' conftest.er1 >conftest.err
14245 cat conftest.err >&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); } && {
14248 test -z "$ac_c_werror_flag" ||
14249 test ! -s conftest.err
14250 } && test -s conftest$ac_exeext &&
14251 $as_test_x conftest$ac_exeext; then
14252 ac_cv_lib_audioio_AudioIOGetVersion=yes
14254 echo "$as_me: failed program was:" >&5
14255 sed 's/^/| /' conftest.$ac_ext >&5
14257 ac_cv_lib_audioio_AudioIOGetVersion=no
14260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14261 conftest$ac_exeext conftest.$ac_ext
14262 LIBS=$ac_check_lib_save_LIBS
14264 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14265 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14266 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14267 AUDIOIOLIBS="-laudioio"
14269 cat >>confdefs.h <<\_ACEOF
14270 #define HAVE_LIBAUDIOIO 1
14278 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14280 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14281 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14282 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14285 ac_check_soname_save_LIBS=$LIBS
14286 LIBS="-lcapi20 $LIBS"
14287 cat >conftest.$ac_ext <<_ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14300 char capi20_register ();
14304 return capi20_register ();
14309 rm -f conftest.$ac_objext conftest$ac_exeext
14310 if { (ac_try="$ac_link"
14311 case "(($ac_try" in
14312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14313 *) ac_try_echo
=$ac_try;;
14315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14316 (eval "$ac_link") 2>conftest.er1
14318 grep -v '^ *+' conftest.er1
>conftest.err
14320 cat conftest.err
>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } && {
14323 test -z "$ac_c_werror_flag" ||
14324 test ! -s conftest.err
14325 } && test -s conftest
$ac_exeext &&
14326 $as_test_x conftest
$ac_exeext; then
14329 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'` ;;
14330 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.
$ac_ext >&5
14339 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14340 conftest
$ac_exeext conftest.
$ac_ext
14341 LIBS
=$ac_check_soname_save_LIBS
14343 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14344 { echo "$as_me:$LINENO: result: not found" >&5
14345 echo "${ECHO_T}not found" >&6; }
14348 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14349 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14351 cat >>confdefs.h
<<_ACEOF
14352 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14359 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14360 wine_notices
="$wine_notices|libcapi20 development files not found.
14361 Wine will be built without ISDN support. (capi2032.dll)"
14365 if test "$ac_cv_header_cups_cups_h" = "yes"
14367 { echo "$as_me:$LINENO: checking for -lcups" >&5
14368 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14369 if test "${ac_cv_lib_soname_cups+set}" = set; then
14370 echo $ECHO_N "(cached) $ECHO_C" >&6
14372 ac_check_soname_save_LIBS
=$LIBS
14373 LIBS
="-lcups $LIBS"
14374 cat >conftest.
$ac_ext <<_ACEOF
14377 cat confdefs.h
>>conftest.
$ac_ext
14378 cat >>conftest.
$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14387 char cupsGetDefault ();
14391 return cupsGetDefault ();
14396 rm -f conftest.
$ac_objext conftest
$ac_exeext
14397 if { (ac_try
="$ac_link"
14398 case "(($ac_try" in
14399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14400 *) ac_try_echo=$ac_try;;
14402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14403 (eval "$ac_link") 2>conftest.er1
14405 grep -v '^ *+' conftest.er1 >conftest.err
14407 cat conftest.err >&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); } && {
14410 test -z "$ac_c_werror_flag" ||
14411 test ! -s conftest.err
14412 } && test -s conftest$ac_exeext &&
14413 $as_test_x conftest$ac_exeext; then
14416 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'` ;;
14417 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14420 echo "$as_me: failed program was:" >&5
14421 sed 's/^/| /' conftest.$ac_ext >&5
14426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14427 conftest$ac_exeext conftest.$ac_ext
14428 LIBS=$ac_check_soname_save_LIBS
14430 if test "x$ac_cv_lib_soname_cups" = "x"; then
14431 { echo "$as_me:$LINENO: result: not found" >&5
14432 echo "${ECHO_T}not found" >&6; }
14435 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14436 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14438 cat >>confdefs.h <<_ACEOF
14439 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14446 if test "x$ac_cv_lib_soname_cups" = "x"; then
14447 wine_notices="$wine_notices|libcups development files not found.
14448 Wine will be built without CUPS support."
14452 if test "$ac_cv_header_jack_jack_h" = "yes"
14454 { echo "$as_me:$LINENO: checking for -ljack" >&5
14455 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14456 if test "${ac_cv_lib_soname_jack+set}" = set; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 ac_check_soname_save_LIBS=$LIBS
14460 LIBS="-ljack $LIBS"
14461 cat >conftest.$ac_ext <<_ACEOF
14464 cat confdefs.h >>conftest.$ac_ext
14465 cat >>conftest.$ac_ext <<_ACEOF
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14474 char jack_client_new ();
14478 return jack_client_new ();
14483 rm -f conftest.$ac_objext conftest$ac_exeext
14484 if { (ac_try="$ac_link"
14485 case "(($ac_try" in
14486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14487 *) ac_try_echo
=$ac_try;;
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_link") 2>conftest.er1
14492 grep -v '^ *+' conftest.er1
>conftest.err
14494 cat conftest.err
>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } && {
14497 test -z "$ac_c_werror_flag" ||
14498 test ! -s conftest.err
14499 } && test -s conftest
$ac_exeext &&
14500 $as_test_x conftest
$ac_exeext; then
14503 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'` ;;
14504 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.
$ac_ext >&5
14513 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14514 conftest
$ac_exeext conftest.
$ac_ext
14515 LIBS
=$ac_check_soname_save_LIBS
14517 if test "x$ac_cv_lib_soname_jack" = "x"; then
14518 { echo "$as_me:$LINENO: result: not found" >&5
14519 echo "${ECHO_T}not found" >&6; }
14522 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14523 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14525 cat >>confdefs.h
<<_ACEOF
14526 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14534 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14536 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14537 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14538 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14539 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 ac_check_soname_save_LIBS
=$LIBS
14542 LIBS
="-lfontconfig $LIBS"
14543 cat >conftest.
$ac_ext <<_ACEOF
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14565 rm -f conftest.
$ac_objext conftest
$ac_exeext
14566 if { (ac_try
="$ac_link"
14567 case "(($ac_try" in
14568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_link") 2>conftest.er1
14574 grep -v '^ *+' conftest.er1 >conftest.err
14576 cat conftest.err >&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); } && {
14579 test -z "$ac_c_werror_flag" ||
14580 test ! -s conftest.err
14581 } && test -s conftest$ac_exeext &&
14582 $as_test_x conftest$ac_exeext; then
14585 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'` ;;
14586 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.$ac_ext >&5
14595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_soname_save_LIBS
14599 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14600 { echo "$as_me:$LINENO: result: not found" >&5
14601 echo "${ECHO_T}not found" >&6; }
14604 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14605 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14607 cat >>confdefs.h <<_ACEOF
14608 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14614 elif test -n "$X_CFLAGS"
14616 ac_save_CPPFLAGS="$CPPFLAGS"
14617 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14618 $as_unset ac_cv_header_fontconfig_fontconfig_h
14620 for ac_header in fontconfig/fontconfig.h
14622 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14629 ac_res=`eval echo '${'$as_ac_Header'}'`
14630 { echo "$as_me:$LINENO: result: $ac_res" >&5
14631 echo "${ECHO_T}$ac_res" >&6; }
14633 # Is the header compilable?
14634 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14636 cat >conftest.$ac_ext <<_ACEOF
14639 cat confdefs.h >>conftest.$ac_ext
14640 cat >>conftest.$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14642 $ac_includes_default
14643 #include <$ac_header>
14645 rm -f conftest.$ac_objext
14646 if { (ac_try="$ac_compile"
14647 case "(($ac_try" in
14648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14649 *) ac_try_echo
=$ac_try;;
14651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14652 (eval "$ac_compile") 2>conftest.er1
14654 grep -v '^ *+' conftest.er1
>conftest.err
14656 cat conftest.err
>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } && {
14659 test -z "$ac_c_werror_flag" ||
14660 test ! -s conftest.err
14661 } && test -s conftest.
$ac_objext; then
14662 ac_header_compiler
=yes
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.
$ac_ext >&5
14667 ac_header_compiler
=no
14670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14671 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14672 echo "${ECHO_T}$ac_header_compiler" >&6; }
14674 # Is the header present?
14675 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14677 cat >conftest.
$ac_ext <<_ACEOF
14680 cat confdefs.h
>>conftest.
$ac_ext
14681 cat >>conftest.
$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14683 #include <$ac_header>
14685 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14686 case "(($ac_try" in
14687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14688 *) ac_try_echo=$ac_try;;
14690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14693 grep -v '^ *+' conftest.er1 >conftest.err
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } >/dev/null && {
14698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14699 test ! -s conftest.err
14701 ac_header_preproc=yes
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14706 ac_header_preproc=no
14709 rm -f conftest.err conftest.$ac_ext
14710 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14711 echo "${ECHO_T}$ac_header_preproc" >&6; }
14713 # So? What about this header?
14714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14719 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14720 ac_header_preproc=yes
14723 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14724 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14725 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14726 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14727 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14728 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14729 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14730 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14733 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14734 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14736 ## ------------------------------------ ##
14737 ## Report this to wine-devel@winehq.org ##
14738 ## ------------------------------------ ##
14740 ) | sed "s/^/$as_me: WARNING: /" >&2
14743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 eval "$as_ac_Header=\$ac_header_preproc"
14750 ac_res=`eval echo '${'$as_ac_Header'}'`
14751 { echo "$as_me:$LINENO: result: $ac_res" >&5
14752 echo "${ECHO_T}$ac_res" >&6; }
14755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14756 cat >>confdefs.h <<_ACEOF
14757 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14764 CPPFLAGS="$ac_save_CPPFLAGS"
14765 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14767 FONTCONFIGINCL="$X_CFLAGS"
14769 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14770 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14771 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 ac_check_soname_save_LIBS=$LIBS
14775 LIBS="-lfontconfig $X_LIBS $LIBS"
14776 cat >conftest.$ac_ext <<_ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14783 /* Override any GCC internal prototype to avoid an error.
14784 Use char because int might match the return type of a GCC
14785 builtin and then its argument prototype would still apply. */
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (ac_try="$ac_link"
14800 case "(($ac_try" in
14801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14802 *) ac_try_echo
=$ac_try;;
14804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14805 (eval "$ac_link") 2>conftest.er1
14807 grep -v '^ *+' conftest.er1
>conftest.err
14809 cat conftest.err
>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } && {
14812 test -z "$ac_c_werror_flag" ||
14813 test ! -s conftest.err
14814 } && test -s conftest
$ac_exeext &&
14815 $as_test_x conftest
$ac_exeext; then
14818 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'` ;;
14819 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14828 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14829 conftest
$ac_exeext conftest.
$ac_ext
14830 LIBS
=$ac_check_soname_save_LIBS
14832 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14833 { echo "$as_me:$LINENO: result: not found" >&5
14834 echo "${ECHO_T}not found" >&6; }
14837 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14838 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14840 cat >>confdefs.h
<<_ACEOF
14841 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14849 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14850 wine_notices
="$wine_notices|fontconfig development files not found.
14851 Wine will be built without fontconfig support."
14855 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14857 { echo "$as_me:$LINENO: checking for -lssl" >&5
14858 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14859 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 ac_check_soname_save_LIBS
=$LIBS
14864 cat >conftest.
$ac_ext <<_ACEOF
14867 cat confdefs.h
>>conftest.
$ac_ext
14868 cat >>conftest.
$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14877 char SSL_library_init ();
14881 return SSL_library_init ();
14886 rm -f conftest.
$ac_objext conftest
$ac_exeext
14887 if { (ac_try
="$ac_link"
14888 case "(($ac_try" in
14889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_link") 2>conftest.er1
14895 grep -v '^ *+' conftest.er1 >conftest.err
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } && {
14900 test -z "$ac_c_werror_flag" ||
14901 test ! -s conftest.err
14902 } && test -s conftest$ac_exeext &&
14903 $as_test_x conftest$ac_exeext; then
14906 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'` ;;
14907 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.$ac_ext >&5
14916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14917 conftest$ac_exeext conftest.$ac_ext
14918 LIBS=$ac_check_soname_save_LIBS
14920 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14921 { echo "$as_me:$LINENO: result: not found" >&5
14922 echo "${ECHO_T}not found" >&6; }
14925 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14926 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14928 cat >>confdefs.h <<_ACEOF
14929 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14935 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14936 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14937 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 ac_check_soname_save_LIBS=$LIBS
14941 LIBS="-lcrypto $LIBS"
14942 cat >conftest.$ac_ext <<_ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14955 char BIO_new_socket ();
14959 return BIO_new_socket ();
14964 rm -f conftest.$ac_objext conftest$ac_exeext
14965 if { (ac_try="$ac_link"
14966 case "(($ac_try" in
14967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14968 *) ac_try_echo
=$ac_try;;
14970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14971 (eval "$ac_link") 2>conftest.er1
14973 grep -v '^ *+' conftest.er1
>conftest.err
14975 cat conftest.err
>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); } && {
14978 test -z "$ac_c_werror_flag" ||
14979 test ! -s conftest.err
14980 } && test -s conftest
$ac_exeext &&
14981 $as_test_x conftest
$ac_exeext; then
14984 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'` ;;
14985 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.
$ac_ext >&5
14994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14995 conftest
$ac_exeext conftest.
$ac_ext
14996 LIBS
=$ac_check_soname_save_LIBS
14998 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14999 { echo "$as_me:$LINENO: result: not found" >&5
15000 echo "${ECHO_T}not found" >&6; }
15003 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15004 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15006 cat >>confdefs.h
<<_ACEOF
15007 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15014 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15015 wine_notices
="$wine_notices|OpenSSL development files not found.
15016 Wine will be built without SSL support. (wininet.dll)"
15020 if test "$ac_cv_header_jpeglib_h" = "yes"
15022 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15023 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15024 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15027 ac_check_soname_save_LIBS
=$LIBS
15028 LIBS
="-ljpeg $LIBS"
15029 cat >conftest.
$ac_ext <<_ACEOF
15032 cat confdefs.h
>>conftest.
$ac_ext
15033 cat >>conftest.
$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15036 /* Override any GCC internal prototype to avoid an error.
15037 Use char because int might match the return type of a GCC
15038 builtin and then its argument prototype would still apply. */
15042 char jpeg_start_decompress ();
15046 return jpeg_start_decompress ();
15051 rm -f conftest.
$ac_objext conftest
$ac_exeext
15052 if { (ac_try
="$ac_link"
15053 case "(($ac_try" in
15054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15055 *) ac_try_echo=$ac_try;;
15057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15058 (eval "$ac_link") 2>conftest.er1
15060 grep -v '^ *+' conftest.er1 >conftest.err
15062 cat conftest.err >&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } && {
15065 test -z "$ac_c_werror_flag" ||
15066 test ! -s conftest.err
15067 } && test -s conftest$ac_exeext &&
15068 $as_test_x conftest$ac_exeext; then
15071 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'` ;;
15072 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.$ac_ext >&5
15081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_soname_save_LIBS
15085 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15086 { echo "$as_me:$LINENO: result: not found" >&5
15087 echo "${ECHO_T}not found" >&6; }
15090 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15091 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15093 cat >>confdefs.h <<_ACEOF
15094 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15101 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15102 wine_notices="$wine_notices|libjpeg development files not found.
15103 Wine will be built without JPEG support. (oleaut32.dll)"
15107 if test "$ac_cv_header_png_h" = "yes"
15109 { echo "$as_me:$LINENO: checking for -lpng" >&5
15110 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15111 if test "${ac_cv_lib_soname_png+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 ac_check_soname_save_LIBS=$LIBS
15116 cat >conftest.$ac_ext <<_ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15129 char png_create_read_struct ();
15133 return png_create_read_struct ();
15138 rm -f conftest.$ac_objext conftest$ac_exeext
15139 if { (ac_try="$ac_link"
15140 case "(($ac_try" in
15141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15142 *) ac_try_echo
=$ac_try;;
15144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15145 (eval "$ac_link") 2>conftest.er1
15147 grep -v '^ *+' conftest.er1
>conftest.err
15149 cat conftest.err
>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } && {
15152 test -z "$ac_c_werror_flag" ||
15153 test ! -s conftest.err
15154 } && test -s conftest
$ac_exeext &&
15155 $as_test_x conftest
$ac_exeext; then
15158 dylib
) ac_cv_lib_soname_png
=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15159 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.
$ac_ext >&5
15168 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15169 conftest
$ac_exeext conftest.
$ac_ext
15170 LIBS
=$ac_check_soname_save_LIBS
15172 if test "x$ac_cv_lib_soname_png" = "x"; then
15173 { echo "$as_me:$LINENO: result: not found" >&5
15174 echo "${ECHO_T}not found" >&6; }
15177 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15178 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15180 cat >>confdefs.h
<<_ACEOF
15181 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15188 if test "x$ac_cv_lib_soname_png" = "x"; then
15189 wine_notices
="$wine_notices|libpng development files not found.
15190 Wine will be built without PNG support. (oleaut32.dll)"
15194 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15195 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15196 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15197 "$ac_cv_header_soundcard_h" != "yes"; then
15198 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15205 if test "x${GCC}" = "xyes"
15207 EXTRACFLAGS
="-Wall -pipe"
15209 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15210 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15211 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 if test "$cross_compiling" = yes; then
15215 ac_cv_c_gcc_strength_bug
="yes"
15217 cat >conftest.
$ac_ext <<_ACEOF
15220 cat confdefs.h
>>conftest.
$ac_ext
15221 cat >>conftest.
$ac_ext <<_ACEOF
15222 /* end confdefs.h. */
15223 int L[4] = {0,1,2,3};
15227 static int Array[3];
15228 unsigned int B = 3;
15230 for(i=0; i<B; i++) Array[i] = i - 3;
15231 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15233 exit( Array[1] != -2 || L[2] != 3)
15238 rm -f conftest
$ac_exeext
15239 if { (ac_try
="$ac_link"
15240 case "(($ac_try" in
15241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_link") 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15249 { (case "(($ac_try" in
15250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15251 *) ac_try_echo
=$ac_try;;
15253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15254 (eval "$ac_try") 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_cv_c_gcc_strength_bug
="no"
15260 echo "$as_me: program exited with status $ac_status" >&5
15261 echo "$as_me: failed program was:" >&5
15262 sed 's/^/| /' conftest.
$ac_ext >&5
15264 ( exit $ac_status )
15265 ac_cv_c_gcc_strength_bug
="yes"
15267 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15272 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15273 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15274 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15276 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15280 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15281 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15282 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 ac_wine_try_cflags_saved
=$CFLAGS
15286 CFLAGS
="$CFLAGS -fshort-wchar"
15287 cat >conftest.
$ac_ext <<_ACEOF
15290 cat confdefs.h
>>conftest.
$ac_ext
15291 cat >>conftest.
$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15302 rm -f conftest.
$ac_objext conftest
$ac_exeext
15303 if { (ac_try
="$ac_link"
15304 case "(($ac_try" in
15305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15306 *) ac_try_echo=$ac_try;;
15308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15309 (eval "$ac_link") 2>conftest.er1
15311 grep -v '^ *+' conftest.er1 >conftest.err
15313 cat conftest.err >&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && {
15316 test -z "$ac_c_werror_flag" ||
15317 test ! -s conftest.err
15318 } && test -s conftest$ac_exeext &&
15319 $as_test_x conftest$ac_exeext; then
15320 ac_cv_cflags__fshort_wchar=yes
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15325 ac_cv_cflags__fshort_wchar=no
15328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15329 conftest$ac_exeext conftest.$ac_ext
15330 CFLAGS=$ac_wine_try_cflags_saved
15332 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15333 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15334 if test $ac_cv_cflags__fshort_wchar = yes; then
15336 cat >>confdefs.h <<\_ACEOF
15337 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15342 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15343 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15344 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15345 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 ac_wine_try_cflags_saved=$CFLAGS
15348 CFLAGS="$CFLAGS -fno-strict-aliasing"
15349 cat >conftest.$ac_ext <<_ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15364 rm -f conftest.$ac_objext conftest$ac_exeext
15365 if { (ac_try="$ac_link"
15366 case "(($ac_try" in
15367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15368 *) ac_try_echo
=$ac_try;;
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_link") 2>conftest.er1
15373 grep -v '^ *+' conftest.er1
>conftest.err
15375 cat conftest.err
>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest
$ac_exeext &&
15381 $as_test_x conftest
$ac_exeext; then
15382 ac_cv_cflags__fno_strict_aliasing
=yes
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.
$ac_ext >&5
15387 ac_cv_cflags__fno_strict_aliasing
=no
15390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15391 conftest
$ac_exeext conftest.
$ac_ext
15392 CFLAGS
=$ac_wine_try_cflags_saved
15394 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15395 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15396 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15397 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15400 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15401 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15402 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15403 echo $ECHO_N "(cached) $ECHO_C" >&6
15405 ac_wine_try_cflags_saved
=$CFLAGS
15406 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15407 cat >conftest.
$ac_ext <<_ACEOF
15410 cat confdefs.h
>>conftest.
$ac_ext
15411 cat >>conftest.
$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15422 rm -f conftest.
$ac_objext conftest
$ac_exeext
15423 if { (ac_try
="$ac_link"
15424 case "(($ac_try" in
15425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_link") 2>conftest.er1
15431 grep -v '^ *+' conftest.er1 >conftest.err
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_c_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest$ac_exeext &&
15439 $as_test_x conftest$ac_exeext; then
15440 ac_cv_cflags__Wdeclaration_after_statement=yes
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.$ac_ext >&5
15445 ac_cv_cflags__Wdeclaration_after_statement=no
15448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15449 conftest$ac_exeext conftest.$ac_ext
15450 CFLAGS=$ac_wine_try_cflags_saved
15452 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15453 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15454 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15455 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15458 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15459 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15460 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 ac_wine_try_cflags_saved=$CFLAGS
15464 CFLAGS="$CFLAGS -Wwrite-strings"
15465 cat >conftest.$ac_ext <<_ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15480 rm -f conftest.$ac_objext conftest$ac_exeext
15481 if { (ac_try="$ac_link"
15482 case "(($ac_try" in
15483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15484 *) ac_try_echo
=$ac_try;;
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_link") 2>conftest.er1
15489 grep -v '^ *+' conftest.er1
>conftest.err
15491 cat conftest.err
>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest
$ac_exeext &&
15497 $as_test_x conftest
$ac_exeext; then
15498 ac_cv_cflags__Wwrite_strings
=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15503 ac_cv_cflags__Wwrite_strings
=no
15506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15507 conftest
$ac_exeext conftest.
$ac_ext
15508 CFLAGS
=$ac_wine_try_cflags_saved
15510 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15511 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15512 if test $ac_cv_cflags__Wwrite_strings = yes; then
15513 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
15517 saved_CFLAGS
="$CFLAGS"
15518 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15519 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15520 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15521 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15524 cat >conftest.
$ac_ext <<_ACEOF
15527 cat confdefs.h
>>conftest.
$ac_ext
15528 cat >>conftest.
$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530 #include <string.h>
15539 rm -f conftest.
$ac_objext
15540 if { (ac_try
="$ac_compile"
15541 case "(($ac_try" in
15542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15543 *) ac_try_echo=$ac_try;;
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_compile") 2>conftest.er1
15548 grep -v '^ *+' conftest.er1 >conftest.err
15550 cat conftest.err >&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_c_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest.$ac_objext; then
15556 ac_cv_c_string_h_warnings=no
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15561 ac_cv_c_string_h_warnings=yes
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15566 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15567 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15568 CFLAGS="$saved_CFLAGS"
15569 if test "$ac_cv_c_string_h_warnings" = "no"
15571 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15576 saved_CFLAGS="$CFLAGS"
15577 CFLAGS="$CFLAGS -Werror"
15578 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15579 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15580 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15581 echo $ECHO_N "(cached) $ECHO_C" >&6
15583 cat >conftest.$ac_ext <<_ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15593 int iswlower(unsigned short);
15598 rm -f conftest.$ac_objext
15599 if { (ac_try="$ac_compile"
15600 case "(($ac_try" in
15601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15602 *) ac_try_echo
=$ac_try;;
15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605 (eval "$ac_compile") 2>conftest.er1
15607 grep -v '^ *+' conftest.er1
>conftest.err
15609 cat conftest.err
>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } && {
15612 test -z "$ac_c_werror_flag" ||
15613 test ! -s conftest.err
15614 } && test -s conftest.
$ac_objext; then
15615 ac_cv_c_builtin_wchar_ctype
=no
15617 echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.
$ac_ext >&5
15620 ac_cv_c_builtin_wchar_ctype
=yes
15623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15625 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15626 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15627 CFLAGS
="$saved_CFLAGS"
15628 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15630 BUILTINFLAG
="-fno-builtin"
15635 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15636 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15637 if test "${ac_cv_asm_func_def+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 cat >conftest.
$ac_ext <<_ACEOF
15643 cat confdefs.h
>>conftest.
$ac_ext
15644 cat >>conftest.
$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15650 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15655 rm -f conftest.
$ac_objext conftest
$ac_exeext
15656 if { (ac_try
="$ac_link"
15657 case "(($ac_try" in
15658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15659 *) ac_try_echo=$ac_try;;
15661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15662 (eval "$ac_link") 2>conftest.er1
15664 grep -v '^ *+' conftest.er1 >conftest.err
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } && {
15669 test -z "$ac_c_werror_flag" ||
15670 test ! -s conftest.err
15671 } && test -s conftest$ac_exeext &&
15672 $as_test_x conftest$ac_exeext; then
15673 ac_cv_asm_func_def=".def"
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15678 cat >conftest.$ac_ext <<_ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15688 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15693 rm -f conftest.$ac_objext conftest$ac_exeext
15694 if { (ac_try="$ac_link"
15695 case "(($ac_try" in
15696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15697 *) ac_try_echo
=$ac_try;;
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_link") 2>conftest.er1
15702 grep -v '^ *+' conftest.er1
>conftest.err
15704 cat conftest.err
>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } && {
15707 test -z "$ac_c_werror_flag" ||
15708 test ! -s conftest.err
15709 } && test -s conftest
$ac_exeext &&
15710 $as_test_x conftest
$ac_exeext; then
15711 ac_cv_asm_func_def
=".type @function"
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.
$ac_ext >&5
15716 cat >conftest.
$ac_ext <<_ACEOF
15719 cat confdefs.h
>>conftest.
$ac_ext
15720 cat >>conftest.
$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15726 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15731 rm -f conftest.
$ac_objext conftest
$ac_exeext
15732 if { (ac_try
="$ac_link"
15733 case "(($ac_try" in
15734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_link") 2>conftest.er1
15740 grep -v '^ *+' conftest.er1 >conftest.err
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest$ac_exeext &&
15748 $as_test_x conftest$ac_exeext; then
15749 ac_cv_asm_func_def=".type 2"
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 ac_cv_asm_func_def="unknown"
15757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15758 conftest$ac_exeext conftest.$ac_ext
15761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15762 conftest$ac_exeext conftest.$ac_ext
15765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15766 conftest$ac_exeext conftest.$ac_ext
15768 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15769 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15773 case "$ac_cv_asm_func_def" in
15775 cat >>confdefs.h <<\_ACEOF
15776 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15780 cat >>confdefs.h <<\_ACEOF
15781 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15785 cat >>confdefs.h <<\_ACEOF
15786 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15790 cat >>confdefs.h <<\_ACEOF
15791 #define __ASM_FUNC(name) ""
15797 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15798 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15799 if test "${ac_cv_c_extern_prefix+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 cat >conftest.$ac_ext <<_ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 extern int ac_test;
15812 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15817 rm -f conftest.$ac_objext conftest$ac_exeext
15818 if { (ac_try="$ac_link"
15819 case "(($ac_try" in
15820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15821 *) ac_try_echo
=$ac_try;;
15823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15824 (eval "$ac_link") 2>conftest.er1
15826 grep -v '^ *+' conftest.er1
>conftest.err
15828 cat conftest.err
>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } && {
15831 test -z "$ac_c_werror_flag" ||
15832 test ! -s conftest.err
15833 } && test -s conftest
$ac_exeext &&
15834 $as_test_x conftest
$ac_exeext; then
15835 ac_cv_c_extern_prefix
="yes"
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15840 ac_cv_c_extern_prefix
="no"
15843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15844 conftest
$ac_exeext conftest.
$ac_ext
15846 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15847 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15851 if test "$ac_cv_c_extern_prefix" = "yes"
15853 cat >>confdefs.h
<<\_ACEOF
15854 #define __ASM_NAME(name) "_" name
15858 cat >>confdefs.h
<<\_ACEOF
15859 #define __ASM_NAME(name) name
15869 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15873 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
15875 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15879 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15887 SOCKETLIBS
="-lws2_32"
15892 MAIN_BINARY
="wine-pthread"
15896 linux
* | k
*bsd
*-gnu)
15897 MAIN_BINARY
="wine-glibc"
15899 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15902 MAIN_BINARY
="wine-freebsd"
15904 EXTRA_BINARIES
="wine-pthread"
16042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16045 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 cat >conftest.
$ac_ext <<_ACEOF
16051 cat confdefs.h
>>conftest.
$ac_ext
16052 cat >>conftest.
$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16056 #define $ac_func innocuous_$ac_func
16058 /* System header to define __stub macros and hopefully few prototypes,
16059 which can conflict with char $ac_func (); below.
16060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16061 <limits.h> exists even on freestanding compilers. */
16064 # include <limits.h>
16066 # include <assert.h>
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16078 /* The GNU C library defines this for functions which it implements
16079 to always fail with ENOSYS. Some functions are actually named
16080 something starting with __ and the normal name is an alias. */
16081 #if defined __stub_$ac_func || defined __stub___$ac_func
16088 return $ac_func ();
16093 rm -f conftest.
$ac_objext conftest
$ac_exeext
16094 if { (ac_try
="$ac_link"
16095 case "(($ac_try" in
16096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16097 *) ac_try_echo=$ac_try;;
16099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16100 (eval "$ac_link") 2>conftest.er1
16102 grep -v '^ *+' conftest.er1 >conftest.err
16104 cat conftest.err >&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && {
16107 test -z "$ac_c_werror_flag" ||
16108 test ! -s conftest.err
16109 } && test -s conftest$ac_exeext &&
16110 $as_test_x conftest$ac_exeext; then
16111 eval "$as_ac_var=yes"
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16116 eval "$as_ac_var=no"
16119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16120 conftest$ac_exeext conftest.$ac_ext
16122 ac_res=`eval echo '${'$as_ac_var'}'`
16123 { echo "$as_me:$LINENO: result: $ac_res" >&5
16124 echo "${ECHO_T}$ac_res" >&6; }
16125 if test `eval echo '${'$as_ac_var'}'` = yes; then
16126 cat >>confdefs.h <<_ACEOF
16127 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16134 if test "$ac_cv_func_dlopen" = no
16136 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16137 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 ac_check_lib_save_LIBS=$LIBS
16143 cat >conftest.$ac_ext <<_ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (ac_try="$ac_link"
16167 case "(($ac_try" in
16168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16169 *) ac_try_echo
=$ac_try;;
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_link") 2>conftest.er1
16174 grep -v '^ *+' conftest.er1
>conftest.err
16176 cat conftest.err
>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && {
16179 test -z "$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 } && test -s conftest
$ac_exeext &&
16182 $as_test_x conftest
$ac_exeext; then
16183 ac_cv_lib_dl_dlopen
=yes
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.
$ac_ext >&5
16188 ac_cv_lib_dl_dlopen
=no
16191 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16192 conftest
$ac_exeext conftest.
$ac_ext
16193 LIBS
=$ac_check_lib_save_LIBS
16195 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16196 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16197 if test $ac_cv_lib_dl_dlopen = yes; then
16198 cat >>confdefs.h
<<\_ACEOF
16199 #define HAVE_DLOPEN 1
16206 ac_wine_check_funcs_save_LIBS
="$LIBS"
16207 LIBS
="$LIBS $LIBDL"
16209 for ac_func
in dladdr
16211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16214 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16225 #define $ac_func innocuous_$ac_func
16227 /* System header to define __stub macros and hopefully few prototypes,
16228 which can conflict with char $ac_func (); below.
16229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16230 <limits.h> exists even on freestanding compilers. */
16233 # include <limits.h>
16235 # include <assert.h>
16240 /* Override any GCC internal prototype to avoid an error.
16241 Use char because int might match the return type of a GCC
16242 builtin and then its argument prototype would still apply. */
16247 /* The GNU C library defines this for functions which it implements
16248 to always fail with ENOSYS. Some functions are actually named
16249 something starting with __ and the normal name is an alias. */
16250 #if defined __stub_$ac_func || defined __stub___$ac_func
16257 return $ac_func ();
16262 rm -f conftest.
$ac_objext conftest
$ac_exeext
16263 if { (ac_try
="$ac_link"
16264 case "(($ac_try" in
16265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16266 *) ac_try_echo=$ac_try;;
16268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16269 (eval "$ac_link") 2>conftest.er1
16271 grep -v '^ *+' conftest.er1 >conftest.err
16273 cat conftest.err >&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } && {
16276 test -z "$ac_c_werror_flag" ||
16277 test ! -s conftest.err
16278 } && test -s conftest$ac_exeext &&
16279 $as_test_x conftest$ac_exeext; then
16280 eval "$as_ac_var=yes"
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16285 eval "$as_ac_var=no"
16288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16289 conftest$ac_exeext conftest.$ac_ext
16291 ac_res=`eval echo '${'$as_ac_var'}'`
16292 { echo "$as_me:$LINENO: result: $ac_res" >&5
16293 echo "${ECHO_T}$ac_res" >&6; }
16294 if test `eval echo '${'$as_ac_var'}'` = yes; then
16295 cat >>confdefs.h <<_ACEOF
16296 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16302 LIBS="$ac_wine_check_funcs_save_LIBS"
16304 if test "$ac_cv_func_poll" = no
16306 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16307 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16308 if test "${ac_cv_lib_poll_poll+set}" = set; then
16309 echo $ECHO_N "(cached) $ECHO_C" >&6
16311 ac_check_lib_save_LIBS=$LIBS
16312 LIBS="-lpoll $LIBS"
16313 cat >conftest.$ac_ext <<_ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16320 /* Override any GCC internal prototype to avoid an error.
16321 Use char because int might match the return type of a GCC
16322 builtin and then its argument prototype would still apply. */
16335 rm -f conftest.$ac_objext conftest$ac_exeext
16336 if { (ac_try="$ac_link"
16337 case "(($ac_try" in
16338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16339 *) ac_try_echo
=$ac_try;;
16341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16342 (eval "$ac_link") 2>conftest.er1
16344 grep -v '^ *+' conftest.er1
>conftest.err
16346 cat conftest.err
>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } && {
16349 test -z "$ac_c_werror_flag" ||
16350 test ! -s conftest.err
16351 } && test -s conftest
$ac_exeext &&
16352 $as_test_x conftest
$ac_exeext; then
16353 ac_cv_lib_poll_poll
=yes
16355 echo "$as_me: failed program was:" >&5
16356 sed 's/^/| /' conftest.
$ac_ext >&5
16358 ac_cv_lib_poll_poll
=no
16361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16362 conftest
$ac_exeext conftest.
$ac_ext
16363 LIBS
=$ac_check_lib_save_LIBS
16365 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16366 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16367 if test $ac_cv_lib_poll_poll = yes; then
16368 cat >>confdefs.h
<<\_ACEOF
16369 #define HAVE_POLL 1
16377 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16378 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16379 if test "${ac_cv_search_gethostbyname+set}" = set; then
16380 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 ac_func_search_save_LIBS
=$LIBS
16383 cat >conftest.
$ac_ext <<_ACEOF
16386 cat confdefs.h
>>conftest.
$ac_ext
16387 cat >>conftest.
$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16390 /* Override any GCC internal prototype to avoid an error.
16391 Use char because int might match the return type of a GCC
16392 builtin and then its argument prototype would still apply. */
16396 char gethostbyname ();
16400 return gethostbyname ();
16405 for ac_lib
in '' nsl
; do
16406 if test -z "$ac_lib"; then
16407 ac_res
="none required"
16410 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16412 rm -f conftest.
$ac_objext conftest
$ac_exeext
16413 if { (ac_try
="$ac_link"
16414 case "(($ac_try" in
16415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16419 (eval "$ac_link") 2>conftest.er1
16421 grep -v '^ *+' conftest.er1 >conftest.err
16423 cat conftest.err >&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } && {
16426 test -z "$ac_c_werror_flag" ||
16427 test ! -s conftest.err
16428 } && test -s conftest$ac_exeext &&
16429 $as_test_x conftest$ac_exeext; then
16430 ac_cv_search_gethostbyname=$ac_res
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16440 if test "${ac_cv_search_gethostbyname+set}" = set; then
16444 if test "${ac_cv_search_gethostbyname+set}" = set; then
16447 ac_cv_search_gethostbyname=no
16449 rm conftest.$ac_ext
16450 LIBS=$ac_func_search_save_LIBS
16452 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16453 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16454 ac_res=$ac_cv_search_gethostbyname
16455 if test "$ac_res" != no; then
16456 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16461 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16462 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16463 if test "${ac_cv_search_connect+set}" = set; then
16464 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 ac_func_search_save_LIBS=$LIBS
16467 cat >conftest.$ac_ext <<_ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16474 /* Override any GCC internal prototype to avoid an error.
16475 Use char because int might match the return type of a GCC
16476 builtin and then its argument prototype would still apply. */
16489 for ac_lib in '' socket; do
16490 if test -z "$ac_lib"; then
16491 ac_res="none required"
16494 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16496 rm -f conftest.$ac_objext conftest$ac_exeext
16497 if { (ac_try="$ac_link"
16498 case "(($ac_try" in
16499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16500 *) ac_try_echo
=$ac_try;;
16502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16503 (eval "$ac_link") 2>conftest.er1
16505 grep -v '^ *+' conftest.er1
>conftest.err
16507 cat conftest.err
>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } && {
16510 test -z "$ac_c_werror_flag" ||
16511 test ! -s conftest.err
16512 } && test -s conftest
$ac_exeext &&
16513 $as_test_x conftest
$ac_exeext; then
16514 ac_cv_search_connect
=$ac_res
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.
$ac_ext >&5
16522 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16524 if test "${ac_cv_search_connect+set}" = set; then
16528 if test "${ac_cv_search_connect+set}" = set; then
16531 ac_cv_search_connect
=no
16533 rm conftest.
$ac_ext
16534 LIBS
=$ac_func_search_save_LIBS
16536 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16537 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16538 ac_res
=$ac_cv_search_connect
16539 if test "$ac_res" != no
; then
16540 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16545 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16546 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16547 if test "${ac_cv_search_inet_aton+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16550 ac_func_search_save_LIBS
=$LIBS
16551 cat >conftest.
$ac_ext <<_ACEOF
16554 cat confdefs.h
>>conftest.
$ac_ext
16555 cat >>conftest.
$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16558 /* Override any GCC internal prototype to avoid an error.
16559 Use char because int might match the return type of a GCC
16560 builtin and then its argument prototype would still apply. */
16568 return inet_aton ();
16573 for ac_lib
in '' resolv
; do
16574 if test -z "$ac_lib"; then
16575 ac_res
="none required"
16578 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16580 rm -f conftest.
$ac_objext conftest
$ac_exeext
16581 if { (ac_try
="$ac_link"
16582 case "(($ac_try" in
16583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16584 *) ac_try_echo=$ac_try;;
16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16587 (eval "$ac_link") 2>conftest.er1
16589 grep -v '^ *+' conftest.er1 >conftest.err
16591 cat conftest.err >&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); } && {
16594 test -z "$ac_c_werror_flag" ||
16595 test ! -s conftest.err
16596 } && test -s conftest$ac_exeext &&
16597 $as_test_x conftest$ac_exeext; then
16598 ac_cv_search_inet_aton=$ac_res
16600 echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16608 if test "${ac_cv_search_inet_aton+set}" = set; then
16612 if test "${ac_cv_search_inet_aton+set}" = set; then
16615 ac_cv_search_inet_aton=no
16617 rm conftest.$ac_ext
16618 LIBS=$ac_func_search_save_LIBS
16620 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16621 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16622 ac_res=$ac_cv_search_inet_aton
16623 if test "$ac_res" != no; then
16624 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16648 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16654 cat >conftest.$ac_ext <<_ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16662 #define $ac_func innocuous_$ac_func
16664 /* System header to define __stub macros and hopefully few prototypes,
16665 which can conflict with char $ac_func (); below.
16666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16667 <limits.h> exists even on freestanding compilers. */
16670 # include <limits.h>
16672 # include <assert.h>
16677 /* Override any GCC internal prototype to avoid an error.
16678 Use char because int might match the return type of a GCC
16679 builtin and then its argument prototype would still apply. */
16684 /* The GNU C library defines this for functions which it implements
16685 to always fail with ENOSYS. Some functions are actually named
16686 something starting with __ and the normal name is an alias. */
16687 #if defined __stub_$ac_func || defined __stub___$ac_func
16694 return $ac_func ();
16699 rm -f conftest.$ac_objext conftest$ac_exeext
16700 if { (ac_try="$ac_link"
16701 case "(($ac_try" in
16702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16703 *) ac_try_echo
=$ac_try;;
16705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16706 (eval "$ac_link") 2>conftest.er1
16708 grep -v '^ *+' conftest.er1
>conftest.err
16710 cat conftest.err
>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } && {
16713 test -z "$ac_c_werror_flag" ||
16714 test ! -s conftest.err
16715 } && test -s conftest
$ac_exeext &&
16716 $as_test_x conftest
$ac_exeext; then
16717 eval "$as_ac_var=yes"
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.
$ac_ext >&5
16722 eval "$as_ac_var=no"
16725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16726 conftest
$ac_exeext conftest.
$ac_ext
16728 ac_res
=`eval echo '${'$as_ac_var'}'`
16729 { echo "$as_me:$LINENO: result: $ac_res" >&5
16730 echo "${ECHO_T}$ac_res" >&6; }
16731 if test `eval echo '${'$as_ac_var'}'` = yes; then
16732 cat >>confdefs.h
<<_ACEOF
16733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16741 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16742 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16743 if test "${ac_cv_c_const+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 cat >conftest.
$ac_ext <<_ACEOF
16749 cat confdefs.h
>>conftest.
$ac_ext
16750 cat >>conftest.
$ac_ext <<_ACEOF
16751 /* end confdefs.h. */
16756 /* FIXME: Include the comments suggested by Paul. */
16757 #ifndef __cplusplus
16758 /* Ultrix mips cc rejects this. */
16759 typedef int charset[2];
16761 /* SunOS 4.1.1 cc rejects this. */
16762 char const *const *pcpcc;
16764 /* NEC SVR4.0.2 mips cc rejects this. */
16765 struct point {int x, y;};
16766 static struct point const zero = {0,0};
16767 /* AIX XL C 1.02.0.0 rejects this.
16768 It does not let you subtract one const X* pointer from another in
16769 an arm of an if-expression whose if-part is not a constant
16771 const char *g = "string";
16772 pcpcc = &g + (g ? g-g : 0);
16773 /* HPUX 7.0 cc rejects these. */
16775 ppc = (char**) pcpcc;
16776 pcpcc = (char const *const *) ppc;
16777 { /* SCO 3.2v4 cc rejects this. */
16779 char const *s = 0 ? (char *) 0 : (char const *) 0;
16784 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16785 int x[] = {25, 17};
16786 const int *foo = &x[0];
16789 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16790 typedef const int *iptr;
16794 { /* AIX XL C 1.02.0.0 rejects this saying
16795 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16796 struct s { int j; const int *ap[3]; };
16797 struct s *b; b->j = 5;
16799 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16800 const int foo = 10;
16801 if (!foo) return 0;
16803 return !cs[0] && !zero.x;
16810 rm -f conftest.
$ac_objext
16811 if { (ac_try
="$ac_compile"
16812 case "(($ac_try" in
16813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16814 *) ac_try_echo=$ac_try;;
16816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16817 (eval "$ac_compile") 2>conftest.er1
16819 grep -v '^ *+' conftest.er1 >conftest.err
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } && {
16824 test -z "$ac_c_werror_flag" ||
16825 test ! -s conftest.err
16826 } && test -s conftest.$ac_objext; then
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16837 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16838 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16839 if test $ac_cv_c_const = no; then
16841 cat >>confdefs.h <<\_ACEOF
16847 { echo "$as_me:$LINENO: checking for inline" >&5
16848 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16849 if test "${ac_cv_c_inline+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 for ac_kw in inline __inline__ __inline; do
16854 cat >conftest.$ac_ext <<_ACEOF
16857 cat confdefs.h >>conftest.$ac_ext
16858 cat >>conftest.$ac_ext <<_ACEOF
16859 /* end confdefs.h. */
16860 #ifndef __cplusplus
16862 static $ac_kw foo_t static_foo () {return 0; }
16863 $ac_kw foo_t foo () {return 0; }
16867 rm -f conftest.$ac_objext
16868 if { (ac_try="$ac_compile"
16869 case "(($ac_try" in
16870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16871 *) ac_try_echo
=$ac_try;;
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_compile") 2>conftest.er1
16876 grep -v '^ *+' conftest.er1
>conftest.err
16878 cat conftest.err
>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } && {
16881 test -z "$ac_c_werror_flag" ||
16882 test ! -s conftest.err
16883 } && test -s conftest.
$ac_objext; then
16884 ac_cv_c_inline
=$ac_kw
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.
$ac_ext >&5
16892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16893 test "$ac_cv_c_inline" != no
&& break
16897 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16898 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16901 case $ac_cv_c_inline in
16904 case $ac_cv_c_inline in
16906 *) ac_val
=$ac_cv_c_inline;;
16908 cat >>confdefs.h
<<_ACEOF
16909 #ifndef __cplusplus
16910 #define inline $ac_val
16916 { echo "$as_me:$LINENO: checking for mode_t" >&5
16917 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16918 if test "${ac_cv_type_mode_t+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 cat >conftest.
$ac_ext <<_ACEOF
16924 cat confdefs.h
>>conftest.
$ac_ext
16925 cat >>conftest.
$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 $ac_includes_default
16928 typedef mode_t ac__type_new_;
16932 if ((ac__type_new_ *) 0)
16934 if (sizeof (ac__type_new_))
16940 rm -f conftest.
$ac_objext
16941 if { (ac_try
="$ac_compile"
16942 case "(($ac_try" in
16943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16947 (eval "$ac_compile") 2>conftest.er1
16949 grep -v '^ *+' conftest.er1 >conftest.err
16951 cat conftest.err >&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } && {
16954 test -z "$ac_c_werror_flag" ||
16955 test ! -s conftest.err
16956 } && test -s conftest.$ac_objext; then
16957 ac_cv_type_mode_t=yes
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16962 ac_cv_type_mode_t=no
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16967 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16968 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16969 if test $ac_cv_type_mode_t = yes; then
16971 cat >>confdefs.h <<_ACEOF
16972 #define HAVE_MODE_T 1
16977 { echo "$as_me:$LINENO: checking for off_t" >&5
16978 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16979 if test "${ac_cv_type_off_t+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 cat >conftest.$ac_ext <<_ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 $ac_includes_default
16989 typedef off_t ac__type_new_;
16993 if ((ac__type_new_ *) 0)
16995 if (sizeof (ac__type_new_))
17001 rm -f conftest.$ac_objext
17002 if { (ac_try="$ac_compile"
17003 case "(($ac_try" in
17004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17005 *) ac_try_echo
=$ac_try;;
17007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17008 (eval "$ac_compile") 2>conftest.er1
17010 grep -v '^ *+' conftest.er1
>conftest.err
17012 cat conftest.err
>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } && {
17015 test -z "$ac_c_werror_flag" ||
17016 test ! -s conftest.err
17017 } && test -s conftest.
$ac_objext; then
17018 ac_cv_type_off_t
=yes
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.
$ac_ext >&5
17023 ac_cv_type_off_t
=no
17026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17028 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17029 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17030 if test $ac_cv_type_off_t = yes; then
17032 cat >>confdefs.h
<<_ACEOF
17033 #define HAVE_OFF_T 1
17038 { echo "$as_me:$LINENO: checking for pid_t" >&5
17039 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17040 if test "${ac_cv_type_pid_t+set}" = set; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 cat >conftest.
$ac_ext <<_ACEOF
17046 cat confdefs.h
>>conftest.
$ac_ext
17047 cat >>conftest.
$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 $ac_includes_default
17050 typedef pid_t ac__type_new_;
17054 if ((ac__type_new_ *) 0)
17056 if (sizeof (ac__type_new_))
17062 rm -f conftest.
$ac_objext
17063 if { (ac_try
="$ac_compile"
17064 case "(($ac_try" in
17065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17066 *) ac_try_echo=$ac_try;;
17068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17069 (eval "$ac_compile") 2>conftest.er1
17071 grep -v '^ *+' conftest.er1 >conftest.err
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } && {
17076 test -z "$ac_c_werror_flag" ||
17077 test ! -s conftest.err
17078 } && test -s conftest.$ac_objext; then
17079 ac_cv_type_pid_t=yes
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 ac_cv_type_pid_t=no
17087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17090 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17091 if test $ac_cv_type_pid_t = yes; then
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_PID_T 1
17099 { echo "$as_me:$LINENO: checking for size_t" >&5
17100 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17101 if test "${ac_cv_type_size_t+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17104 cat >conftest.$ac_ext <<_ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 $ac_includes_default
17111 typedef size_t ac__type_new_;
17115 if ((ac__type_new_ *) 0)
17117 if (sizeof (ac__type_new_))
17123 rm -f conftest.$ac_objext
17124 if { (ac_try="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17127 *) ac_try_echo
=$ac_try;;
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17132 grep -v '^ *+' conftest.er1
>conftest.err
17134 cat conftest.err
>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_c_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.
$ac_objext; then
17140 ac_cv_type_size_t
=yes
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.
$ac_ext >&5
17145 ac_cv_type_size_t
=no
17148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17150 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17151 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17152 if test $ac_cv_type_size_t = yes; then
17154 cat >>confdefs.h
<<_ACEOF
17155 #define HAVE_SIZE_T 1
17160 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17161 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17162 if test "${ac_cv_type_ssize_t+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 cat >conftest.
$ac_ext <<_ACEOF
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171 $ac_includes_default
17172 typedef ssize_t ac__type_new_;
17176 if ((ac__type_new_ *) 0)
17178 if (sizeof (ac__type_new_))
17184 rm -f conftest.
$ac_objext
17185 if { (ac_try
="$ac_compile"
17186 case "(($ac_try" in
17187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17188 *) ac_try_echo=$ac_try;;
17190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17191 (eval "$ac_compile") 2>conftest.er1
17193 grep -v '^ *+' conftest.er1 >conftest.err
17195 cat conftest.err >&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } && {
17198 test -z "$ac_c_werror_flag" ||
17199 test ! -s conftest.err
17200 } && test -s conftest.$ac_objext; then
17201 ac_cv_type_ssize_t=yes
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.$ac_ext >&5
17206 ac_cv_type_ssize_t=no
17209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17211 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17212 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17213 if test $ac_cv_type_ssize_t = yes; then
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_SSIZE_T 1
17221 { echo "$as_me:$LINENO: checking for long long" >&5
17222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17223 if test "${ac_cv_type_long_long+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 cat >conftest.$ac_ext <<_ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17233 typedef long long ac__type_new_;
17237 if ((ac__type_new_ *) 0)
17239 if (sizeof (ac__type_new_))
17245 rm -f conftest.$ac_objext
17246 if { (ac_try="$ac_compile"
17247 case "(($ac_try" in
17248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17249 *) ac_try_echo
=$ac_try;;
17251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17252 (eval "$ac_compile") 2>conftest.er1
17254 grep -v '^ *+' conftest.er1
>conftest.err
17256 cat conftest.err
>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } && {
17259 test -z "$ac_c_werror_flag" ||
17260 test ! -s conftest.err
17261 } && test -s conftest.
$ac_objext; then
17262 ac_cv_type_long_long
=yes
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.
$ac_ext >&5
17267 ac_cv_type_long_long
=no
17270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17274 if test $ac_cv_type_long_long = yes; then
17276 cat >>confdefs.h
<<_ACEOF
17277 #define HAVE_LONG_LONG 1
17282 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17283 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17284 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 cat >conftest.
$ac_ext <<_ACEOF
17290 cat confdefs.h
>>conftest.
$ac_ext
17291 cat >>conftest.
$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 $ac_includes_default
17294 typedef fsblkcnt_t ac__type_new_;
17298 if ((ac__type_new_ *) 0)
17300 if (sizeof (ac__type_new_))
17306 rm -f conftest.
$ac_objext
17307 if { (ac_try
="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17315 grep -v '^ *+' conftest.er1 >conftest.err
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_c_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.$ac_objext; then
17323 ac_cv_type_fsblkcnt_t=yes
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17328 ac_cv_type_fsblkcnt_t=no
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17334 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17335 if test $ac_cv_type_fsblkcnt_t = yes; then
17337 cat >>confdefs.h <<_ACEOF
17338 #define HAVE_FSBLKCNT_T 1
17343 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17344 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17345 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 cat >conftest.$ac_ext <<_ACEOF
17351 cat confdefs.h >>conftest.$ac_ext
17352 cat >>conftest.$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17354 $ac_includes_default
17355 typedef fsfilcnt_t ac__type_new_;
17359 if ((ac__type_new_ *) 0)
17361 if (sizeof (ac__type_new_))
17367 rm -f conftest.$ac_objext
17368 if { (ac_try="$ac_compile"
17369 case "(($ac_try" in
17370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17371 *) ac_try_echo
=$ac_try;;
17373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17374 (eval "$ac_compile") 2>conftest.er1
17376 grep -v '^ *+' conftest.er1
>conftest.err
17378 cat conftest.err
>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } && {
17381 test -z "$ac_c_werror_flag" ||
17382 test ! -s conftest.err
17383 } && test -s conftest.
$ac_objext; then
17384 ac_cv_type_fsfilcnt_t
=yes
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.
$ac_ext >&5
17389 ac_cv_type_fsfilcnt_t
=no
17392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17394 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17395 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17396 if test $ac_cv_type_fsfilcnt_t = yes; then
17398 cat >>confdefs.h
<<_ACEOF
17399 #define HAVE_FSFILCNT_T 1
17405 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17406 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17407 if test "${ac_cv_type_sigset_t+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17410 cat >conftest.
$ac_ext <<_ACEOF
17413 cat confdefs.h
>>conftest.
$ac_ext
17414 cat >>conftest.
$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 #include <signal.h>
17418 typedef sigset_t ac__type_new_;
17422 if ((ac__type_new_ *) 0)
17424 if (sizeof (ac__type_new_))
17430 rm -f conftest.
$ac_objext
17431 if { (ac_try
="$ac_compile"
17432 case "(($ac_try" in
17433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;;
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17437 (eval "$ac_compile") 2>conftest.er1
17439 grep -v '^ *+' conftest.er1 >conftest.err
17441 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } && {
17444 test -z "$ac_c_werror_flag" ||
17445 test ! -s conftest.err
17446 } && test -s conftest.$ac_objext; then
17447 ac_cv_type_sigset_t=yes
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 ac_cv_type_sigset_t=no
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17457 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17458 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17459 if test $ac_cv_type_sigset_t = yes; then
17461 cat >>confdefs.h <<_ACEOF
17462 #define HAVE_SIGSET_T 1
17468 { echo "$as_me:$LINENO: checking for request_sense" >&5
17469 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17470 if test "${ac_cv_type_request_sense+set}" = set; then
17471 echo $ECHO_N "(cached) $ECHO_C" >&6
17473 cat >conftest.$ac_ext <<_ACEOF
17476 cat confdefs.h >>conftest.$ac_ext
17477 cat >>conftest.$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 #include <linux/cdrom.h>
17481 typedef request_sense ac__type_new_;
17485 if ((ac__type_new_ *) 0)
17487 if (sizeof (ac__type_new_))
17493 rm -f conftest.$ac_objext
17494 if { (ac_try="$ac_compile"
17495 case "(($ac_try" in
17496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17497 *) ac_try_echo
=$ac_try;;
17499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17500 (eval "$ac_compile") 2>conftest.er1
17502 grep -v '^ *+' conftest.er1
>conftest.err
17504 cat conftest.err
>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } && {
17507 test -z "$ac_c_werror_flag" ||
17508 test ! -s conftest.err
17509 } && test -s conftest.
$ac_objext; then
17510 ac_cv_type_request_sense
=yes
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.
$ac_ext >&5
17515 ac_cv_type_request_sense
=no
17518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17520 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17521 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17522 if test $ac_cv_type_request_sense = yes; then
17524 cat >>confdefs.h
<<_ACEOF
17525 #define HAVE_REQUEST_SENSE 1
17532 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17533 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17534 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 cat >conftest.
$ac_ext <<_ACEOF
17540 cat confdefs.h
>>conftest.
$ac_ext
17541 cat >>conftest.
$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 #ifdef HAVE_LINUX_INPUT_H
17544 #include <linux/input.h>
17550 static struct ff_effect ac_aggr;
17551 if (ac_aggr.direction)
17557 rm -f conftest.
$ac_objext
17558 if { (ac_try
="$ac_compile"
17559 case "(($ac_try" in
17560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17561 *) ac_try_echo=$ac_try;;
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_compile") 2>conftest.er1
17566 grep -v '^ *+' conftest.er1 >conftest.err
17568 cat conftest.err >&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } && {
17571 test -z "$ac_c_werror_flag" ||
17572 test ! -s conftest.err
17573 } && test -s conftest.$ac_objext; then
17574 ac_cv_member_struct_ff_effect_direction=yes
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17579 cat >conftest.$ac_ext <<_ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17585 #ifdef HAVE_LINUX_INPUT_H
17586 #include <linux/input.h>
17592 static struct ff_effect ac_aggr;
17593 if (sizeof ac_aggr.direction)
17599 rm -f conftest.$ac_objext
17600 if { (ac_try="$ac_compile"
17601 case "(($ac_try" in
17602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17603 *) ac_try_echo
=$ac_try;;
17605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17606 (eval "$ac_compile") 2>conftest.er1
17608 grep -v '^ *+' conftest.er1
>conftest.err
17610 cat conftest.err
>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } && {
17613 test -z "$ac_c_werror_flag" ||
17614 test ! -s conftest.err
17615 } && test -s conftest.
$ac_objext; then
17616 ac_cv_member_struct_ff_effect_direction
=yes
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.
$ac_ext >&5
17621 ac_cv_member_struct_ff_effect_direction
=no
17624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17629 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17630 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17631 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17633 cat >>confdefs.h
<<_ACEOF
17634 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17641 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17642 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17643 if test "${wine_cv_have_sigaddset+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 cat >conftest.
$ac_ext <<_ACEOF
17649 cat confdefs.h
>>conftest.
$ac_ext
17650 cat >>conftest.
$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <signal.h>
17656 sigset_t set; sigaddset(&set,SIGTERM);
17661 rm -f conftest.
$ac_objext conftest
$ac_exeext
17662 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
17678 $as_test_x conftest$ac_exeext; then
17679 wine_cv_have_sigaddset=yes
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17684 wine_cv_have_sigaddset=no
17687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17688 conftest$ac_exeext conftest.$ac_ext
17690 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17691 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17692 if test "$wine_cv_have_sigaddset" = "yes"
17695 cat >>confdefs.h <<\_ACEOF
17696 #define HAVE_SIGADDSET 1
17702 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17703 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17704 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 cat >conftest.$ac_ext <<_ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17720 struct hostent *result;
17727 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17728 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17734 rm -f conftest.$ac_objext conftest$ac_exeext
17735 if { (ac_try="$ac_link"
17736 case "(($ac_try" in
17737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17738 *) ac_try_echo
=$ac_try;;
17740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17741 (eval "$ac_link") 2>conftest.er1
17743 grep -v '^ *+' conftest.er1
>conftest.err
17745 cat conftest.err
>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } && {
17748 test -z "$ac_c_werror_flag" ||
17749 test ! -s conftest.err
17750 } && test -s conftest
$ac_exeext &&
17751 $as_test_x conftest
$ac_exeext; then
17752 wine_cv_linux_gethostbyname_r_6
=yes
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.
$ac_ext >&5
17757 wine_cv_linux_gethostbyname_r_6
=no
17761 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17762 conftest
$ac_exeext conftest.
$ac_ext
17765 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17766 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17767 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17770 cat >>confdefs.h
<<\_ACEOF
17771 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17776 if test "$ac_cv_header_linux_joystick_h" = "yes"
17778 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17779 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17780 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 cat >conftest.
$ac_ext <<_ACEOF
17786 cat confdefs.h
>>conftest.
$ac_ext
17787 cat >>conftest.
$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17790 #include <sys/ioctl.h>
17791 #include <sys/types.h>
17792 #include <linux/joystick.h>
17794 struct js_event blub;
17795 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17796 #error "no 2.2 header"
17807 rm -f conftest.
$ac_objext
17808 if { (ac_try
="$ac_compile"
17809 case "(($ac_try" in
17810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17811 *) ac_try_echo=$ac_try;;
17813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17814 (eval "$ac_compile") 2>conftest.er1
17816 grep -v '^ *+' conftest.er1 >conftest.err
17818 cat conftest.err >&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } && {
17821 test -z "$ac_c_werror_flag" ||
17822 test ! -s conftest.err
17823 } && test -s conftest.$ac_objext; then
17824 wine_cv_linux_joystick_22_api=yes
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17829 wine_cv_linux_joystick_22_api=no
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17836 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17837 if test "$wine_cv_linux_joystick_22_api" = "yes"
17840 cat >>confdefs.h <<\_ACEOF
17841 #define HAVE_LINUX_22_JOYSTICK_API 1
17848 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17849 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17850 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 cat >conftest.$ac_ext <<_ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 #include <sys/types.h>
17860 #ifdef HAVE_SYS_PARAM_H
17861 # include <sys/param.h>
17863 #ifdef HAVE_SYS_MOUNT_H
17864 # include <sys/mount.h>
17866 #ifdef HAVE_SYS_VFS_H
17867 # include <sys/vfs.h>
17869 #ifdef HAVE_SYS_STATFS_H
17870 # include <sys/statfs.h>
17876 static struct statfs ac_aggr;
17877 if (ac_aggr.f_bfree)
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17887 *) ac_try_echo
=$ac_try;;
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17892 grep -v '^ *+' conftest.er1
>conftest.err
17894 cat conftest.err
>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.
$ac_objext; then
17900 ac_cv_member_struct_statfs_f_bfree
=yes
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.
$ac_ext >&5
17905 cat >conftest.
$ac_ext <<_ACEOF
17908 cat confdefs.h
>>conftest.
$ac_ext
17909 cat >>conftest.
$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 #include <sys/types.h>
17912 #ifdef HAVE_SYS_PARAM_H
17913 # include <sys/param.h>
17915 #ifdef HAVE_SYS_MOUNT_H
17916 # include <sys/mount.h>
17918 #ifdef HAVE_SYS_VFS_H
17919 # include <sys/vfs.h>
17921 #ifdef HAVE_SYS_STATFS_H
17922 # include <sys/statfs.h>
17928 static struct statfs ac_aggr;
17929 if (sizeof ac_aggr.f_bfree)
17935 rm -f conftest.
$ac_objext
17936 if { (ac_try
="$ac_compile"
17937 case "(($ac_try" in
17938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17939 *) ac_try_echo=$ac_try;;
17941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17942 (eval "$ac_compile") 2>conftest.er1
17944 grep -v '^ *+' conftest.er1 >conftest.err
17946 cat conftest.err >&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } && {
17949 test -z "$ac_c_werror_flag" ||
17950 test ! -s conftest.err
17951 } && test -s conftest.$ac_objext; then
17952 ac_cv_member_struct_statfs_f_bfree=yes
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17957 ac_cv_member_struct_statfs_f_bfree=no
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17966 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17967 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_STRUCT_STATFS_F_BFREE 1
17975 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17976 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17977 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 cat >conftest.$ac_ext <<_ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 #include <sys/types.h>
17987 #ifdef HAVE_SYS_PARAM_H
17988 # include <sys/param.h>
17990 #ifdef HAVE_SYS_MOUNT_H
17991 # include <sys/mount.h>
17993 #ifdef HAVE_SYS_VFS_H
17994 # include <sys/vfs.h>
17996 #ifdef HAVE_SYS_STATFS_H
17997 # include <sys/statfs.h>
18003 static struct statfs ac_aggr;
18004 if (ac_aggr.f_bavail)
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18014 *) ac_try_echo
=$ac_try;;
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18019 grep -v '^ *+' conftest.er1
>conftest.err
18021 cat conftest.err
>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.
$ac_objext; then
18027 ac_cv_member_struct_statfs_f_bavail
=yes
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.
$ac_ext >&5
18032 cat >conftest.
$ac_ext <<_ACEOF
18035 cat confdefs.h
>>conftest.
$ac_ext
18036 cat >>conftest.
$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 #include <sys/types.h>
18039 #ifdef HAVE_SYS_PARAM_H
18040 # include <sys/param.h>
18042 #ifdef HAVE_SYS_MOUNT_H
18043 # include <sys/mount.h>
18045 #ifdef HAVE_SYS_VFS_H
18046 # include <sys/vfs.h>
18048 #ifdef HAVE_SYS_STATFS_H
18049 # include <sys/statfs.h>
18055 static struct statfs ac_aggr;
18056 if (sizeof ac_aggr.f_bavail)
18062 rm -f conftest.
$ac_objext
18063 if { (ac_try
="$ac_compile"
18064 case "(($ac_try" in
18065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18066 *) ac_try_echo=$ac_try;;
18068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18069 (eval "$ac_compile") 2>conftest.er1
18071 grep -v '^ *+' conftest.er1 >conftest.err
18073 cat conftest.err >&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } && {
18076 test -z "$ac_c_werror_flag" ||
18077 test ! -s conftest.err
18078 } && test -s conftest.$ac_objext; then
18079 ac_cv_member_struct_statfs_f_bavail=yes
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ac_cv_member_struct_statfs_f_bavail=no
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18093 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18094 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18096 cat >>confdefs.h <<_ACEOF
18097 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18102 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18103 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18104 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18107 cat >conftest.$ac_ext <<_ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #include <sys/types.h>
18114 #ifdef HAVE_SYS_PARAM_H
18115 # include <sys/param.h>
18117 #ifdef HAVE_SYS_MOUNT_H
18118 # include <sys/mount.h>
18120 #ifdef HAVE_SYS_VFS_H
18121 # include <sys/vfs.h>
18123 #ifdef HAVE_SYS_STATFS_H
18124 # include <sys/statfs.h>
18130 static struct statfs ac_aggr;
18131 if (ac_aggr.f_frsize)
18137 rm -f conftest.$ac_objext
18138 if { (ac_try="$ac_compile"
18139 case "(($ac_try" in
18140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18141 *) ac_try_echo
=$ac_try;;
18143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18144 (eval "$ac_compile") 2>conftest.er1
18146 grep -v '^ *+' conftest.er1
>conftest.err
18148 cat conftest.err
>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && {
18151 test -z "$ac_c_werror_flag" ||
18152 test ! -s conftest.err
18153 } && test -s conftest.
$ac_objext; then
18154 ac_cv_member_struct_statfs_f_frsize
=yes
18156 echo "$as_me: failed program was:" >&5
18157 sed 's/^/| /' conftest.
$ac_ext >&5
18159 cat >conftest.
$ac_ext <<_ACEOF
18162 cat confdefs.h
>>conftest.
$ac_ext
18163 cat >>conftest.
$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18165 #include <sys/types.h>
18166 #ifdef HAVE_SYS_PARAM_H
18167 # include <sys/param.h>
18169 #ifdef HAVE_SYS_MOUNT_H
18170 # include <sys/mount.h>
18172 #ifdef HAVE_SYS_VFS_H
18173 # include <sys/vfs.h>
18175 #ifdef HAVE_SYS_STATFS_H
18176 # include <sys/statfs.h>
18182 static struct statfs ac_aggr;
18183 if (sizeof ac_aggr.f_frsize)
18189 rm -f conftest.
$ac_objext
18190 if { (ac_try
="$ac_compile"
18191 case "(($ac_try" in
18192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18193 *) ac_try_echo=$ac_try;;
18195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18196 (eval "$ac_compile") 2>conftest.er1
18198 grep -v '^ *+' conftest.er1 >conftest.err
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } && {
18203 test -z "$ac_c_werror_flag" ||
18204 test ! -s conftest.err
18205 } && test -s conftest.$ac_objext; then
18206 ac_cv_member_struct_statfs_f_frsize=yes
18208 echo "$as_me: failed program was:" >&5
18209 sed 's/^/| /' conftest.$ac_ext >&5
18211 ac_cv_member_struct_statfs_f_frsize=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18220 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18221 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18229 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18230 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18231 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 cat >conftest.$ac_ext <<_ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <sys/types.h>
18241 #ifdef HAVE_SYS_PARAM_H
18242 # include <sys/param.h>
18244 #ifdef HAVE_SYS_MOUNT_H
18245 # include <sys/mount.h>
18247 #ifdef HAVE_SYS_VFS_H
18248 # include <sys/vfs.h>
18250 #ifdef HAVE_SYS_STATFS_H
18251 # include <sys/statfs.h>
18257 static struct statfs ac_aggr;
18258 if (ac_aggr.f_ffree)
18264 rm -f conftest.$ac_objext
18265 if { (ac_try="$ac_compile"
18266 case "(($ac_try" in
18267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18268 *) ac_try_echo
=$ac_try;;
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_compile") 2>conftest.er1
18273 grep -v '^ *+' conftest.er1
>conftest.err
18275 cat conftest.err
>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_c_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest.
$ac_objext; then
18281 ac_cv_member_struct_statfs_f_ffree
=yes
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.
$ac_ext >&5
18286 cat >conftest.
$ac_ext <<_ACEOF
18289 cat confdefs.h
>>conftest.
$ac_ext
18290 cat >>conftest.
$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 #include <sys/types.h>
18293 #ifdef HAVE_SYS_PARAM_H
18294 # include <sys/param.h>
18296 #ifdef HAVE_SYS_MOUNT_H
18297 # include <sys/mount.h>
18299 #ifdef HAVE_SYS_VFS_H
18300 # include <sys/vfs.h>
18302 #ifdef HAVE_SYS_STATFS_H
18303 # include <sys/statfs.h>
18309 static struct statfs ac_aggr;
18310 if (sizeof ac_aggr.f_ffree)
18316 rm -f conftest.
$ac_objext
18317 if { (ac_try
="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18325 grep -v '^ *+' conftest.er1 >conftest.err
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_member_struct_statfs_f_ffree=yes
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 ac_cv_member_struct_statfs_f_ffree=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18347 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18348 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define HAVE_STRUCT_STATFS_F_FFREE 1
18356 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18357 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.$ac_ext <<_ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #include <sys/types.h>
18368 #ifdef HAVE_SYS_PARAM_H
18369 # include <sys/param.h>
18371 #ifdef HAVE_SYS_MOUNT_H
18372 # include <sys/mount.h>
18374 #ifdef HAVE_SYS_VFS_H
18375 # include <sys/vfs.h>
18377 #ifdef HAVE_SYS_STATFS_H
18378 # include <sys/statfs.h>
18384 static struct statfs ac_aggr;
18385 if (ac_aggr.f_favail)
18391 rm -f conftest.$ac_objext
18392 if { (ac_try="$ac_compile"
18393 case "(($ac_try" in
18394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18395 *) ac_try_echo
=$ac_try;;
18397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18398 (eval "$ac_compile") 2>conftest.er1
18400 grep -v '^ *+' conftest.er1
>conftest.err
18402 cat conftest.err
>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } && {
18405 test -z "$ac_c_werror_flag" ||
18406 test ! -s conftest.err
18407 } && test -s conftest.
$ac_objext; then
18408 ac_cv_member_struct_statfs_f_favail
=yes
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18413 cat >conftest.
$ac_ext <<_ACEOF
18416 cat confdefs.h
>>conftest.
$ac_ext
18417 cat >>conftest.
$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 #include <sys/types.h>
18420 #ifdef HAVE_SYS_PARAM_H
18421 # include <sys/param.h>
18423 #ifdef HAVE_SYS_MOUNT_H
18424 # include <sys/mount.h>
18426 #ifdef HAVE_SYS_VFS_H
18427 # include <sys/vfs.h>
18429 #ifdef HAVE_SYS_STATFS_H
18430 # include <sys/statfs.h>
18436 static struct statfs ac_aggr;
18437 if (sizeof ac_aggr.f_favail)
18443 rm -f conftest.
$ac_objext
18444 if { (ac_try
="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1 >conftest.err
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_member_struct_statfs_f_favail=yes
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 ac_cv_member_struct_statfs_f_favail=no
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18474 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18475 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18483 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18484 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18485 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 cat >conftest.$ac_ext <<_ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 #include <sys/types.h>
18495 #ifdef HAVE_SYS_PARAM_H
18496 # include <sys/param.h>
18498 #ifdef HAVE_SYS_MOUNT_H
18499 # include <sys/mount.h>
18501 #ifdef HAVE_SYS_VFS_H
18502 # include <sys/vfs.h>
18504 #ifdef HAVE_SYS_STATFS_H
18505 # include <sys/statfs.h>
18511 static struct statfs ac_aggr;
18512 if (ac_aggr.f_namelen)
18518 rm -f conftest.$ac_objext
18519 if { (ac_try="$ac_compile"
18520 case "(($ac_try" in
18521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18522 *) ac_try_echo
=$ac_try;;
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_compile") 2>conftest.er1
18527 grep -v '^ *+' conftest.er1
>conftest.err
18529 cat conftest.err
>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } && {
18532 test -z "$ac_c_werror_flag" ||
18533 test ! -s conftest.err
18534 } && test -s conftest.
$ac_objext; then
18535 ac_cv_member_struct_statfs_f_namelen
=yes
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.
$ac_ext >&5
18540 cat >conftest.
$ac_ext <<_ACEOF
18543 cat confdefs.h
>>conftest.
$ac_ext
18544 cat >>conftest.
$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 #include <sys/types.h>
18547 #ifdef HAVE_SYS_PARAM_H
18548 # include <sys/param.h>
18550 #ifdef HAVE_SYS_MOUNT_H
18551 # include <sys/mount.h>
18553 #ifdef HAVE_SYS_VFS_H
18554 # include <sys/vfs.h>
18556 #ifdef HAVE_SYS_STATFS_H
18557 # include <sys/statfs.h>
18563 static struct statfs ac_aggr;
18564 if (sizeof ac_aggr.f_namelen)
18570 rm -f conftest.
$ac_objext
18571 if { (ac_try
="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18579 grep -v '^ *+' conftest.er1 >conftest.err
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_member_struct_statfs_f_namelen=yes
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_cv_member_struct_statfs_f_namelen=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18601 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18602 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18612 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18613 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18614 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18617 cat >conftest.$ac_ext <<_ACEOF
18620 cat confdefs.h >>conftest.$ac_ext
18621 cat >>conftest.$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 #ifdef HAVE_SYS_STATVFS_H
18624 #include <sys/statvfs.h>
18630 static struct statvfs ac_aggr;
18631 if (ac_aggr.f_blocks)
18637 rm -f conftest.$ac_objext
18638 if { (ac_try="$ac_compile"
18639 case "(($ac_try" in
18640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18641 *) ac_try_echo
=$ac_try;;
18643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18644 (eval "$ac_compile") 2>conftest.er1
18646 grep -v '^ *+' conftest.er1
>conftest.err
18648 cat conftest.err
>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } && {
18651 test -z "$ac_c_werror_flag" ||
18652 test ! -s conftest.err
18653 } && test -s conftest.
$ac_objext; then
18654 ac_cv_member_struct_statvfs_f_blocks
=yes
18656 echo "$as_me: failed program was:" >&5
18657 sed 's/^/| /' conftest.
$ac_ext >&5
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 #ifdef HAVE_SYS_STATVFS_H
18666 #include <sys/statvfs.h>
18672 static struct statvfs ac_aggr;
18673 if (sizeof ac_aggr.f_blocks)
18679 rm -f conftest.
$ac_objext
18680 if { (ac_try
="$ac_compile"
18681 case "(($ac_try" in
18682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18683 *) ac_try_echo=$ac_try;;
18685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18686 (eval "$ac_compile") 2>conftest.er1
18688 grep -v '^ *+' conftest.er1 >conftest.err
18690 cat conftest.err >&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } && {
18693 test -z "$ac_c_werror_flag" ||
18694 test ! -s conftest.err
18695 } && test -s conftest.$ac_objext; then
18696 ac_cv_member_struct_statvfs_f_blocks=yes
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18701 ac_cv_member_struct_statvfs_f_blocks=no
18704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18710 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18711 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18713 cat >>confdefs.h <<_ACEOF
18714 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18721 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18722 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18723 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18726 cat >conftest.$ac_ext <<_ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 #include <sys/types.h>
18733 #ifdef HAVE_SYS_SOCKET_H
18734 # include <sys/socket.h>
18736 #ifdef HAVE_SYS_UN_H
18737 # include <sys/un.h>
18743 static struct msghdr ac_aggr;
18744 if (ac_aggr.msg_accrights)
18750 rm -f conftest.$ac_objext
18751 if { (ac_try="$ac_compile"
18752 case "(($ac_try" in
18753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18754 *) ac_try_echo
=$ac_try;;
18756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18757 (eval "$ac_compile") 2>conftest.er1
18759 grep -v '^ *+' conftest.er1
>conftest.err
18761 cat conftest.err
>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } && {
18764 test -z "$ac_c_werror_flag" ||
18765 test ! -s conftest.err
18766 } && test -s conftest.
$ac_objext; then
18767 ac_cv_member_struct_msghdr_msg_accrights
=yes
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.
$ac_ext >&5
18772 cat >conftest.
$ac_ext <<_ACEOF
18775 cat confdefs.h
>>conftest.
$ac_ext
18776 cat >>conftest.
$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 #include <sys/types.h>
18779 #ifdef HAVE_SYS_SOCKET_H
18780 # include <sys/socket.h>
18782 #ifdef HAVE_SYS_UN_H
18783 # include <sys/un.h>
18789 static struct msghdr ac_aggr;
18790 if (sizeof ac_aggr.msg_accrights)
18796 rm -f conftest.
$ac_objext
18797 if { (ac_try
="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18805 grep -v '^ *+' conftest.er1 >conftest.err
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 ac_cv_member_struct_msghdr_msg_accrights=yes
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 ac_cv_member_struct_msghdr_msg_accrights=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18827 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18828 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18830 cat >>confdefs.h <<_ACEOF
18831 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18836 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18837 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18838 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 cat >conftest.$ac_ext <<_ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 #include <sys/types.h>
18848 #ifdef HAVE_SYS_SOCKET_H
18849 # include <sys/socket.h>
18851 #ifdef HAVE_SYS_UN_H
18852 # include <sys/un.h>
18858 static struct sockaddr ac_aggr;
18859 if (ac_aggr.sa_len)
18865 rm -f conftest.$ac_objext
18866 if { (ac_try="$ac_compile"
18867 case "(($ac_try" in
18868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18869 *) ac_try_echo
=$ac_try;;
18871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18872 (eval "$ac_compile") 2>conftest.er1
18874 grep -v '^ *+' conftest.er1
>conftest.err
18876 cat conftest.err
>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } && {
18879 test -z "$ac_c_werror_flag" ||
18880 test ! -s conftest.err
18881 } && test -s conftest.
$ac_objext; then
18882 ac_cv_member_struct_sockaddr_sa_len
=yes
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.
$ac_ext >&5
18887 cat >conftest.
$ac_ext <<_ACEOF
18890 cat confdefs.h
>>conftest.
$ac_ext
18891 cat >>conftest.
$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893 #include <sys/types.h>
18894 #ifdef HAVE_SYS_SOCKET_H
18895 # include <sys/socket.h>
18897 #ifdef HAVE_SYS_UN_H
18898 # include <sys/un.h>
18904 static struct sockaddr ac_aggr;
18905 if (sizeof ac_aggr.sa_len)
18911 rm -f conftest.
$ac_objext
18912 if { (ac_try
="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18920 grep -v '^ *+' conftest.er1 >conftest.err
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 ac_cv_member_struct_sockaddr_sa_len=yes
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 ac_cv_member_struct_sockaddr_sa_len=no
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18941 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18942 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18943 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18945 cat >>confdefs.h <<_ACEOF
18946 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18951 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18952 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18953 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 cat >conftest.$ac_ext <<_ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 #include <sys/types.h>
18963 #ifdef HAVE_SYS_SOCKET_H
18964 # include <sys/socket.h>
18966 #ifdef HAVE_SYS_UN_H
18967 # include <sys/un.h>
18973 static struct sockaddr_un ac_aggr;
18974 if (ac_aggr.sun_len)
18980 rm -f conftest.$ac_objext
18981 if { (ac_try="$ac_compile"
18982 case "(($ac_try" in
18983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18984 *) ac_try_echo
=$ac_try;;
18986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18987 (eval "$ac_compile") 2>conftest.er1
18989 grep -v '^ *+' conftest.er1
>conftest.err
18991 cat conftest.err
>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } && {
18994 test -z "$ac_c_werror_flag" ||
18995 test ! -s conftest.err
18996 } && test -s conftest.
$ac_objext; then
18997 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.
$ac_ext >&5
19002 cat >conftest.
$ac_ext <<_ACEOF
19005 cat confdefs.h
>>conftest.
$ac_ext
19006 cat >>conftest.
$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008 #include <sys/types.h>
19009 #ifdef HAVE_SYS_SOCKET_H
19010 # include <sys/socket.h>
19012 #ifdef HAVE_SYS_UN_H
19013 # include <sys/un.h>
19019 static struct sockaddr_un ac_aggr;
19020 if (sizeof ac_aggr.sun_len)
19026 rm -f conftest.
$ac_objext
19027 if { (ac_try
="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_compile") 2>conftest.er1
19035 grep -v '^ *+' conftest.er1 >conftest.err
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && {
19040 test -z "$ac_c_werror_flag" ||
19041 test ! -s conftest.err
19042 } && test -s conftest.$ac_objext; then
19043 ac_cv_member_struct_sockaddr_un_sun_len=yes
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19048 ac_cv_member_struct_sockaddr_un_sun_len=no
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19057 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19058 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19068 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19069 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19070 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 cat >conftest.$ac_ext <<_ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <sys/types.h>
19080 #ifdef HAVE_SCSI_SG_H
19081 #include <scsi/sg.h>
19087 static scsireq_t ac_aggr;
19094 rm -f conftest.$ac_objext
19095 if { (ac_try="$ac_compile"
19096 case "(($ac_try" in
19097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19098 *) ac_try_echo
=$ac_try;;
19100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19101 (eval "$ac_compile") 2>conftest.er1
19103 grep -v '^ *+' conftest.er1
>conftest.err
19105 cat conftest.err
>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } && {
19108 test -z "$ac_c_werror_flag" ||
19109 test ! -s conftest.err
19110 } && test -s conftest.
$ac_objext; then
19111 ac_cv_member_scsireq_t_cmd
=yes
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.
$ac_ext >&5
19116 cat >conftest.
$ac_ext <<_ACEOF
19119 cat confdefs.h
>>conftest.
$ac_ext
19120 cat >>conftest.
$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 #include <sys/types.h>
19123 #ifdef HAVE_SCSI_SG_H
19124 #include <scsi/sg.h>
19130 static scsireq_t ac_aggr;
19131 if (sizeof ac_aggr.cmd)
19137 rm -f conftest.
$ac_objext
19138 if { (ac_try
="$ac_compile"
19139 case "(($ac_try" in
19140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19141 *) ac_try_echo=$ac_try;;
19143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19144 (eval "$ac_compile") 2>conftest.er1
19146 grep -v '^ *+' conftest.er1 >conftest.err
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } && {
19151 test -z "$ac_c_werror_flag" ||
19152 test ! -s conftest.err
19153 } && test -s conftest.$ac_objext; then
19154 ac_cv_member_scsireq_t_cmd=yes
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 ac_cv_member_scsireq_t_cmd=no
19162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19168 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19169 if test $ac_cv_member_scsireq_t_cmd = yes; then
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_SCSIREQ_T_CMD 1
19177 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19178 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19179 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19180 echo $ECHO_N "(cached) $ECHO_C" >&6
19182 cat >conftest.$ac_ext <<_ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 #include <sys/types.h>
19189 #ifdef HAVE_SCSI_SG_H
19190 #include <scsi/sg.h>
19196 static sg_io_hdr_t ac_aggr;
19197 if (ac_aggr.interface_id)
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19207 *) ac_try_echo
=$ac_try;;
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19212 grep -v '^ *+' conftest.er1
>conftest.err
19214 cat conftest.err
>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.
$ac_objext; then
19220 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.
$ac_ext >&5
19225 cat >conftest.
$ac_ext <<_ACEOF
19228 cat confdefs.h
>>conftest.
$ac_ext
19229 cat >>conftest.
$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 #include <sys/types.h>
19232 #ifdef HAVE_SCSI_SG_H
19233 #include <scsi/sg.h>
19239 static sg_io_hdr_t ac_aggr;
19240 if (sizeof ac_aggr.interface_id)
19246 rm -f conftest.
$ac_objext
19247 if { (ac_try
="$ac_compile"
19248 case "(($ac_try" in
19249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19250 *) ac_try_echo=$ac_try;;
19252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19253 (eval "$ac_compile") 2>conftest.er1
19255 grep -v '^ *+' conftest.er1 >conftest.err
19257 cat conftest.err >&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); } && {
19260 test -z "$ac_c_werror_flag" ||
19261 test ! -s conftest.err
19262 } && test -s conftest.$ac_objext; then
19263 ac_cv_member_sg_io_hdr_t_interface_id=yes
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.$ac_ext >&5
19268 ac_cv_member_sg_io_hdr_t_interface_id=no
19271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19276 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19277 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19278 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19288 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19289 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19290 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 cat >conftest.$ac_ext <<_ACEOF
19296 cat confdefs.h >>conftest.$ac_ext
19297 cat >>conftest.$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19299 #include <signal.h>
19304 static siginfo_t ac_aggr;
19311 rm -f conftest.$ac_objext
19312 if { (ac_try="$ac_compile"
19313 case "(($ac_try" in
19314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19315 *) ac_try_echo
=$ac_try;;
19317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19318 (eval "$ac_compile") 2>conftest.er1
19320 grep -v '^ *+' conftest.er1
>conftest.err
19322 cat conftest.err
>&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } && {
19325 test -z "$ac_c_werror_flag" ||
19326 test ! -s conftest.err
19327 } && test -s conftest.
$ac_objext; then
19328 ac_cv_member_siginfo_t_si_fd
=yes
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.
$ac_ext >&5
19333 cat >conftest.
$ac_ext <<_ACEOF
19336 cat confdefs.h
>>conftest.
$ac_ext
19337 cat >>conftest.
$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 #include <signal.h>
19344 static siginfo_t ac_aggr;
19345 if (sizeof ac_aggr.si_fd)
19351 rm -f conftest.
$ac_objext
19352 if { (ac_try
="$ac_compile"
19353 case "(($ac_try" in
19354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19355 *) ac_try_echo=$ac_try;;
19357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19358 (eval "$ac_compile") 2>conftest.er1
19360 grep -v '^ *+' conftest.er1 >conftest.err
19362 cat conftest.err >&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } && {
19365 test -z "$ac_c_werror_flag" ||
19366 test ! -s conftest.err
19367 } && test -s conftest.$ac_objext; then
19368 ac_cv_member_siginfo_t_si_fd=yes
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 ac_cv_member_siginfo_t_si_fd=no
19376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19381 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19382 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19383 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19385 cat >>confdefs.h <<_ACEOF
19386 #define HAVE_SIGINFO_T_SI_FD 1
19393 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19394 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19395 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19398 cat >conftest.$ac_ext <<_ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <sys/types.h>
19405 #ifdef HAVE_SYS_MTIO_H
19406 #include <sys/mtio.h>
19412 static struct mtget ac_aggr;
19413 if (ac_aggr.mt_blksiz)
19419 rm -f conftest.$ac_objext
19420 if { (ac_try="$ac_compile"
19421 case "(($ac_try" in
19422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19423 *) ac_try_echo
=$ac_try;;
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_compile") 2>conftest.er1
19428 grep -v '^ *+' conftest.er1
>conftest.err
19430 cat conftest.err
>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } && {
19433 test -z "$ac_c_werror_flag" ||
19434 test ! -s conftest.err
19435 } && test -s conftest.
$ac_objext; then
19436 ac_cv_member_struct_mtget_mt_blksiz
=yes
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.
$ac_ext >&5
19441 cat >conftest.
$ac_ext <<_ACEOF
19444 cat confdefs.h
>>conftest.
$ac_ext
19445 cat >>conftest.
$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19447 #include <sys/types.h>
19448 #ifdef HAVE_SYS_MTIO_H
19449 #include <sys/mtio.h>
19455 static struct mtget ac_aggr;
19456 if (sizeof ac_aggr.mt_blksiz)
19462 rm -f conftest.
$ac_objext
19463 if { (ac_try
="$ac_compile"
19464 case "(($ac_try" in
19465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19466 *) ac_try_echo=$ac_try;;
19468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19469 (eval "$ac_compile") 2>conftest.er1
19471 grep -v '^ *+' conftest.er1 >conftest.err
19473 cat conftest.err >&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } && {
19476 test -z "$ac_c_werror_flag" ||
19477 test ! -s conftest.err
19478 } && test -s conftest.$ac_objext; then
19479 ac_cv_member_struct_mtget_mt_blksiz=yes
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19484 ac_cv_member_struct_mtget_mt_blksiz=no
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19492 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19493 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19494 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19496 cat >>confdefs.h <<_ACEOF
19497 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19502 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19503 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19504 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 cat >conftest.$ac_ext <<_ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 #include <sys/types.h>
19514 #ifdef HAVE_SYS_MTIO_H
19515 #include <sys/mtio.h>
19521 static struct mtget ac_aggr;
19522 if (ac_aggr.mt_gstat)
19528 rm -f conftest.$ac_objext
19529 if { (ac_try="$ac_compile"
19530 case "(($ac_try" in
19531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19532 *) ac_try_echo
=$ac_try;;
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_compile") 2>conftest.er1
19537 grep -v '^ *+' conftest.er1
>conftest.err
19539 cat conftest.err
>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_c_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest.
$ac_objext; then
19545 ac_cv_member_struct_mtget_mt_gstat
=yes
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.
$ac_ext >&5
19550 cat >conftest.
$ac_ext <<_ACEOF
19553 cat confdefs.h
>>conftest.
$ac_ext
19554 cat >>conftest.
$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 #include <sys/types.h>
19557 #ifdef HAVE_SYS_MTIO_H
19558 #include <sys/mtio.h>
19564 static struct mtget ac_aggr;
19565 if (sizeof ac_aggr.mt_gstat)
19571 rm -f conftest.
$ac_objext
19572 if { (ac_try
="$ac_compile"
19573 case "(($ac_try" in
19574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_compile") 2>conftest.er1
19580 grep -v '^ *+' conftest.er1 >conftest.err
19582 cat conftest.err >&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } && {
19585 test -z "$ac_c_werror_flag" ||
19586 test ! -s conftest.err
19587 } && test -s conftest.$ac_objext; then
19588 ac_cv_member_struct_mtget_mt_gstat=yes
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19593 ac_cv_member_struct_mtget_mt_gstat=no
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19601 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19602 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19603 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19605 cat >>confdefs.h <<_ACEOF
19606 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19611 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19612 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19613 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 cat >conftest.$ac_ext <<_ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 #include <sys/types.h>
19623 #ifdef HAVE_SYS_MTIO_H
19624 #include <sys/mtio.h>
19630 static struct mtget ac_aggr;
19631 if (ac_aggr.mt_blkno)
19637 rm -f conftest.$ac_objext
19638 if { (ac_try="$ac_compile"
19639 case "(($ac_try" in
19640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19641 *) ac_try_echo
=$ac_try;;
19643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19644 (eval "$ac_compile") 2>conftest.er1
19646 grep -v '^ *+' conftest.er1
>conftest.err
19648 cat conftest.err
>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } && {
19651 test -z "$ac_c_werror_flag" ||
19652 test ! -s conftest.err
19653 } && test -s conftest.
$ac_objext; then
19654 ac_cv_member_struct_mtget_mt_blkno
=yes
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19659 cat >conftest.
$ac_ext <<_ACEOF
19662 cat confdefs.h
>>conftest.
$ac_ext
19663 cat >>conftest.
$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #include <sys/types.h>
19666 #ifdef HAVE_SYS_MTIO_H
19667 #include <sys/mtio.h>
19673 static struct mtget ac_aggr;
19674 if (sizeof ac_aggr.mt_blkno)
19680 rm -f conftest.
$ac_objext
19681 if { (ac_try
="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19689 grep -v '^ *+' conftest.er1 >conftest.err
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest.$ac_objext; then
19697 ac_cv_member_struct_mtget_mt_blkno=yes
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19702 ac_cv_member_struct_mtget_mt_blkno=no
19705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19710 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19711 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19712 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19714 cat >>confdefs.h <<_ACEOF
19715 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19722 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19723 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19724 if test "${ac_cv_member_struct_option_name+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 #ifdef HAVE_GETOPT_H
19734 #include <getopt.h>
19740 static struct option ac_aggr;
19747 rm -f conftest.$ac_objext
19748 if { (ac_try="$ac_compile"
19749 case "(($ac_try" in
19750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19751 *) ac_try_echo
=$ac_try;;
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_compile") 2>conftest.er1
19756 grep -v '^ *+' conftest.er1
>conftest.err
19758 cat conftest.err
>&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } && {
19761 test -z "$ac_c_werror_flag" ||
19762 test ! -s conftest.err
19763 } && test -s conftest.
$ac_objext; then
19764 ac_cv_member_struct_option_name
=yes
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.
$ac_ext >&5
19769 cat >conftest.
$ac_ext <<_ACEOF
19772 cat confdefs.h
>>conftest.
$ac_ext
19773 cat >>conftest.
$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 #ifdef HAVE_GETOPT_H
19776 #include <getopt.h>
19782 static struct option ac_aggr;
19783 if (sizeof ac_aggr.name)
19789 rm -f conftest.
$ac_objext
19790 if { (ac_try
="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19798 grep -v '^ *+' conftest.er1 >conftest.err
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19806 ac_cv_member_struct_option_name=yes
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19811 ac_cv_member_struct_option_name=no
19814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19820 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19821 if test $ac_cv_member_struct_option_name = yes; then
19823 cat >>confdefs.h <<_ACEOF
19824 #define HAVE_STRUCT_OPTION_NAME 1
19831 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19832 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19833 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19836 cat >conftest.$ac_ext <<_ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 $ac_includes_default
19846 static struct stat ac_aggr;
19847 if (ac_aggr.st_blocks)
19853 rm -f conftest.$ac_objext
19854 if { (ac_try="$ac_compile"
19855 case "(($ac_try" in
19856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19857 *) ac_try_echo
=$ac_try;;
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_compile") 2>conftest.er1
19862 grep -v '^ *+' conftest.er1
>conftest.err
19864 cat conftest.err
>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest.
$ac_objext; then
19870 ac_cv_member_struct_stat_st_blocks
=yes
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.
$ac_ext >&5
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19885 static struct stat ac_aggr;
19886 if (sizeof ac_aggr.st_blocks)
19892 rm -f conftest.
$ac_objext
19893 if { (ac_try
="$ac_compile"
19894 case "(($ac_try" in
19895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_compile") 2>conftest.er1
19901 grep -v '^ *+' conftest.er1 >conftest.err
19903 cat conftest.err >&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } && {
19906 test -z "$ac_c_werror_flag" ||
19907 test ! -s conftest.err
19908 } && test -s conftest.$ac_objext; then
19909 ac_cv_member_struct_stat_st_blocks=yes
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19914 ac_cv_member_struct_stat_st_blocks=no
19917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19922 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19923 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19924 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19926 cat >>confdefs.h <<_ACEOF
19927 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19934 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19935 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19936 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 cat >conftest.$ac_ext <<_ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #ifdef HAVE_SYS_TYPES_H
19946 #include <sys/types.h>
19948 #ifdef HAVE_NETINET_IN_H
19949 #include <netinet/in.h>
19955 static struct sockaddr_in6 ac_aggr;
19956 if (ac_aggr.sin6_scope_id)
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19966 *) ac_try_echo
=$ac_try;;
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19971 grep -v '^ *+' conftest.er1
>conftest.err
19973 cat conftest.err
>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.
$ac_objext; then
19979 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 cat >conftest.
$ac_ext <<_ACEOF
19987 cat confdefs.h
>>conftest.
$ac_ext
19988 cat >>conftest.
$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 #ifdef HAVE_SYS_TYPES_H
19991 #include <sys/types.h>
19993 #ifdef HAVE_NETINET_IN_H
19994 #include <netinet/in.h>
20000 static struct sockaddr_in6 ac_aggr;
20001 if (sizeof ac_aggr.sin6_scope_id)
20007 rm -f conftest.
$ac_objext
20008 if { (ac_try
="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20016 grep -v '^ *+' conftest.er1 >conftest.err
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20038 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20039 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20049 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20050 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 cat >conftest.$ac_ext <<_ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #ifdef HAVE_SYS_TYPES_H
20061 #include <sys/types.h>
20063 #ifdef HAVE_NETINET_IN_H
20064 # include <netinet/in.h>
20066 #ifdef HAVE_ARPA_NAMESER_H
20067 # include <arpa/nameser.h>
20073 static ns_msg ac_aggr;
20074 if (ac_aggr._msg_ptr)
20080 rm -f conftest.$ac_objext
20081 if { (ac_try="$ac_compile"
20082 case "(($ac_try" in
20083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20084 *) ac_try_echo
=$ac_try;;
20086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20087 (eval "$ac_compile") 2>conftest.er1
20089 grep -v '^ *+' conftest.er1
>conftest.err
20091 cat conftest.err
>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } && {
20094 test -z "$ac_c_werror_flag" ||
20095 test ! -s conftest.err
20096 } && test -s conftest.
$ac_objext; then
20097 ac_cv_member_ns_msg__msg_ptr
=yes
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.
$ac_ext >&5
20102 cat >conftest.
$ac_ext <<_ACEOF
20105 cat confdefs.h
>>conftest.
$ac_ext
20106 cat >>conftest.
$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 #ifdef HAVE_SYS_TYPES_H
20109 #include <sys/types.h>
20111 #ifdef HAVE_NETINET_IN_H
20112 # include <netinet/in.h>
20114 #ifdef HAVE_ARPA_NAMESER_H
20115 # include <arpa/nameser.h>
20121 static ns_msg ac_aggr;
20122 if (sizeof ac_aggr._msg_ptr)
20128 rm -f conftest.
$ac_objext
20129 if { (ac_try
="$ac_compile"
20130 case "(($ac_try" in
20131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20132 *) ac_try_echo=$ac_try;;
20134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20135 (eval "$ac_compile") 2>conftest.er1
20137 grep -v '^ *+' conftest.er1 >conftest.err
20139 cat conftest.err >&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } && {
20142 test -z "$ac_c_werror_flag" ||
20143 test ! -s conftest.err
20144 } && test -s conftest.$ac_objext; then
20145 ac_cv_member_ns_msg__msg_ptr=yes
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 ac_cv_member_ns_msg__msg_ptr=no
20153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20159 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20160 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20162 cat >>confdefs.h <<_ACEOF
20163 #define HAVE_NS_MSG__MSG_PTR 1
20170 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20171 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20172 if test "${ac_cv_have_timezone+set}" = set; then
20173 echo $ECHO_N "(cached) $ECHO_C" >&6
20175 cat >conftest.$ac_ext <<_ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20190 rm -f conftest.$ac_objext conftest$ac_exeext
20191 if { (ac_try="$ac_link"
20192 case "(($ac_try" in
20193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20194 *) ac_try_echo
=$ac_try;;
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_link") 2>conftest.er1
20199 grep -v '^ *+' conftest.er1
>conftest.err
20201 cat conftest.err
>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest
$ac_exeext &&
20207 $as_test_x conftest
$ac_exeext; then
20208 ac_cv_have_timezone
="yes"
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.
$ac_ext >&5
20213 ac_cv_have_timezone
="no"
20216 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20217 conftest
$ac_exeext conftest.
$ac_ext
20219 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20220 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20221 if test "$ac_cv_have_timezone" = "yes"
20224 cat >>confdefs.h
<<\_ACEOF
20225 #define HAVE_TIMEZONE 1
20229 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20230 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20231 if test "${ac_cv_have_daylight+set}" = set; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20234 cat >conftest.
$ac_ext <<_ACEOF
20237 cat confdefs.h
>>conftest.
$ac_ext
20238 cat >>conftest.
$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20249 rm -f conftest.
$ac_objext conftest
$ac_exeext
20250 if { (ac_try
="$ac_link"
20251 case "(($ac_try" in
20252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20253 *) ac_try_echo=$ac_try;;
20255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 (eval "$ac_link") 2>conftest.er1
20258 grep -v '^ *+' conftest.er1 >conftest.err
20260 cat conftest.err >&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } && {
20263 test -z "$ac_c_werror_flag" ||
20264 test ! -s conftest.err
20265 } && test -s conftest$ac_exeext &&
20266 $as_test_x conftest$ac_exeext; then
20267 ac_cv_have_daylight="yes"
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.$ac_ext >&5
20272 ac_cv_have_daylight="no"
20275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20276 conftest$ac_exeext conftest.$ac_ext
20278 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20279 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20280 if test "$ac_cv_have_daylight" = "yes"
20283 cat >>confdefs.h <<\_ACEOF
20284 #define HAVE_DAYLIGHT 1
20291 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20292 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20293 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 cat >conftest.$ac_ext <<_ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20307 $EGREP "yes" >/dev/null 2>&1; then
20308 ac_cv_cpp_def___i386__=yes
20310 ac_cv_cpp_def___i386__=no
20315 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20316 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20317 if test $ac_cv_cpp_def___i386__ = yes; then
20318 CFLAGS="$CFLAGS -D__i386__"
20319 LINTFLAGS="$LINTFLAGS -D__i386__"
20322 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20323 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20324 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20325 echo $ECHO_N "(cached) $ECHO_C" >&6
20327 cat >conftest.$ac_ext <<_ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20338 $EGREP "yes" >/dev/null 2>&1; then
20339 ac_cv_cpp_def___x86_64__=yes
20341 ac_cv_cpp_def___x86_64__=no
20346 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20347 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20348 if test $ac_cv_cpp_def___x86_64__ = yes; then
20349 CFLAGS="$CFLAGS -D__x86_64__"
20350 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20353 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20354 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20355 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 cat >conftest.$ac_ext <<_ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20369 $EGREP "yes" >/dev/null 2>&1; then
20370 ac_cv_cpp_def___ALPHA__=yes
20372 ac_cv_cpp_def___ALPHA__=no
20377 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20378 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20379 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20380 CFLAGS="$CFLAGS -D__ALPHA__"
20381 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20384 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20385 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20386 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20387 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 cat >conftest.$ac_ext <<_ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20400 $EGREP "yes" >/dev/null 2>&1; then
20401 ac_cv_cpp_def___sparc__=yes
20403 ac_cv_cpp_def___sparc__=no
20408 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20409 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20410 if test $ac_cv_cpp_def___sparc__ = yes; then
20411 CFLAGS="$CFLAGS -D__sparc__"
20412 LINTFLAGS="$LINTFLAGS -D__sparc__"
20415 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20416 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20417 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 cat >conftest.$ac_ext <<_ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #ifndef __powerpc__
20430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20431 $EGREP "yes" >/dev/null 2>&1; then
20432 ac_cv_cpp_def___powerpc__=yes
20434 ac_cv_cpp_def___powerpc__=no
20439 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20440 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20441 if test $ac_cv_cpp_def___powerpc__ = yes; then
20442 CFLAGS="$CFLAGS -D__powerpc__"
20443 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20448 case $host_vendor in
20449 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20450 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20451 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 cat >conftest.$ac_ext <<_ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20465 $EGREP "yes" >/dev/null 2>&1; then
20466 ac_cv_cpp_def___sun__=yes
20468 ac_cv_cpp_def___sun__=no
20473 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20474 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20475 if test $ac_cv_cpp_def___sun__ = yes; then
20476 CFLAGS="$CFLAGS -D__sun__"
20477 LINTFLAGS="$LINTFLAGS -D__sun__"
20483 DEPENDENCIES="### Dependencies:
20488 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20490 \$(OBJS): \$(IDL_GEN_HEADERS)
20491 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20492 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20493 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20499 ac_config_commands="$ac_config_commands include/stamp-h"
20502 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20504 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20506 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20508 ac_config_commands="$ac_config_commands dlls/user32/resources"
20510 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20512 ac_config_commands="$ac_config_commands include/wine"
20515 MAKE_RULES=Make.rules
20518 MAKE_DLL_RULES=dlls/Makedll.rules
20521 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20524 MAKE_TEST_RULES=dlls/Maketest.rules
20527 MAKE_PROG_RULES=programs/Makeprog.rules
20530 ac_config_files="$ac_config_files Make.rules"
20532 ac_config_files="$ac_config_files dlls/Makedll.rules"
20534 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20536 ac_config_files="$ac_config_files dlls/Maketest.rules"
20538 ac_config_files="$ac_config_files programs/Makeprog.rules"
20540 ac_config_files="$ac_config_files Makefile"
20542 ac_config_files="$ac_config_files dlls/Makefile"
20544 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20546 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20548 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20550 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20552 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20554 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20556 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20558 ac_config_files="$ac_config_files dlls/atl/Makefile"
20560 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20562 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20564 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20566 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20568 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20570 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20572 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20574 ac_config_files="$ac_config_files dlls/cards/Makefile"
20576 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20578 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20580 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20582 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20586 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20590 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20594 ac_config_files="$ac_config_files dlls/credui/Makefile"
20596 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20600 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20602 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20604 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20606 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20608 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20610 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20612 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20614 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20616 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20618 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20620 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20622 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20624 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20626 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20628 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20632 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20636 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20638 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20640 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20642 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20646 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20648 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20650 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20652 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20654 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20656 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20658 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20660 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20662 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20664 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20666 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20668 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20670 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20672 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20674 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20678 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20680 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20682 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20684 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20686 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20688 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20690 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20692 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20696 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20698 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20700 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20702 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20704 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20706 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20708 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20710 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20712 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20714 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20716 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20718 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20720 ac_config_files="$ac_config_files dlls/hal/Makefile"
20722 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20724 ac_config_files="$ac_config_files dlls/hid/Makefile"
20726 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20728 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20730 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20732 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20734 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20736 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20738 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20740 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20742 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20744 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20746 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20748 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20750 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20752 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20754 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20756 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20758 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20760 ac_config_files="$ac_config_files dlls/itss/Makefile"
20762 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20764 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20766 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20768 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20770 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20772 ac_config_files="$ac_config_files dlls/localui/Makefile"
20774 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20776 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20778 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20780 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20782 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20784 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20786 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20788 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20790 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20792 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20794 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20796 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20798 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20800 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20802 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20804 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20806 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20808 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20810 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20812 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20814 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20816 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20818 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20820 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20822 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20824 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20826 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20828 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20830 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20832 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20834 ac_config_files="$ac_config_files dlls/msi/Makefile"
20836 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20838 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20840 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20842 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20844 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20846 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20848 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20850 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20852 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20854 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20856 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20858 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20860 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20862 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20864 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20866 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20868 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20870 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20872 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20874 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20876 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20878 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20880 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20882 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20884 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20886 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20888 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20890 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20892 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20894 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20896 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20898 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20900 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20902 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20904 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20906 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20908 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20910 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20912 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20914 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20916 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20918 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20920 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20922 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20924 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20926 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20928 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20930 ac_config_files="$ac_config_files dlls/printui/Makefile"
20932 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20934 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20936 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20938 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20940 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20942 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20944 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20946 ac_config_files="$ac_config_files dlls/query/Makefile"
20948 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20950 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20952 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20954 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20956 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20958 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20960 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20962 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20964 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20966 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20968 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20970 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20972 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20974 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20976 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20978 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20980 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20982 ac_config_files="$ac_config_files dlls/security/Makefile"
20984 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20986 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20988 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20990 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20992 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20994 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20996 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20998 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21000 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21002 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21004 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21006 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21008 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21010 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21012 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21014 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21016 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21018 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21020 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21022 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21024 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21026 ac_config_files="$ac_config_files dlls/sti/Makefile"
21028 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21030 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21032 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21034 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21036 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21038 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21040 ac_config_files="$ac_config_files dlls/url/Makefile"
21042 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21044 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21046 ac_config_files="$ac_config_files dlls/user32/Makefile"
21048 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21050 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21052 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21054 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21056 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21058 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21060 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21062 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21064 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21066 ac_config_files="$ac_config_files dlls/version/Makefile"
21068 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21070 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21072 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21074 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21076 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21078 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21080 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21082 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21084 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21086 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21088 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21090 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21092 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21094 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21096 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21098 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21100 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21102 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21104 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21106 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21108 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21110 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21112 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21114 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21116 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21118 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21120 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21122 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21124 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21126 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21128 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21130 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21132 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21134 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21136 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21138 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21140 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21142 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21144 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21146 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21148 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21150 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21152 ac_config_files="$ac_config_files documentation/Makefile"
21154 ac_config_files="$ac_config_files fonts/Makefile"
21156 ac_config_files="$ac_config_files include/Makefile"
21158 ac_config_files="$ac_config_files libs/Makefile"
21160 ac_config_files="$ac_config_files libs/port/Makefile"
21162 ac_config_files="$ac_config_files libs/wine/Makefile"
21164 ac_config_files="$ac_config_files libs/wpp/Makefile"
21166 ac_config_files="$ac_config_files loader/Makefile"
21168 ac_config_files="$ac_config_files programs/Makefile"
21170 ac_config_files="$ac_config_files programs/clock/Makefile"
21172 ac_config_files="$ac_config_files programs/cmd/Makefile"
21174 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21176 ac_config_files="$ac_config_files programs/control/Makefile"
21178 ac_config_files="$ac_config_files programs/eject/Makefile"
21180 ac_config_files="$ac_config_files programs/expand/Makefile"
21182 ac_config_files="$ac_config_files programs/explorer/Makefile"
21184 ac_config_files="$ac_config_files programs/hh/Makefile"
21186 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21188 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21190 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21192 ac_config_files="$ac_config_files programs/net/Makefile"
21194 ac_config_files="$ac_config_files programs/notepad/Makefile"
21196 ac_config_files="$ac_config_files programs/oleview/Makefile"
21198 ac_config_files="$ac_config_files programs/progman/Makefile"
21200 ac_config_files="$ac_config_files programs/regedit/Makefile"
21202 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21204 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21206 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21208 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21210 ac_config_files="$ac_config_files programs/start/Makefile"
21212 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21214 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21216 ac_config_files="$ac_config_files programs/view/Makefile"
21218 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21220 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21222 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21224 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21226 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21228 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21230 ac_config_files="$ac_config_files programs/winefile/Makefile"
21232 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21234 ac_config_files="$ac_config_files programs/winemine/Makefile"
21236 ac_config_files="$ac_config_files programs/winepath/Makefile"
21238 ac_config_files="$ac_config_files programs/winetest/Makefile"
21240 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21242 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21244 ac_config_files="$ac_config_files programs/winver/Makefile"
21246 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21248 ac_config_files="$ac_config_files programs/write/Makefile"
21250 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21252 ac_config_files="$ac_config_files server/Makefile"
21254 ac_config_files="$ac_config_files tools/Makefile"
21256 ac_config_files="$ac_config_files tools/widl/Makefile"
21258 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21260 ac_config_files="$ac_config_files tools/winedump/Makefile"
21262 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21264 ac_config_files="$ac_config_files tools/wmc/Makefile"
21266 ac_config_files="$ac_config_files tools/wrc/Makefile"
21269 cat >confcache <<\_ACEOF
21270 # This file is a shell script that caches the results of configure
21271 # tests run on this system so they can be shared between configure
21272 # scripts and configure runs, see configure's option --config-cache.
21273 # It is not useful on other systems. If it contains results you don't
21274 # want to keep, you may remove or edit it.
21276 # config.status only pays attention to the cache file if you give it
21277 # the --recheck option to rerun configure.
21279 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21281 # following values.
21285 # The following way of writing the cache mishandles newlines in values,
21286 # but we know of no workaround that is simple, portable, and efficient.
21287 # So, we kill variables containing newlines.
21288 # Ultrix sh set writes to stderr and can't be redirected directly,
21289 # and sets the high bit in the cache file unless we assign to the vars.
21291 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21292 eval ac_val
=\$
$ac_var
21296 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21297 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21300 _ | IFS | as_nl
) ;; #(
21301 *) $as_unset $ac_var ;;
21307 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21308 *${as_nl}ac_space
=\
*)
21309 # `set' does not quote correctly, so add quotes (double-quote
21310 # substitution turns \\\\ into \\, and sed turns \\ into \).
21313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21316 # `set' quotes correctly as required by POSIX, so do not add quotes.
21317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21326 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21328 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21330 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21331 if test -w "$cache_file"; then
21332 test "x$cache_file" != "x/dev/null" &&
21333 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21334 echo "$as_me: updating cache $cache_file" >&6;}
21335 cat confcache
>$cache_file
21337 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21338 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21343 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21344 # Let make expand exec_prefix.
21345 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21347 DEFS
=-DHAVE_CONFIG_H
21351 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21352 # 1. Remove the extension, and $U if already installed.
21353 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21354 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21355 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21356 # will be set to the directory where LIBOBJS objects are built.
21357 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21358 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21360 LIBOBJS
=$ac_libobjs
21362 LTLIBOBJS
=$ac_ltlibobjs
21366 : ${CONFIG_STATUS=./config.status}
21367 ac_clean_files_save
=$ac_clean_files
21368 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21369 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21370 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21371 cat >$CONFIG_STATUS <<_ACEOF
21373 # Generated by $as_me.
21374 # Run this file to recreate the current configuration.
21375 # Compiler output produced by configure, useful for debugging
21376 # configure, is in config.log if it exists.
21379 ac_cs_recheck=false
21381 SHELL=\${CONFIG_SHELL-$SHELL}
21384 cat >>$CONFIG_STATUS <<\_ACEOF
21385 ## --------------------- ##
21386 ## M4sh Initialization. ##
21387 ## --------------------- ##
21389 # Be more Bourne compatible
21390 DUALCASE
=1; export DUALCASE
# for MKS sh
21391 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21394 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21395 # is contrary to our usage. Disable this feature.
21396 alias -g '${1+"$@"}'='"$@"'
21397 setopt NO_GLOB_SUBST
21399 case `(set -o) 2>/dev/null` in
21400 *posix
*) set -o posix
;;
21409 # Avoid depending upon Character Ranges.
21410 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21411 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21412 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21413 as_cr_digits
='0123456789'
21414 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21416 # The user is always right.
21417 if test "${PATH_SEPARATOR+set}" != set; then
21418 echo "#! /bin/sh" >conf$$.sh
21419 echo "exit 0" >>conf$$.sh
21421 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21429 # Support unset when possible.
21430 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21438 # We need space, tab and new line, in precisely that order. Quoting is
21439 # there to prevent editors from complaining about space-tab.
21440 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21441 # splitting by setting IFS to empty value.)
21446 # Find who we are. Look in the path if we contain no directory separator.
21448 *[\\/]* ) as_myself
=$0 ;;
21449 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21450 for as_dir
in $PATH
21453 test -z "$as_dir" && as_dir
=.
21454 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21460 # We did not find ourselves, most probably we were run as `sh COMMAND'
21461 # in which case we are not to be found in the path.
21462 if test "x$as_myself" = x
; then
21465 if test ! -f "$as_myself"; then
21466 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21467 { (exit 1); exit 1; }
21470 # Work around bugs in pre-3.0 UWIN ksh.
21471 for as_var
in ENV MAIL MAILPATH
21472 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21480 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21481 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21482 LC_TELEPHONE LC_TIME
21484 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21485 eval $as_var=C
; export $as_var
21487 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21491 # Required to use basename.
21492 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21493 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21499 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21500 as_basename
=basename
21506 # Name of the executable.
21507 as_me
=`$as_basename -- "$0" ||
21508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21509 X"$0" : 'X\(//\)$' \| \
21510 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21512 sed '/^.*\/\([^/][^/]*\)\/*$/{
21531 as_lineno_1
=$LINENO
21532 as_lineno_2
=$LINENO
21533 test "x$as_lineno_1" != "x$as_lineno_2" &&
21534 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21536 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21537 # uniformly replaced by the line number. The first 'sed' inserts a
21538 # line-number line after each line using $LINENO; the second 'sed'
21539 # does the real work. The second script uses 'N' to pair each
21540 # line-number line with the line containing $LINENO, and appends
21541 # trailing '-' during substitution so that $LINENO is not a special
21542 # case at line end.
21543 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21544 # scripts with optimization help from Paolo Bonzini. Blame Lee
21545 # E. McMahon (1931-1989) for sed's syntax. :-)
21557 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21560 ' >$as_me.lineno
&&
21561 chmod +x
"$as_me.lineno" ||
21562 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21563 { (exit 1); exit 1; }; }
21565 # Don't try to exec as it changes $[0], causing all sort of problems
21566 # (the dirname of $[0] is not the place where we might find the
21567 # original and so on. Autoconf is especially sensitive to this).
21568 .
"./$as_me.lineno"
21569 # Exit status is that of the last command.
21574 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21580 ECHO_C
= ECHO_N
= ECHO_T
=
21581 case `echo -n x` in
21583 case `echo 'x\c'` in
21584 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21591 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21592 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21598 rm -f conf$$ conf$$.exe conf$$.
file
21599 if test -d conf$$.dir
; then
21600 rm -f conf$$.dir
/conf$$.
file
21606 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21608 # ... but there are two gotchas:
21609 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21610 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21611 # In both cases, we have to default to `cp -p'.
21612 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21614 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21619 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21620 rmdir conf$$.dir
2>/dev
/null
21622 if mkdir
-p .
2>/dev
/null
; then
21625 test -d .
/-p && rmdir .
/-p
21629 if test -x / >/dev
/null
2>&1; then
21630 as_test_x
='test -x'
21632 if ls -dL / >/dev
/null
2>&1; then
21639 if test -d "$1"; then
21645 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21646 ???[sx]*):;;*)false;;esac;fi
21650 as_executable_p
=$as_test_x
21652 # Sed expression to map a string onto a valid CPP name.
21653 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21655 # Sed expression to map a string onto a valid variable name.
21656 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21661 # Save the log message, to keep $[0] and so on meaningful, and to
21662 # report actual input values of CONFIG_FILES etc. instead of their
21663 # values after options handling.
21665 This file was extended by Wine $as_me 0.9.49, which was
21666 generated by GNU Autoconf 2.61. Invocation command line was
21668 CONFIG_FILES = $CONFIG_FILES
21669 CONFIG_HEADERS = $CONFIG_HEADERS
21670 CONFIG_LINKS = $CONFIG_LINKS
21671 CONFIG_COMMANDS = $CONFIG_COMMANDS
21674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21679 cat >>$CONFIG_STATUS <<_ACEOF
21680 # Files that config.status was made for.
21681 config_files="$ac_config_files"
21682 config_headers="$ac_config_headers"
21683 config_commands="$ac_config_commands"
21687 cat >>$CONFIG_STATUS <<\_ACEOF
21689 \`$as_me' instantiates files from templates according to the
21690 current configuration.
21692 Usage: $0 [OPTIONS] [FILE]...
21694 -h, --help print this help, then exit
21695 -V, --version print version number and configuration settings, then exit
21696 -q, --quiet do not print progress messages
21697 -d, --debug don't remove temporary files
21698 --recheck update $as_me by reconfiguring in the same conditions
21699 --file=FILE[:TEMPLATE]
21700 instantiate the configuration file FILE
21701 --header=FILE[:TEMPLATE]
21702 instantiate the configuration header FILE
21704 Configuration files:
21707 Configuration headers:
21710 Configuration commands:
21713 Report bugs to <bug-autoconf@gnu.org>."
21716 cat >>$CONFIG_STATUS <<_ACEOF
21718 Wine config.status 0.9.49
21719 configured by $0, generated by GNU Autoconf 2.61,
21720 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21722 Copyright (C) 2006 Free Software Foundation, Inc.
21723 This config.status script is free software; the Free Software Foundation
21724 gives unlimited permission to copy, distribute and modify it."
21731 cat >>$CONFIG_STATUS <<\_ACEOF
21732 # If no file are specified by the user, then we need to provide default
21733 # value. By we need to know if files were specified by the user.
21739 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21740 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21751 # Handling of the options.
21752 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21754 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21755 echo "$ac_cs_version"; exit ;;
21756 --debug |
--debu |
--deb |
--de |
--d |
-d )
21758 --file |
--fil |
--fi |
--f )
21760 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21761 ac_need_defaults
=false
;;
21762 --header |
--heade |
--head |
--hea )
21764 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21765 ac_need_defaults
=false
;;
21767 # Conflict between --help and --header
21768 { echo "$as_me: error: ambiguous option: $1
21769 Try \`$0 --help' for more information." >&2
21770 { (exit 1); exit 1; }; };;
21771 --help |
--hel |
-h )
21772 echo "$ac_cs_usage"; exit ;;
21773 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21774 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21777 # This is an error.
21778 -*) { echo "$as_me: error: unrecognized option: $1
21779 Try \`$0 --help' for more information." >&2
21780 { (exit 1); exit 1; }; } ;;
21782 *) ac_config_targets
="$ac_config_targets $1"
21783 ac_need_defaults
=false
;;
21789 ac_configure_extra_args
=
21791 if $ac_cs_silent; then
21793 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21797 cat >>$CONFIG_STATUS <<_ACEOF
21798 if \$ac_cs_recheck; then
21799 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21800 CONFIG_SHELL=$SHELL
21801 export CONFIG_SHELL
21802 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21806 cat >>$CONFIG_STATUS <<\_ACEOF
21810 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21811 ## Running $as_me. ##
21817 cat >>$CONFIG_STATUS <<_ACEOF
21820 cat >>$CONFIG_STATUS <<\_ACEOF
21822 # Handling of arguments.
21823 for ac_config_target
in $ac_config_targets
21825 case $ac_config_target in
21826 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21827 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21828 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21829 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21830 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21831 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21832 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21833 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21834 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21835 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21836 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21837 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21838 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21839 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21840 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21841 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21842 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21843 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21844 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21845 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21846 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21847 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21848 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21849 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21850 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21851 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21852 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21853 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21854 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21855 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21856 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21857 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21858 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21859 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21860 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21861 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21862 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21863 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21864 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21865 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21866 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21867 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21868 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21869 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21870 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21871 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21872 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21873 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21874 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21875 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21876 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21877 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21878 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21879 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21880 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21881 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21882 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21883 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21884 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21885 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21886 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21887 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21888 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21889 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21890 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21891 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21892 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21893 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21894 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21895 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21896 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21897 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21898 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21899 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21900 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21901 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21902 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21903 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21904 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21905 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21906 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21907 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21908 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21909 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21910 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21911 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21912 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21913 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21914 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21915 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21916 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21917 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21918 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21919 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21920 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21921 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21922 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21923 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21924 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21925 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21926 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21927 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21928 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21929 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21930 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21931 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21932 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21933 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21934 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21935 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21936 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21937 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21938 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21939 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21940 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21941 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21942 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
21943 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21944 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21945 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21946 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21947 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21948 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21949 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21950 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21951 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21952 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21953 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21954 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21955 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21956 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21957 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21958 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21959 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21960 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21961 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21962 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21963 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21964 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21965 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21966 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21967 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21968 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21969 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21970 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21971 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21972 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21973 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21974 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21975 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21976 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21977 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21978 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21979 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21980 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21981 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21982 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21983 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21984 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21985 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21986 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21987 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21988 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21989 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21990 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21991 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21992 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21993 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21994 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21995 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21996 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21997 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21998 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21999 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22000 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22001 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22002 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22003 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22004 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22005 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22006 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22007 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22008 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22009 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22010 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22011 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22012 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22013 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22014 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22015 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22016 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22017 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22018 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22019 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22020 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22021 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22022 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22023 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22024 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22025 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22026 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22027 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22028 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22029 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22030 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22031 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22032 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22033 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22034 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22035 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22036 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22037 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22038 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22039 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22040 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22041 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22042 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22043 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22044 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22045 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22046 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22047 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22048 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22049 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22050 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22051 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22052 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22053 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22054 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22055 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22056 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22057 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22058 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22059 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22060 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22061 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22062 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22063 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22064 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22065 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22066 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22067 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22068 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22069 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22070 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22071 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22072 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22073 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22074 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22075 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22076 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22077 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22078 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22079 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22080 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22081 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22082 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22083 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22084 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22085 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22086 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22087 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22088 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22089 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22090 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22091 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22092 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22093 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22094 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22095 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22096 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22097 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22098 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22099 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22100 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22101 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22102 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22103 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22104 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22105 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22106 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22107 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22108 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22109 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22110 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22111 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22112 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22113 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22114 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22115 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22116 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22117 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22118 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22119 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22120 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22121 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22122 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22123 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22124 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22125 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22126 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22127 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22128 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22129 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22130 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22131 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22132 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22133 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22134 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22135 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22136 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22137 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22138 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22139 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22140 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22141 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22142 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22143 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22144 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22145 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22146 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22147 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22148 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22149 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22150 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22151 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22152 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22153 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22154 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22155 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22156 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22157 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22158 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22159 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22160 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22161 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22162 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22163 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22164 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22165 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22166 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22167 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22168 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22169 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22170 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22171 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22172 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22173 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22174 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22175 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22176 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22177 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22178 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22179 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22180 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22181 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22182 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22183 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22184 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22185 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22186 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22187 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22188 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22189 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22190 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22191 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22192 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22193 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22194 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22195 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22196 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22197 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22198 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22199 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22200 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22201 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22202 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22204 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22205 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22206 { (exit 1); exit 1; }; };;
22211 # If the user did not use the arguments to specify the items to instantiate,
22212 # then the envvar interface is used. Set only those that are not.
22213 # We use the long form for the default assignment because of an extremely
22214 # bizarre bug on SunOS 4.1.3.
22215 if $ac_need_defaults; then
22216 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22217 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22218 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22221 # Have a temporary directory for convenience. Make it in the build tree
22222 # simply because there is no reason against having it here, and in addition,
22223 # creating and moving files from /tmp can sometimes cause problems.
22224 # Hook for its removal unless debugging.
22225 # Note that there is a small window in which the directory will not be cleaned:
22226 # after its creation but before its name has been assigned to `$tmp'.
22230 trap 'exit_status=$?
22231 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22233 trap '{ (exit 1); exit 1; }' 1 2 13 15
22235 # Create a (secure) tmp directory for tmp files.
22238 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22239 test -n "$tmp" && test -d "$tmp"
22242 tmp
=.
/conf$$
-$RANDOM
22243 (umask 077 && mkdir
"$tmp")
22246 echo "$me: cannot create a temporary directory in ." >&2
22247 { (exit 1); exit 1; }
22251 # Set up the sed scripts for CONFIG_FILES section.
22254 # No need to generate the scripts if there are no CONFIG_FILES.
22255 # This happens for instance when ./config.status config.h
22256 if test -n "$CONFIG_FILES"; then
22260 # Create sed commands to just substitute file output variables.
22262 # Remaining file output variables are in a fragment that also has non-file
22268 for ac_last_try
in false false false false false
:; do
22269 cat >conf$
$subs.
sed <<_ACEOF
22270 SHELL!$SHELL$ac_delim
22271 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22272 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22273 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22274 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22275 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22276 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22277 exec_prefix!$exec_prefix$ac_delim
22278 prefix!$prefix$ac_delim
22279 program_transform_name!$program_transform_name$ac_delim
22280 bindir!$bindir$ac_delim
22281 sbindir!$sbindir$ac_delim
22282 libexecdir!$libexecdir$ac_delim
22283 datarootdir!$datarootdir$ac_delim
22284 datadir!$datadir$ac_delim
22285 sysconfdir!$sysconfdir$ac_delim
22286 sharedstatedir!$sharedstatedir$ac_delim
22287 localstatedir!$localstatedir$ac_delim
22288 includedir!$includedir$ac_delim
22289 oldincludedir!$oldincludedir$ac_delim
22290 docdir!$docdir$ac_delim
22291 infodir!$infodir$ac_delim
22292 htmldir!$htmldir$ac_delim
22293 dvidir!$dvidir$ac_delim
22294 pdfdir!$pdfdir$ac_delim
22295 psdir!$psdir$ac_delim
22296 libdir!$libdir$ac_delim
22297 localedir!$localedir$ac_delim
22298 mandir!$mandir$ac_delim
22299 DEFS!$DEFS$ac_delim
22300 ECHO_C!$ECHO_C$ac_delim
22301 ECHO_N!$ECHO_N$ac_delim
22302 ECHO_T!$ECHO_T$ac_delim
22303 LIBS!$LIBS$ac_delim
22304 build_alias!$build_alias$ac_delim
22305 host_alias!$host_alias$ac_delim
22306 target_alias!$target_alias$ac_delim
22307 build!$build$ac_delim
22308 build_cpu!$build_cpu$ac_delim
22309 build_vendor!$build_vendor$ac_delim
22310 build_os!$build_os$ac_delim
22311 host!$host$ac_delim
22312 host_cpu!$host_cpu$ac_delim
22313 host_vendor!$host_vendor$ac_delim
22314 host_os!$host_os$ac_delim
22315 WIN16_FILES!$WIN16_FILES$ac_delim
22316 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22317 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22318 WINETEST!$WINETEST$ac_delim
22319 SET_MAKE!$SET_MAKE$ac_delim
22321 CFLAGS!$CFLAGS$ac_delim
22322 LDFLAGS!$LDFLAGS$ac_delim
22323 CPPFLAGS!$CPPFLAGS$ac_delim
22324 ac_ct_CC!$ac_ct_CC$ac_delim
22325 EXEEXT!$EXEEXT$ac_delim
22326 OBJEXT!$OBJEXT$ac_delim
22328 CXXFLAGS!$CXXFLAGS$ac_delim
22329 ac_ct_CXX!$ac_ct_CXX$ac_delim
22330 CPPBIN!$CPPBIN$ac_delim
22331 TOOLSDIR!$TOOLSDIR$ac_delim
22332 XMKMF!$XMKMF$ac_delim
22334 X_CFLAGS!$X_CFLAGS$ac_delim
22335 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22336 X_LIBS!$X_LIBS$ac_delim
22337 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22338 FLEX!$FLEX$ac_delim
22339 BISON!$BISON$ac_delim
22341 ac_ct_AS!$ac_ct_AS$ac_delim
22344 RANLIB!$RANLIB$ac_delim
22345 STRIP!$STRIP$ac_delim
22346 WINDRES!$WINDRES$ac_delim
22347 LN_S!$LN_S$ac_delim
22349 GREP!$GREP$ac_delim
22350 EGREP!$EGREP$ac_delim
22351 LDCONFIG!$LDCONFIG$ac_delim
22354 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22356 elif $ac_last_try; then
22357 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22358 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22359 { (exit 1); exit 1; }; }
22361 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22365 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22366 if test -n "$ac_eof"; then
22367 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22368 ac_eof
=`expr $ac_eof + 1`
22371 cat >>$CONFIG_STATUS <<_ACEOF
22372 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22374 /^[ ]*@MAKE_RULES@[ ]*$/{
22378 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22382 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22383 r $MAKE_IMPLIB_RULES
22386 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22390 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22396 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22397 s/^/s,@/; s/!/@,|#_!!_#|/
22400 s/'"$ac_delim"'$/,g/; t
22402 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22403 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22404 rm -f conf$
$subs.
sed
22405 cat >>$CONFIG_STATUS <<_ACEOF
22411 for ac_last_try
in false false false false false
:; do
22412 cat >conf$
$subs.
sed <<_ACEOF
22413 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22414 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22415 INSTALL_DATA!$INSTALL_DATA$ac_delim
22416 LINT!$LINT$ac_delim
22417 LINTFLAGS!$LINTFLAGS$ac_delim
22418 FONTFORGE!$FONTFORGE$ac_delim
22419 PKG_CONFIG!$PKG_CONFIG$ac_delim
22420 PRELINK!$PRELINK$ac_delim
22421 LIBPTHREAD!$LIBPTHREAD$ac_delim
22422 XLIB!$XLIB$ac_delim
22423 XFILES!$XFILES$ac_delim
22424 OPENGLFILES!$OPENGLFILES$ac_delim
22425 GLU32FILES!$GLU32FILES$ac_delim
22426 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22427 QUARTZFILES!$QUARTZFILES$ac_delim
22428 DLLEXT!$DLLEXT$ac_delim
22429 DLLFLAGS!$DLLFLAGS$ac_delim
22430 LDSHARED!$LDSHARED$ac_delim
22431 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22432 LIBEXT!$LIBEXT$ac_delim
22433 IMPLIBEXT!$IMPLIBEXT$ac_delim
22434 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22435 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22437 DLLTOOL!$DLLTOOL$ac_delim
22438 DLLWRAP!$DLLWRAP$ac_delim
22439 MINGWAR!$MINGWAR$ac_delim
22440 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22441 IOKITLIB!$IOKITLIB$ac_delim
22442 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22443 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22444 COREAUDIO!$COREAUDIO$ac_delim
22445 CARBONLIB!$CARBONLIB$ac_delim
22446 CROSSTEST!$CROSSTEST$ac_delim
22447 CROSSCC!$CROSSCC$ac_delim
22448 CROSSWINDRES!$CROSSWINDRES$ac_delim
22449 NASLIBS!$NASLIBS$ac_delim
22450 XML2LIBS!$XML2LIBS$ac_delim
22451 XML2INCL!$XML2INCL$ac_delim
22452 XSLTLIBS!$XSLTLIBS$ac_delim
22453 XSLTINCL!$XSLTINCL$ac_delim
22454 HALINCL!$HALINCL$ac_delim
22455 sane_devel!$sane_devel$ac_delim
22456 SANEINCL!$SANEINCL$ac_delim
22457 gphoto2_devel!$gphoto2_devel$ac_delim
22458 gphoto2port_devel!$gphoto2port_devel$ac_delim
22459 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22460 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22461 RESOLVLIBS!$RESOLVLIBS$ac_delim
22462 LCMSLIBS!$LCMSLIBS$ac_delim
22463 LDAPLIBS!$LDAPLIBS$ac_delim
22464 ft_devel!$ft_devel$ac_delim
22465 FREETYPELIBS!$FREETYPELIBS$ac_delim
22466 FREETYPEINCL!$FREETYPEINCL$ac_delim
22467 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22468 ESDCONFIG!$ESDCONFIG$ac_delim
22469 ESDLIBS!$ESDLIBS$ac_delim
22470 ESDINCL!$ESDINCL$ac_delim
22471 ALSALIBS!$ALSALIBS$ac_delim
22472 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22473 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22474 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22475 BUILTINFLAG!$BUILTINFLAG$ac_delim
22476 LDPATH!$LDPATH$ac_delim
22477 CRTLIBS!$CRTLIBS$ac_delim
22478 SOCKETLIBS!$SOCKETLIBS$ac_delim
22479 MAIN_BINARY!$MAIN_BINARY$ac_delim
22480 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22481 LIBDL!$LIBDL$ac_delim
22482 LIBPOLL!$LIBPOLL$ac_delim
22483 DEPENDENCIES!$DEPENDENCIES$ac_delim
22484 LIBOBJS!$LIBOBJS$ac_delim
22485 LTLIBOBJS!$LTLIBOBJS$ac_delim
22488 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22490 elif $ac_last_try; then
22491 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22492 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22493 { (exit 1); exit 1; }; }
22495 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22499 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22500 if test -n "$ac_eof"; then
22501 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22502 ac_eof
=`expr $ac_eof + 1`
22505 cat >>$CONFIG_STATUS <<_ACEOF
22506 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22510 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22511 s/^/s,@/; s/!/@,|#_!!_#|/
22514 s/'"$ac_delim"'$/,g/; t
22516 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22517 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22518 rm -f conf$
$subs.
sed
22519 cat >>$CONFIG_STATUS <<_ACEOF
22526 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22527 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22528 # trailing colons and then remove the whole line if VPATH becomes empty
22529 # (actually we leave an empty line to preserve line numbers).
22530 if test "x$srcdir" = x.
; then
22531 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22532 s/:*\$(srcdir):*/:/
22533 s/:*\${srcdir}:*/:/
22535 s/^\([^=]*=[ ]*\):*/\1/
22541 cat >>$CONFIG_STATUS <<\_ACEOF
22542 fi # test -n "$CONFIG_FILES"
22545 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22548 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22550 case $ac_mode$ac_tag in
22552 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22553 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22554 { (exit 1); exit 1; }; };;
22555 :[FH
]-) ac_tag
=-:-;;
22556 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22573 -) ac_f
="$tmp/stdin";;
22574 *) # Look for the file first in the build tree, then in the source tree
22575 # (if the path is not absolute). The absolute path cannot be DOS-style,
22576 # because $ac_f cannot contain `:'.
22580 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22582 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22583 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22584 { (exit 1); exit 1; }; };;
22586 ac_file_inputs
="$ac_file_inputs $ac_f"
22589 # Let's still pretend it is `configure' which instantiates (i.e., don't
22590 # use $as_me), people would be surprised to read:
22591 # /* config.h. Generated by config.status. */
22592 configure_input
="Generated from "`IFS=:
22593 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22594 if test x
"$ac_file" != x-
; then
22595 configure_input
="$ac_file. $configure_input"
22596 { echo "$as_me:$LINENO: creating $ac_file" >&5
22597 echo "$as_me: creating $ac_file" >&6;}
22601 *:-:* |
*:-) cat >"$tmp/stdin";;
22606 ac_dir
=`$as_dirname -- "$ac_file" ||
22607 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22608 X"$ac_file" : 'X\(//\)[^/]' \| \
22609 X"$ac_file" : 'X\(//\)$' \| \
22610 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22616 /^X\(\/\/\)[^/].*/{
22631 -*) as_dir
=.
/$as_dir;;
22633 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22637 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22638 *) as_qdir
=$as_dir;;
22640 as_dirs
="'$as_qdir' $as_dirs"
22641 as_dir
=`$as_dirname -- "$as_dir" ||
22642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22643 X"$as_dir" : 'X\(//\)[^/]' \| \
22644 X"$as_dir" : 'X\(//\)$' \| \
22645 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22651 /^X\(\/\/\)[^/].*/{
22664 test -d "$as_dir" && break
22666 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22667 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22668 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22669 { (exit 1); exit 1; }; }; }
22673 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22675 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22676 # A ".." for each directory in $ac_dir_suffix.
22677 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22678 case $ac_top_builddir_sub in
22679 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22680 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22683 ac_abs_top_builddir
=$ac_pwd
22684 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22685 # for backward compatibility:
22686 ac_top_builddir
=$ac_top_build_prefix
22689 .
) # We are building in place.
22691 ac_top_srcdir
=$ac_top_builddir_sub
22692 ac_abs_top_srcdir
=$ac_pwd ;;
22693 [\\/]* | ?
:[\\/]* ) # Absolute name.
22694 ac_srcdir
=$srcdir$ac_dir_suffix;
22695 ac_top_srcdir
=$srcdir
22696 ac_abs_top_srcdir
=$srcdir ;;
22697 *) # Relative name.
22698 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22699 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22700 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22702 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22712 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22713 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22717 cat >>$CONFIG_STATUS <<\_ACEOF
22718 # If the template does not know about datarootdir, expand it.
22719 # FIXME: This hack should be removed a few years after 2.60.
22720 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22722 case `sed -n '/datarootdir/ {
22731 ' $ac_file_inputs` in
22732 *datarootdir
*) ac_datarootdir_seen
=yes;;
22733 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22734 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22735 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22737 cat >>$CONFIG_STATUS <<_ACEOF
22738 ac_datarootdir_hack='
22739 s&@datadir@&$datadir&g
22740 s&@docdir@&$docdir&g
22741 s&@infodir@&$infodir&g
22742 s&@localedir@&$localedir&g
22743 s&@mandir@&$mandir&g
22744 s&\\\${datarootdir}&$datarootdir&g' ;;
22748 # Neutralize VPATH when `$srcdir' = `.'.
22749 # Shell code in configure.ac might set extrasub.
22750 # FIXME: do we really want to maintain this feature?
22751 cat >>$CONFIG_STATUS <<_ACEOF
22755 cat >>$CONFIG_STATUS <<\_ACEOF
22757 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22758 s
&@configure_input@
&$configure_input&;t t
22759 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22760 s
&@srcdir@
&$ac_srcdir&;t t
22761 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22762 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22763 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22764 s
&@builddir@
&$ac_builddir&;t t
22765 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22766 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22767 s
&@INSTALL@
&$ac_INSTALL&;t t
22768 $ac_datarootdir_hack
22769 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22771 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22772 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22773 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22774 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22775 which seems to be undefined. Please make sure it is defined." >&5
22776 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22777 which seems to be undefined. Please make sure it is defined." >&2;}
22781 -) cat "$tmp/out"; rm -f "$tmp/out";;
22782 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22791 # Transform confdefs.h into a sed script `conftest.defines', that
22792 # substitutes the proper values into config.h.in to produce config.h.
22793 rm -f conftest.defines conftest.
tail
22794 # First, append a space to every undef/define line, to ease matching.
22795 echo 's/$/ /' >conftest.defines
22796 # Then, protect against being on the right side of a sed subst, or in
22797 # an unquoted here document, in config.status. If some macros were
22798 # called several times there might be several #defines for the same
22799 # symbol, which is useless. But do not sort them, since the last
22800 # AC_DEFINE must be honored.
22801 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22802 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22803 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22804 # PARAMS is the parameter list in the macro definition--in most cases, it's
22805 # just an empty string.
22806 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22807 ac_dB
='\\)[ (].*,\\1define\\2'
22815 s/^[ ]*#[ ]*define[ ][ ]*//
22820 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22821 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22822 ' >>conftest.defines
22824 # Remove the space that was appended to ease matching.
22825 # Then replace #undef with comments. This is necessary, for
22826 # example, in the case of _POSIX_SOURCE, which is predefined and required
22827 # on some systems where configure will not decide to define it.
22828 # (The regexp can be short, since the line contains either #define or #undef.)
22830 s,^[ #]*u.*,/* & */,' >>conftest.defines
22832 # Break up conftest.defines:
22833 ac_max_sed_lines
=50
22835 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22836 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22837 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22839 ac_in
='$ac_file_inputs'
22840 ac_out
='"$tmp/out1"'
22841 ac_nxt
='"$tmp/out2"'
22845 # Write a here document:
22846 cat >>$CONFIG_STATUS <<_ACEOF
22847 # First, check the format of the line:
22848 cat >"\$tmp/defines.sed" <<\\CEOF
22849 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22850 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22854 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22856 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22857 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22858 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22859 grep . conftest.
tail >/dev
/null ||
break
22860 rm -f conftest.defines
22861 mv conftest.
tail conftest.defines
22863 rm -f conftest.defines conftest.
tail
22865 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22866 cat >>$CONFIG_STATUS <<\_ACEOF
22867 if test x
"$ac_file" != x-
; then
22868 echo "/* $configure_input */" >"$tmp/config.h"
22869 cat "$ac_result" >>"$tmp/config.h"
22870 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22871 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22872 echo "$as_me: $ac_file is unchanged" >&6;}
22875 mv "$tmp/config.h" $ac_file
22878 echo "/* $configure_input */"
22884 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22885 echo "$as_me: executing $ac_file commands" >&6;}
22890 case $ac_file$ac_mode in
22891 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22892 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22893 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22894 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22895 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22896 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22897 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22898 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22899 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22900 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22901 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22902 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22903 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22909 { (exit 0); exit 0; }
22911 chmod +x
$CONFIG_STATUS
22912 ac_clean_files
=$ac_clean_files_save
22915 # configure is writing to config.log, and then calls config.status.
22916 # config.status does its own redirection, appending to config.log.
22917 # Unfortunately, on DOS this fails, as config.log is still kept open
22918 # by configure, so config.status won't be able to write to it; its
22919 # output is simply discarded. So we exec the FD to /dev/null,
22920 # effectively closing config.log, so it can be properly (re)opened and
22921 # appended to by config.status. When coming back to configure, we
22922 # need to make the FD available again.
22923 if test "$no_create" != yes; then
22925 ac_config_status_args
=
22926 test "$silent" = yes &&
22927 ac_config_status_args
="$ac_config_status_args --quiet"
22929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22932 # would make configure fail if this is the last instruction.
22933 $ac_cs_success ||
{ (exit 1); exit 1; }
22937 if test "$no_create" = "yes"
22944 if test "$verbose" = "yes"; then
22945 for msg
in $wine_notices; do
22946 if test -n "$msg"; then
22948 { echo "$as_me:$LINENO: $msg" >&5
22949 echo "$as_me: $msg" >&6;}
22953 for msg
in $wine_warnings; do
22954 if test -n "$msg"; then
22956 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22957 echo "$as_me: WARNING: $msg" >&2;}
22963 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."