2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.1.
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
='1.1.1'
578 PACKAGE_STRING
='Wine 1.1.1'
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
781 ac_subst_files
='MAKE_RULES
786 ac_precious_vars
='build_alias
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 # The variables have the same names as the options, with
805 # dashes changed to underlines.
813 program_transform_name
=s
,x
,x
,
821 # Installation directory options.
822 # These are left unexpanded so users can "make install exec_prefix=/foo"
823 # and all the variables that are supposed to be based on exec_prefix
824 # by default will actually change.
825 # Use braces instead of parens because sh, perl, etc. also accept them.
826 # (The list follows the same order as the GNU Coding Standards.)
827 bindir
='${exec_prefix}/bin'
828 sbindir
='${exec_prefix}/sbin'
829 libexecdir
='${exec_prefix}/libexec'
830 datarootdir
='${prefix}/share'
831 datadir
='${datarootdir}'
832 sysconfdir
='${prefix}/etc'
833 sharedstatedir
='${prefix}/com'
834 localstatedir
='${prefix}/var'
835 includedir
='${prefix}/include'
836 oldincludedir
='/usr/include'
837 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
838 infodir
='${datarootdir}/info'
843 libdir
='${exec_prefix}/lib'
844 localedir
='${datarootdir}/locale'
845 mandir
='${datarootdir}/man'
851 # If the previous option needs an argument, assign it.
852 if test -n "$ac_prev"; then
853 eval $ac_prev=\
$ac_option
859 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
871 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
874 -build |
--build |
--buil |
--bui |
--bu)
875 ac_prev
=build_alias
;;
876 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
877 build_alias
=$ac_optarg ;;
879 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
880 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
881 ac_prev
=cache_file
;;
882 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
883 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
884 cache_file
=$ac_optarg ;;
887 cache_file
=config.cache
;;
889 -datadir |
--datadir |
--datadi |
--datad)
891 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
892 datadir
=$ac_optarg ;;
894 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
895 |
--dataroo |
--dataro |
--datar)
896 ac_prev
=datarootdir
;;
897 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
898 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
899 datarootdir
=$ac_optarg ;;
901 -disable-* |
--disable-*)
902 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
908 eval enable_
$ac_feature=no
;;
910 -docdir |
--docdir |
--docdi |
--doc |
--do)
912 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
915 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
917 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
920 -enable-* |
--enable-*)
921 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
924 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
925 { (exit 1); exit 1; }; }
926 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
927 eval enable_
$ac_feature=\
$ac_optarg ;;
929 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
930 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
931 |
--exec |
--exe |
--ex)
932 ac_prev
=exec_prefix
;;
933 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
934 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
935 |
--exec=* |
--exe=* |
--ex=*)
936 exec_prefix
=$ac_optarg ;;
938 -gas |
--gas |
--ga |
--g)
939 # Obsolete; use --with-gas.
942 -help |
--help |
--hel |
--he |
-h)
944 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
945 ac_init_help
=recursive
;;
946 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
947 ac_init_help
=short
;;
949 -host |
--host |
--hos |
--ho)
950 ac_prev
=host_alias
;;
951 -host=* |
--host=* |
--hos=* |
--ho=*)
952 host_alias
=$ac_optarg ;;
954 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
956 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
958 htmldir
=$ac_optarg ;;
960 -includedir |
--includedir |
--includedi |
--included |
--include \
961 |
--includ |
--inclu |
--incl |
--inc)
962 ac_prev
=includedir
;;
963 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
964 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
965 includedir
=$ac_optarg ;;
967 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
969 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
970 infodir
=$ac_optarg ;;
972 -libdir |
--libdir |
--libdi |
--libd)
974 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
977 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
978 |
--libexe |
--libex |
--libe)
979 ac_prev
=libexecdir
;;
980 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
981 |
--libexe=* |
--libex=* |
--libe=*)
982 libexecdir
=$ac_optarg ;;
984 -localedir |
--localedir |
--localedi |
--localed |
--locale)
986 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
987 localedir
=$ac_optarg ;;
989 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
990 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
991 ac_prev
=localstatedir
;;
992 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
993 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
994 localstatedir
=$ac_optarg ;;
996 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
998 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 -nfp |
--nfp |
--nf)
1002 # Obsolete; use --without-fp.
1005 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1006 |
--no-cr |
--no-c |
-n)
1009 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1010 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1013 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1014 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1015 |
--oldin |
--oldi |
--old |
--ol |
--o)
1016 ac_prev
=oldincludedir
;;
1017 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1018 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1019 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1020 oldincludedir
=$ac_optarg ;;
1022 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1024 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1025 prefix
=$ac_optarg ;;
1027 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1028 |
--program-pre |
--program-pr |
--program-p)
1029 ac_prev
=program_prefix
;;
1030 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1031 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1032 program_prefix
=$ac_optarg ;;
1034 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1035 |
--program-suf |
--program-su |
--program-s)
1036 ac_prev
=program_suffix
;;
1037 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1038 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1039 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1049 -program-transform-name=* |
--program-transform-name=* \
1050 |
--program-transform-nam=* |
--program-transform-na=* \
1051 |
--program-transform-n=* |
--program-transform-=* \
1052 |
--program-transform=* |
--program-transfor=* \
1053 |
--program-transfo=* |
--program-transf=* \
1054 |
--program-trans=* |
--program-tran=* \
1055 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1056 program_transform_name
=$ac_optarg ;;
1058 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1060 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1061 pdfdir
=$ac_optarg ;;
1063 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1065 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1072 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1074 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1076 sbindir
=$ac_optarg ;;
1078 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1079 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1080 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1082 ac_prev
=sharedstatedir
;;
1083 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1084 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1085 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1087 sharedstatedir
=$ac_optarg ;;
1089 -site |
--site |
--sit)
1091 -site=* |
--site=* |
--sit=*)
1094 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1096 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1097 srcdir
=$ac_optarg ;;
1099 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1100 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1101 ac_prev
=sysconfdir
;;
1102 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1103 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1104 sysconfdir
=$ac_optarg ;;
1106 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1107 ac_prev
=target_alias
;;
1108 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1109 target_alias
=$ac_optarg ;;
1111 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1114 -version |
--version |
--versio |
--versi |
--vers |
-V)
1115 ac_init_version
=: ;;
1118 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_
$ac_package=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1130 { echo "$as_me: error: invalid package name: $ac_package" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1133 eval with_
$ac_package=no
;;
1136 # Obsolete; use --with-x.
1139 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1140 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1141 ac_prev
=x_includes
;;
1142 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1143 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1144 x_includes
=$ac_optarg ;;
1146 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1147 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1148 ac_prev
=x_libraries
;;
1149 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1150 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1151 x_libraries
=$ac_optarg ;;
1153 -*) { echo "$as_me: error: unrecognized option: $ac_option
1154 Try \`$0 --help' for more information." >&2
1155 { (exit 1); exit 1; }; }
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1162 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1163 { (exit 1); exit 1; }; }
1164 eval $ac_envvar=\
$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1171 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1178 if test -n "$ac_prev"; then
1179 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1180 { echo "$as_me: error: missing argument to $ac_option" >&2
1181 { (exit 1); exit 1; }; }
1184 # Be sure to have absolute directory names.
1185 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val
=\$
$ac_var
1192 [\\/$
]* | ?
:[\\/]* ) continue;;
1193 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1195 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1196 { (exit 1); exit 1; }; }
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1204 target
=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x
; then
1208 if test "x$build_alias" = x
; then
1209 cross_compiling
=maybe
1210 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used." >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1220 test "$silent" = yes && exec 6>/dev
/null
1223 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di
=`ls -di .` &&
1225 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1226 { echo "$as_me: error: Working directory cannot be determined" >&2
1227 { (exit 1); exit 1; }; }
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 { echo "$as_me: error: pwd does not report name of working directory" >&2
1230 { (exit 1); exit 1; }; }
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted
=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir
=`$as_dirname -- "$0" ||
1238 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$0" : 'X\(//\)[^/]' \| \
1240 X"$0" : 'X\(//\)$' \| \
1241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted
=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1269 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1270 { (exit 1); exit 1; }; }
1272 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1275 { (exit 1); exit 1; }; }
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var
in $ac_precious_vars; do
1288 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1290 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures Wine 1.1.1 to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --x-includes=DIR X include files are
in DIR
1360 --x-libraries=DIR X library files are
in DIR
1363 --build=BUILD configure
for building on BUILD
[guessed
]
1364 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive
) echo "Configuration of Wine 1.1.1:";;
1375 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1376 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1377 --disable-win16 do not include Win16 support
1378 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1380 --enable-maintainer-mode
1381 enable maintainer-specific build rules
1384 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1385 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1386 --without-alsa do not use the Alsa sound support
1387 --without-audioio do not use the AudioIO sound support
1388 --without-capi do not use CAPI (ISDN support)
1389 --without-cms do not use CMS (color management support)
1390 --without-coreaudio do not use the CoreAudio sound support
1391 --without-cups do not use CUPS
1392 --without-curses do not use (n)curses
1393 --without-esd do not use the EsounD sound support
1394 --without-fontconfig do not use fontconfig
1395 --without-freetype do not use the FreeType library
1396 --without-gphoto do not use gphoto (Digital Camera support)
1397 --without-glu do not use the GLU library
1398 --without-hal do not use HAL (dynamic device support)
1399 --without-jack do not use the Jack sound support
1400 --without-jpeg do not use JPEG
1401 --without-ldap do not use LDAP
1402 --without-nas do not use the NAS sound support
1403 --without-opengl do not use OpenGL
1404 --without-openssl do not use OpenSSL
1405 --without-oss do not use the OSS sound support
1406 --without-png do not use PNG
1407 --without-sane do not use SANE (scanner support)
1408 --without-xcomposite do not use the Xcomposite extension
1409 --without-xcursor do not use the Xcursor extension
1410 --without-xinerama do not use Xinerama (multi-monitor support)
1411 --without-xinput do not use the Xinput extension
1412 --without-xml do not use XML
1413 --without-xrandr do not use Xrandr (resolution changes)
1414 --without-xrender do not use the Xrender extension
1415 --without-xshape do not use the Xshape extension
1416 --without-xshm do not use XShm (shared memory extension)
1417 --without-xslt do not use XSLT
1418 --without-xxf86vm do not use XFree video mode extension
1419 --with-wine-tools=DIR use Wine tools from directory DIR
1420 --with-x use the X Window System
1422 Some influential environment variables:
1423 CC C compiler command
1424 CFLAGS C compiler flags
1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1426 nonstandard directory <lib dir>
1427 LIBS libraries to pass to the linker, e.g. -l<library>
1428 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1429 you have headers in a nonstandard directory <include dir>
1430 CXX C++ compiler command
1431 CXXFLAGS C++ compiler flags
1432 XMKMF Path to xmkmf, Makefile generator for X Window System
1435 Use these variables to override the choices made by `configure' or to
help
1436 it to
find libraries and programs with nonstandard names
/locations.
1438 Report bugs to
<wine-devel@winehq.org
>.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1446 test -d "$ac_dir" ||
continue
1450 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1452 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1453 # A ".." for each directory in $ac_dir_suffix.
1454 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1455 case $ac_top_builddir_sub in
1456 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1457 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1460 ac_abs_top_builddir
=$ac_pwd
1461 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir
=$ac_top_build_prefix
1466 .
) # We are building in place.
1468 ac_top_srcdir
=$ac_top_builddir_sub
1469 ac_abs_top_srcdir
=$ac_pwd ;;
1470 [\\/]* | ?
:[\\/]* ) # Absolute name.
1471 ac_srcdir
=$srcdir$ac_dir_suffix;
1472 ac_top_srcdir
=$srcdir
1473 ac_abs_top_srcdir
=$srcdir ;;
1475 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1477 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1479 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1481 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1482 # Check for guested configure.
1483 if test -f "$ac_srcdir/configure.gnu"; then
1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486 elif test -f "$ac_srcdir/configure"; then
1488 $SHELL "$ac_srcdir/configure" --help=recursive
1490 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1499 Wine configure
1.1.1
1500 generated by GNU Autoconf
2.61
1502 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1503 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1504 This configure
script is free software
; the Free Software Foundation
1505 gives unlimited permission to copy
, distribute and modify it.
1509 cat >config.log
<<_ACEOF
1510 This file contains any messages produced by compilers while
1511 running configure, to aid debugging if configure makes a mistake.
1513 It was created by Wine $as_me 1.1.1, which was
1514 generated by GNU Autoconf 2.61. Invocation command line was
1526 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1527 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1528 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1529 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1530 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1532 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1533 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1535 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1536 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1537 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1538 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1539 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1540 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1541 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir
=.
1550 echo "PATH: $as_dir"
1566 # Keep a trace of the command line.
1567 # Strip out --no-create and --no-recursion so they do not pile up.
1568 # Strip out --silent because we don't want to record it for future runs.
1569 # Also quote any args containing shell meta-characters.
1570 # Make two passes to allow for proper duplicate-argument suppression.
1574 ac_must_keep_next
=false
1580 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1581 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1582 |
-silent |
--silent |
--silen |
--sile |
--sil)
1585 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1588 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1590 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1591 if test $ac_must_keep_next = true
; then
1592 ac_must_keep_next
=false
# Got value, back to normal.
1595 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1596 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1597 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1598 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1599 case "$ac_configure_args0 " in
1600 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1603 -* ) ac_must_keep_next
=true
;;
1606 ac_configure_args
="$ac_configure_args '$ac_arg'"
1611 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1612 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1614 # When interrupted or exit'd, cleanup temporary files, and complete
1615 # config.log. We remove comments because anyway the quotes in there
1616 # would cause problems or look ugly.
1617 # WARNING: Use '\'' to represent an apostrophe within the trap.
1618 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1619 trap 'exit_status=$?
1620 # Save into config.log some information that might help in debugging.
1625 ## ---------------- ##
1626 ## Cache variables. ##
1627 ## ---------------- ##
1630 # The following way of writing the cache mishandles newlines in values,
1632 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1633 eval ac_val=\$$ac_var
1637 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1638 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1641 _ | IFS | as_nl) ;; #(
1642 *) $as_unset $ac_var ;;
1647 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1648 *${as_nl}ac_space=\ *)
1650 "s/'\''/'\''\\\\'\'''\''/g;
1651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1662 ## ----------------- ##
1663 ## Output variables. ##
1664 ## ----------------- ##
1667 for ac_var in $ac_subst_vars
1669 eval ac_val=\$$ac_var
1671 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673 echo "$ac_var='\''$ac_val'\''"
1677 if test -n "$ac_subst_files"; then
1679 ## ------------------- ##
1680 ## File substitutions. ##
1681 ## ------------------- ##
1684 for ac_var
in $ac_subst_files
1686 eval ac_val
=\$
$ac_var
1688 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1690 echo "$ac_var='\''$ac_val'\''"
1695 if test -s confdefs.h; then
1705 test "$ac_signal" != 0 &&
1706 echo "$as_me: caught signal $ac_signal"
1707 echo "$as_me: exit $exit_status"
1709 rm -f core *.core core.conftest.* &&
1710 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1713 for ac_signal
in 1 2 13 15; do
1714 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1719 rm -f -r conftest
* confdefs.h
1721 # Predefined preprocessor variables.
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_NAME "$PACKAGE_NAME"
1728 cat >>confdefs.h
<<_ACEOF
1729 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1733 cat >>confdefs.h
<<_ACEOF
1734 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1738 cat >>confdefs.h
<<_ACEOF
1739 #define PACKAGE_STRING "$PACKAGE_STRING"
1743 cat >>confdefs.h
<<_ACEOF
1744 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748 # Let the site file select an alternate cache file if it wants to.
1749 # Prefer explicitly selected file to automatically selected ones.
1750 if test -n "$CONFIG_SITE"; then
1751 set x
"$CONFIG_SITE"
1752 elif test "x$prefix" != xNONE
; then
1753 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1755 set x
"$ac_default_prefix/share/config.site" \
1756 "$ac_default_prefix/etc/config.site"
1761 if test -r "$ac_site_file"; then
1762 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1763 echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1769 if test -r "$cache_file"; then
1770 # Some versions of bash will fail to source /dev/null (special
1771 # files actually), so we avoid doing that.
1772 if test -f "$cache_file"; then
1773 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1774 echo "$as_me: loading cache $cache_file" >&6;}
1776 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1777 *) .
"./$cache_file";;
1781 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1782 echo "$as_me: creating cache $cache_file" >&6;}
1786 # Check that the precious variables saved in the cache have kept the same
1788 ac_cache_corrupted
=false
1789 for ac_var
in $ac_precious_vars; do
1790 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1791 eval ac_new_set
=\
$ac_env_${ac_var}_set
1792 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1793 eval ac_new_val
=\
$ac_env_${ac_var}_value
1794 case $ac_old_set,$ac_new_set in
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1798 ac_cache_corrupted
=: ;;
1800 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1801 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1802 ac_cache_corrupted
=: ;;
1805 if test "x$ac_old_val" != "x$ac_new_val"; then
1806 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1807 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1808 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1809 echo "$as_me: former value: $ac_old_val" >&2;}
1810 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1811 echo "$as_me: current value: $ac_new_val" >&2;}
1812 ac_cache_corrupted
=:
1815 # Pass precious variables to config.status.
1816 if test "$ac_new_set" = set; then
1818 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1819 *) ac_arg
=$ac_var=$ac_new_val ;;
1821 case " $ac_configure_args " in
1822 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1823 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1827 if $ac_cache_corrupted; then
1828 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1829 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1830 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1831 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1832 { (exit 1); exit 1; }; }
1860 ac_cpp
='$CPP $CPPFLAGS'
1861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1867 ac_config_headers
="$ac_config_headers include/config.h"
1870 for ac_dir
in tools
"$srcdir"/tools
; do
1871 if test -f "$ac_dir/install-sh"; then
1873 ac_install_sh
="$ac_aux_dir/install-sh -c"
1875 elif test -f "$ac_dir/install.sh"; then
1877 ac_install_sh
="$ac_aux_dir/install.sh -c"
1879 elif test -f "$ac_dir/shtool"; then
1881 ac_install_sh
="$ac_aux_dir/shtool install -c"
1885 if test -z "$ac_aux_dir"; then
1886 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1887 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1888 { (exit 1); exit 1; }; }
1891 # These three variables are undocumented and unsupported,
1892 # and are intended to be withdrawn in a future Autoconf release.
1893 # They can cause serious problems if a builder's source tree is in a directory
1894 # whose full name contains unusual characters.
1895 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1896 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1897 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1902 # Check whether --enable-win16 was given.
1903 if test "${enable_win16+set}" = set; then
1904 enableval
=$enable_win16;
1907 # Check whether --enable-win64 was given.
1908 if test "${enable_win64+set}" = set; then
1909 enableval
=$enable_win64;
1912 # Check whether --enable-maintainer-mode was given.
1913 if test "${enable_maintainer_mode+set}" = set; then
1914 enableval
=$enable_maintainer_mode;
1922 # Check whether --with-alsa was given.
1923 if test "${with_alsa+set}" = set; then
1924 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1928 # Check whether --with-audioio was given.
1929 if test "${with_audioio+set}" = set; then
1930 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1934 # Check whether --with-capi was given.
1935 if test "${with_capi+set}" = set; then
1936 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1940 # Check whether --with-cms was given.
1941 if test "${with_cms+set}" = set; then
1942 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1946 # Check whether --with-coreaudio was given.
1947 if test "${with_coreaudio+set}" = set; then
1948 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1952 # Check whether --with-cups was given.
1953 if test "${with_cups+set}" = set; then
1958 # Check whether --with-curses was given.
1959 if test "${with_curses+set}" = set; then
1960 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1964 # Check whether --with-esd was given.
1965 if test "${with_esd+set}" = set; then
1970 # Check whether --with-fontconfig was given.
1971 if test "${with_fontconfig+set}" = set; then
1972 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1976 # Check whether --with-freetype was given.
1977 if test "${with_freetype+set}" = set; then
1978 withval
=$with_freetype;
1982 # Check whether --with-gphoto was given.
1983 if test "${with_gphoto+set}" = set; then
1984 withval
=$with_gphoto;
1988 # Check whether --with-glu was given.
1989 if test "${with_glu+set}" = set; then
1990 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
1994 # Check whether --with-hal was given.
1995 if test "${with_hal+set}" = set; then
2000 # Check whether --with-jack was given.
2001 if test "${with_jack+set}" = set; then
2002 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2006 # Check whether --with-jpeg was given.
2007 if test "${with_jpeg+set}" = set; then
2008 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2012 # Check whether --with-ldap was given.
2013 if test "${with_ldap+set}" = set; then
2014 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2018 # Check whether --with-nas was given.
2019 if test "${with_nas+set}" = set; then
2020 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2024 # Check whether --with-opengl was given.
2025 if test "${with_opengl+set}" = set; then
2026 withval
=$with_opengl;
2030 # Check whether --with-openssl was given.
2031 if test "${with_openssl+set}" = set; then
2032 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2036 # Check whether --with-oss was given.
2037 if test "${with_oss+set}" = set; then
2038 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2042 # Check whether --with-png was given.
2043 if test "${with_png+set}" = set; then
2044 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2048 # Check whether --with-sane was given.
2049 if test "${with_sane+set}" = set; then
2054 # Check whether --with-xcomposite was given.
2055 if test "${with_xcomposite+set}" = set; then
2056 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2060 # Check whether --with-xcursor was given.
2061 if test "${with_xcursor+set}" = set; then
2062 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2066 # Check whether --with-xinerama was given.
2067 if test "${with_xinerama+set}" = set; then
2068 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2072 # Check whether --with-xinput was given.
2073 if test "${with_xinput+set}" = set; then
2074 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2078 # Check whether --with-xml was given.
2079 if test "${with_xml+set}" = set; then
2084 # Check whether --with-xrandr was given.
2085 if test "${with_xrandr+set}" = set; then
2086 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2090 # Check whether --with-xrender was given.
2091 if test "${with_xrender+set}" = set; then
2092 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2096 # Check whether --with-xshape was given.
2097 if test "${with_xshape+set}" = set; then
2098 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2102 # Check whether --with-xshm was given.
2103 if test "${with_xshm+set}" = set; then
2104 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2108 # Check whether --with-xslt was given.
2109 if test "${with_xslt+set}" = set; then
2114 # Check whether --with-xxf86vm was given.
2115 if test "${with_xxf86vm+set}" = set; then
2116 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2121 # Check whether --with-wine-tools was given.
2122 if test "${with_wine_tools+set}" = set; then
2123 withval
=$with_wine_tools;
2127 # Make sure we can run config.sub.
2128 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2129 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2130 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2131 { (exit 1); exit 1; }; }
2133 { echo "$as_me:$LINENO: checking build system type" >&5
2134 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2135 if test "${ac_cv_build+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 ac_build_alias
=$build_alias
2139 test "x$ac_build_alias" = x
&&
2140 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2141 test "x$ac_build_alias" = x
&&
2142 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2143 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2144 { (exit 1); exit 1; }; }
2145 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2146 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2147 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2148 { (exit 1); exit 1; }; }
2151 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2152 echo "${ECHO_T}$ac_cv_build" >&6; }
2153 case $ac_cv_build in
2155 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2156 echo "$as_me: error: invalid value of canonical build" >&2;}
2157 { (exit 1); exit 1; }; };;
2160 ac_save_IFS
=$IFS; IFS
='-'
2166 # Remember, the first character of IFS is used to create $*,
2167 # except with old shells:
2170 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2173 { echo "$as_me:$LINENO: checking host system type" >&5
2174 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2175 if test "${ac_cv_host+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test "x$host_alias" = x
; then
2179 ac_cv_host
=$ac_cv_build
2181 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2182 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2183 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2184 { (exit 1); exit 1; }; }
2188 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2189 echo "${ECHO_T}$ac_cv_host" >&6; }
2192 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2193 echo "$as_me: error: invalid value of canonical host" >&2;}
2194 { (exit 1); exit 1; }; };;
2197 ac_save_IFS
=$IFS; IFS
='-'
2203 # Remember, the first character of IFS is used to create $*,
2204 # except with old shells:
2207 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2212 if test "x$enable_win64" != "xyes"
2214 test -n "$CC" || CC
="gcc -m32"
2215 test -n "$CXX"|| CXX
="g++ -m32"
2216 test -n "$LD" || LD
="ld -m elf_i386"
2217 test -n "$AS" || AS
="as --32"
2225 if test "x$enable_win16" != "xno"
2232 WIN16_FILES
="\$(WIN16_FILES)"
2234 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2236 if test "x$enable_win16" != "xyes"
2244 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2245 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2246 You need to run 'make distclean' in the source tree first." >&5
2247 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&2;}
2249 { (exit 1); exit 1; }; }
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 cat >conftest.
make <<\_ACEOF
2263 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2268 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2270 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2274 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2275 { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281 SET_MAKE
="MAKE=${MAKE-make}"
2285 ac_cpp
='$CPP $CPPFLAGS'
2286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2291 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC
="$CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 if test -n "$CC"; then
2319 { echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$ac_cv_prog_CC"; then
2330 # Extract the first word of "gcc", so it can be a program name with args.
2331 set dummy gcc
; ac_word
=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 if test -n "$ac_ct_CC"; then
2338 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_CC
="gcc"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6; }
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2366 if test "x$ac_ct_CC" = x
; then
2369 case $cross_compiling:$ac_tool_warned in
2371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&5
2374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2377 ac_tool_warned
=yes ;;
2385 if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2387 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2388 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC
="$CC" # Let the user override the test.
2397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir
=.
2402 for ac_exec_ext
in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$CC"; then
2416 { echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6; }
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 # Extract the first word of "cc", so it can be a program name with args.
2428 set dummy cc
; ac_word
=$2
2429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC
="$CC" # Let the user override the test.
2438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir
=.
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2446 ac_prog_rejected
=yes
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test $ac_prog_rejected = yes; then
2458 # We found a bogon in the path, so make sure we never use it.
2459 set dummy
$ac_cv_prog_CC
2461 if test $# != 0; then
2462 # We chose a different compiler from the bogus one.
2463 # However, it has the same basename, so the bogon will be chosen
2464 # first if we set CC to just the basename; use the full file name.
2466 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2472 if test -n "$CC"; then
2473 { echo "$as_me:$LINENO: result: $CC" >&5
2474 echo "${ECHO_T}$CC" >&6; }
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2484 for ac_prog
in cl.exe
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC
="$CC" # Let the user override the test.
2496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir
=.
2501 for ac_exec_ext
in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 if test -n "$CC"; then
2515 { echo "$as_me:$LINENO: result: $CC" >&5
2516 echo "${ECHO_T}$CC" >&6; }
2518 { echo "$as_me:$LINENO: result: no" >&5
2519 echo "${ECHO_T}no" >&6; }
2523 test -n "$CC" && break
2526 if test -z "$CC"; then
2528 for ac_prog
in cl.exe
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy
$ac_prog; ac_word
=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$ac_ct_CC"; then
2538 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_CC
="$ac_prog"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2558 if test -n "$ac_ct_CC"; then
2559 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 echo "${ECHO_T}$ac_ct_CC" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2567 test -n "$ac_ct_CC" && break
2570 if test "x$ac_ct_CC" = x
; then
2573 case $cross_compiling:$ac_tool_warned in
2575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2576 whose name does not start with the host triplet. If you think this
2577 configuration is useful to you, please write to autoconf@gnu.org." >&5
2578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2579 whose name does not start with the host triplet. If you think this
2580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2581 ac_tool_warned
=yes ;;
2590 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2596 # Provide some information about the compiler.
2597 echo "$as_me:$LINENO: checking for C compiler version" >&5
2598 ac_compiler
=`set X $ac_compile; echo $2`
2599 { (ac_try
="$ac_compiler --version >&5"
2601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compiler --version >&5") 2>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }
2609 { (ac_try="$ac_compiler -v >&5"
2611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2612 *) ac_try_echo
=$ac_try;;
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_compiler -v >&5") 2>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }
2619 { (ac_try
="$ac_compiler -V >&5"
2621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_compiler -V >&5") 2>&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }
2630 cat >conftest.$ac_ext <<_ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 ac_clean_files_save=$ac_clean_files
2646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2647 # Try to create an executable without -o first, disregard a.out.
2648 # It will help us diagnose broken compilers, and finding out an intuition
2650 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2652 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2654 # List of possible output files, starting from the most likely.
2655 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2656 # only as a last resort. b.out is created by i960 compilers.
2657 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2659 # The IRIX 6 linker writes into existing files which may not be
2660 # executable, retaining their permissions. Remove them first so a
2661 # subsequent execution test works.
2663 for ac_file in $ac_files
2666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2667 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2672 if { (ac_try="$ac_link_default"
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_link_default") 2>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; then
2682 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2683 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2684 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2685 # so that the user can short-circuit this test for compilers unknown to
2687 for ac_file
in $ac_files ''
2689 test -f "$ac_file" ||
continue
2691 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2694 # We found the default executable, but exeext='' is most
2698 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2700 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 # We set ac_cv_exeext here because the later test for it is not
2703 # safe: cross compilers may not add the suffix if given an `-o'
2704 # argument, so we may need to know it at that point already.
2705 # Even if this section looks crufty: it has the advantage of
2712 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2718 { echo "$as_me:$LINENO: result: $ac_file" >&5
2719 echo "${ECHO_T}$ac_file" >&6; }
2720 if test -z "$ac_file"; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.
$ac_ext >&5
2724 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2725 See \`config.log' for more details." >&5
2726 echo "$as_me: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&2;}
2728 { (exit 77); exit 77; }; }
2731 ac_exeext
=$ac_cv_exeext
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2736 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2737 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2738 # If not cross compiling, check that we can run a simple program.
2739 if test "$cross_compiling" != yes; then
2740 if { ac_try
='./$ac_file'
2741 { (case "(($ac_try" in
2742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746 (eval "$ac_try") 2>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2752 if test "$cross_compiling" = maybe; then
2755 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2756 If you meant to cross compile, use \`--host'.
2757 See \`config.log' for more details.
" >&5
2758 echo "$as_me: error
: cannot run C compiled programs.
2759 If you meant to cross compile
, use \
`--host'.
2760 See \`config.log
' for more details." >&2;}
2761 { (exit 1); exit 1; }; }
2765 { echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6; }
2768 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2769 ac_clean_files=$ac_clean_files_save
2770 # Check that the compiler produces executables we can run. If not, either
2771 # the compiler is broken, or we cross compile.
2772 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2773 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2774 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2775 echo "${ECHO_T}$cross_compiling" >&6; }
2777 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2778 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2779 if { (ac_try="$ac_link"
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_link") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2790 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2791 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2793 for ac_file
in conftest.exe conftest conftest.
*; do
2794 test -f "$ac_file" ||
continue
2796 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2797 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2803 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2804 See \`config.log' for more details." >&5
2805 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&2;}
2807 { (exit 1); exit 1; }; }
2810 rm -f conftest
$ac_cv_exeext
2811 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2812 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2814 rm -f conftest.
$ac_ext
2815 EXEEXT
=$ac_cv_exeext
2817 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2818 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2819 if test "${ac_cv_objext+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 cat >conftest.
$ac_ext <<_ACEOF
2825 cat confdefs.h
>>conftest.
$ac_ext
2826 cat >>conftest.
$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2837 rm -f conftest.o conftest.obj
2838 if { (ac_try
="$ac_compile"
2840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_compile") 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; then
2848 for ac_file in conftest.o conftest.obj conftest.*; do
2849 test -f "$ac_file" || continue;
2851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2852 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2861 See \`config.log
' for more details." >&5
2862 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details.
" >&2;}
2864 { (exit 1); exit 1; }; }
2867 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2869 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2870 echo "${ECHO_T}$ac_cv_objext" >&6; }
2871 OBJEXT=$ac_cv_objext
2873 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2874 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2875 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2876 echo $ECHO_N "(cached
) $ECHO_C" >&6
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2896 rm -f conftest.$ac_objext
2897 if { (ac_try="$ac_compile"
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_compile") 2>conftest.er1
2905 grep -v '^ *+' conftest.er1 >conftest.err
2907 cat conftest.err >&5
2908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2909 (exit $ac_status); } && {
2910 test -z "$ac_c_werror_flag" ||
2911 test ! -s conftest.err
2912 } && test -s conftest.$ac_objext; then
2915 echo "$as_me: failed program was
:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2925 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2926 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2927 GCC=`test $ac_compiler_gnu = yes && echo yes`
2928 ac_test_CFLAGS=${CFLAGS+set}
2929 ac_save_CFLAGS=$CFLAGS
2930 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2931 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2932 if test "${ac_cv_prog_cc_g+set}" = set; then
2933 echo $ECHO_N "(cached
) $ECHO_C" >&6
2935 ac_save_c_werror_flag=$ac_c_werror_flag
2936 ac_c_werror_flag=yes
2939 cat >conftest.$ac_ext <<_ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2954 rm -f conftest.$ac_objext
2955 if { (ac_try="$ac_compile"
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2961 (eval "$ac_compile") 2>conftest.er1
2963 grep -v '^ *+' conftest.er1 >conftest.err
2965 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2967 (exit $ac_status); } && {
2968 test -z "$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.$ac_objext; then
2973 echo "$as_me: failed program was
:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2992 rm -f conftest.$ac_objext
2993 if { (ac_try="$ac_compile"
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2999 (eval "$ac_compile") 2>conftest.er1
3001 grep -v '^ *+' conftest.er1 >conftest.err
3003 cat conftest.err >&5
3004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3005 (exit $ac_status); } && {
3006 test -z "$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3008 } && test -s conftest.$ac_objext; then
3011 echo "$as_me: failed program was
:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_c_werror_flag=$ac_save_c_werror_flag
3016 cat >conftest.$ac_ext <<_ACEOF
3019 cat confdefs.h >>conftest.$ac_ext
3020 cat >>conftest.$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3031 rm -f conftest.$ac_objext
3032 if { (ac_try="$ac_compile"
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3038 (eval "$ac_compile") 2>conftest.er1
3040 grep -v '^ *+' conftest.er1 >conftest.err
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3044 (exit $ac_status); } && {
3045 test -z "$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3047 } && test -s conftest.$ac_objext; then
3050 echo "$as_me: failed program was
:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 ac_c_werror_flag=$ac_save_c_werror_flag
3065 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3067 if test "$ac_test_CFLAGS" = set; then
3068 CFLAGS=$ac_save_CFLAGS
3069 elif test $ac_cv_prog_cc_g = yes; then
3070 if test "$GCC" = yes; then
3076 if test "$GCC" = yes; then
3082 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3083 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3084 if test "${ac_cv_prog_cc_c89+set}" = set; then
3085 echo $ECHO_N "(cached
) $ECHO_C" >&6
3087 ac_cv_prog_cc_c89=no
3089 cat >conftest.$ac_ext <<_ACEOF
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3097 #include <sys/types.h>
3098 #include <sys/stat.h>
3099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3100 struct buf { int x; };
3101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3102 static char *e (p, i)
3108 static char *f (char * (*g) (char **, int), char **p, ...)
3113 s = g (p, va_arg (v,int));
3118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3119 function prototypes and stuff, but not '\xHH' hex character constants.
3120 These don't provoke an error unfortunately, instead are silently treated
3121 as 'x'. The following induces an error, until -std is added to get
3122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3123 array size at least. It's necessary to write '\x00'==0 to get something
3124 that's true only with -std. */
3125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3128 inside strings and character constants. */
3130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3132 int test (int i, double x);
3133 struct s1 {int (*f) (int a);};
3134 struct s2 {int (*f) (double a);};
3135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3149 CC="$ac_save_CC $ac_arg"
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^ *+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_cv_prog_cc_c89=$ac_arg
3169 echo "$as_me: failed program was
:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext
3176 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3178 rm -f conftest.$ac_ext
3183 case "x
$ac_cv_prog_cc_c89" in
3185 { echo "$as_me:$LINENO: result
: none needed
" >&5
3186 echo "${ECHO_T}none needed
" >&6; } ;;
3188 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3189 echo "${ECHO_T}unsupported
" >&6; } ;;
3191 CC="$CC $ac_cv_prog_cc_c89"
3192 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3193 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3204 ac_cpp='$CXXCPP $CPPFLAGS'
3205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3208 if test -z "$CXX"; then
3209 if test -n "$CCC"; then
3212 if test -n "$ac_tool_prefix"; then
3213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3217 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3218 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3219 if test "${ac_cv_prog_CXX+set}" = set; then
3220 echo $ECHO_N "(cached
) $ECHO_C" >&6
3222 if test -n "$CXX"; then
3223 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3233 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3243 if test -n "$CXX"; then
3244 { echo "$as_me:$LINENO: result
: $CXX" >&5
3245 echo "${ECHO_T}$CXX" >&6; }
3247 { echo "$as_me:$LINENO: result
: no
" >&5
3248 echo "${ECHO_T}no
" >&6; }
3252 test -n "$CXX" && break
3255 if test -z "$CXX"; then
3257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3259 # Extract the first word of "$ac_prog", so it can be a program name with args.
3260 set dummy $ac_prog; ac_word=$2
3261 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3262 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3264 echo $ECHO_N "(cached
) $ECHO_C" >&6
3266 if test -n "$ac_ct_CXX"; then
3267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_ac_ct_CXX="$ac_prog"
3277 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3287 if test -n "$ac_ct_CXX"; then
3288 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3289 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3291 { echo "$as_me:$LINENO: result
: no
" >&5
3292 echo "${ECHO_T}no
" >&6; }
3296 test -n "$ac_ct_CXX" && break
3299 if test "x
$ac_ct_CXX" = x; then
3302 case $cross_compiling:$ac_tool_warned in
3304 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3305 whose name does not start with the
host triplet. If you think this
3306 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3307 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3308 whose name does not start with the
host triplet. If you think this
3309 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3310 ac_tool_warned=yes ;;
3318 # Provide some information about the compiler.
3319 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3320 ac_compiler=`set X $ac_compile; echo $2`
3321 { (ac_try="$ac_compiler --version >&5"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compiler --version >&5") 2>&5
3329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3330 (exit $ac_status); }
3331 { (ac_try="$ac_compiler -v >&5"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compiler -v >&5") 2>&5
3339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3340 (exit $ac_status); }
3341 { (ac_try="$ac_compiler -V >&5"
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compiler -V >&5") 2>&5
3349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3350 (exit $ac_status); }
3352 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3353 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3355 echo $ECHO_N "(cached
) $ECHO_C" >&6
3357 cat >conftest.$ac_ext <<_ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3375 rm -f conftest.$ac_objext
3376 if { (ac_try="$ac_compile"
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_cxx_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3394 echo "$as_me: failed program was
:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3404 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3405 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3406 GXX=`test $ac_compiler_gnu = yes && echo yes`
3407 ac_test_CXXFLAGS=${CXXFLAGS+set}
3408 ac_save_CXXFLAGS=$CXXFLAGS
3409 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3410 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3411 if test "${ac_cv_prog_cxx_g+set}" = set; then
3412 echo $ECHO_N "(cached
) $ECHO_C" >&6
3414 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3415 ac_cxx_werror_flag=yes
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 rm -f conftest.$ac_objext
3434 if { (ac_try="$ac_compile"
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3440 (eval "$ac_compile") 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3446 (exit $ac_status); } && {
3447 test -z "$ac_cxx_werror_flag" ||
3448 test ! -s conftest.err
3449 } && test -s conftest.$ac_objext; then
3450 ac_cv_prog_cxx_g=yes
3452 echo "$as_me: failed program was
:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3456 cat >conftest.$ac_ext <<_ACEOF
3459 cat confdefs.h >>conftest.$ac_ext
3460 cat >>conftest.$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3471 rm -f conftest.$ac_objext
3472 if { (ac_try="$ac_compile"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_compile") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_cxx_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest.$ac_objext; then
3490 echo "$as_me: failed program was
:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3495 cat >conftest.$ac_ext <<_ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3510 rm -f conftest.$ac_objext
3511 if { (ac_try="$ac_compile"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3517 (eval "$ac_compile") 2>conftest.er1
3519 grep -v '^ *+' conftest.er1 >conftest.err
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3523 (exit $ac_status); } && {
3524 test -z "$ac_cxx_werror_flag" ||
3525 test ! -s conftest.err
3526 } && test -s conftest.$ac_objext; then
3527 ac_cv_prog_cxx_g=yes
3529 echo "$as_me: failed program was
:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3544 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3545 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3546 if test "$ac_test_CXXFLAGS" = set; then
3547 CXXFLAGS=$ac_save_CXXFLAGS
3548 elif test $ac_cv_prog_cxx_g = yes; then
3549 if test "$GXX" = yes; then
3555 if test "$GXX" = yes; then
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3569 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3570 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3571 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3572 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3573 echo $ECHO_N "(cached
) $ECHO_C" >&6
3575 if test -n "$CPPBIN"; then
3576 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3586 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3595 CPPBIN=$ac_cv_prog_CPPBIN
3596 if test -n "$CPPBIN"; then
3597 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3598 echo "${ECHO_T}$CPPBIN" >&6; }
3600 { echo "$as_me:$LINENO: result
: no
" >&5
3601 echo "${ECHO_T}no
" >&6; }
3606 if test -z "$ac_cv_prog_CPPBIN"; then
3607 ac_ct_CPPBIN=$CPPBIN
3608 # Extract the first word of "cpp
", so it can be a program name with args.
3609 set dummy cpp; ac_word=$2
3610 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3611 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3612 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3613 echo $ECHO_N "(cached
) $ECHO_C" >&6
3615 if test -n "$ac_ct_CPPBIN"; then
3616 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3626 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3635 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3636 if test -n "$ac_ct_CPPBIN"; then
3637 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3638 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3640 { echo "$as_me:$LINENO: result
: no
" >&5
3641 echo "${ECHO_T}no
" >&6; }
3644 if test "x
$ac_ct_CPPBIN" = x; then
3647 case $cross_compiling:$ac_tool_warned in
3649 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3650 whose name does not start with the
host triplet. If you think this
3651 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3652 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3653 whose name does not start with the
host triplet. If you think this
3654 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3655 ac_tool_warned=yes ;;
3657 CPPBIN=$ac_ct_CPPBIN
3660 CPPBIN="$ac_cv_prog_CPPBIN"
3664 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3665 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3666 if test "${wine_cv_toolsdir+set}" = set; then
3667 echo $ECHO_N "(cached
) $ECHO_C" >&6
3669 if test -z "$with_wine_tools"; then
3670 if test "$cross_compiling" = "yes"; then
3671 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3672 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3673 { (exit 1); exit 1; }; }
3675 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3677 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3678 case $with_wine_tools in
3679 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3680 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3683 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3684 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3685 { (exit 1); exit 1; }; }
3688 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3689 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3690 TOOLSDIR=$wine_cv_toolsdir
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
3699 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3700 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3701 # On Suns, sometimes $CPP names a directory.
3702 if test -n "$CPP" && test -d "$CPP"; then
3705 if test -z "$CPP"; then
3706 if test "${ac_cv_prog_CPP+set}" = set; then
3707 echo $ECHO_N "(cached
) $ECHO_C" >&6
3709 # Double quotes because CPP needs to be expanded
3710 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3713 for ac_c_preproc_warn_flag in '' yes
3715 # Use a header file that comes with gcc, so configuring glibc
3716 # with a fresh cross-compiler works.
3717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3718 # <limits.h> exists even on freestanding compilers.
3719 # On the NeXT, cc -E runs the code through the compiler's parser,
3720 # not just through cpp. "Syntax error
" is here to catch this case.
3721 cat >conftest.$ac_ext <<_ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3728 # include <limits.h>
3730 # include <assert.h>
3734 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3742 grep -v '^ *+' conftest.er1 >conftest.err
3744 cat conftest.err >&5
3745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3746 (exit $ac_status); } >/dev/null && {
3747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3748 test ! -s conftest.err
3752 echo "$as_me: failed program was
:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 # Broken: fails on valid input.
3759 rm -f conftest.err conftest.$ac_ext
3761 # OK, works on sane cases. Now check whether nonexistent headers
3762 # can be detected and how.
3763 cat >conftest.$ac_ext <<_ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 #include <ac_nonexistent.h>
3771 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3779 grep -v '^ *+' conftest.er1 >conftest.err
3781 cat conftest.err >&5
3782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3783 (exit $ac_status); } >/dev/null && {
3784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3787 # Broken: success on invalid input.
3790 echo "$as_me: failed program was
:" >&5
3791 sed 's/^/| /' conftest.$ac_ext >&5
3793 # Passes both tests.
3798 rm -f conftest.err conftest.$ac_ext
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.err conftest.$ac_ext
3803 if $ac_preproc_ok; then
3815 { echo "$as_me:$LINENO: result
: $CPP" >&5
3816 echo "${ECHO_T}$CPP" >&6; }
3818 for ac_c_preproc_warn_flag in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error
" is here to catch this case.
3826 cat >conftest.$ac_ext <<_ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3833 # include <limits.h>
3835 # include <assert.h>
3839 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3845 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3847 grep -v '^ *+' conftest.er1 >conftest.err
3849 cat conftest.err >&5
3850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3851 (exit $ac_status); } >/dev/null && {
3852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3853 test ! -s conftest.err
3857 echo "$as_me: failed program was
:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3860 # Broken: fails on valid input.
3864 rm -f conftest.err conftest.$ac_ext
3866 # OK, works on sane cases. Now check whether nonexistent headers
3867 # can be detected and how.
3868 cat >conftest.$ac_ext <<_ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3874 #include <ac_nonexistent.h>
3876 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3884 grep -v '^ *+' conftest.er1 >conftest.err
3886 cat conftest.err >&5
3887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3888 (exit $ac_status); } >/dev/null && {
3889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3890 test ! -s conftest.err
3892 # Broken: success on invalid input.
3895 echo "$as_me: failed program was
:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 # Passes both tests.
3903 rm -f conftest.err conftest.$ac_ext
3906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3907 rm -f conftest.err conftest.$ac_ext
3908 if $ac_preproc_ok; then
3911 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3912 See \
`config.log' for more details." >&5
3913 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log
' for more details." >&2;}
3915 { (exit 1); exit 1; }; }
3919 ac_cpp='$CPP $CPPFLAGS'
3920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3921 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 { echo "$as_me:$LINENO: checking for X" >&5
3926 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3929 # Check whether --with-x was given.
3930 if test "${with_x+set}" = set; then
3934 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3935 if test "x$with_x" = xno; then
3936 # The user explicitly disabled X.
3939 case $x_includes,$x_libraries in #(
3940 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3941 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3942 { (exit 1); exit 1; }; };; #(
3943 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 # One or both of the vars are not set, and there is no cached value.
3947 ac_x_includes=no ac_x_libraries=no
3948 rm -f -r conftest.dir
3949 if mkdir conftest.dir; then
3951 cat >Imakefile <<'_ACEOF'
3953 @echo incroot='${INCROOT}'
3955 @echo usrlibdir='${USRLIBDIR}'
3957 @echo libdir='${LIBDIR}'
3959 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3961 for ac_var in incroot usrlibdir libdir; do
3962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3965 for ac_extension in a so sl; do
3966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3968 ac_im_usrlibdir=$ac_im_libdir; break
3971 # Screen out bogus values from the imake configuration. They are
3972 # bogus both because they are the default anyway, and because
3973 # using them would break gcc on systems where it needs fixed includes.
3974 case $ac_im_incroot in
3975 /usr/include) ac_x_includes= ;;
3976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3978 case $ac_im_usrlibdir in
3980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3984 rm -f -r conftest.dir
3987 # Standard set of common directories for X headers.
3988 # Check X11 before X11Rn because it is often a symlink to the current release.
4000 /usr
/local
/X11
/include
4001 /usr
/local
/X11R
6/include
4002 /usr
/local
/X11R
5/include
4003 /usr
/local
/X11R
4/include
4005 /usr
/local
/include
/X11
4006 /usr
/local
/include
/X11R6
4007 /usr
/local
/include
/X11R5
4008 /usr
/local
/include
/X11R4
4012 /usr
/XFree86
/include
/X11
4016 /usr
/unsupported
/include
4018 /usr
/local
/x11r
5/include
4019 /usr
/lpp
/Xamples
/include
4021 /usr
/openwin
/include
4022 /usr
/openwin
/share
/include
'
4024 if test "$ac_x_includes" = no; then
4025 # Guess where to find include files, by looking for Xlib.h.
4026 # First, try using that file with no special directory specified.
4027 cat >conftest.$ac_ext <<_ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4033 #include <X11/Xlib.h>
4035 if { (ac_try="$ac_cpp conftest.$ac_ext"
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4043 grep -v '^
*+' conftest.er1 >conftest.err
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err
4051 # We can compile using X headers with no special include directory.
4054 echo "$as_me: failed program was:" >&5
4055 sed 's
/^
/|
/' conftest.$ac_ext >&5
4057 for ac_dir in $ac_x_header_dirs; do
4058 if test -r "$ac_dir/X11/Xlib.h"; then
4059 ac_x_includes=$ac_dir
4065 rm -f conftest.err conftest.$ac_ext
4066 fi # $ac_x_includes = no
4068 if test "$ac_x_libraries" = no; then
4069 # Check for the libraries.
4070 # See if we find them without any special options.
4071 # Don't add to
$LIBS permanently.
4074 cat >conftest.
$ac_ext <<_ACEOF
4077 cat confdefs.h
>>conftest.
$ac_ext
4078 cat >>conftest.
$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 #include <X11/Xlib.h>
4089 rm -f conftest.
$ac_objext conftest
$ac_exeext
4090 if { (ac_try
="$ac_link"
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_link") 2>conftest.er1
4098 grep -v '^ *+' conftest.er1 >conftest.err
4100 cat conftest.err >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); } && {
4103 test -z "$ac_c_werror_flag" ||
4104 test ! -s conftest.err
4105 } && test -s conftest$ac_exeext &&
4106 $as_test_x conftest$ac_exeext; then
4108 # We can link X programs with no special library path.
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4115 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4117 # Don't even attempt the hair of trying to link an X program!
4118 for ac_extension in a so sl; do
4119 if test -r "$ac_dir/libX11.$ac_extension"; then
4120 ac_x_libraries=$ac_dir
4127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4128 conftest$ac_exeext conftest.$ac_ext
4129 fi # $ac_x_libraries = no
4131 case $ac_x_includes,$ac_x_libraries in #(
4133 # Didn't find X, or a directory has "'" in its name.
4134 ac_cv_have_x="have_x=no";; #(
4136 # Record where we found X for the cache.
4137 ac_cv_have_x="have_x=yes\
4138 ac_x_includes='$ac_x_includes'\
4139 ac_x_libraries='$ac_x_libraries'"
4145 eval "$ac_cv_have_x"
4148 if test "$have_x" != yes; then
4149 { echo "$as_me:$LINENO: result: $have_x" >&5
4150 echo "${ECHO_T}$have_x" >&6; }
4153 # If each of the values was on the command line, it overrides each guess.
4154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4156 # Update the cache value to reflect the command line values.
4157 ac_cv_have_x="have_x=yes\
4158 ac_x_includes='$x_includes'\
4159 ac_x_libraries='$x_libraries'"
4160 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4161 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4164 if test "$no_x" = yes; then
4165 # Not all programs may use this symbol, but it does not hurt to define it.
4167 cat >>confdefs.h <<\_ACEOF
4168 #define X_DISPLAY_MISSING 1
4171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4173 if test -n "$x_includes"; then
4174 X_CFLAGS="$X_CFLAGS -I$x_includes"
4177 # It would also be nice to do this for all -L options, not just this one.
4178 if test -n "$x_libraries"; then
4179 X_LIBS="$X_LIBS -L$x_libraries"
4180 # For Solaris; some versions of Sun CC require a space after -R and
4181 # others require no space. Words are not sufficient . . . .
4182 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4183 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4185 ac_xsave_c_werror_flag=$ac_c_werror_flag
4186 ac_c_werror_flag=yes
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4202 rm -f conftest.$ac_objext conftest$ac_exeext
4203 if { (ac_try="$ac_link"
4205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4206 *) ac_try_echo
=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4211 grep -v '^ *+' conftest.er1
>conftest.err
4213 cat conftest.err
>&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && {
4216 test -z "$ac_c_werror_flag" ||
4217 test ! -s conftest.err
4218 } && test -s conftest
$ac_exeext &&
4219 $as_test_x conftest
$ac_exeext; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 X_LIBS
="$X_LIBS -R$x_libraries"
4224 echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.
$ac_ext >&5
4227 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4243 rm -f conftest.
$ac_objext conftest
$ac_exeext
4244 if { (ac_try
="$ac_link"
4246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4250 (eval "$ac_link") 2>conftest.er1
4252 grep -v '^ *+' conftest.er1 >conftest.err
4254 cat conftest.err >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } && {
4257 test -z "$ac_c_werror_flag" ||
4258 test ! -s conftest.err
4259 } && test -s conftest$ac_exeext &&
4260 $as_test_x conftest$ac_exeext; then
4261 { echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6; }
4263 X_LIBS="$X_LIBS -R $x_libraries"
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 { echo "$as_me:$LINENO: result: neither works" >&5
4269 echo "${ECHO_T}neither works" >&6; }
4272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4273 conftest$ac_exeext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4277 conftest$ac_exeext conftest.$ac_ext
4278 ac_c_werror_flag=$ac_xsave_c_werror_flag
4282 # Check for system-dependent libraries X programs must link with.
4283 # Do this before checking for the system-independent R6 libraries
4284 # (-lICE), since we may need -lsocket or whatever for X linking.
4286 if test "$ISC" = yes; then
4287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4289 # Martyn Johnson says this is needed for Ultrix, if the X
4290 # libraries were built with DECnet support. And Karl Berry says
4291 # the Alpha needs dnet_stub (dnet does not exist).
4292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4293 cat >conftest.$ac_ext <<_ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4300 /* Override any GCC internal prototype to avoid an error.
4301 Use char because int might match the return type of a GCC
4302 builtin and then its argument prototype would still apply. */
4306 char XOpenDisplay ();
4310 return XOpenDisplay ();
4315 rm -f conftest.$ac_objext conftest$ac_exeext
4316 if { (ac_try="$ac_link"
4318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4319 *) ac_try_echo
=$ac_try;;
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_link") 2>conftest.er1
4324 grep -v '^ *+' conftest.er1
>conftest.err
4326 cat conftest.err
>&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } && {
4329 test -z "$ac_c_werror_flag" ||
4330 test ! -s conftest.err
4331 } && test -s conftest
$ac_exeext &&
4332 $as_test_x conftest
$ac_exeext; then
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.
$ac_ext >&5
4338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4339 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4340 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 ac_check_lib_save_LIBS
=$LIBS
4345 cat >conftest.
$ac_ext <<_ACEOF
4348 cat confdefs.h
>>conftest.
$ac_ext
4349 cat >>conftest.
$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4352 /* Override any GCC internal prototype to avoid an error.
4353 Use char because int might match the return type of a GCC
4354 builtin and then its argument prototype would still apply. */
4362 return dnet_ntoa ();
4367 rm -f conftest.
$ac_objext conftest
$ac_exeext
4368 if { (ac_try
="$ac_link"
4370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4374 (eval "$ac_link") 2>conftest.er1
4376 grep -v '^ *+' conftest.er1 >conftest.err
4378 cat conftest.err >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } && {
4381 test -z "$ac_c_werror_flag" ||
4382 test ! -s conftest.err
4383 } && test -s conftest$ac_exeext &&
4384 $as_test_x conftest$ac_exeext; then
4385 ac_cv_lib_dnet_dnet_ntoa=yes
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 ac_cv_lib_dnet_dnet_ntoa=no
4393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4394 conftest$ac_exeext conftest.$ac_ext
4395 LIBS=$ac_check_lib_save_LIBS
4397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4398 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4399 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4403 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4404 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4405 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4406 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 ac_check_lib_save_LIBS=$LIBS
4410 LIBS="-ldnet_stub $LIBS"
4411 cat >conftest.$ac_ext <<_ACEOF
4414 cat confdefs.h >>conftest.$ac_ext
4415 cat >>conftest.$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4418 /* Override any GCC internal prototype to avoid an error.
4419 Use char because int might match the return type of a GCC
4420 builtin and then its argument prototype would still apply. */
4428 return dnet_ntoa ();
4433 rm -f conftest.$ac_objext conftest$ac_exeext
4434 if { (ac_try="$ac_link"
4436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4437 *) ac_try_echo
=$ac_try;;
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440 (eval "$ac_link") 2>conftest.er1
4442 grep -v '^ *+' conftest.er1
>conftest.err
4444 cat conftest.err
>&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } && {
4447 test -z "$ac_c_werror_flag" ||
4448 test ! -s conftest.err
4449 } && test -s conftest
$ac_exeext &&
4450 $as_test_x conftest
$ac_exeext; then
4451 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.
$ac_ext >&5
4456 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4460 conftest
$ac_exeext conftest.
$ac_ext
4461 LIBS
=$ac_check_lib_save_LIBS
4463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4464 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4465 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4466 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4473 conftest
$ac_exeext conftest.
$ac_ext
4474 LIBS
="$ac_xsave_LIBS"
4476 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4477 # to get the SysV transport functions.
4478 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4480 # The nsl library prevents programs from opening the X display
4481 # on Irix 5.2, according to T.E. Dickey.
4482 # The functions gethostbyname, getservbyname, and inet_addr are
4483 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4484 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4485 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_gethostbyname+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 gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define gethostbyname innocuous_gethostbyname
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char gethostbyname (); 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>
4510 #undef gethostbyname
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. */
4518 char gethostbyname ();
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_gethostbyname || defined __stub___gethostbyname
4529 return gethostbyname ();
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_gethostbyname=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_gethostbyname=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_gethostbyname" >&5
4564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4566 if test $ac_cv_func_gethostbyname = no; then
4567 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_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. */
4587 char gethostbyname ();
4591 return gethostbyname ();
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_nsl_gethostbyname
=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.
$ac_ext >&5
4619 ac_cv_lib_nsl_gethostbyname
=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_nsl_gethostbyname" >&5
4627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4629 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4632 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4633 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS
=$LIBS
4640 cat >conftest.
$ac_ext <<_ACEOF
4643 cat confdefs.h
>>conftest.
$ac_ext
4644 cat >>conftest.
$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any GCC internal prototype to avoid an error.
4648 Use char because int might match the return type of a GCC
4649 builtin and then its argument prototype would still apply. */
4653 char gethostbyname ();
4657 return gethostbyname ();
4662 rm -f conftest.
$ac_objext conftest
$ac_exeext
4663 if { (ac_try
="$ac_link"
4665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4669 (eval "$ac_link") 2>conftest.er1
4671 grep -v '^ *+' conftest.er1 >conftest.err
4673 cat conftest.err >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } && {
4676 test -z "$ac_c_werror_flag" ||
4677 test ! -s conftest.err
4678 } && test -s conftest$ac_exeext &&
4679 $as_test_x conftest$ac_exeext; then
4680 ac_cv_lib_bsd_gethostbyname=yes
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 ac_cv_lib_bsd_gethostbyname=no
4688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4689 conftest$ac_exeext conftest.$ac_ext
4690 LIBS=$ac_check_lib_save_LIBS
4692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4693 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4694 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4702 # socket/setsockopt and other routines are undefined under SCO ODT
4703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4704 # on later versions), says Simon Leinen: it contains gethostby*
4705 # variants that don't use the name server (or something). -lsocket
4706 # must be given before -lnsl if both are needed. We assume that
4707 # if connect needs -lnsl, so does gethostbyname.
4708 { echo "$as_me:$LINENO: checking for connect" >&5
4709 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4710 if test "${ac_cv_func_connect+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 cat >conftest.$ac_ext <<_ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4721 #define connect innocuous_connect
4723 /* System header to define __stub macros and hopefully few prototypes,
4724 which can conflict with char connect (); below.
4725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4726 <limits.h> exists even on freestanding compilers. */
4729 # include <limits.h>
4731 # include <assert.h>
4736 /* Override any GCC internal prototype to avoid an error.
4737 Use char because int might match the return type of a GCC
4738 builtin and then its argument prototype would still apply. */
4743 /* The GNU C library defines this for functions which it implements
4744 to always fail with ENOSYS. Some functions are actually named
4745 something starting with __ and the normal name is an alias. */
4746 #if defined __stub_connect || defined __stub___connect
4758 rm -f conftest.$ac_objext conftest$ac_exeext
4759 if { (ac_try="$ac_link"
4761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4762 *) ac_try_echo
=$ac_try;;
4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765 (eval "$ac_link") 2>conftest.er1
4767 grep -v '^ *+' conftest.er1
>conftest.err
4769 cat conftest.err
>&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } && {
4772 test -z "$ac_c_werror_flag" ||
4773 test ! -s conftest.err
4774 } && test -s conftest
$ac_exeext &&
4775 $as_test_x conftest
$ac_exeext; then
4776 ac_cv_func_connect
=yes
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.
$ac_ext >&5
4781 ac_cv_func_connect
=no
4784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4785 conftest
$ac_exeext conftest.
$ac_ext
4787 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4788 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4790 if test $ac_cv_func_connect = no
; then
4791 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4793 if test "${ac_cv_lib_socket_connect+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 ac_check_lib_save_LIBS
=$LIBS
4797 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4798 cat >conftest.
$ac_ext <<_ACEOF
4801 cat confdefs.h
>>conftest.
$ac_ext
4802 cat >>conftest.
$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4805 /* Override any GCC internal prototype to avoid an error.
4806 Use char because int might match the return type of a GCC
4807 builtin and then its argument prototype would still apply. */
4820 rm -f conftest.
$ac_objext conftest
$ac_exeext
4821 if { (ac_try
="$ac_link"
4823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_link") 2>conftest.er1
4829 grep -v '^ *+' conftest.er1 >conftest.err
4831 cat conftest.err >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest$ac_exeext &&
4837 $as_test_x conftest$ac_exeext; then
4838 ac_cv_lib_socket_connect=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4843 ac_cv_lib_socket_connect=no
4846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4847 conftest$ac_exeext conftest.$ac_ext
4848 LIBS=$ac_check_lib_save_LIBS
4850 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4851 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4852 if test $ac_cv_lib_socket_connect = yes; then
4853 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4858 # Guillermo Gomez says -lposix is necessary on A/UX.
4859 { echo "$as_me:$LINENO: checking for remove" >&5
4860 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4861 if test "${ac_cv_func_remove+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4872 #define remove innocuous_remove
4874 /* System header to define __stub macros and hopefully few prototypes,
4875 which can conflict with char remove (); below.
4876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4877 <limits.h> exists even on freestanding compilers. */
4880 # include <limits.h>
4882 # include <assert.h>
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4894 /* The GNU C library defines this for functions which it implements
4895 to always fail with ENOSYS. Some functions are actually named
4896 something starting with __ and the normal name is an alias. */
4897 #if defined __stub_remove || defined __stub___remove
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4913 *) ac_try_echo
=$ac_try;;
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4918 grep -v '^ *+' conftest.er1
>conftest.err
4920 cat conftest.err
>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } && {
4923 test -z "$ac_c_werror_flag" ||
4924 test ! -s conftest.err
4925 } && test -s conftest
$ac_exeext &&
4926 $as_test_x conftest
$ac_exeext; then
4927 ac_cv_func_remove
=yes
4929 echo "$as_me: failed program was:" >&5
4930 sed 's/^/| /' conftest.
$ac_ext >&5
4932 ac_cv_func_remove
=no
4935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4936 conftest
$ac_exeext conftest.
$ac_ext
4938 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4939 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4941 if test $ac_cv_func_remove = no
; then
4942 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4943 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4944 if test "${ac_cv_lib_posix_remove+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 ac_check_lib_save_LIBS
=$LIBS
4948 LIBS
="-lposix $LIBS"
4949 cat >conftest.
$ac_ext <<_ACEOF
4952 cat confdefs.h
>>conftest.
$ac_ext
4953 cat >>conftest.
$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4956 /* Override any GCC internal prototype to avoid an error.
4957 Use char because int might match the return type of a GCC
4958 builtin and then its argument prototype would still apply. */
4971 rm -f conftest.
$ac_objext conftest
$ac_exeext
4972 if { (ac_try
="$ac_link"
4974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>conftest.er1
4980 grep -v '^ *+' conftest.er1 >conftest.err
4982 cat conftest.err >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } && {
4985 test -z "$ac_c_werror_flag" ||
4986 test ! -s conftest.err
4987 } && test -s conftest$ac_exeext &&
4988 $as_test_x conftest$ac_exeext; then
4989 ac_cv_lib_posix_remove=yes
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 ac_cv_lib_posix_remove=no
4997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998 conftest$ac_exeext conftest.$ac_ext
4999 LIBS=$ac_check_lib_save_LIBS
5001 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5002 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5003 if test $ac_cv_lib_posix_remove = yes; then
5004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5009 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5010 { echo "$as_me:$LINENO: checking for shmat" >&5
5011 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5012 if test "${ac_cv_func_shmat+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 cat >conftest.$ac_ext <<_ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5023 #define shmat innocuous_shmat
5025 /* System header to define __stub macros and hopefully few prototypes,
5026 which can conflict with char shmat (); below.
5027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5028 <limits.h> exists even on freestanding compilers. */
5031 # include <limits.h>
5033 # include <assert.h>
5038 /* Override any GCC internal prototype to avoid an error.
5039 Use char because int might match the return type of a GCC
5040 builtin and then its argument prototype would still apply. */
5045 /* The GNU C library defines this for functions which it implements
5046 to always fail with ENOSYS. Some functions are actually named
5047 something starting with __ and the normal name is an alias. */
5048 #if defined __stub_shmat || defined __stub___shmat
5060 rm -f conftest.$ac_objext conftest$ac_exeext
5061 if { (ac_try="$ac_link"
5063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5064 *) ac_try_echo
=$ac_try;;
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_link") 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest
$ac_exeext &&
5077 $as_test_x conftest
$ac_exeext; then
5078 ac_cv_func_shmat
=yes
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.
$ac_ext >&5
5086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5087 conftest
$ac_exeext conftest.
$ac_ext
5089 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5090 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5092 if test $ac_cv_func_shmat = no
; then
5093 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5094 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5095 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 ac_check_lib_save_LIBS
=$LIBS
5100 cat >conftest.
$ac_ext <<_ACEOF
5103 cat confdefs.h
>>conftest.
$ac_ext
5104 cat >>conftest.
$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5107 /* Override any GCC internal prototype to avoid an error.
5108 Use char because int might match the return type of a GCC
5109 builtin and then its argument prototype would still apply. */
5122 rm -f conftest.
$ac_objext conftest
$ac_exeext
5123 if { (ac_try
="$ac_link"
5125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129 (eval "$ac_link") 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } && {
5136 test -z "$ac_c_werror_flag" ||
5137 test ! -s conftest.err
5138 } && test -s conftest$ac_exeext &&
5139 $as_test_x conftest$ac_exeext; then
5140 ac_cv_lib_ipc_shmat=yes
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 ac_cv_lib_ipc_shmat=no
5148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5149 conftest$ac_exeext conftest.$ac_ext
5150 LIBS=$ac_check_lib_save_LIBS
5152 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5154 if test $ac_cv_lib_ipc_shmat = yes; then
5155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5161 # Check for libraries that X11R6 Xt/Xaw programs need.
5162 ac_save_LDFLAGS=$LDFLAGS
5163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5165 # check for ICE first), but we must link in the order -lSM -lICE or
5166 # we get undefined symbols. So assume we have SM if we have ICE.
5167 # These have to be linked with before -lX11, unlike the other
5168 # libraries we check for below, so use a different variable.
5169 # John Interrante, Karl Berry
5170 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 ac_check_lib_save_LIBS=$LIBS
5176 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5177 cat >conftest.$ac_ext <<_ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5184 /* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5190 char IceConnectionNumber ();
5194 return IceConnectionNumber ();
5199 rm -f conftest.$ac_objext conftest$ac_exeext
5200 if { (ac_try="$ac_link"
5202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5203 *) ac_try_echo
=$ac_try;;
5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5206 (eval "$ac_link") 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } && {
5213 test -z "$ac_c_werror_flag" ||
5214 test ! -s conftest.err
5215 } && test -s conftest
$ac_exeext &&
5216 $as_test_x conftest
$ac_exeext; then
5217 ac_cv_lib_ICE_IceConnectionNumber
=yes
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.
$ac_ext >&5
5222 ac_cv_lib_ICE_IceConnectionNumber
=no
5225 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5226 conftest
$ac_exeext conftest.
$ac_ext
5227 LIBS
=$ac_check_lib_save_LIBS
5229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5230 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5231 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5232 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5235 LDFLAGS
=$ac_save_LDFLAGS
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy
$ac_prog; ac_word
=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_FLEX+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$FLEX"; then
5250 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_FLEX
="$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 FLEX
=$ac_cv_prog_FLEX
5270 if test -n "$FLEX"; then
5271 { echo "$as_me:$LINENO: result: $FLEX" >&5
5272 echo "${ECHO_T}$FLEX" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5279 test -n "$FLEX" && break
5281 test -n "$FLEX" || FLEX
="none"
5283 if test "$FLEX" = "none"
5285 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5286 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5287 { (exit 1); exit 1; }; }
5290 for ac_prog
in bison
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy
$ac_prog; ac_word
=$2
5294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5296 if test "${ac_cv_prog_BISON+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 if test -n "$BISON"; then
5300 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_BISON
="$ac_prog"
5310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 BISON
=$ac_cv_prog_BISON
5320 if test -n "$BISON"; then
5321 { echo "$as_me:$LINENO: result: $BISON" >&5
5322 echo "${ECHO_T}$BISON" >&6; }
5324 { echo "$as_me:$LINENO: result: no" >&5
5325 echo "${ECHO_T}no" >&6; }
5329 test -n "$BISON" && break
5331 test -n "$BISON" || BISON
="none"
5333 if test "$BISON" = "none"
5335 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5336 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5337 { (exit 1); exit 1; }; }
5340 if test -n "$ac_tool_prefix"; then
5341 for ac_prog
in gas as
5343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5344 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5347 if test "${ac_cv_prog_AS+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 if test -n "$AS"; then
5351 ac_cv_prog_AS
="$AS" # Let the user override the test.
5353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir
=.
5358 for ac_exec_ext
in '' $ac_executable_extensions; do
5359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 if test -n "$AS"; then
5372 { echo "$as_me:$LINENO: result: $AS" >&5
5373 echo "${ECHO_T}$AS" >&6; }
5375 { echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6; }
5380 test -n "$AS" && break
5383 if test -z "$AS"; then
5385 for ac_prog
in gas as
5387 # Extract the first word of "$ac_prog", so it can be a program name with args.
5388 set dummy
$ac_prog; ac_word
=$2
5389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5391 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 if test -n "$ac_ct_AS"; then
5395 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_ac_ct_AS
="$ac_prog"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5415 if test -n "$ac_ct_AS"; then
5416 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5417 echo "${ECHO_T}$ac_ct_AS" >&6; }
5419 { echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6; }
5424 test -n "$ac_ct_AS" && break
5427 if test "x$ac_ct_AS" = x
; then
5430 case $cross_compiling:$ac_tool_warned in
5432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5433 whose name does not start with the host triplet. If you think this
5434 configuration is useful to you, please write to autoconf@gnu.org." >&5
5435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5436 whose name does not start with the host triplet. If you think this
5437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5438 ac_tool_warned
=yes ;;
5444 if test -n "$ac_tool_prefix"; then
5445 for ac_prog
in ld gld
5447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5448 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_LD+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD
="$LD" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_LD
="$ac_tool_prefix$ac_prog"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 if test -n "$LD"; then
5476 { echo "$as_me:$LINENO: result: $LD" >&5
5477 echo "${ECHO_T}$LD" >&6; }
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5484 test -n "$LD" && break
5487 if test -z "$LD"; then
5489 for ac_prog
in ld gld
5491 # Extract the first word of "$ac_prog", so it can be a program name with args.
5492 set dummy
$ac_prog; ac_word
=$2
5493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5495 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 if test -n "$ac_ct_LD"; then
5499 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_ac_ct_LD
="$ac_prog"
5509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5519 if test -n "$ac_ct_LD"; then
5520 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5521 echo "${ECHO_T}$ac_ct_LD" >&6; }
5523 { echo "$as_me:$LINENO: result: no" >&5
5524 echo "${ECHO_T}no" >&6; }
5528 test -n "$ac_ct_LD" && break
5531 if test "x$ac_ct_LD" = x
; then
5534 case $cross_compiling:$ac_tool_warned in
5536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5537 whose name does not start with the host triplet. If you think this
5538 configuration is useful to you, please write to autoconf@gnu.org." >&5
5539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5540 whose name does not start with the host triplet. If you think this
5541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5542 ac_tool_warned
=yes ;;
5548 if test -n "$ac_tool_prefix"; then
5549 for ac_prog
in nm gnm
5551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5552 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5555 if test "${ac_cv_prog_NM+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 if test -n "$NM"; then
5559 ac_cv_prog_NM
="$NM" # Let the user override the test.
5561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir
=.
5566 for ac_exec_ext
in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_NM
="$ac_tool_prefix$ac_prog"
5569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 if test -n "$NM"; then
5580 { echo "$as_me:$LINENO: result: $NM" >&5
5581 echo "${ECHO_T}$NM" >&6; }
5583 { echo "$as_me:$LINENO: result: no" >&5
5584 echo "${ECHO_T}no" >&6; }
5588 test -n "$NM" && break
5591 if test -z "$NM"; then
5593 for ac_prog
in nm gnm
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy
$ac_prog; ac_word
=$2
5597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5599 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 if test -n "$ac_ct_NM"; then
5603 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir
=.
5610 for ac_exec_ext
in '' $ac_executable_extensions; do
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612 ac_cv_prog_ac_ct_NM
="$ac_prog"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5623 if test -n "$ac_ct_NM"; then
5624 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5625 echo "${ECHO_T}$ac_ct_NM" >&6; }
5627 { echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6; }
5632 test -n "$ac_ct_NM" && break
5635 if test "x$ac_ct_NM" = x
; then
5638 case $cross_compiling:$ac_tool_warned in
5640 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5641 whose name does not start with the host triplet. If you think this
5642 configuration is useful to you, please write to autoconf@gnu.org." >&5
5643 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5644 whose name does not start with the host triplet. If you think this
5645 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5646 ac_tool_warned
=yes ;;
5652 if test -n "$ac_tool_prefix"; then
5653 for ac_prog
in ar gar
5655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5656 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_prog_AR+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 if test -n "$AR"; then
5663 ac_cv_prog_AR
="$AR" # Let the user override the test.
5665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir
=.
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 if test -n "$AR"; then
5684 { echo "$as_me:$LINENO: result: $AR" >&5
5685 echo "${ECHO_T}$AR" >&6; }
5687 { echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6; }
5692 test -n "$AR" && break
5695 if test -z "$AR"; then
5697 for ac_prog
in ar gar
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy
$ac_prog; ac_word
=$2
5701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5703 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 if test -n "$ac_ct_AR"; then
5707 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_exec_ext
in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_ac_ct_AR
="$ac_prog"
5717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5727 if test -n "$ac_ct_AR"; then
5728 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5729 echo "${ECHO_T}$ac_ct_AR" >&6; }
5731 { echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6; }
5736 test -n "$ac_ct_AR" && break
5739 if test "x$ac_ct_AR" = x
; then
5742 case $cross_compiling:$ac_tool_warned in
5744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5745 whose name does not start with the host triplet. If you think this
5746 configuration is useful to you, please write to autoconf@gnu.org." >&5
5747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5748 whose name does not start with the host triplet. If you think this
5749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5750 ac_tool_warned
=yes ;;
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5760 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5763 if test "${ac_cv_prog_RANLIB+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$RANLIB"; then
5767 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 RANLIB
=$ac_cv_prog_RANLIB
5787 if test -n "$RANLIB"; then
5788 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5789 echo "${ECHO_T}$RANLIB" >&6; }
5791 { echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6; }
5797 if test -z "$ac_cv_prog_RANLIB"; then
5798 ac_ct_RANLIB
=$RANLIB
5799 # Extract the first word of "ranlib", so it can be a program name with args.
5800 set dummy ranlib
; ac_word
=$2
5801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5803 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 if test -n "$ac_ct_RANLIB"; then
5807 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir
=.
5814 for ac_exec_ext
in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5827 if test -n "$ac_ct_RANLIB"; then
5828 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5829 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5831 { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5835 if test "x$ac_ct_RANLIB" = x
; then
5838 case $cross_compiling:$ac_tool_warned in
5840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5841 whose name does not start with the host triplet. If you think this
5842 configuration is useful to you, please write to autoconf@gnu.org." >&5
5843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5844 whose name does not start with the host triplet. If you think this
5845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5846 ac_tool_warned
=yes ;;
5848 RANLIB
=$ac_ct_RANLIB
5851 RANLIB
="$ac_cv_prog_RANLIB"
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5856 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5859 if test "${ac_cv_prog_STRIP+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5862 if test -n "$STRIP"; then
5863 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir
=.
5870 for ac_exec_ext
in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 STRIP
=$ac_cv_prog_STRIP
5883 if test -n "$STRIP"; then
5884 { echo "$as_me:$LINENO: result: $STRIP" >&5
5885 echo "${ECHO_T}$STRIP" >&6; }
5887 { echo "$as_me:$LINENO: result: no" >&5
5888 echo "${ECHO_T}no" >&6; }
5893 if test -z "$ac_cv_prog_STRIP"; then
5895 # Extract the first word of "strip", so it can be a program name with args.
5896 set dummy strip
; ac_word
=$2
5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5899 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 if test -n "$ac_ct_STRIP"; then
5903 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir
=.
5910 for ac_exec_ext
in '' $ac_executable_extensions; do
5911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912 ac_cv_prog_ac_ct_STRIP
="strip"
5913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5923 if test -n "$ac_ct_STRIP"; then
5924 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5925 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5927 { echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6; }
5931 if test "x$ac_ct_STRIP" = x
; then
5934 case $cross_compiling:$ac_tool_warned in
5936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&5
5939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5940 whose name does not start with the host triplet. If you think this
5941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5942 ac_tool_warned
=yes ;;
5947 STRIP
="$ac_cv_prog_STRIP"
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5952 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5955 if test "${ac_cv_prog_WINDRES+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 if test -n "$WINDRES"; then
5959 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir
=.
5966 for ac_exec_ext
in '' $ac_executable_extensions; do
5967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5968 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 WINDRES
=$ac_cv_prog_WINDRES
5979 if test -n "$WINDRES"; then
5980 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5981 echo "${ECHO_T}$WINDRES" >&6; }
5983 { echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6; }
5989 if test -z "$ac_cv_prog_WINDRES"; then
5990 ac_ct_WINDRES
=$WINDRES
5991 # Extract the first word of "windres", so it can be a program name with args.
5992 set dummy windres
; ac_word
=$2
5993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 if test -n "$ac_ct_WINDRES"; then
5999 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir
=.
6006 for ac_exec_ext
in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_ac_ct_WINDRES
="windres"
6009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6019 if test -n "$ac_ct_WINDRES"; then
6020 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6021 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6027 if test "x$ac_ct_WINDRES" = x
; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&5
6035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6036 whose name does not start with the host triplet. If you think this
6037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6038 ac_tool_warned
=yes ;;
6040 WINDRES
=$ac_ct_WINDRES
6043 WINDRES
="$ac_cv_prog_WINDRES"
6046 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6047 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6049 if test "$LN_S" = "ln -s"; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6053 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6054 echo "${ECHO_T}no, using $LN_S" >&6; }
6057 { echo "$as_me:$LINENO: checking whether ln works" >&5
6058 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6059 rm -f conf$$ conf$$.
file
6061 if ln conf$$.
file conf$$
2>/dev
/null
; then
6064 { echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6; }
6069 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6070 echo "${ECHO_T}no, using $LN" >&6; }
6072 rm -f conf$$ conf$$.
file
6073 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6074 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6075 if test "${ac_cv_path_GREP+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 # Extract the first word of "grep ggrep" to use in msg output
6079 if test -z "$GREP"; then
6080 set dummy
grep ggrep
; ac_prog_name
=$2
6081 if test "${ac_cv_path_GREP+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 ac_path_GREP_found
=false
6085 # Loop through the user's path and test for each of PROGNAME-LIST
6086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6087 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6090 test -z "$as_dir" && as_dir
=.
6091 for ac_prog
in grep ggrep
; do
6092 for ac_exec_ext
in '' $ac_executable_extensions; do
6093 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6094 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6095 # Check for GNU ac_path_GREP and select it if it is found.
6096 # Check for GNU $ac_path_GREP
6097 case `"$ac_path_GREP" --version 2>&1` in
6099 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6102 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6105 cat "conftest.in" "conftest.in" >"conftest.tmp"
6106 mv "conftest.tmp" "conftest.in"
6107 cp "conftest.in" "conftest.nl"
6108 echo 'GREP' >> "conftest.nl"
6109 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6110 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6111 ac_count
=`expr $ac_count + 1`
6112 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6113 # Best one so far, save it but keep looking for a better one
6114 ac_cv_path_GREP
="$ac_path_GREP"
6115 ac_path_GREP_max
=$ac_count
6117 # 10*(2^10) chars as input seems more than enough
6118 test $ac_count -gt 10 && break
6120 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6124 $ac_path_GREP_found && break 3
6134 GREP
="$ac_cv_path_GREP"
6135 if test -z "$GREP"; then
6136 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6137 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6138 { (exit 1); exit 1; }; }
6142 ac_cv_path_GREP
=$GREP
6147 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6148 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6149 GREP
="$ac_cv_path_GREP"
6152 { echo "$as_me:$LINENO: checking for egrep" >&5
6153 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6154 if test "${ac_cv_path_EGREP+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6
6157 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6158 then ac_cv_path_EGREP
="$GREP -E"
6160 # Extract the first word of "egrep" to use in msg output
6161 if test -z "$EGREP"; then
6162 set dummy
egrep; ac_prog_name
=$2
6163 if test "${ac_cv_path_EGREP+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 ac_path_EGREP_found
=false
6167 # Loop through the user's path and test for each of PROGNAME-LIST
6168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6169 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6172 test -z "$as_dir" && as_dir
=.
6173 for ac_prog
in egrep; do
6174 for ac_exec_ext
in '' $ac_executable_extensions; do
6175 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6176 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6177 # Check for GNU ac_path_EGREP and select it if it is found.
6178 # Check for GNU $ac_path_EGREP
6179 case `"$ac_path_EGREP" --version 2>&1` in
6181 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6184 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6187 cat "conftest.in" "conftest.in" >"conftest.tmp"
6188 mv "conftest.tmp" "conftest.in"
6189 cp "conftest.in" "conftest.nl"
6190 echo 'EGREP' >> "conftest.nl"
6191 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6192 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6193 ac_count
=`expr $ac_count + 1`
6194 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6195 # Best one so far, save it but keep looking for a better one
6196 ac_cv_path_EGREP
="$ac_path_EGREP"
6197 ac_path_EGREP_max
=$ac_count
6199 # 10*(2^10) chars as input seems more than enough
6200 test $ac_count -gt 10 && break
6202 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6206 $ac_path_EGREP_found && break 3
6216 EGREP
="$ac_cv_path_EGREP"
6217 if test -z "$EGREP"; then
6218 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6219 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6220 { (exit 1); exit 1; }; }
6224 ac_cv_path_EGREP
=$EGREP
6230 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6231 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6232 EGREP
="$ac_cv_path_EGREP"
6235 # Extract the first word of "ldconfig", so it can be a program name with args.
6236 set dummy ldconfig
; ac_word
=$2
6237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6239 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6240 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6248 for as_dir
in /sbin
/usr
/sbin
$PATH
6251 test -z "$as_dir" && as_dir
=.
6252 for ac_exec_ext
in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6266 LDCONFIG
=$ac_cv_path_LDCONFIG
6267 if test -n "$LDCONFIG"; then
6268 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6269 echo "${ECHO_T}$LDCONFIG" >&6; }
6271 { echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6; }
6276 # Find a good install program. We prefer a C program (faster),
6277 # so one script is as good as another. But avoid the broken or
6278 # incompatible versions:
6279 # SysV /etc/install, /usr/sbin/install
6280 # SunOS /usr/etc/install
6281 # IRIX /sbin/install
6283 # AmigaOS /C/install, which installs bootblocks on floppy discs
6284 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6285 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6286 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6287 # OS/2's system install, which has a completely different semantic
6288 # ./install, which can be erroneously created by make from ./install.sh.
6289 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6290 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6291 if test -z "$INSTALL"; then
6292 if test "${ac_cv_path_install+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir
=.
6300 # Account for people who put trailing slashes in PATH elements.
6302 .
/ | .
// |
/cC
/* | \
6303 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6304 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6307 # OSF1 and SCO ODT 3.0 have their own names for install.
6308 # Don't use installbsd from OSF since it installs stuff as root
6310 for ac_prog
in ginstall scoinst
install; do
6311 for ac_exec_ext
in '' $ac_executable_extensions; do
6312 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6313 if test $ac_prog = install &&
6314 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6315 # AIX install. It has an incompatible calling convention.
6317 elif test $ac_prog = install &&
6318 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6319 # program-specific install script used by HP pwplus--don't use.
6322 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6335 if test "${ac_cv_path_install+set}" = set; then
6336 INSTALL
=$ac_cv_path_install
6338 # As a last resort, use the slow shell script. Don't cache a
6339 # value for INSTALL within a source directory, because that will
6340 # break other packages using the cache if that directory is
6341 # removed, or if the value is a relative name.
6342 INSTALL
=$ac_install_sh
6345 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6346 echo "${ECHO_T}$INSTALL" >&6; }
6348 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6349 # It thinks the first close brace ends the variable substitution.
6350 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6352 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6354 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6357 [\\/$
]* | ?
:[\\/]* ) ;;
6358 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6361 for ac_prog
in lclint lint
6363 # Extract the first word of "$ac_prog", so it can be a program name with args.
6364 set dummy
$ac_prog; ac_word
=$2
6365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6367 if test "${ac_cv_prog_LINT+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 if test -n "$LINT"; then
6371 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir
=.
6378 for ac_exec_ext
in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_LINT
="$ac_prog"
6381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 LINT
=$ac_cv_prog_LINT
6391 if test -n "$LINT"; then
6392 { echo "$as_me:$LINENO: result: $LINT" >&5
6393 echo "${ECHO_T}$LINT" >&6; }
6395 { echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6; }
6400 test -n "$LINT" && break
6403 if test "$LINT" = "lint"
6405 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6410 for ac_prog
in fontforge
6412 # Extract the first word of "$ac_prog", so it can be a program name with args.
6413 set dummy
$ac_prog; ac_word
=$2
6414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6416 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 if test -n "$FONTFORGE"; then
6420 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir
=.
6427 for ac_exec_ext
in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_FONTFORGE
="$ac_prog"
6430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 FONTFORGE
=$ac_cv_prog_FONTFORGE
6440 if test -n "$FONTFORGE"; then
6441 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6442 echo "${ECHO_T}$FONTFORGE" >&6; }
6444 { echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6; }
6449 test -n "$FONTFORGE" && break
6451 test -n "$FONTFORGE" || FONTFORGE
="false"
6453 for ac_prog
in pkg-config
6455 # Extract the first word of "$ac_prog", so it can be a program name with args.
6456 set dummy
$ac_prog; ac_word
=$2
6457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6459 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 if test -n "$PKG_CONFIG"; then
6463 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir
=.
6470 for ac_exec_ext
in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6483 if test -n "$PKG_CONFIG"; then
6484 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6485 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6487 { echo "$as_me:$LINENO: result: no" >&5
6488 echo "${ECHO_T}no" >&6; }
6492 test -n "$PKG_CONFIG" && break
6494 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy
$ac_prog; ac_word
=$2
6500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6502 if test "${ac_cv_prog_RSVG+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 if test -n "$RSVG"; then
6506 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6512 test -z "$as_dir" && as_dir
=.
6513 for ac_exec_ext
in '' $ac_executable_extensions; do
6514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515 ac_cv_prog_RSVG
="$ac_prog"
6516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 RSVG
=$ac_cv_prog_RSVG
6526 if test -n "$RSVG"; then
6527 { echo "$as_me:$LINENO: result: $RSVG" >&5
6528 echo "${ECHO_T}$RSVG" >&6; }
6530 { echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6; }
6535 test -n "$RSVG" && break
6537 test -n "$RSVG" || RSVG
="false"
6539 for ac_prog
in icotool
6541 # Extract the first word of "$ac_prog", so it can be a program name with args.
6542 set dummy
$ac_prog; ac_word
=$2
6543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6545 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 if test -n "$ICOTOOL"; then
6549 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir
=.
6556 for ac_exec_ext
in '' $ac_executable_extensions; do
6557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6558 ac_cv_prog_ICOTOOL
="$ac_prog"
6559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 ICOTOOL
=$ac_cv_prog_ICOTOOL
6569 if test -n "$ICOTOOL"; then
6570 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6571 echo "${ECHO_T}$ICOTOOL" >&6; }
6573 { echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6; }
6578 test -n "$ICOTOOL" && break
6580 test -n "$ICOTOOL" || ICOTOOL
="false"
6583 if test "${enable_maintainer_mode+set}" = set
6585 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6586 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6587 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6592 # Extract the first word of "prelink", so it can be a program name with args.
6593 set dummy prelink
; ac_word
=$2
6594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6596 if test "${ac_cv_path_PRELINK+set}" = set; then
6597 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6605 for as_dir
in /sbin
/usr
/sbin
$PATH
6608 test -z "$as_dir" && as_dir
=.
6609 for ac_exec_ext
in '' $ac_executable_extensions; do
6610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6623 PRELINK
=$ac_cv_path_PRELINK
6624 if test -n "$PRELINK"; then
6625 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6626 echo "${ECHO_T}$PRELINK" >&6; }
6628 { echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6; }
6638 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6639 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6640 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 ac_check_lib_save_LIBS
=$LIBS
6645 cat >conftest.
$ac_ext <<_ACEOF
6648 cat confdefs.h
>>conftest.
$ac_ext
6649 cat >>conftest.
$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6652 /* Override any GCC internal prototype to avoid an error.
6653 Use char because int might match the return type of a GCC
6654 builtin and then its argument prototype would still apply. */
6658 char i386_set_ldt ();
6662 return i386_set_ldt ();
6667 rm -f conftest.
$ac_objext conftest
$ac_exeext
6668 if { (ac_try
="$ac_link"
6670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6671 *) ac_try_echo=$ac_try;;
6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6674 (eval "$ac_link") 2>conftest.er1
6676 grep -v '^ *+' conftest.er1 >conftest.err
6678 cat conftest.err >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } && {
6681 test -z "$ac_c_werror_flag" ||
6682 test ! -s conftest.err
6683 } && test -s conftest$ac_exeext &&
6684 $as_test_x conftest$ac_exeext; then
6685 ac_cv_lib_i386_i386_set_ldt=yes
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6690 ac_cv_lib_i386_i386_set_ldt=no
6693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6694 conftest$ac_exeext conftest.$ac_ext
6695 LIBS=$ac_check_lib_save_LIBS
6697 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6698 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6699 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6700 cat >>confdefs.h <<_ACEOF
6701 #define HAVE_LIBI386 1
6709 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6710 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6711 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 ac_check_lib_save_LIBS=$LIBS
6715 LIBS="-lossaudio $LIBS"
6716 cat >conftest.$ac_ext <<_ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6723 /* Override any GCC internal prototype to avoid an error.
6724 Use char because int might match the return type of a GCC
6725 builtin and then its argument prototype would still apply. */
6733 return _oss_ioctl ();
6738 rm -f conftest.$ac_objext conftest$ac_exeext
6739 if { (ac_try="$ac_link"
6741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6742 *) ac_try_echo
=$ac_try;;
6744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6745 (eval "$ac_link") 2>conftest.er1
6747 grep -v '^ *+' conftest.er1
>conftest.err
6749 cat conftest.err
>&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } && {
6752 test -z "$ac_c_werror_flag" ||
6753 test ! -s conftest.err
6754 } && test -s conftest
$ac_exeext &&
6755 $as_test_x conftest
$ac_exeext; then
6756 ac_cv_lib_ossaudio__oss_ioctl
=yes
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.
$ac_ext >&5
6761 ac_cv_lib_ossaudio__oss_ioctl
=no
6764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6765 conftest
$ac_exeext conftest.
$ac_ext
6766 LIBS
=$ac_check_lib_save_LIBS
6768 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6769 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6770 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6771 cat >>confdefs.h
<<_ACEOF
6772 #define HAVE_LIBOSSAUDIO 1
6775 LIBS
="-lossaudio $LIBS"
6779 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6780 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6781 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6
6784 ac_check_lib_save_LIBS
=$LIBS
6785 LIBS
="-lpthread $LIBS"
6786 cat >conftest.
$ac_ext <<_ACEOF
6789 cat confdefs.h
>>conftest.
$ac_ext
6790 cat >>conftest.
$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6793 /* Override any GCC internal prototype to avoid an error.
6794 Use char because int might match the return type of a GCC
6795 builtin and then its argument prototype would still apply. */
6799 char pthread_create ();
6803 return pthread_create ();
6808 rm -f conftest.
$ac_objext conftest
$ac_exeext
6809 if { (ac_try
="$ac_link"
6811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6812 *) ac_try_echo=$ac_try;;
6814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6815 (eval "$ac_link") 2>conftest.er1
6817 grep -v '^ *+' conftest.er1 >conftest.err
6819 cat conftest.err >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } && {
6822 test -z "$ac_c_werror_flag" ||
6823 test ! -s conftest.err
6824 } && test -s conftest$ac_exeext &&
6825 $as_test_x conftest$ac_exeext; then
6826 ac_cv_lib_pthread_pthread_create=yes
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 ac_cv_lib_pthread_pthread_create=no
6834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6835 conftest$ac_exeext conftest.$ac_ext
6836 LIBS=$ac_check_lib_save_LIBS
6838 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6839 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6840 if test $ac_cv_lib_pthread_pthread_create = yes; then
6841 LIBPTHREAD="-lpthread"
6860 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6861 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6862 if test "${ac_cv_header_stdc+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 cat >conftest.$ac_ext <<_ACEOF
6868 cat confdefs.h >>conftest.$ac_ext
6869 cat >>conftest.$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6884 rm -f conftest.$ac_objext
6885 if { (ac_try="$ac_compile"
6887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6888 *) ac_try_echo
=$ac_try;;
6890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 (eval "$ac_compile") 2>conftest.er1
6893 grep -v '^ *+' conftest.er1
>conftest.err
6895 cat conftest.err
>&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } && {
6898 test -z "$ac_c_werror_flag" ||
6899 test ! -s conftest.err
6900 } && test -s conftest.
$ac_objext; then
6901 ac_cv_header_stdc
=yes
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.
$ac_ext >&5
6906 ac_cv_header_stdc
=no
6909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6911 if test $ac_cv_header_stdc = yes; then
6912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6913 cat >conftest.
$ac_ext <<_ACEOF
6916 cat confdefs.h
>>conftest.
$ac_ext
6917 cat >>conftest.
$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6923 $EGREP "memchr" >/dev
/null
2>&1; then
6926 ac_cv_header_stdc
=no
6932 if test $ac_cv_header_stdc = yes; then
6933 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6944 $EGREP "free" >/dev
/null
2>&1; then
6947 ac_cv_header_stdc
=no
6953 if test $ac_cv_header_stdc = yes; then
6954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6955 if test "$cross_compiling" = yes; then
6958 cat >conftest.
$ac_ext <<_ACEOF
6961 cat confdefs.h
>>conftest.
$ac_ext
6962 cat >>conftest.
$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6966 #if ((' ' & 0x0FF) == 0x020)
6967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6970 # define ISLOWER(c) \
6971 (('a' <= (c) && (c) <= 'i') \
6972 || ('j' <= (c) && (c) <= 'r') \
6973 || ('s' <= (c) && (c) <= 'z'))
6974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6982 for (i = 0; i < 256; i++)
6983 if (XOR (islower (i), ISLOWER (i))
6984 || toupper (i) != TOUPPER (i))
6989 rm -f conftest
$ac_exeext
6990 if { (ac_try
="$ac_link"
6992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6993 *) ac_try_echo=$ac_try;;
6995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6996 (eval "$ac_link") 2>&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7000 { (case "(($ac_try" in
7001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7002 *) ac_try_echo
=$ac_try;;
7004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7005 (eval "$ac_try") 2>&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; }; then
7011 echo "$as_me: program exited with status $ac_status" >&5
7012 echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.
$ac_ext >&5
7016 ac_cv_header_stdc
=no
7018 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7024 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7025 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7026 if test $ac_cv_header_stdc = yes; then
7028 cat >>confdefs.h
<<\_ACEOF
7029 #define STDC_HEADERS 1
7034 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7044 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7045 inttypes.h stdint.h unistd.h
7047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7050 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 cat >conftest.
$ac_ext <<_ACEOF
7056 cat confdefs.h
>>conftest.
$ac_ext
7057 cat >>conftest.
$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 $ac_includes_default
7061 #include <$ac_header>
7063 rm -f conftest.
$ac_objext
7064 if { (ac_try
="$ac_compile"
7066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7067 *) ac_try_echo=$ac_try;;
7069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7070 (eval "$ac_compile") 2>conftest.er1
7072 grep -v '^ *+' conftest.er1 >conftest.err
7074 cat conftest.err >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); } && {
7077 test -z "$ac_c_werror_flag" ||
7078 test ! -s conftest.err
7079 } && test -s conftest.$ac_objext; then
7080 eval "$as_ac_Header=yes"
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 eval "$as_ac_Header=no"
7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7090 ac_res=`eval echo '${'$as_ac_Header'}'`
7091 { echo "$as_me:$LINENO: result: $ac_res" >&5
7092 echo "${ECHO_T}$ac_res" >&6; }
7093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7094 cat >>confdefs.h <<_ACEOF
7095 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7214 AudioUnit/AudioUnit.h \
7216 CoreAudio/CoreAudio.h \
7217 DiskArbitration/DiskArbitration.h \
7230 fontconfig/fontconfig.h \
7256 machine/soundcard.h \
7261 netinet/in_systm.h \
7326 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7337 # Is the header compilable?
7338 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7340 cat >conftest.$ac_ext <<_ACEOF
7343 cat confdefs.h >>conftest.$ac_ext
7344 cat >>conftest.$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7346 $ac_includes_default
7347 #include <$ac_header>
7349 rm -f conftest.$ac_objext
7350 if { (ac_try="$ac_compile"
7352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7353 *) ac_try_echo
=$ac_try;;
7355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7356 (eval "$ac_compile") 2>conftest.er1
7358 grep -v '^ *+' conftest.er1
>conftest.err
7360 cat conftest.err
>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } && {
7363 test -z "$ac_c_werror_flag" ||
7364 test ! -s conftest.err
7365 } && test -s conftest.
$ac_objext; then
7366 ac_header_compiler
=yes
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.
$ac_ext >&5
7371 ac_header_compiler
=no
7374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7376 echo "${ECHO_T}$ac_header_compiler" >&6; }
7378 # Is the header present?
7379 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7381 cat >conftest.
$ac_ext <<_ACEOF
7384 cat confdefs.h
>>conftest.
$ac_ext
7385 cat >>conftest.
$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7387 #include <$ac_header>
7389 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7392 *) ac_try_echo=$ac_try;;
7394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7397 grep -v '^ *+' conftest.er1 >conftest.err
7399 cat conftest.err >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } >/dev/null && {
7402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7403 test ! -s conftest.err
7405 ac_header_preproc=yes
7407 echo "$as_me: failed program was:" >&5
7408 sed 's/^/| /' conftest.$ac_ext >&5
7410 ac_header_preproc=no
7413 rm -f conftest.err conftest.$ac_ext
7414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7415 echo "${ECHO_T}$ac_header_preproc" >&6; }
7417 # So? What about this header?
7418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7424 ac_header_preproc=yes
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7440 ## ------------------------------------ ##
7441 ## Report this to wine-devel@winehq.org ##
7442 ## ------------------------------------ ##
7444 ) | sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
7454 ac_res=`eval echo '${'$as_ac_Header'}'`
7455 { echo "$as_me:$LINENO: result: $ac_res" >&5
7456 echo "${ECHO_T}$ac_res" >&6; }
7459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7460 cat >>confdefs.h <<_ACEOF
7461 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7468 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7469 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7470 if test "${ac_cv_header_stat_broken+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 cat >conftest.$ac_ext <<_ACEOF
7476 cat confdefs.h >>conftest.$ac_ext
7477 cat >>conftest.$ac_ext <<_ACEOF
7478 /* end confdefs.h. */
7479 #include <sys/types.h>
7480 #include <sys/stat.h>
7482 #if defined S_ISBLK && defined S_IFDIR
7483 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7486 #if defined S_ISBLK && defined S_IFCHR
7487 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7490 #if defined S_ISLNK && defined S_IFREG
7491 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7494 #if defined S_ISSOCK && defined S_IFREG
7495 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7503 *) ac_try_echo
=$ac_try;;
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7508 grep -v '^ *+' conftest.er1
>conftest.err
7510 cat conftest.err
>&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.
$ac_objext; then
7516 ac_cv_header_stat_broken
=no
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.
$ac_ext >&5
7521 ac_cv_header_stat_broken
=yes
7524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7526 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7527 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7528 if test $ac_cv_header_stat_broken = yes; then
7530 cat >>confdefs.h
<<\_ACEOF
7531 #define STAT_MACROS_BROKEN 1
7542 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7544 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7547 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 cat >conftest.
$ac_ext <<_ACEOF
7553 cat confdefs.h
>>conftest.
$ac_ext
7554 cat >>conftest.
$ac_ext <<_ACEOF
7555 /* end confdefs.h. */
7556 #include <sys/types.h>
7557 #ifdef HAVE_SYS_PARAM_H
7558 # include <sys/param.h>
7561 #include <$ac_header>
7563 rm -f conftest.
$ac_objext
7564 if { (ac_try
="$ac_compile"
7566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7567 *) ac_try_echo=$ac_try;;
7569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7570 (eval "$ac_compile") 2>conftest.er1
7572 grep -v '^ *+' conftest.er1 >conftest.err
7574 cat conftest.err >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } && {
7577 test -z "$ac_c_werror_flag" ||
7578 test ! -s conftest.err
7579 } && test -s conftest.$ac_objext; then
7580 eval "$as_ac_Header=yes"
7582 echo "$as_me: failed program was:" >&5
7583 sed 's/^/| /' conftest.$ac_ext >&5
7585 eval "$as_ac_Header=no"
7588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7590 ac_res=`eval echo '${'$as_ac_Header'}'`
7591 { echo "$as_me:$LINENO: result: $ac_res" >&5
7592 echo "${ECHO_T}$ac_res" >&6; }
7593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7594 cat >>confdefs.h <<_ACEOF
7595 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7622 netinet/if_ether.h \
7630 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7631 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 cat >conftest.$ac_ext <<_ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7642 #include <sys/types.h>
7643 #ifdef HAVE_SYS_SOCKET_H
7644 # include <sys/socket.h>
7646 #ifdef HAVE_SYS_SOCKETVAR_H
7647 # include <sys/socketvar.h>
7649 #ifdef HAVE_NETINET_IN_H
7650 # include <netinet/in.h>
7652 #ifdef HAVE_NETINET_IP_H
7653 # include <netinet/ip.h>
7656 #include <$ac_header>
7658 rm -f conftest.$ac_objext
7659 if { (ac_try="$ac_compile"
7661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7662 *) ac_try_echo
=$ac_try;;
7664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7665 (eval "$ac_compile") 2>conftest.er1
7667 grep -v '^ *+' conftest.er1
>conftest.err
7669 cat conftest.err
>&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } && {
7672 test -z "$ac_c_werror_flag" ||
7673 test ! -s conftest.err
7674 } && test -s conftest.
$ac_objext; then
7675 eval "$as_ac_Header=yes"
7677 echo "$as_me: failed program was:" >&5
7678 sed 's/^/| /' conftest.
$ac_ext >&5
7680 eval "$as_ac_Header=no"
7683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7685 ac_res
=`eval echo '${'$as_ac_Header'}'`
7686 { echo "$as_me:$LINENO: result: $ac_res" >&5
7687 echo "${ECHO_T}$ac_res" >&6; }
7688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7689 cat >>confdefs.h
<<_ACEOF
7690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7702 for ac_header
in netinet
/tcp_var.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_timer.h
7704 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7707 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 cat >conftest.
$ac_ext <<_ACEOF
7713 cat confdefs.h
>>conftest.
$ac_ext
7714 cat >>conftest.
$ac_ext <<_ACEOF
7715 /* end confdefs.h. */
7716 #include <sys/types.h>
7720 #ifdef HAVE_SYS_SOCKET_H
7721 # include <sys/socket.h>
7723 #ifdef HAVE_SYS_SOCKETVAR_H
7724 # include <sys/socketvar.h>
7726 #ifdef HAVE_NETINET_IN_H
7727 # include <netinet/in.h>
7729 #ifdef HAVE_NETINET_IP_H
7730 # include <netinet/ip.h>
7732 #ifdef HAVE_NETINET_IP_VAR_H
7733 # include <netinet/ip_var.h>
7735 #ifdef HAVE_NETINET_IP_ICMP_H
7736 # include <netinet/ip_icmp.h>
7738 #ifdef HAVE_NETINET_UDP_H
7739 # include <netinet/udp.h>
7741 #ifdef HAVE_NETINET_TCP_H
7742 # include <netinet/tcp.h>
7745 #include <$ac_header>
7747 rm -f conftest.
$ac_objext
7748 if { (ac_try
="$ac_compile"
7750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7751 *) ac_try_echo=$ac_try;;
7753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7754 (eval "$ac_compile") 2>conftest.er1
7756 grep -v '^ *+' conftest.er1 >conftest.err
7758 cat conftest.err >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); } && {
7761 test -z "$ac_c_werror_flag" ||
7762 test ! -s conftest.err
7763 } && test -s conftest.$ac_objext; then
7764 eval "$as_ac_Header=yes"
7766 echo "$as_me: failed program was:" >&5
7767 sed 's/^/| /' conftest.$ac_ext >&5
7769 eval "$as_ac_Header=no"
7772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7774 ac_res=`eval echo '${'$as_ac_Header'}'`
7775 { echo "$as_me:$LINENO: result: $ac_res" >&5
7776 echo "${ECHO_T}$ac_res" >&6; }
7777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7778 cat >>confdefs.h <<_ACEOF
7779 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7788 for ac_header in linux/ipx.h
7790 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7791 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 cat >conftest.$ac_ext <<_ACEOF
7799 cat confdefs.h >>conftest.$ac_ext
7800 cat >>conftest.$ac_ext <<_ACEOF
7801 /* end confdefs.h. */
7802 #include <sys/types.h>
7803 #ifdef HAVE_ASM_TYPES_H
7804 # include <asm/types.h>
7806 #ifdef HAVE_SYS_SOCKET_H
7807 # include <sys/socket.h>
7810 #include <$ac_header>
7812 rm -f conftest.$ac_objext
7813 if { (ac_try="$ac_compile"
7815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7816 *) ac_try_echo
=$ac_try;;
7818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7819 (eval "$ac_compile") 2>conftest.er1
7821 grep -v '^ *+' conftest.er1
>conftest.err
7823 cat conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } && {
7826 test -z "$ac_c_werror_flag" ||
7827 test ! -s conftest.err
7828 } && test -s conftest.
$ac_objext; then
7829 eval "$as_ac_Header=yes"
7831 echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.
$ac_ext >&5
7834 eval "$as_ac_Header=no"
7837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7839 ac_res
=`eval echo '${'$as_ac_Header'}'`
7840 { echo "$as_me:$LINENO: result: $ac_res" >&5
7841 echo "${ECHO_T}$ac_res" >&6; }
7842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7843 cat >>confdefs.h
<<_ACEOF
7844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7853 for ac_header
in resolv.h
7855 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7856 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7858 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 cat >conftest.
$ac_ext <<_ACEOF
7864 cat confdefs.h
>>conftest.
$ac_ext
7865 cat >>conftest.
$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7867 #include <sys/types.h>
7868 #ifdef HAVE_SYS_SOCKET_H
7869 # include <sys/socket.h>
7871 #ifdef HAVE_NETINET_IN_H
7872 # include <netinet/in.h>
7874 #ifdef HAVE_ARPA_NAMESER_H
7875 # include <arpa/nameser.h>
7878 #include <$ac_header>
7880 rm -f conftest.
$ac_objext
7881 if { (ac_try
="$ac_compile"
7883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7884 *) ac_try_echo=$ac_try;;
7886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7887 (eval "$ac_compile") 2>conftest.er1
7889 grep -v '^ *+' conftest.er1 >conftest.err
7891 cat conftest.err >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && {
7894 test -z "$ac_c_werror_flag" ||
7895 test ! -s conftest.err
7896 } && test -s conftest.$ac_objext; then
7897 eval "$as_ac_Header=yes"
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.$ac_ext >&5
7902 eval "$as_ac_Header=no"
7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7907 ac_res=`eval echo '${'$as_ac_Header'}'`
7908 { echo "$as_me:$LINENO: result: $ac_res" >&5
7909 echo "${ECHO_T}$ac_res" >&6; }
7910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7911 cat >>confdefs.h <<_ACEOF
7912 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7921 for ac_header in ucontext.h
7923 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7924 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 cat >conftest.$ac_ext <<_ACEOF
7932 cat confdefs.h >>conftest.$ac_ext
7933 cat >>conftest.$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7937 #include <$ac_header>
7939 rm -f conftest.$ac_objext
7940 if { (ac_try="$ac_compile"
7942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7943 *) ac_try_echo
=$ac_try;;
7945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7946 (eval "$ac_compile") 2>conftest.er1
7948 grep -v '^ *+' conftest.er1
>conftest.err
7950 cat conftest.err
>&5
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); } && {
7953 test -z "$ac_c_werror_flag" ||
7954 test ! -s conftest.err
7955 } && test -s conftest.
$ac_objext; then
7956 eval "$as_ac_Header=yes"
7958 echo "$as_me: failed program was:" >&5
7959 sed 's/^/| /' conftest.
$ac_ext >&5
7961 eval "$as_ac_Header=no"
7964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7966 ac_res
=`eval echo '${'$as_ac_Header'}'`
7967 { echo "$as_me:$LINENO: result: $ac_res" >&5
7968 echo "${ECHO_T}$ac_res" >&6; }
7969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7970 cat >>confdefs.h
<<_ACEOF
7971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7980 for ac_header
in sys
/thr.h
7982 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7983 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7985 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 cat >conftest.
$ac_ext <<_ACEOF
7991 cat confdefs.h
>>conftest.
$ac_ext
7992 cat >>conftest.
$ac_ext <<_ACEOF
7993 /* end confdefs.h. */
7994 #include <sys/types.h>
7995 #ifdef HAVE_UCONTEXT_H
7996 #include <ucontext.h>
7999 #include <$ac_header>
8001 rm -f conftest.
$ac_objext
8002 if { (ac_try
="$ac_compile"
8004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8005 *) ac_try_echo=$ac_try;;
8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8008 (eval "$ac_compile") 2>conftest.er1
8010 grep -v '^ *+' conftest.er1 >conftest.err
8012 cat conftest.err >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); } && {
8015 test -z "$ac_c_werror_flag" ||
8016 test ! -s conftest.err
8017 } && test -s conftest.$ac_objext; then
8018 eval "$as_ac_Header=yes"
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8023 eval "$as_ac_Header=no"
8026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8028 ac_res=`eval echo '${'$as_ac_Header'}'`
8029 { echo "$as_me:$LINENO: result: $ac_res" >&5
8030 echo "${ECHO_T}$ac_res" >&6; }
8031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8032 cat >>confdefs.h <<_ACEOF
8033 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8042 for ac_header in pthread_np.h
8044 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8045 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8050 cat >conftest.$ac_ext <<_ACEOF
8053 cat confdefs.h >>conftest.$ac_ext
8054 cat >>conftest.$ac_ext <<_ACEOF
8055 /* end confdefs.h. */
8056 #ifdef HAVE_PTHREAD_H
8057 #include <pthread.h>
8060 #include <$ac_header>
8062 rm -f conftest.$ac_objext
8063 if { (ac_try="$ac_compile"
8065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8066 *) ac_try_echo
=$ac_try;;
8068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8069 (eval "$ac_compile") 2>conftest.er1
8071 grep -v '^ *+' conftest.er1
>conftest.err
8073 cat conftest.err
>&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } && {
8076 test -z "$ac_c_werror_flag" ||
8077 test ! -s conftest.err
8078 } && test -s conftest.
$ac_objext; then
8079 eval "$as_ac_Header=yes"
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.
$ac_ext >&5
8084 eval "$as_ac_Header=no"
8087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8089 ac_res
=`eval echo '${'$as_ac_Header'}'`
8090 { echo "$as_me:$LINENO: result: $ac_res" >&5
8091 echo "${ECHO_T}$ac_res" >&6; }
8092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8093 cat >>confdefs.h
<<_ACEOF
8094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8103 for ac_header
in linux
/videodev.h
8105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8108 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8111 cat >conftest.
$ac_ext <<_ACEOF
8114 cat confdefs.h
>>conftest.
$ac_ext
8115 cat >>conftest.
$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8117 #ifdef HAVE_SYS_TIME_H
8118 #include <sys/time.h>
8120 #include <sys/types.h>
8121 #ifdef HAVE_ASM_TYPES_H
8122 #include <asm/types.h>
8125 #include <$ac_header>
8127 rm -f conftest.
$ac_objext
8128 if { (ac_try
="$ac_compile"
8130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8131 *) ac_try_echo=$ac_try;;
8133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8134 (eval "$ac_compile") 2>conftest.er1
8136 grep -v '^ *+' conftest.er1 >conftest.err
8138 cat conftest.err >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } && {
8141 test -z "$ac_c_werror_flag" ||
8142 test ! -s conftest.err
8143 } && test -s conftest.$ac_objext; then
8144 eval "$as_ac_Header=yes"
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 eval "$as_ac_Header=no"
8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8154 ac_res=`eval echo '${'$as_ac_Header'}'`
8155 { echo "$as_me:$LINENO: result: $ac_res" >&5
8156 echo "${ECHO_T}$ac_res" >&6; }
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8168 for ac_header in linux/capi.h
8170 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 cat >conftest.$ac_ext <<_ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8184 #include <$ac_header>
8186 rm -f conftest.$ac_objext
8187 if { (ac_try="$ac_compile"
8189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8190 *) ac_try_echo
=$ac_try;;
8192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8193 (eval "$ac_compile") 2>conftest.er1
8195 grep -v '^ *+' conftest.er1
>conftest.err
8197 cat conftest.err
>&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } && {
8200 test -z "$ac_c_werror_flag" ||
8201 test ! -s conftest.err
8202 } && test -s conftest.
$ac_objext; then
8203 eval "$as_ac_Header=yes"
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.
$ac_ext >&5
8208 eval "$as_ac_Header=no"
8211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8213 ac_res
=`eval echo '${'$as_ac_Header'}'`
8214 { echo "$as_me:$LINENO: result: $ac_res" >&5
8215 echo "${ECHO_T}$ac_res" >&6; }
8216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8217 cat >>confdefs.h
<<_ACEOF
8218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8229 DLLFLAGS
="-D_REENTRANT"
8243 # Extract the first word of "ldd", so it can be a program name with args.
8244 set dummy ldd
; ac_word
=$2
8245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8247 if test "${ac_cv_path_LDD+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8252 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8256 as_dummy
="/sbin:/usr/sbin:$PATH"
8257 for as_dir
in $as_dummy
8260 test -z "$as_dir" && as_dir
=.
8261 for ac_exec_ext
in '' $ac_executable_extensions; do
8262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8263 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8271 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8276 if test -n "$LDD"; then
8277 { echo "$as_me:$LINENO: result: $LDD" >&5
8278 echo "${ECHO_T}$LDD" >&6; }
8280 { echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6; }
8288 if test -n "$ac_tool_prefix"; then
8289 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8290 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8293 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8294 echo $ECHO_N "(cached) $ECHO_C" >&6
8296 if test -n "$DLLTOOL"; then
8297 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8303 test -z "$as_dir" && as_dir
=.
8304 for ac_exec_ext
in '' $ac_executable_extensions; do
8305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8306 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8316 DLLTOOL
=$ac_cv_prog_DLLTOOL
8317 if test -n "$DLLTOOL"; then
8318 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8319 echo "${ECHO_T}$DLLTOOL" >&6; }
8321 { echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6; }
8327 if test -z "$ac_cv_prog_DLLTOOL"; then
8328 ac_ct_DLLTOOL
=$DLLTOOL
8329 # Extract the first word of "dlltool", so it can be a program name with args.
8330 set dummy dlltool
; ac_word
=$2
8331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8333 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8334 echo $ECHO_N "(cached) $ECHO_C" >&6
8336 if test -n "$ac_ct_DLLTOOL"; then
8337 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8343 test -z "$as_dir" && as_dir
=.
8344 for ac_exec_ext
in '' $ac_executable_extensions; do
8345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8346 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8356 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8357 if test -n "$ac_ct_DLLTOOL"; then
8358 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8359 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8361 { echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6; }
8365 if test "x$ac_ct_DLLTOOL" = x
; then
8368 case $cross_compiling:$ac_tool_warned in
8370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8371 whose name does not start with the host triplet. If you think this
8372 configuration is useful to you, please write to autoconf@gnu.org." >&5
8373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8374 whose name does not start with the host triplet. If you think this
8375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8376 ac_tool_warned
=yes ;;
8378 DLLTOOL
=$ac_ct_DLLTOOL
8381 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8384 if test -n "$ac_tool_prefix"; then
8385 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8386 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8389 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8390 echo $ECHO_N "(cached) $ECHO_C" >&6
8392 if test -n "$DLLWRAP"; then
8393 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir
=.
8400 for ac_exec_ext
in '' $ac_executable_extensions; do
8401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8402 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8412 DLLWRAP
=$ac_cv_prog_DLLWRAP
8413 if test -n "$DLLWRAP"; then
8414 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8415 echo "${ECHO_T}$DLLWRAP" >&6; }
8417 { echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6; }
8423 if test -z "$ac_cv_prog_DLLWRAP"; then
8424 ac_ct_DLLWRAP
=$DLLWRAP
8425 # Extract the first word of "dllwrap", so it can be a program name with args.
8426 set dummy dllwrap
; ac_word
=$2
8427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8429 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 if test -n "$ac_ct_DLLWRAP"; then
8433 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8439 test -z "$as_dir" && as_dir
=.
8440 for ac_exec_ext
in '' $ac_executable_extensions; do
8441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8442 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8453 if test -n "$ac_ct_DLLWRAP"; then
8454 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8455 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8457 { echo "$as_me:$LINENO: result: no" >&5
8458 echo "${ECHO_T}no" >&6; }
8461 if test "x$ac_ct_DLLWRAP" = x
; then
8464 case $cross_compiling:$ac_tool_warned in
8466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8467 whose name does not start with the host triplet. If you think this
8468 configuration is useful to you, please write to autoconf@gnu.org." >&5
8469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8470 whose name does not start with the host triplet. If you think this
8471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8472 ac_tool_warned
=yes ;;
8474 DLLWRAP
=$ac_ct_DLLWRAP
8477 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8480 if test -n "$ac_tool_prefix"; then
8481 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8482 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8485 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 if test -n "$MINGWAR"; then
8489 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8495 test -z "$as_dir" && as_dir
=.
8496 for ac_exec_ext
in '' $ac_executable_extensions; do
8497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8498 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8508 MINGWAR
=$ac_cv_prog_MINGWAR
8509 if test -n "$MINGWAR"; then
8510 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8511 echo "${ECHO_T}$MINGWAR" >&6; }
8513 { echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6; }
8519 if test -z "$ac_cv_prog_MINGWAR"; then
8520 ac_ct_MINGWAR
=$MINGWAR
8521 # Extract the first word of "ar", so it can be a program name with args.
8522 set dummy
ar; ac_word
=$2
8523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8525 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 if test -n "$ac_ct_MINGWAR"; then
8529 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8535 test -z "$as_dir" && as_dir
=.
8536 for ac_exec_ext
in '' $ac_executable_extensions; do
8537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8538 ac_cv_prog_ac_ct_MINGWAR
="ar"
8539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8549 if test -n "$ac_ct_MINGWAR"; then
8550 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8551 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8557 if test "x$ac_ct_MINGWAR" = x
; then
8560 case $cross_compiling:$ac_tool_warned in
8562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8563 whose name does not start with the host triplet. If you think this
8564 configuration is useful to you, please write to autoconf@gnu.org." >&5
8565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8566 whose name does not start with the host triplet. If you think this
8567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8568 ac_tool_warned
=yes ;;
8570 MINGWAR
=$ac_ct_MINGWAR
8573 MINGWAR
="$ac_cv_prog_MINGWAR"
8576 if test "$DLLWRAP" = "false"; then
8588 DLLFLAGS
="$DLLFLAGS -fPIC"
8589 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8590 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8591 LDSHARED
="\$(CC) -dynamiclib"
8593 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8594 SECURITYLIB
="-framework Security -framework CoreFoundation"
8596 COREFOUNDATIONLIB
="-framework CoreFoundation"
8598 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8600 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8602 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8604 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8607 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8609 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8614 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8616 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8618 CARBONLIB
="-framework Carbon"
8620 QUARTZFILES
='$(QUARTZFILES)'
8624 DLLFLAGS
="$DLLFLAGS -fPIC"
8626 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8627 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8628 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 ac_wine_try_cflags_saved
=$CFLAGS
8632 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8633 cat >conftest.
$ac_ext <<_ACEOF
8636 rm -f conftest.
$ac_objext conftest
$ac_exeext
8637 if { (ac_try
="$ac_link"
8639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8640 *) ac_try_echo=$ac_try;;
8642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8643 (eval "$ac_link") 2>conftest.er1
8645 grep -v '^ *+' conftest.er1 >conftest.err
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } && {
8650 test -z "$ac_c_werror_flag" ||
8651 test ! -s conftest.err
8652 } && test -s conftest$ac_exeext &&
8653 $as_test_x conftest$ac_exeext; then
8654 ac_cv_c_dll_gnuelf="yes"
8656 echo "$as_me: failed program was:" >&5
8657 sed 's/^/| /' conftest.$ac_ext >&5
8659 ac_cv_c_dll_gnuelf="no"
8662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8667 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8668 if test "$ac_cv_c_dll_gnuelf" = "yes"
8670 LDSHARED="\$(CC) -shared"
8671 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8672 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8673 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8674 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8679 cat >conftest.$ac_ext <<_ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8694 rm -f conftest.$ac_objext conftest$ac_exeext
8695 if { (ac_try="$ac_link"
8697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8698 *) ac_try_echo
=$ac_try;;
8700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8701 (eval "$ac_link") 2>conftest.er1
8703 grep -v '^ *+' conftest.er1
>conftest.err
8705 cat conftest.err
>&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } && {
8708 test -z "$ac_c_werror_flag" ||
8709 test ! -s conftest.err
8710 } && test -s conftest
$ac_exeext &&
8711 $as_test_x conftest
$ac_exeext; then
8712 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.
$ac_ext >&5
8717 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8721 conftest
$ac_exeext conftest.
$ac_ext
8722 CFLAGS
=$ac_wine_try_cflags_saved
8724 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8725 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8726 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8727 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8729 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8730 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8731 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6
8734 ac_wine_try_cflags_saved
=$CFLAGS
8735 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8736 cat >conftest.
$ac_ext <<_ACEOF
8739 cat confdefs.h
>>conftest.
$ac_ext
8740 cat >>conftest.
$ac_ext <<_ACEOF
8741 /* end confdefs.h. */
8751 rm -f conftest.
$ac_objext conftest
$ac_exeext
8752 if { (ac_try
="$ac_link"
8754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8755 *) ac_try_echo=$ac_try;;
8757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8758 (eval "$ac_link") 2>conftest.er1
8760 grep -v '^ *+' conftest.er1 >conftest.err
8762 cat conftest.err >&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } && {
8765 test -z "$ac_c_werror_flag" ||
8766 test ! -s conftest.err
8767 } && test -s conftest$ac_exeext &&
8768 $as_test_x conftest$ac_exeext; then
8769 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5
8774 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8778 conftest$ac_exeext conftest.$ac_ext
8779 CFLAGS=$ac_wine_try_cflags_saved
8781 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8782 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8783 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8784 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8790 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8791 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8792 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 ac_wine_try_cflags_saved=$CFLAGS
8796 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8797 cat >conftest.$ac_ext <<_ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8812 rm -f conftest.$ac_objext conftest$ac_exeext
8813 if { (ac_try="$ac_link"
8815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8816 *) ac_try_echo
=$ac_try;;
8818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8819 (eval "$ac_link") 2>conftest.er1
8821 grep -v '^ *+' conftest.er1
>conftest.err
8823 cat conftest.err
>&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); } && {
8826 test -z "$ac_c_werror_flag" ||
8827 test ! -s conftest.err
8828 } && test -s conftest
$ac_exeext &&
8829 $as_test_x conftest
$ac_exeext; then
8830 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8832 echo "$as_me: failed program was:" >&5
8833 sed 's/^/| /' conftest.
$ac_ext >&5
8835 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8838 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8839 conftest
$ac_exeext conftest.
$ac_ext
8840 CFLAGS
=$ac_wine_try_cflags_saved
8842 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8843 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8844 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8845 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8849 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8850 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8851 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 ac_wine_try_cflags_saved
=$CFLAGS
8855 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8856 cat >conftest.
$ac_ext <<_ACEOF
8859 cat confdefs.h
>>conftest.
$ac_ext
8860 cat >>conftest.
$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8871 rm -f conftest.
$ac_objext conftest
$ac_exeext
8872 if { (ac_try
="$ac_link"
8874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8875 *) ac_try_echo=$ac_try;;
8877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8878 (eval "$ac_link") 2>conftest.er1
8880 grep -v '^ *+' conftest.er1 >conftest.err
8882 cat conftest.err >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } && {
8885 test -z "$ac_c_werror_flag" ||
8886 test ! -s conftest.err
8887 } && test -s conftest$ac_exeext &&
8888 $as_test_x conftest$ac_exeext; then
8889 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.$ac_ext >&5
8894 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8898 conftest$ac_exeext conftest.$ac_ext
8899 CFLAGS=$ac_wine_try_cflags_saved
8901 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8902 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8903 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8904 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8908 echo '{ global: *; };' >conftest.map
8909 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8910 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8911 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8912 echo $ECHO_N "(cached) $ECHO_C" >&6
8914 ac_wine_try_cflags_saved=$CFLAGS
8915 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8916 cat >conftest.$ac_ext <<_ACEOF
8919 cat confdefs.h >>conftest.$ac_ext
8920 cat >>conftest.$ac_ext <<_ACEOF
8921 /* end confdefs.h. */
8931 rm -f conftest.$ac_objext conftest$ac_exeext
8932 if { (ac_try="$ac_link"
8934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8935 *) ac_try_echo
=$ac_try;;
8937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8938 (eval "$ac_link") 2>conftest.er1
8940 grep -v '^ *+' conftest.er1
>conftest.err
8942 cat conftest.err
>&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); } && {
8945 test -z "$ac_c_werror_flag" ||
8946 test ! -s conftest.err
8947 } && test -s conftest
$ac_exeext &&
8948 $as_test_x conftest
$ac_exeext; then
8949 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.
$ac_ext >&5
8954 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8958 conftest
$ac_exeext conftest.
$ac_ext
8959 CFLAGS
=$ac_wine_try_cflags_saved
8961 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8962 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8963 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8964 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8969 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8970 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8971 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8972 echo $ECHO_N "(cached) $ECHO_C" >&6
8974 ac_wine_try_cflags_saved
=$CFLAGS
8975 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8976 cat >conftest.
$ac_ext <<_ACEOF
8979 cat confdefs.h
>>conftest.
$ac_ext
8980 cat >>conftest.
$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8991 rm -f conftest.
$ac_objext conftest
$ac_exeext
8992 if { (ac_try
="$ac_link"
8994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8995 *) ac_try_echo=$ac_try;;
8997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8998 (eval "$ac_link") 2>conftest.er1
9000 grep -v '^ *+' conftest.er1 >conftest.err
9002 cat conftest.err >&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } && {
9005 test -z "$ac_c_werror_flag" ||
9006 test ! -s conftest.err
9007 } && test -s conftest$ac_exeext &&
9008 $as_test_x conftest$ac_exeext; then
9009 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9011 echo "$as_me: failed program was:" >&5
9012 sed 's/^/| /' conftest.$ac_ext >&5
9014 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9018 conftest$ac_exeext conftest.$ac_ext
9019 CFLAGS=$ac_wine_try_cflags_saved
9021 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9022 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9023 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9024 LDEXECFLAGS="-Wl,--export-dynamic"
9029 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
9030 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9031 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9032 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 ac_wine_try_cflags_saved=$CFLAGS
9036 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9037 cat >conftest.$ac_ext <<_ACEOF
9040 cat confdefs.h >>conftest.$ac_ext
9041 cat >>conftest.$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9052 rm -f conftest.$ac_objext conftest$ac_exeext
9053 if { (ac_try="$ac_link"
9055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9056 *) ac_try_echo
=$ac_try;;
9058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9059 (eval "$ac_link") 2>conftest.er1
9061 grep -v '^ *+' conftest.er1
>conftest.err
9063 cat conftest.err
>&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); } && {
9066 test -z "$ac_c_werror_flag" ||
9067 test ! -s conftest.err
9068 } && test -s conftest
$ac_exeext &&
9069 $as_test_x conftest
$ac_exeext; then
9070 eval "$as_ac_var=yes"
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.
$ac_ext >&5
9075 eval "$as_ac_var=no"
9078 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9079 conftest
$ac_exeext conftest.
$ac_ext
9080 CFLAGS
=$ac_wine_try_cflags_saved
9082 ac_res
=`eval echo '${'$as_ac_var'}'`
9083 { echo "$as_me:$LINENO: result: $ac_res" >&5
9084 echo "${ECHO_T}$ac_res" >&6; }
9085 if test `eval echo '${'$as_ac_var'}'` = yes; then
9086 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9087 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9089 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9090 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9091 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9092 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 ac_wine_try_cflags_saved
=$CFLAGS
9096 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9097 cat >conftest.
$ac_ext <<_ACEOF
9100 cat confdefs.h
>>conftest.
$ac_ext
9101 cat >>conftest.
$ac_ext <<_ACEOF
9102 /* end confdefs.h. */
9112 rm -f conftest.
$ac_objext conftest
$ac_exeext
9113 if { (ac_try
="$ac_link"
9115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9116 *) ac_try_echo=$ac_try;;
9118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9119 (eval "$ac_link") 2>conftest.er1
9121 grep -v '^ *+' conftest.er1 >conftest.err
9123 cat conftest.err >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } && {
9126 test -z "$ac_c_werror_flag" ||
9127 test ! -s conftest.err
9128 } && test -s conftest$ac_exeext &&
9129 $as_test_x conftest$ac_exeext; then
9130 eval "$as_ac_var=yes"
9132 echo "$as_me: failed program was:" >&5
9133 sed 's/^/| /' conftest.$ac_ext >&5
9135 eval "$as_ac_var=no"
9138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9139 conftest$ac_exeext conftest.$ac_ext
9140 CFLAGS=$ac_wine_try_cflags_saved
9142 ac_res=`eval echo '${'$as_ac_var'}'`
9143 { echo "$as_me:$LINENO: result: $ac_res" >&5
9144 echo "${ECHO_T}$ac_res" >&6; }
9145 if test `eval echo '${'$as_ac_var'}'` = yes; then
9146 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
9147 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9153 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9154 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9155 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 ac_wine_try_cflags_saved=$CFLAGS
9159 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9160 cat >conftest.$ac_ext <<_ACEOF
9163 cat confdefs.h >>conftest.$ac_ext
9164 cat >>conftest.$ac_ext <<_ACEOF
9165 /* end confdefs.h. */
9175 rm -f conftest.$ac_objext conftest$ac_exeext
9176 if { (ac_try="$ac_link"
9178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9179 *) ac_try_echo
=$ac_try;;
9181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9182 (eval "$ac_link") 2>conftest.er1
9184 grep -v '^ *+' conftest.er1
>conftest.err
9186 cat conftest.err
>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } && {
9189 test -z "$ac_c_werror_flag" ||
9190 test ! -s conftest.err
9191 } && test -s conftest
$ac_exeext &&
9192 $as_test_x conftest
$ac_exeext; then
9193 ac_cv_cflags__Wl___enable_new_dtags
=yes
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.
$ac_ext >&5
9198 ac_cv_cflags__Wl___enable_new_dtags
=no
9201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9202 conftest
$ac_exeext conftest.
$ac_ext
9203 CFLAGS
=$ac_wine_try_cflags_saved
9205 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9206 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9207 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9208 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9213 *i
[3456789]86* | x86_64
)
9214 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9215 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9216 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 ac_wine_try_cflags_saved
=$CFLAGS
9220 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9221 cat >conftest.
$ac_ext <<_ACEOF
9224 cat confdefs.h
>>conftest.
$ac_ext
9225 cat >>conftest.
$ac_ext <<_ACEOF
9226 /* end confdefs.h. */
9236 rm -f conftest.
$ac_objext conftest
$ac_exeext
9237 if { (ac_try
="$ac_link"
9239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9240 *) ac_try_echo=$ac_try;;
9242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9243 (eval "$ac_link") 2>conftest.er1
9245 grep -v '^ *+' conftest.er1 >conftest.err
9247 cat conftest.err >&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); } && {
9250 test -z "$ac_c_werror_flag" ||
9251 test ! -s conftest.err
9252 } && test -s conftest$ac_exeext &&
9253 $as_test_x conftest$ac_exeext; then
9254 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9256 echo "$as_me: failed program was:" >&5
9257 sed 's/^/| /' conftest.$ac_ext >&5
9259 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9263 conftest$ac_exeext conftest.$ac_ext
9264 CFLAGS=$ac_wine_try_cflags_saved
9266 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9267 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9268 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9269 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9276 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9277 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9278 if test "${ac_cv_c_dll_unixware+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 ac_wine_try_cflags_saved=$CFLAGS
9282 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9283 cat >conftest.$ac_ext <<_ACEOF
9286 rm -f conftest.$ac_objext conftest$ac_exeext
9287 if { (ac_try="$ac_link"
9289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9290 *) ac_try_echo
=$ac_try;;
9292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9293 (eval "$ac_link") 2>conftest.er1
9295 grep -v '^ *+' conftest.er1
>conftest.err
9297 cat conftest.err
>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } && {
9300 test -z "$ac_c_werror_flag" ||
9301 test ! -s conftest.err
9302 } && test -s conftest
$ac_exeext &&
9303 $as_test_x conftest
$ac_exeext; then
9304 ac_cv_c_dll_unixware
="yes"
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.
$ac_ext >&5
9309 ac_cv_c_dll_unixware
="no"
9312 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9313 conftest
$ac_exeext conftest.
$ac_ext
9314 CFLAGS
=$ac_wine_try_cflags_saved
9316 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9317 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9318 if test "$ac_cv_c_dll_unixware" = "yes"
9320 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9321 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9324 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9325 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9326 if test "${ac_cv_c_dll_hpux+set}" = set; then
9327 echo $ECHO_N "(cached) $ECHO_C" >&6
9329 ac_wine_try_cflags_saved
=$CFLAGS
9330 CFLAGS
="$CFLAGS -shared"
9331 cat >conftest.
$ac_ext <<_ACEOF
9334 rm -f conftest.
$ac_objext conftest
$ac_exeext
9335 if { (ac_try
="$ac_link"
9337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9338 *) ac_try_echo=$ac_try;;
9340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9341 (eval "$ac_link") 2>conftest.er1
9343 grep -v '^ *+' conftest.er1 >conftest.err
9345 cat conftest.err >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } && {
9348 test -z "$ac_c_werror_flag" ||
9349 test ! -s conftest.err
9350 } && test -s conftest$ac_exeext &&
9351 $as_test_x conftest$ac_exeext; then
9352 ac_cv_c_dll_hpux="yes"
9354 echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.$ac_ext >&5
9357 ac_cv_c_dll_hpux="no"
9360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9361 conftest$ac_exeext conftest.$ac_ext
9362 CFLAGS=$ac_wine_try_cflags_saved
9364 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9365 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9366 if test "$ac_cv_c_dll_hpux" = "yes"
9370 LDDLLFLAGS="-shared -fPIC"
9371 LDSHARED="\$(CC) -shared"
9378 if test "$cross_compiling" = "no"
9380 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9382 # Extract the first word of "$ac_prog", so it can be a program name with args.
9383 set dummy $ac_prog; ac_word=$2
9384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9386 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9389 if test -n "$CROSSCC"; then
9390 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9396 test -z "$as_dir" && as_dir=.
9397 for ac_exec_ext in '' $ac_executable_extensions; do
9398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399 ac_cv_prog_CROSSCC="$ac_prog"
9400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9409 CROSSCC=$ac_cv_prog_CROSSCC
9410 if test -n "$CROSSCC"; then
9411 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9412 echo "${ECHO_T}$CROSSCC" >&6; }
9414 { echo "$as_me:$LINENO: result: no" >&5
9415 echo "${ECHO_T}no" >&6; }
9419 test -n "$CROSSCC" && break
9421 test -n "$CROSSCC" || CROSSCC="false"
9423 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9425 # Extract the first word of "$ac_prog", so it can be a program name with args.
9426 set dummy $ac_prog; ac_word=$2
9427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9429 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 if test -n "$DLLTOOL"; then
9433 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9439 test -z "$as_dir" && as_dir=.
9440 for ac_exec_ext in '' $ac_executable_extensions; do
9441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9442 ac_cv_prog_DLLTOOL="$ac_prog"
9443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9452 DLLTOOL=$ac_cv_prog_DLLTOOL
9453 if test -n "$DLLTOOL"; then
9454 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9455 echo "${ECHO_T}$DLLTOOL" >&6; }
9457 { echo "$as_me:$LINENO: result: no" >&5
9458 echo "${ECHO_T}no" >&6; }
9462 test -n "$DLLTOOL" && break
9464 test -n "$DLLTOOL" || DLLTOOL="false"
9466 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9468 # Extract the first word of "$ac_prog", so it can be a program name with args.
9469 set dummy $ac_prog; ac_word=$2
9470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9472 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9475 if test -n "$CROSSWINDRES"; then
9476 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9482 test -z "$as_dir" && as_dir=.
9483 for ac_exec_ext in '' $ac_executable_extensions; do
9484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9485 ac_cv_prog_CROSSWINDRES="$ac_prog"
9486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9495 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9496 if test -n "$CROSSWINDRES"; then
9497 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9498 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9500 { echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6; }
9505 test -n "$CROSSWINDRES" && break
9507 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9509 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9511 # Extract the first word of "$ac_prog", so it can be a program name with args.
9512 set dummy $ac_prog; ac_word=$2
9513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9515 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 if test -n "$MINGWAR"; then
9519 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9525 test -z "$as_dir" && as_dir=.
9526 for ac_exec_ext in '' $ac_executable_extensions; do
9527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9528 ac_cv_prog_MINGWAR="$ac_prog"
9529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9538 MINGWAR=$ac_cv_prog_MINGWAR
9539 if test -n "$MINGWAR"; then
9540 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9541 echo "${ECHO_T}$MINGWAR" >&6; }
9543 { echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6; }
9548 test -n "$MINGWAR" && break
9550 test -n "$MINGWAR" || MINGWAR="false"
9552 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9557 if test "$LIBEXT" = "a"; then
9558 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9559 It is currently not possible to build Wine without shared library
9560 (.so) support to allow transparent switch between .so and .dll files.
9561 If you are using Linux, you will need a newer binutils.
9563 echo "$as_me: error: could not find a way to build shared libraries.
9564 It is currently not possible to build Wine without shared library
9565 (.so) support to allow transparent switch between .so and .dll files.
9566 If you are using Linux, you will need a newer binutils.
9568 { (exit 1); exit 1; }; }
9572 if test "$have_x" = "yes"
9575 ac_save_CPPFLAGS="$CPPFLAGS"
9576 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9578 { echo "$as_me:$LINENO: checking for -lX11" >&5
9579 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9580 if test "${ac_cv_lib_soname_X11+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 ac_check_soname_save_LIBS=$LIBS
9584 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9585 cat >conftest.$ac_ext <<_ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9598 char XCreateWindow ();
9602 return XCreateWindow ();
9607 rm -f conftest.$ac_objext conftest$ac_exeext
9608 if { (ac_try="$ac_link"
9610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9611 *) ac_try_echo
=$ac_try;;
9613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9614 (eval "$ac_link") 2>conftest.er1
9616 grep -v '^ *+' conftest.er1
>conftest.err
9618 cat conftest.err
>&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err
9623 } && test -s conftest
$ac_exeext &&
9624 $as_test_x conftest
$ac_exeext; then
9627 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'` ;;
9628 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9631 echo "$as_me: failed program was:" >&5
9632 sed 's/^/| /' conftest.
$ac_ext >&5
9637 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9638 conftest
$ac_exeext conftest.
$ac_ext
9639 LIBS
=$ac_check_soname_save_LIBS
9641 if test "x$ac_cv_lib_soname_X11" = "x"; then
9642 { echo "$as_me:$LINENO: result: not found" >&5
9643 echo "${ECHO_T}not found" >&6; }
9646 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9647 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9649 cat >>confdefs.h
<<_ACEOF
9650 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9656 { echo "$as_me:$LINENO: checking for -lXext" >&5
9657 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9658 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9661 ac_check_soname_save_LIBS
=$LIBS
9662 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9663 cat >conftest.
$ac_ext <<_ACEOF
9666 cat confdefs.h
>>conftest.
$ac_ext
9667 cat >>conftest.
$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9676 char XextCreateExtension ();
9680 return XextCreateExtension ();
9685 rm -f conftest.
$ac_objext conftest
$ac_exeext
9686 if { (ac_try
="$ac_link"
9688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 (eval "$ac_link") 2>conftest.er1
9694 grep -v '^ *+' conftest.er1 >conftest.err
9696 cat conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } && {
9699 test -z "$ac_c_werror_flag" ||
9700 test ! -s conftest.err
9701 } && test -s conftest$ac_exeext &&
9702 $as_test_x conftest$ac_exeext; then
9705 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'` ;;
9706 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.$ac_ext >&5
9715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_soname_save_LIBS
9719 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9720 { echo "$as_me:$LINENO: result: not found" >&5
9721 echo "${ECHO_T}not found" >&6; }
9724 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9725 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9727 cat >>confdefs.h <<_ACEOF
9728 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9747 for ac_header in X11/Xlib.h \
9750 X11/Xcursor/Xcursor.h \
9751 X11/extensions/shape.h \
9752 X11/extensions/XInput.h \
9753 X11/extensions/XShm.h \
9754 X11/extensions/Xcomposite.h \
9755 X11/extensions/Xinerama.h \
9756 X11/extensions/Xrandr.h \
9757 X11/extensions/Xrender.h \
9758 X11/extensions/xf86vmode.h
9760 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9764 echo $ECHO_N "(cached) $ECHO_C" >&6
9766 cat >conftest.$ac_ext <<_ACEOF
9769 cat confdefs.h >>conftest.$ac_ext
9770 cat >>conftest.$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9772 #ifdef HAVE_X11_XLIB_H
9773 # include <X11/Xlib.h>
9775 #ifdef HAVE_X11_XUTIL_H
9776 # include <X11/Xutil.h>
9779 #include <$ac_header>
9781 rm -f conftest.$ac_objext
9782 if { (ac_try="$ac_compile"
9784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9785 *) ac_try_echo
=$ac_try;;
9787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9788 (eval "$ac_compile") 2>conftest.er1
9790 grep -v '^ *+' conftest.er1
>conftest.err
9792 cat conftest.err
>&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); } && {
9795 test -z "$ac_c_werror_flag" ||
9796 test ! -s conftest.err
9797 } && test -s conftest.
$ac_objext; then
9798 eval "$as_ac_Header=yes"
9800 echo "$as_me: failed program was:" >&5
9801 sed 's/^/| /' conftest.
$ac_ext >&5
9803 eval "$as_ac_Header=no"
9806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9808 ac_res
=`eval echo '${'$as_ac_Header'}'`
9809 { echo "$as_me:$LINENO: result: $ac_res" >&5
9810 echo "${ECHO_T}$ac_res" >&6; }
9811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9812 cat >>confdefs.h
<<_ACEOF
9813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9821 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9823 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9824 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9825 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 ac_check_lib_save_LIBS
=$LIBS
9829 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9843 char XkbQueryExtension ();
9847 return XkbQueryExtension ();
9852 rm -f conftest.
$ac_objext conftest
$ac_exeext
9853 if { (ac_try
="$ac_link"
9855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9856 *) ac_try_echo=$ac_try;;
9858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9859 (eval "$ac_link") 2>conftest.er1
9861 grep -v '^ *+' conftest.er1 >conftest.err
9863 cat conftest.err >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } && {
9866 test -z "$ac_c_werror_flag" ||
9867 test ! -s conftest.err
9868 } && test -s conftest$ac_exeext &&
9869 $as_test_x conftest$ac_exeext; then
9870 ac_cv_lib_X11_XkbQueryExtension=yes
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9875 ac_cv_lib_X11_XkbQueryExtension=no
9878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9879 conftest$ac_exeext conftest.$ac_ext
9880 LIBS=$ac_check_lib_save_LIBS
9882 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9883 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9884 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9886 cat >>confdefs.h <<\_ACEOF
9894 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9896 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9897 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9898 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9899 echo $ECHO_N "(cached) $ECHO_C" >&6
9901 ac_check_soname_save_LIBS=$LIBS
9902 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9903 cat >conftest.$ac_ext <<_ACEOF
9906 cat confdefs.h >>conftest.$ac_ext
9907 cat >>conftest.$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9916 char XcursorImageLoadCursor ();
9920 return XcursorImageLoadCursor ();
9925 rm -f conftest.$ac_objext conftest$ac_exeext
9926 if { (ac_try="$ac_link"
9928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9929 *) ac_try_echo
=$ac_try;;
9931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9932 (eval "$ac_link") 2>conftest.er1
9934 grep -v '^ *+' conftest.er1
>conftest.err
9936 cat conftest.err
>&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } && {
9939 test -z "$ac_c_werror_flag" ||
9940 test ! -s conftest.err
9941 } && test -s conftest
$ac_exeext &&
9942 $as_test_x conftest
$ac_exeext; then
9945 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'` ;;
9946 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9949 echo "$as_me: failed program was:" >&5
9950 sed 's/^/| /' conftest.
$ac_ext >&5
9955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9956 conftest
$ac_exeext conftest.
$ac_ext
9957 LIBS
=$ac_check_soname_save_LIBS
9959 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9960 { echo "$as_me:$LINENO: result: not found" >&5
9961 echo "${ECHO_T}not found" >&6; }
9964 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9965 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9967 cat >>confdefs.h
<<_ACEOF
9968 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9975 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9976 case "x$with_xcursor" in
9977 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9979 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9980 This is an error since --with-xcursor was requested." >&5
9981 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9982 This is an error since --with-xcursor was requested." >&2;}
9983 { (exit 1); exit 1; }; } ;;
9988 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9990 { echo "$as_me:$LINENO: checking for -lXi" >&5
9991 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9992 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 ac_check_soname_save_LIBS
=$LIBS
9996 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9997 cat >conftest.
$ac_ext <<_ACEOF
10000 cat confdefs.h
>>conftest.
$ac_ext
10001 cat >>conftest.
$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10010 char XOpenDevice ();
10014 return XOpenDevice ();
10019 rm -f conftest.
$ac_objext conftest
$ac_exeext
10020 if { (ac_try
="$ac_link"
10021 case "(($ac_try" in
10022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10023 *) ac_try_echo=$ac_try;;
10025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10026 (eval "$ac_link") 2>conftest.er1
10028 grep -v '^ *+' conftest.er1 >conftest.err
10030 cat conftest.err >&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } && {
10033 test -z "$ac_c_werror_flag" ||
10034 test ! -s conftest.err
10035 } && test -s conftest$ac_exeext &&
10036 $as_test_x conftest$ac_exeext; then
10039 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'` ;;
10040 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10043 echo "$as_me: failed program was:" >&5
10044 sed 's/^/| /' conftest.$ac_ext >&5
10049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10050 conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_soname_save_LIBS
10053 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10054 { echo "$as_me:$LINENO: result: not found" >&5
10055 echo "${ECHO_T}not found" >&6; }
10058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10059 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10061 cat >>confdefs.h <<_ACEOF
10062 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10069 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10070 case "x$with_xinput" in
10071 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10073 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10074 This is an error since --with-xinput was requested." >&5
10075 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10076 This is an error since --with-xinput was requested." >&2;}
10077 { (exit 1); exit 1; }; } ;;
10082 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10084 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10085 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10086 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10091 cat >conftest.$ac_ext <<_ACEOF
10094 cat confdefs.h >>conftest.$ac_ext
10095 cat >>conftest.$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10104 char XShmQueryExtension ();
10108 return XShmQueryExtension ();
10113 rm -f conftest.$ac_objext conftest$ac_exeext
10114 if { (ac_try="$ac_link"
10115 case "(($ac_try" in
10116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10117 *) ac_try_echo
=$ac_try;;
10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10120 (eval "$ac_link") 2>conftest.er1
10122 grep -v '^ *+' conftest.er1
>conftest.err
10124 cat conftest.err
>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } && {
10127 test -z "$ac_c_werror_flag" ||
10128 test ! -s conftest.err
10129 } && test -s conftest
$ac_exeext &&
10130 $as_test_x conftest
$ac_exeext; then
10131 ac_cv_lib_Xext_XShmQueryExtension
=yes
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.
$ac_ext >&5
10136 ac_cv_lib_Xext_XShmQueryExtension
=no
10139 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10140 conftest
$ac_exeext conftest.
$ac_ext
10141 LIBS
=$ac_check_lib_save_LIBS
10143 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10144 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10145 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10147 cat >>confdefs.h
<<\_ACEOF
10148 #define HAVE_LIBXXSHM 1
10154 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10155 case "x$with_xshm" in
10156 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10158 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10159 This is an error since --with-xshm was requested." >&5
10160 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10161 This is an error since --with-xshm was requested." >&2;}
10162 { (exit 1); exit 1; }; } ;;
10167 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10169 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10170 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10171 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10174 ac_check_lib_save_LIBS
=$LIBS
10175 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10176 cat >conftest.
$ac_ext <<_ACEOF
10179 cat confdefs.h
>>conftest.
$ac_ext
10180 cat >>conftest.
$ac_ext <<_ACEOF
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10189 char XShapeQueryExtension ();
10193 return XShapeQueryExtension ();
10198 rm -f conftest.
$ac_objext conftest
$ac_exeext
10199 if { (ac_try
="$ac_link"
10200 case "(($ac_try" in
10201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10202 *) ac_try_echo=$ac_try;;
10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10205 (eval "$ac_link") 2>conftest.er1
10207 grep -v '^ *+' conftest.er1 >conftest.err
10209 cat conftest.err >&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } && {
10212 test -z "$ac_c_werror_flag" ||
10213 test ! -s conftest.err
10214 } && test -s conftest$ac_exeext &&
10215 $as_test_x conftest$ac_exeext; then
10216 ac_cv_lib_Xext_XShapeQueryExtension=yes
10218 echo "$as_me: failed program was:" >&5
10219 sed 's/^/| /' conftest.$ac_ext >&5
10221 ac_cv_lib_Xext_XShapeQueryExtension=no
10224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10229 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10230 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10232 cat >>confdefs.h <<\_ACEOF
10233 #define HAVE_LIBXSHAPE 1
10239 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10240 case "x$with_xshape" in
10241 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10243 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10244 This is an error since --with-xshape was requested." >&5
10245 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10246 This is an error since --with-xshape was requested." >&2;}
10247 { (exit 1); exit 1; }; } ;;
10252 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10254 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10255 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10256 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 ac_check_soname_save_LIBS=$LIBS
10260 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10261 cat >conftest.$ac_ext <<_ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10274 char XF86VidModeQueryExtension ();
10278 return XF86VidModeQueryExtension ();
10283 rm -f conftest.$ac_objext conftest$ac_exeext
10284 if { (ac_try="$ac_link"
10285 case "(($ac_try" in
10286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10287 *) ac_try_echo
=$ac_try;;
10289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10290 (eval "$ac_link") 2>conftest.er1
10292 grep -v '^ *+' conftest.er1
>conftest.err
10294 cat conftest.err
>&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } && {
10297 test -z "$ac_c_werror_flag" ||
10298 test ! -s conftest.err
10299 } && test -s conftest
$ac_exeext &&
10300 $as_test_x conftest
$ac_exeext; then
10303 dylib
) ac_cv_lib_soname_Xxf86vm
=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10304 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.
$ac_ext >&5
10313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10314 conftest
$ac_exeext conftest.
$ac_ext
10315 LIBS
=$ac_check_soname_save_LIBS
10317 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10318 { echo "$as_me:$LINENO: result: not found" >&5
10319 echo "${ECHO_T}not found" >&6; }
10322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10323 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10325 cat >>confdefs.h
<<_ACEOF
10326 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10333 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10334 case "x$with_xxf86vm" in
10335 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10337 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10338 This is an error since --with-xxf86vm was requested." >&5
10339 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10340 This is an error since --with-xxf86vm was requested." >&2;}
10341 { (exit 1); exit 1; }; } ;;
10346 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"
10348 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10349 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10350 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10351 echo $ECHO_N "(cached) $ECHO_C" >&6
10353 ac_check_soname_save_LIBS
=$LIBS
10354 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10355 cat >conftest.
$ac_ext <<_ACEOF
10358 cat confdefs.h
>>conftest.
$ac_ext
10359 cat >>conftest.
$ac_ext <<_ACEOF
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10368 char XRenderQueryExtension ();
10372 return XRenderQueryExtension ();
10377 rm -f conftest.
$ac_objext conftest
$ac_exeext
10378 if { (ac_try
="$ac_link"
10379 case "(($ac_try" in
10380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10381 *) ac_try_echo=$ac_try;;
10383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10384 (eval "$ac_link") 2>conftest.er1
10386 grep -v '^ *+' conftest.er1 >conftest.err
10388 cat conftest.err >&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } && {
10391 test -z "$ac_c_werror_flag" ||
10392 test ! -s conftest.err
10393 } && test -s conftest$ac_exeext &&
10394 $as_test_x conftest$ac_exeext; then
10397 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'` ;;
10398 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10408 conftest$ac_exeext conftest.$ac_ext
10409 LIBS=$ac_check_soname_save_LIBS
10411 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10412 { echo "$as_me:$LINENO: result: not found" >&5
10413 echo "${ECHO_T}not found" >&6; }
10416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10417 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10419 cat >>confdefs.h <<_ACEOF
10420 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10423 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10424 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10425 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10428 ac_check_lib_save_LIBS=$LIBS
10429 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10430 cat >conftest.$ac_ext <<_ACEOF
10433 cat confdefs.h >>conftest.$ac_ext
10434 cat >>conftest.$ac_ext <<_ACEOF
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10443 char XRenderSetPictureTransform ();
10447 return XRenderSetPictureTransform ();
10452 rm -f conftest.$ac_objext conftest$ac_exeext
10453 if { (ac_try="$ac_link"
10454 case "(($ac_try" in
10455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10456 *) ac_try_echo
=$ac_try;;
10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10459 (eval "$ac_link") 2>conftest.er1
10461 grep -v '^ *+' conftest.er1
>conftest.err
10463 cat conftest.err
>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } && {
10466 test -z "$ac_c_werror_flag" ||
10467 test ! -s conftest.err
10468 } && test -s conftest
$ac_exeext &&
10469 $as_test_x conftest
$ac_exeext; then
10470 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10472 echo "$as_me: failed program was:" >&5
10473 sed 's/^/| /' conftest.
$ac_ext >&5
10475 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10478 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10479 conftest
$ac_exeext conftest.
$ac_ext
10480 LIBS
=$ac_check_lib_save_LIBS
10482 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10483 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10484 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10486 cat >>confdefs.h
<<\_ACEOF
10487 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10496 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10497 case "x$with_xrender" in
10498 x
) wine_warnings
="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10500 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10501 This is an error since --with-xrender was requested." >&5
10502 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10503 This is an error since --with-xrender was requested." >&2;}
10504 { (exit 1); exit 1; }; } ;;
10509 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10511 cat >conftest.
$ac_ext <<_ACEOF
10514 cat confdefs.h
>>conftest.
$ac_ext
10515 cat >>conftest.
$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10517 #include <X11/Xlib.h>
10518 #include <X11/extensions/Xrandr.h>
10522 static typeof(XRRSetScreenConfigAndRate) * func;
10527 rm -f conftest.
$ac_objext
10528 if { (ac_try
="$ac_compile"
10529 case "(($ac_try" in
10530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10531 *) ac_try_echo=$ac_try;;
10533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10534 (eval "$ac_compile") 2>conftest.er1
10536 grep -v '^ *+' conftest.er1 >conftest.err
10538 cat conftest.err >&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } && {
10541 test -z "$ac_c_werror_flag" ||
10542 test ! -s conftest.err
10543 } && test -s conftest.$ac_objext; then
10544 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10545 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10546 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 ac_check_soname_save_LIBS=$LIBS
10550 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10551 cat >conftest.$ac_ext <<_ACEOF
10554 cat confdefs.h >>conftest.$ac_ext
10555 cat >>conftest.$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10564 char XRRQueryExtension ();
10568 return XRRQueryExtension ();
10573 rm -f conftest.$ac_objext conftest$ac_exeext
10574 if { (ac_try="$ac_link"
10575 case "(($ac_try" in
10576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10577 *) ac_try_echo
=$ac_try;;
10579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10580 (eval "$ac_link") 2>conftest.er1
10582 grep -v '^ *+' conftest.er1
>conftest.err
10584 cat conftest.err
>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } && {
10587 test -z "$ac_c_werror_flag" ||
10588 test ! -s conftest.err
10589 } && test -s conftest
$ac_exeext &&
10590 $as_test_x conftest
$ac_exeext; then
10593 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'` ;;
10594 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10597 echo "$as_me: failed program was:" >&5
10598 sed 's/^/| /' conftest.
$ac_ext >&5
10603 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10604 conftest
$ac_exeext conftest.
$ac_ext
10605 LIBS
=$ac_check_soname_save_LIBS
10607 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10608 { echo "$as_me:$LINENO: result: not found" >&5
10609 echo "${ECHO_T}not found" >&6; }
10612 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10613 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10615 cat >>confdefs.h
<<_ACEOF
10616 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10623 echo "$as_me: failed program was:" >&5
10624 sed 's/^/| /' conftest.
$ac_ext >&5
10629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10631 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10632 case "x$with_xrandr" in
10633 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10635 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10636 This is an error since --with-xrandr was requested." >&5
10637 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10638 This is an error since --with-xrandr was requested." >&2;}
10639 { (exit 1); exit 1; }; } ;;
10644 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10646 cat >conftest.
$ac_ext <<_ACEOF
10649 cat confdefs.h
>>conftest.
$ac_ext
10650 cat >>conftest.
$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10652 #include <X11/Xlib.h>
10653 #include <X11/extensions/Xinerama.h>
10657 static typeof(XineramaQueryScreens) * func;
10662 rm -f conftest.
$ac_objext
10663 if { (ac_try
="$ac_compile"
10664 case "(($ac_try" in
10665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10666 *) ac_try_echo=$ac_try;;
10668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10669 (eval "$ac_compile") 2>conftest.er1
10671 grep -v '^ *+' conftest.er1 >conftest.err
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } && {
10676 test -z "$ac_c_werror_flag" ||
10677 test ! -s conftest.err
10678 } && test -s conftest.$ac_objext; then
10679 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10680 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10681 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10684 ac_check_soname_save_LIBS=$LIBS
10685 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10686 cat >conftest.$ac_ext <<_ACEOF
10689 cat confdefs.h >>conftest.$ac_ext
10690 cat >>conftest.$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10699 char XineramaQueryScreens ();
10703 return XineramaQueryScreens ();
10708 rm -f conftest.$ac_objext conftest$ac_exeext
10709 if { (ac_try="$ac_link"
10710 case "(($ac_try" in
10711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10712 *) ac_try_echo
=$ac_try;;
10714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10715 (eval "$ac_link") 2>conftest.er1
10717 grep -v '^ *+' conftest.er1
>conftest.err
10719 cat conftest.err
>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } && {
10722 test -z "$ac_c_werror_flag" ||
10723 test ! -s conftest.err
10724 } && test -s conftest
$ac_exeext &&
10725 $as_test_x conftest
$ac_exeext; then
10728 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'` ;;
10729 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10732 echo "$as_me: failed program was:" >&5
10733 sed 's/^/| /' conftest.
$ac_ext >&5
10738 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 LIBS
=$ac_check_soname_save_LIBS
10742 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10743 { echo "$as_me:$LINENO: result: not found" >&5
10744 echo "${ECHO_T}not found" >&6; }
10747 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10748 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10750 cat >>confdefs.h
<<_ACEOF
10751 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10758 echo "$as_me: failed program was:" >&5
10759 sed 's/^/| /' conftest.
$ac_ext >&5
10764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10766 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10767 case "x$with_xinerama" in
10768 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10770 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10771 This is an error since --with-xinerama was requested." >&5
10772 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10773 This is an error since --with-xinerama was requested." >&2;}
10774 { (exit 1); exit 1; }; } ;;
10779 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10781 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10782 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10783 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 ac_check_soname_save_LIBS
=$LIBS
10787 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10788 cat >conftest.
$ac_ext <<_ACEOF
10791 cat confdefs.h
>>conftest.
$ac_ext
10792 cat >>conftest.
$ac_ext <<_ACEOF
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10801 char XCompositeRedirectWindow ();
10805 return XCompositeRedirectWindow ();
10810 rm -f conftest.
$ac_objext conftest
$ac_exeext
10811 if { (ac_try
="$ac_link"
10812 case "(($ac_try" in
10813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10817 (eval "$ac_link") 2>conftest.er1
10819 grep -v '^ *+' conftest.er1 >conftest.err
10821 cat conftest.err >&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); } && {
10824 test -z "$ac_c_werror_flag" ||
10825 test ! -s conftest.err
10826 } && test -s conftest$ac_exeext &&
10827 $as_test_x conftest$ac_exeext; then
10830 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'` ;;
10831 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10834 echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_soname_save_LIBS
10844 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10845 { echo "$as_me:$LINENO: result: not found" >&5
10846 echo "${ECHO_T}not found" >&6; }
10849 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10850 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10852 cat >>confdefs.h <<_ACEOF
10853 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10860 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10861 case "x$with_xcomposite" in
10862 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10864 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10865 This is an error since --with-xcomposite was requested." >&5
10866 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10867 This is an error since --with-xcomposite was requested." >&2;}
10868 { (exit 1); exit 1; }; } ;;
10873 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10874 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10875 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 cat >conftest.$ac_ext <<_ACEOF
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10884 #ifdef HAVE_X11_XLIB_H
10885 #include <X11/Xlib.h>
10891 static XICCallback ac_aggr;
10892 if (ac_aggr.callback)
10898 rm -f conftest.$ac_objext
10899 if { (ac_try="$ac_compile"
10900 case "(($ac_try" in
10901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10902 *) ac_try_echo
=$ac_try;;
10904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10905 (eval "$ac_compile") 2>conftest.er1
10907 grep -v '^ *+' conftest.er1
>conftest.err
10909 cat conftest.err
>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } && {
10912 test -z "$ac_c_werror_flag" ||
10913 test ! -s conftest.err
10914 } && test -s conftest.
$ac_objext; then
10915 ac_cv_member_XICCallback_callback
=yes
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.
$ac_ext >&5
10920 cat >conftest.
$ac_ext <<_ACEOF
10923 cat confdefs.h
>>conftest.
$ac_ext
10924 cat >>conftest.
$ac_ext <<_ACEOF
10925 /* end confdefs.h. */
10926 #ifdef HAVE_X11_XLIB_H
10927 #include <X11/Xlib.h>
10933 static XICCallback ac_aggr;
10934 if (sizeof ac_aggr.callback)
10940 rm -f conftest.
$ac_objext
10941 if { (ac_try
="$ac_compile"
10942 case "(($ac_try" in
10943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10944 *) ac_try_echo=$ac_try;;
10946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10947 (eval "$ac_compile") 2>conftest.er1
10949 grep -v '^ *+' conftest.er1 >conftest.err
10951 cat conftest.err >&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); } && {
10954 test -z "$ac_c_werror_flag" ||
10955 test ! -s conftest.err
10956 } && test -s conftest.$ac_objext; then
10957 ac_cv_member_XICCallback_callback=yes
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10962 ac_cv_member_XICCallback_callback=no
10965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10970 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10971 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10972 if test $ac_cv_member_XICCallback_callback = yes; then
10974 cat >>confdefs.h <<_ACEOF
10975 #define HAVE_XICCALLBACK_CALLBACK 1
10984 if test "x$with_opengl" != "xno"
10990 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10992 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 cat >conftest.$ac_ext <<_ACEOF
11001 cat confdefs.h >>conftest.$ac_ext
11002 cat >>conftest.$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11004 #ifdef HAVE_GL_GLX_H
11005 # include <GL/glx.h>
11008 #include <$ac_header>
11010 rm -f conftest.$ac_objext
11011 if { (ac_try="$ac_compile"
11012 case "(($ac_try" in
11013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11014 *) ac_try_echo
=$ac_try;;
11016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11017 (eval "$ac_compile") 2>conftest.er1
11019 grep -v '^ *+' conftest.er1
>conftest.err
11021 cat conftest.err
>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } && {
11024 test -z "$ac_c_werror_flag" ||
11025 test ! -s conftest.err
11026 } && test -s conftest.
$ac_objext; then
11027 eval "$as_ac_Header=yes"
11029 echo "$as_me: failed program was:" >&5
11030 sed 's/^/| /' conftest.
$ac_ext >&5
11032 eval "$as_ac_Header=no"
11035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11037 ac_res
=`eval echo '${'$as_ac_Header'}'`
11038 { echo "$as_me:$LINENO: result: $ac_res" >&5
11039 echo "${ECHO_T}$ac_res" >&6; }
11040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11041 cat >>confdefs.h
<<_ACEOF
11042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11049 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11051 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11052 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11053 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11056 cat >conftest.
$ac_ext <<_ACEOF
11059 cat confdefs.h
>>conftest.
$ac_ext
11060 cat >>conftest.
$ac_ext <<_ACEOF
11061 /* end confdefs.h. */
11066 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11071 rm -f conftest.
$ac_objext
11072 if { (ac_try
="$ac_compile"
11073 case "(($ac_try" in
11074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11075 *) ac_try_echo=$ac_try;;
11077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11078 (eval "$ac_compile") 2>conftest.er1
11080 grep -v '^ *+' conftest.er1 >conftest.err
11082 cat conftest.err >&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); } && {
11085 test -z "$ac_c_werror_flag" ||
11086 test ! -s conftest.err
11087 } && test -s conftest.$ac_objext; then
11088 wine_cv_opengl_header_version_OK="yes"
11090 echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.$ac_ext >&5
11093 wine_cv_opengl_header_version_OK="no"
11096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11098 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11099 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11101 if test "$wine_cv_opengl_header_version_OK" = "yes"
11103 { echo "$as_me:$LINENO: checking for -lGL" >&5
11104 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11105 if test "${ac_cv_lib_soname_GL+set}" = set; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 ac_check_soname_save_LIBS=$LIBS
11109 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11110 cat >conftest.$ac_ext <<_ACEOF
11113 cat confdefs.h >>conftest.$ac_ext
11114 cat >>conftest.$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11123 char glXCreateContext ();
11127 return glXCreateContext ();
11132 rm -f conftest.$ac_objext conftest$ac_exeext
11133 if { (ac_try="$ac_link"
11134 case "(($ac_try" in
11135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11136 *) ac_try_echo
=$ac_try;;
11138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11139 (eval "$ac_link") 2>conftest.er1
11141 grep -v '^ *+' conftest.er1
>conftest.err
11143 cat conftest.err
>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); } && {
11146 test -z "$ac_c_werror_flag" ||
11147 test ! -s conftest.err
11148 } && test -s conftest
$ac_exeext &&
11149 $as_test_x conftest
$ac_exeext; then
11152 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'` ;;
11153 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.
$ac_ext >&5
11162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11163 conftest
$ac_exeext conftest.
$ac_ext
11164 LIBS
=$ac_check_soname_save_LIBS
11166 if test "x$ac_cv_lib_soname_GL" = "x"; then
11167 { echo "$as_me:$LINENO: result: not found" >&5
11168 echo "${ECHO_T}not found" >&6; }
11169 { echo "$as_me:$LINENO: checking for -lGL" >&5
11170 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11171 if test "${ac_cv_lib_soname_GL+set}" = set; then
11172 echo $ECHO_N "(cached) $ECHO_C" >&6
11174 ac_check_soname_save_LIBS
=$LIBS
11175 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
11176 cat >conftest.
$ac_ext <<_ACEOF
11179 cat confdefs.h
>>conftest.
$ac_ext
11180 cat >>conftest.
$ac_ext <<_ACEOF
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11189 char glXCreateContext ();
11193 return glXCreateContext ();
11198 rm -f conftest.
$ac_objext conftest
$ac_exeext
11199 if { (ac_try
="$ac_link"
11200 case "(($ac_try" in
11201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11202 *) ac_try_echo=$ac_try;;
11204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11205 (eval "$ac_link") 2>conftest.er1
11207 grep -v '^ *+' conftest.er1 >conftest.err
11209 cat conftest.err >&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); } && {
11212 test -z "$ac_c_werror_flag" ||
11213 test ! -s conftest.err
11214 } && test -s conftest$ac_exeext &&
11215 $as_test_x conftest$ac_exeext; then
11218 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'` ;;
11219 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.$ac_ext >&5
11228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11229 conftest$ac_exeext conftest.$ac_ext
11230 LIBS=$ac_check_soname_save_LIBS
11232 if test "x$ac_cv_lib_soname_GL" = "x"; then
11233 { echo "$as_me:$LINENO: result: not found" >&5
11234 echo "${ECHO_T}not found" >&6; }
11235 if test -f /usr/X11R6/lib/libGL.a
11237 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11238 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11240 opengl_msg="No OpenGL library found on this system."
11243 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11244 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11246 cat >>confdefs.h <<_ACEOF
11247 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11250 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
11251 OPENGLFILES='$(OPENGLFILES)'
11253 cat >>confdefs.h <<\_ACEOF
11254 #define HAVE_OPENGL 1
11260 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11261 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11263 cat >>confdefs.h <<_ACEOF
11264 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11268 OPENGLFILES='$(OPENGLFILES)'
11270 cat >>confdefs.h <<\_ACEOF
11271 #define HAVE_OPENGL 1
11276 if test "$ac_cv_header_GL_glu_h" = "yes"
11278 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11279 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11280 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11281 echo $ECHO_N "(cached) $ECHO_C" >&6
11283 ac_check_soname_save_LIBS=$LIBS
11284 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11285 cat >conftest.$ac_ext <<_ACEOF
11288 cat confdefs.h >>conftest.$ac_ext
11289 cat >>conftest.$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11302 return gluLookAt ();
11307 rm -f conftest.$ac_objext conftest$ac_exeext
11308 if { (ac_try="$ac_link"
11309 case "(($ac_try" in
11310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11311 *) ac_try_echo
=$ac_try;;
11313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11314 (eval "$ac_link") 2>conftest.er1
11316 grep -v '^ *+' conftest.er1
>conftest.err
11318 cat conftest.err
>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); } && {
11321 test -z "$ac_c_werror_flag" ||
11322 test ! -s conftest.err
11323 } && test -s conftest
$ac_exeext &&
11324 $as_test_x conftest
$ac_exeext; then
11327 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11328 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11331 echo "$as_me: failed program was:" >&5
11332 sed 's/^/| /' conftest.
$ac_ext >&5
11337 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11338 conftest
$ac_exeext conftest.
$ac_ext
11339 LIBS
=$ac_check_soname_save_LIBS
11341 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11342 { echo "$as_me:$LINENO: result: not found" >&5
11343 echo "${ECHO_T}not found" >&6; }
11346 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11347 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11349 cat >>confdefs.h
<<_ACEOF
11350 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11353 GLU32FILES
='$(GLU32FILES)'
11357 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11358 case "x$with_glu" in
11359 x
) wine_notices
="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11361 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11362 This is an error since --with-glu was requested." >&5
11363 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11364 This is an error since --with-glu was requested." >&2;}
11365 { (exit 1); exit 1; }; } ;;
11370 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11373 opengl_msg
="OpenGL development headers not found."
11376 if test -n "$opengl_msg"; then
11377 case "x$with_opengl" in
11378 x
) wine_warnings
="$wine_warnings|$opengl_msg
11379 OpenGL and Direct3D won't be supported." ;;
11381 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11382 OpenGL and Direct3D won't be supported.
11383 This is an error since --with-opengl was requested." >&5
11384 echo "$as_me: error: $opengl_msg
11385 OpenGL and Direct3D won't be supported.
11386 This is an error since --with-opengl was requested." >&2;}
11387 { (exit 1); exit 1; }; } ;;
11395 for ac_header
in audio
/audiolib.h
11397 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11398 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11401 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 ac_res
=`eval echo '${'$as_ac_Header'}'`
11405 { echo "$as_me:$LINENO: result: $ac_res" >&5
11406 echo "${ECHO_T}$ac_res" >&6; }
11408 # Is the header compilable?
11409 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11411 cat >conftest.
$ac_ext <<_ACEOF
11414 cat confdefs.h
>>conftest.
$ac_ext
11415 cat >>conftest.
$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11417 $ac_includes_default
11418 #include <$ac_header>
11420 rm -f conftest.
$ac_objext
11421 if { (ac_try
="$ac_compile"
11422 case "(($ac_try" in
11423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11424 *) ac_try_echo=$ac_try;;
11426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11427 (eval "$ac_compile") 2>conftest.er1
11429 grep -v '^ *+' conftest.er1 >conftest.err
11431 cat conftest.err >&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } && {
11434 test -z "$ac_c_werror_flag" ||
11435 test ! -s conftest.err
11436 } && test -s conftest.$ac_objext; then
11437 ac_header_compiler=yes
11439 echo "$as_me: failed program was:" >&5
11440 sed 's/^/| /' conftest.$ac_ext >&5
11442 ac_header_compiler=no
11445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11446 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11447 echo "${ECHO_T}$ac_header_compiler" >&6; }
11449 # Is the header present?
11450 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11452 cat >conftest.$ac_ext <<_ACEOF
11455 cat confdefs.h >>conftest.$ac_ext
11456 cat >>conftest.$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11458 #include <$ac_header>
11460 if { (ac_try="$ac_cpp conftest.$ac_ext"
11461 case "(($ac_try" in
11462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11463 *) ac_try_echo
=$ac_try;;
11465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11468 grep -v '^ *+' conftest.er1
>conftest.err
11470 cat conftest.err
>&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); } >/dev
/null
&& {
11473 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11474 test ! -s conftest.err
11476 ac_header_preproc
=yes
11478 echo "$as_me: failed program was:" >&5
11479 sed 's/^/| /' conftest.
$ac_ext >&5
11481 ac_header_preproc
=no
11484 rm -f conftest.err conftest.
$ac_ext
11485 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11486 echo "${ECHO_T}$ac_header_preproc" >&6; }
11488 # So? What about this header?
11489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11495 ac_header_preproc
=yes
11498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11511 ## ------------------------------------ ##
11512 ## Report this to wine-devel@winehq.org ##
11513 ## ------------------------------------ ##
11515 ) |
sed "s/^/$as_me: WARNING: /" >&2
11518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11520 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 eval "$as_ac_Header=\$ac_header_preproc"
11525 ac_res
=`eval echo '${'$as_ac_Header'}'`
11526 { echo "$as_me:$LINENO: result: $ac_res" >&5
11527 echo "${ECHO_T}$ac_res" >&6; }
11530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11531 cat >>confdefs.h
<<_ACEOF
11532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11535 for ac_header
in audio
/soundlib.h
11537 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11540 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 cat >conftest.
$ac_ext <<_ACEOF
11546 cat confdefs.h
>>conftest.
$ac_ext
11547 cat >>conftest.
$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11549 #include <audio/audiolib.h>
11551 #include <$ac_header>
11553 rm -f conftest.
$ac_objext
11554 if { (ac_try
="$ac_compile"
11555 case "(($ac_try" in
11556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11557 *) ac_try_echo=$ac_try;;
11559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11560 (eval "$ac_compile") 2>conftest.er1
11562 grep -v '^ *+' conftest.er1 >conftest.err
11564 cat conftest.err >&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } && {
11567 test -z "$ac_c_werror_flag" ||
11568 test ! -s conftest.err
11569 } && test -s conftest.$ac_objext; then
11570 eval "$as_ac_Header=yes"
11572 echo "$as_me: failed program was:" >&5
11573 sed 's/^/| /' conftest.$ac_ext >&5
11575 eval "$as_ac_Header=no"
11578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11580 ac_res=`eval echo '${'$as_ac_Header'}'`
11581 { echo "$as_me:$LINENO: result: $ac_res" >&5
11582 echo "${ECHO_T}$ac_res" >&6; }
11583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11584 cat >>confdefs.h <<_ACEOF
11585 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11592 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11593 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11594 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 ac_check_lib_save_LIBS=$LIBS
11598 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11599 cat >conftest.$ac_ext <<_ACEOF
11602 cat confdefs.h >>conftest.$ac_ext
11603 cat >>conftest.$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11612 char AuCreateFlow ();
11616 return AuCreateFlow ();
11621 rm -f conftest.$ac_objext conftest$ac_exeext
11622 if { (ac_try="$ac_link"
11623 case "(($ac_try" in
11624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11625 *) ac_try_echo
=$ac_try;;
11627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11628 (eval "$ac_link") 2>conftest.er1
11630 grep -v '^ *+' conftest.er1
>conftest.err
11632 cat conftest.err
>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } && {
11635 test -z "$ac_c_werror_flag" ||
11636 test ! -s conftest.err
11637 } && test -s conftest
$ac_exeext &&
11638 $as_test_x conftest
$ac_exeext; then
11639 ac_cv_lib_audio_AuCreateFlow
=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.
$ac_ext >&5
11644 ac_cv_lib_audio_AuCreateFlow
=no
11647 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11648 conftest
$ac_exeext conftest.
$ac_ext
11649 LIBS
=$ac_check_lib_save_LIBS
11651 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11652 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11653 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11655 cat >>confdefs.h
<<\_ACEOF
11659 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11660 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11661 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 ac_check_lib_save_LIBS
=$LIBS
11665 LIBS
="-lXau $X_LIBS $LIBS"
11666 cat >conftest.
$ac_ext <<_ACEOF
11669 cat confdefs.h
>>conftest.
$ac_ext
11670 cat >>conftest.
$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11679 char XauGetBestAuthByAddr ();
11683 return XauGetBestAuthByAddr ();
11688 rm -f conftest.
$ac_objext conftest
$ac_exeext
11689 if { (ac_try
="$ac_link"
11690 case "(($ac_try" in
11691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11692 *) ac_try_echo=$ac_try;;
11694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11695 (eval "$ac_link") 2>conftest.er1
11697 grep -v '^ *+' conftest.er1 >conftest.err
11699 cat conftest.err >&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); } && {
11702 test -z "$ac_c_werror_flag" ||
11703 test ! -s conftest.err
11704 } && test -s conftest$ac_exeext &&
11705 $as_test_x conftest$ac_exeext; then
11706 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11708 echo "$as_me: failed program was:" >&5
11709 sed 's/^/| /' conftest.$ac_ext >&5
11711 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11715 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_check_lib_save_LIBS
11718 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11719 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11720 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11721 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11723 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11734 CPPFLAGS="$ac_save_CPPFLAGS"
11741 if test "x$XLIB" = "x"; then
11744 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11745 without X support, which probably isn't what you want. You will need to install
11746 development packages of Xlib/Xfree86 at the very least.
11747 Use the --without-x option if you really want this." >&5
11748 echo "$as_me: error: X development files not found. Wine will be built
11749 without X support, which probably isn't what you want. You will need to install
11750 development packages of Xlib/Xfree86 at the very least.
11751 Use the --without-x option if you really want this." >&2;}
11752 { (exit 1); exit 1; }; } ;;
11766 if test "x$with_xml" != "xno"
11768 ac_save_CPPFLAGS="$CPPFLAGS"
11769 if test "$PKG_CONFIG" != "false"
11771 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11772 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11774 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11775 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11777 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11779 for ac_header in libxml/parser.h
11781 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 ac_res=`eval echo '${'$as_ac_Header'}'`
11789 { echo "$as_me:$LINENO: result: $ac_res" >&5
11790 echo "${ECHO_T}$ac_res" >&6; }
11792 # Is the header compilable?
11793 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11795 cat >conftest.$ac_ext <<_ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11801 $ac_includes_default
11802 #include <$ac_header>
11804 rm -f conftest.$ac_objext
11805 if { (ac_try="$ac_compile"
11806 case "(($ac_try" in
11807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11808 *) ac_try_echo
=$ac_try;;
11810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11811 (eval "$ac_compile") 2>conftest.er1
11813 grep -v '^ *+' conftest.er1
>conftest.err
11815 cat conftest.err
>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); } && {
11818 test -z "$ac_c_werror_flag" ||
11819 test ! -s conftest.err
11820 } && test -s conftest.
$ac_objext; then
11821 ac_header_compiler
=yes
11823 echo "$as_me: failed program was:" >&5
11824 sed 's/^/| /' conftest.
$ac_ext >&5
11826 ac_header_compiler
=no
11829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11830 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11831 echo "${ECHO_T}$ac_header_compiler" >&6; }
11833 # Is the header present?
11834 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11836 cat >conftest.
$ac_ext <<_ACEOF
11839 cat confdefs.h
>>conftest.
$ac_ext
11840 cat >>conftest.
$ac_ext <<_ACEOF
11841 /* end confdefs.h. */
11842 #include <$ac_header>
11844 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11845 case "(($ac_try" in
11846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11847 *) ac_try_echo=$ac_try;;
11849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11852 grep -v '^ *+' conftest.er1 >conftest.err
11854 cat conftest.err >&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } >/dev/null && {
11857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11858 test ! -s conftest.err
11860 ac_header_preproc=yes
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.$ac_ext >&5
11865 ac_header_preproc=no
11868 rm -f conftest.err conftest.$ac_ext
11869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11870 echo "${ECHO_T}$ac_header_preproc" >&6; }
11872 # So? What about this header?
11873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11879 ac_header_preproc=yes
11882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11895 ## ------------------------------------ ##
11896 ## Report this to wine-devel@winehq.org ##
11897 ## ------------------------------------ ##
11899 ) | sed "s/^/$as_me: WARNING: /" >&2
11902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11905 echo $ECHO_N "(cached) $ECHO_C" >&6
11907 eval "$as_ac_Header=\$ac_header_preproc"
11909 ac_res=`eval echo '${'$as_ac_Header'}'`
11910 { echo "$as_me:$LINENO: result: $ac_res" >&5
11911 echo "${ECHO_T}$ac_res" >&6; }
11914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11915 cat >>confdefs.h <<_ACEOF
11916 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11918 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11919 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11920 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 ac_check_lib_save_LIBS=$LIBS
11924 LIBS="-lxml2 $ac_xml_libs $LIBS"
11925 cat >conftest.$ac_ext <<_ACEOF
11928 cat confdefs.h >>conftest.$ac_ext
11929 cat >>conftest.$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11938 char xmlParseMemory ();
11942 return xmlParseMemory ();
11947 rm -f conftest.$ac_objext conftest$ac_exeext
11948 if { (ac_try="$ac_link"
11949 case "(($ac_try" in
11950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11951 *) ac_try_echo
=$ac_try;;
11953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11954 (eval "$ac_link") 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } && {
11961 test -z "$ac_c_werror_flag" ||
11962 test ! -s conftest.err
11963 } && test -s conftest
$ac_exeext &&
11964 $as_test_x conftest
$ac_exeext; then
11965 ac_cv_lib_xml2_xmlParseMemory
=yes
11967 echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.
$ac_ext >&5
11970 ac_cv_lib_xml2_xmlParseMemory
=no
11973 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11974 conftest
$ac_exeext conftest.
$ac_ext
11975 LIBS
=$ac_check_lib_save_LIBS
11977 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11978 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11979 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11981 cat >>confdefs.h
<<\_ACEOF
11982 #define HAVE_LIBXML2 1
11985 XML2LIBS
="$ac_xml_libs"
11986 XML2INCL
="$ac_xml_cflags"
11989 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11990 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11991 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11994 ac_check_lib_save_LIBS
=$LIBS
11995 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11996 cat >conftest.
$ac_ext <<_ACEOF
11999 cat confdefs.h
>>conftest.
$ac_ext
12000 cat >>conftest.
$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12009 char xmlReadMemory ();
12013 return xmlReadMemory ();
12018 rm -f conftest.
$ac_objext conftest
$ac_exeext
12019 if { (ac_try
="$ac_link"
12020 case "(($ac_try" in
12021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12022 *) ac_try_echo=$ac_try;;
12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025 (eval "$ac_link") 2>conftest.er1
12027 grep -v '^ *+' conftest.er1 >conftest.err
12029 cat conftest.err >&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); } && {
12032 test -z "$ac_c_werror_flag" ||
12033 test ! -s conftest.err
12034 } && test -s conftest$ac_exeext &&
12035 $as_test_x conftest$ac_exeext; then
12036 ac_cv_lib_xml2_xmlReadMemory=yes
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.$ac_ext >&5
12041 ac_cv_lib_xml2_xmlReadMemory=no
12044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12045 conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_lib_save_LIBS
12048 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12049 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12050 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12052 cat >>confdefs.h <<\_ACEOF
12053 #define HAVE_XMLREADMEMORY 1
12058 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12059 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12060 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12061 echo $ECHO_N "(cached) $ECHO_C" >&6
12063 ac_check_lib_save_LIBS=$LIBS
12064 LIBS="-lxml2 $ac_xml_libs $LIBS"
12065 cat >conftest.$ac_ext <<_ACEOF
12068 cat confdefs.h >>conftest.$ac_ext
12069 cat >>conftest.$ac_ext <<_ACEOF
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12078 char xmlNewDocPI ();
12082 return xmlNewDocPI ();
12087 rm -f conftest.$ac_objext conftest$ac_exeext
12088 if { (ac_try="$ac_link"
12089 case "(($ac_try" in
12090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12091 *) ac_try_echo
=$ac_try;;
12093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12094 (eval "$ac_link") 2>conftest.er1
12096 grep -v '^ *+' conftest.er1
>conftest.err
12098 cat conftest.err
>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } && {
12101 test -z "$ac_c_werror_flag" ||
12102 test ! -s conftest.err
12103 } && test -s conftest
$ac_exeext &&
12104 $as_test_x conftest
$ac_exeext; then
12105 ac_cv_lib_xml2_xmlNewDocPI
=yes
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.
$ac_ext >&5
12110 ac_cv_lib_xml2_xmlNewDocPI
=no
12113 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12114 conftest
$ac_exeext conftest.
$ac_ext
12115 LIBS
=$ac_check_lib_save_LIBS
12117 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12118 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12119 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12121 cat >>confdefs.h
<<\_ACEOF
12122 #define HAVE_XMLNEWDOCPI 1
12132 CPPFLAGS
="$ac_save_CPPFLAGS"
12134 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12135 case "x$with_xml" in
12136 x
) wine_warnings
="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12138 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12139 This is an error since --with-xml was requested." >&5
12140 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12141 This is an error since --with-xml was requested." >&2;}
12142 { (exit 1); exit 1; }; } ;;
12147 if test "x$with_xslt" != "xno"
12149 if test "$PKG_CONFIG" != "false"
12151 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12152 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12154 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
12155 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
12157 ac_save_CPPFLAGS
="$CPPFLAGS"
12158 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
12161 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
12163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12166 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 cat >conftest.
$ac_ext <<_ACEOF
12172 cat confdefs.h
>>conftest.
$ac_ext
12173 cat >>conftest.
$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 #ifdef HAVE_LIBXSLT_PATTERN_H
12176 # include <libxslt/pattern.h>
12179 #include <$ac_header>
12181 rm -f conftest.
$ac_objext
12182 if { (ac_try
="$ac_compile"
12183 case "(($ac_try" in
12184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12185 *) ac_try_echo=$ac_try;;
12187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12188 (eval "$ac_compile") 2>conftest.er1
12190 grep -v '^ *+' conftest.er1 >conftest.err
12192 cat conftest.err >&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } && {
12195 test -z "$ac_c_werror_flag" ||
12196 test ! -s conftest.err
12197 } && test -s conftest.$ac_objext; then
12198 eval "$as_ac_Header=yes"
12200 echo "$as_me: failed program was:" >&5
12201 sed 's/^/| /' conftest.$ac_ext >&5
12203 eval "$as_ac_Header=no"
12206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12208 ac_res=`eval echo '${'$as_ac_Header'}'`
12209 { echo "$as_me:$LINENO: result: $ac_res" >&5
12210 echo "${ECHO_T}$ac_res" >&6; }
12211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12212 cat >>confdefs.h <<_ACEOF
12213 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12220 CPPFLAGS="$ac_save_CPPFLAGS"
12221 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12223 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12224 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12225 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 ac_check_lib_save_LIBS=$LIBS
12229 LIBS="-lxslt $ac_xslt_libs $LIBS"
12230 cat >conftest.$ac_ext <<_ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12243 char xsltCompilePattern ();
12247 return xsltCompilePattern ();
12252 rm -f conftest.$ac_objext conftest$ac_exeext
12253 if { (ac_try="$ac_link"
12254 case "(($ac_try" in
12255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12256 *) ac_try_echo
=$ac_try;;
12258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12259 (eval "$ac_link") 2>conftest.er1
12261 grep -v '^ *+' conftest.er1
>conftest.err
12263 cat conftest.err
>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } && {
12266 test -z "$ac_c_werror_flag" ||
12267 test ! -s conftest.err
12268 } && test -s conftest
$ac_exeext &&
12269 $as_test_x conftest
$ac_exeext; then
12270 ac_cv_lib_xslt_xsltCompilePattern
=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 ac_cv_lib_xslt_xsltCompilePattern
=no
12278 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12279 conftest
$ac_exeext conftest.
$ac_ext
12280 LIBS
=$ac_check_lib_save_LIBS
12282 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12283 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12284 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12286 cat >>confdefs.h
<<\_ACEOF
12287 #define HAVE_LIBXSLT 1
12290 XSLTLIBS
="$ac_xslt_libs"
12291 XSLTINCL
="$ac_xslt_cflags"
12292 ac_save_LIBS
="$LIBS"
12293 LIBS
="$LIBS $ac_xslt_libs"
12295 for ac_func
in xsltInit
12297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12300 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12301 echo $ECHO_N "(cached) $ECHO_C" >&6
12303 cat >conftest.
$ac_ext <<_ACEOF
12306 cat confdefs.h
>>conftest.
$ac_ext
12307 cat >>conftest.
$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12311 #define $ac_func innocuous_$ac_func
12313 /* System header to define __stub macros and hopefully few prototypes,
12314 which can conflict with char $ac_func (); below.
12315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12316 <limits.h> exists even on freestanding compilers. */
12319 # include <limits.h>
12321 # include <assert.h>
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12333 /* The GNU C library defines this for functions which it implements
12334 to always fail with ENOSYS. Some functions are actually named
12335 something starting with __ and the normal name is an alias. */
12336 #if defined __stub_$ac_func || defined __stub___$ac_func
12343 return $ac_func ();
12348 rm -f conftest.
$ac_objext conftest
$ac_exeext
12349 if { (ac_try
="$ac_link"
12350 case "(($ac_try" in
12351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12352 *) ac_try_echo=$ac_try;;
12354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12355 (eval "$ac_link") 2>conftest.er1
12357 grep -v '^ *+' conftest.er1 >conftest.err
12359 cat conftest.err >&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } && {
12362 test -z "$ac_c_werror_flag" ||
12363 test ! -s conftest.err
12364 } && test -s conftest$ac_exeext &&
12365 $as_test_x conftest$ac_exeext; then
12366 eval "$as_ac_var=yes"
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.$ac_ext >&5
12371 eval "$as_ac_var=no"
12374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12375 conftest$ac_exeext conftest.$ac_ext
12377 ac_res=`eval echo '${'$as_ac_var'}'`
12378 { echo "$as_me:$LINENO: result: $ac_res" >&5
12379 echo "${ECHO_T}$ac_res" >&6; }
12380 if test `eval echo '${'$as_ac_var'}'` = yes; then
12381 cat >>confdefs.h <<_ACEOF
12382 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12388 LIBS="$ac_save_LIBS"
12393 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12394 case "x$with_xslt" in
12395 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12397 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12398 This is an error since --with-xslt was requested." >&5
12399 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12400 This is an error since --with-xslt was requested." >&2;}
12401 { (exit 1); exit 1; }; } ;;
12408 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12410 ac_save_CPPFLAGS="$CPPFLAGS"
12411 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
12412 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
12413 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12416 for ac_header in dbus/dbus.h hal/libhal.h
12418 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12423 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 ac_res=`eval echo '${'$as_ac_Header'}'`
12426 { echo "$as_me:$LINENO: result: $ac_res" >&5
12427 echo "${ECHO_T}$ac_res" >&6; }
12429 # Is the header compilable?
12430 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12432 cat >conftest.$ac_ext <<_ACEOF
12435 cat confdefs.h >>conftest.$ac_ext
12436 cat >>conftest.$ac_ext <<_ACEOF
12437 /* end confdefs.h. */
12438 $ac_includes_default
12439 #include <$ac_header>
12441 rm -f conftest.$ac_objext
12442 if { (ac_try="$ac_compile"
12443 case "(($ac_try" in
12444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12445 *) ac_try_echo
=$ac_try;;
12447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12448 (eval "$ac_compile") 2>conftest.er1
12450 grep -v '^ *+' conftest.er1
>conftest.err
12452 cat conftest.err
>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } && {
12455 test -z "$ac_c_werror_flag" ||
12456 test ! -s conftest.err
12457 } && test -s conftest.
$ac_objext; then
12458 ac_header_compiler
=yes
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12463 ac_header_compiler
=no
12466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12467 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12468 echo "${ECHO_T}$ac_header_compiler" >&6; }
12470 # Is the header present?
12471 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12473 cat >conftest.
$ac_ext <<_ACEOF
12476 cat confdefs.h
>>conftest.
$ac_ext
12477 cat >>conftest.
$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479 #include <$ac_header>
12481 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12482 case "(($ac_try" in
12483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12484 *) ac_try_echo=$ac_try;;
12486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12489 grep -v '^ *+' conftest.er1 >conftest.err
12491 cat conftest.err >&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); } >/dev/null && {
12494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12495 test ! -s conftest.err
12497 ac_header_preproc=yes
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 ac_header_preproc=no
12505 rm -f conftest.err conftest.$ac_ext
12506 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12507 echo "${ECHO_T}$ac_header_preproc" >&6; }
12509 # So? What about this header?
12510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12516 ac_header_preproc=yes
12519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12532 ## ------------------------------------ ##
12533 ## Report this to wine-devel@winehq.org ##
12534 ## ------------------------------------ ##
12536 ) | sed "s/^/$as_me: WARNING: /" >&2
12539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 eval "$as_ac_Header=\$ac_header_preproc"
12546 ac_res=`eval echo '${'$as_ac_Header'}'`
12547 { echo "$as_me:$LINENO: result: $ac_res" >&5
12548 echo "${ECHO_T}$ac_res" >&6; }
12551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12552 cat >>confdefs.h <<_ACEOF
12553 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12560 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12562 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12563 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12564 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12569 cat >conftest.$ac_ext <<_ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12582 char dbus_connection_close ();
12586 return dbus_connection_close ();
12591 rm -f conftest.$ac_objext conftest$ac_exeext
12592 if { (ac_try="$ac_link"
12593 case "(($ac_try" in
12594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12595 *) ac_try_echo
=$ac_try;;
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_link") 2>conftest.er1
12600 grep -v '^ *+' conftest.er1
>conftest.err
12602 cat conftest.err
>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } && {
12605 test -z "$ac_c_werror_flag" ||
12606 test ! -s conftest.err
12607 } && test -s conftest
$ac_exeext &&
12608 $as_test_x conftest
$ac_exeext; then
12609 ac_cv_lib_dbus_1_dbus_connection_close
=yes
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.
$ac_ext >&5
12614 ac_cv_lib_dbus_1_dbus_connection_close
=no
12617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12618 conftest
$ac_exeext conftest.
$ac_ext
12619 LIBS
=$ac_check_lib_save_LIBS
12621 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12622 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12623 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12624 { echo "$as_me:$LINENO: checking for -lhal" >&5
12625 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12626 if test "${ac_cv_lib_soname_hal+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12629 ac_check_soname_save_LIBS
=$LIBS
12630 LIBS
="-lhal $ac_hal_libs $LIBS"
12631 cat >conftest.
$ac_ext <<_ACEOF
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12638 /* Override any GCC internal prototype to avoid an error.
12639 Use char because int might match the return type of a GCC
12640 builtin and then its argument prototype would still apply. */
12644 char libhal_ctx_new ();
12648 return libhal_ctx_new ();
12653 rm -f conftest.
$ac_objext conftest
$ac_exeext
12654 if { (ac_try
="$ac_link"
12655 case "(($ac_try" in
12656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12657 *) ac_try_echo=$ac_try;;
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660 (eval "$ac_link") 2>conftest.er1
12662 grep -v '^ *+' conftest.er1 >conftest.err
12664 cat conftest.err >&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } && {
12667 test -z "$ac_c_werror_flag" ||
12668 test ! -s conftest.err
12669 } && test -s conftest$ac_exeext &&
12670 $as_test_x conftest$ac_exeext; then
12673 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'` ;;
12674 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.$ac_ext >&5
12683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_soname_save_LIBS
12687 if test "x$ac_cv_lib_soname_hal" = "x"; then
12688 { echo "$as_me:$LINENO: result: not found" >&5
12689 echo "${ECHO_T}not found" >&6; }
12692 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12693 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12695 cat >>confdefs.h <<_ACEOF
12696 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12699 HALINCL="$ac_hal_cflags"
12705 CPPFLAGS="$ac_save_CPPFLAGS"
12707 if test "x$ac_cv_lib_soname_hal" = "x"; then
12708 case "x$with_hal" in
12709 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12711 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12712 This is an error since --with-hal was requested." >&5
12713 echo "$as_me: error: libhal development files not found, no dynamic device support.
12714 This is an error since --with-hal was requested." >&2;}
12715 { (exit 1); exit 1; }; } ;;
12721 if test "$ac_cv_header_ncurses_h" = "yes"
12723 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12724 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12725 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12728 ac_check_soname_save_LIBS=$LIBS
12729 LIBS="-lncurses $LIBS"
12730 cat >conftest.$ac_ext <<_ACEOF
12733 cat confdefs.h >>conftest.$ac_ext
12734 cat >>conftest.$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12752 rm -f conftest.$ac_objext conftest$ac_exeext
12753 if { (ac_try="$ac_link"
12754 case "(($ac_try" in
12755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12756 *) ac_try_echo
=$ac_try;;
12758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12759 (eval "$ac_link") 2>conftest.er1
12761 grep -v '^ *+' conftest.er1
>conftest.err
12763 cat conftest.err
>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); } && {
12766 test -z "$ac_c_werror_flag" ||
12767 test ! -s conftest.err
12768 } && test -s conftest
$ac_exeext &&
12769 $as_test_x conftest
$ac_exeext; then
12772 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'` ;;
12773 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.
$ac_ext >&5
12782 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12783 conftest
$ac_exeext conftest.
$ac_ext
12784 LIBS
=$ac_check_soname_save_LIBS
12786 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12787 { echo "$as_me:$LINENO: result: not found" >&5
12788 echo "${ECHO_T}not found" >&6; }
12791 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12792 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12794 cat >>confdefs.h
<<_ACEOF
12795 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12798 CURSESLIBS
="-lncurses"
12801 elif test "$ac_cv_header_curses_h" = "yes"
12803 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12804 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12805 if test "${ac_cv_lib_soname_curses+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 ac_check_soname_save_LIBS
=$LIBS
12809 LIBS
="-lcurses $LIBS"
12810 cat >conftest.
$ac_ext <<_ACEOF
12813 cat confdefs.h
>>conftest.
$ac_ext
12814 cat >>conftest.
$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12832 rm -f conftest.
$ac_objext conftest
$ac_exeext
12833 if { (ac_try
="$ac_link"
12834 case "(($ac_try" in
12835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12836 *) ac_try_echo=$ac_try;;
12838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12839 (eval "$ac_link") 2>conftest.er1
12841 grep -v '^ *+' conftest.er1 >conftest.err
12843 cat conftest.err >&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } && {
12846 test -z "$ac_c_werror_flag" ||
12847 test ! -s conftest.err
12848 } && test -s conftest$ac_exeext &&
12849 $as_test_x conftest$ac_exeext; then
12852 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'` ;;
12853 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12856 echo "$as_me: failed program was:" >&5
12857 sed 's/^/| /' conftest.$ac_ext >&5
12862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12863 conftest$ac_exeext conftest.$ac_ext
12864 LIBS=$ac_check_soname_save_LIBS
12866 if test "x$ac_cv_lib_soname_curses" = "x"; then
12867 { echo "$as_me:$LINENO: result: not found" >&5
12868 echo "${ECHO_T}not found" >&6; }
12871 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12872 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12874 cat >>confdefs.h <<_ACEOF
12875 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12878 CURSESLIBS="-lcurses"
12882 ac_save_LIBS="$LIBS"
12883 LIBS="$LIBS $CURSESLIBS"
12885 for ac_func in mousemask
12887 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12888 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12893 cat >conftest.$ac_ext <<_ACEOF
12896 cat confdefs.h >>conftest.$ac_ext
12897 cat >>conftest.$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12901 #define $ac_func innocuous_$ac_func
12903 /* System header to define __stub macros and hopefully few prototypes,
12904 which can conflict with char $ac_func (); below.
12905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12906 <limits.h> exists even on freestanding compilers. */
12909 # include <limits.h>
12911 # include <assert.h>
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12923 /* The GNU C library defines this for functions which it implements
12924 to always fail with ENOSYS. Some functions are actually named
12925 something starting with __ and the normal name is an alias. */
12926 #if defined __stub_$ac_func || defined __stub___$ac_func
12933 return $ac_func ();
12938 rm -f conftest.$ac_objext conftest$ac_exeext
12939 if { (ac_try="$ac_link"
12940 case "(($ac_try" in
12941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12942 *) ac_try_echo
=$ac_try;;
12944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12945 (eval "$ac_link") 2>conftest.er1
12947 grep -v '^ *+' conftest.er1
>conftest.err
12949 cat conftest.err
>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); } && {
12952 test -z "$ac_c_werror_flag" ||
12953 test ! -s conftest.err
12954 } && test -s conftest
$ac_exeext &&
12955 $as_test_x conftest
$ac_exeext; then
12956 eval "$as_ac_var=yes"
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.
$ac_ext >&5
12961 eval "$as_ac_var=no"
12964 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12965 conftest
$ac_exeext conftest.
$ac_ext
12967 ac_res
=`eval echo '${'$as_ac_var'}'`
12968 { echo "$as_me:$LINENO: result: $ac_res" >&5
12969 echo "${ECHO_T}$ac_res" >&6; }
12970 if test `eval echo '${'$as_ac_var'}'` = yes; then
12971 cat >>confdefs.h
<<_ACEOF
12972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12978 LIBS
="$ac_save_LIBS"
12979 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12980 case "x$with_curses" in
12981 x
) wine_notices
="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12983 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12984 This is an error since --with-curses was requested." >&5
12985 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12986 This is an error since --with-curses was requested." >&2;}
12987 { (exit 1); exit 1; }; } ;;
12992 # Extract the first word of "sane-config", so it can be a program name with args.
12993 set dummy sane-config
; ac_word
=$2
12994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12996 if test "${ac_cv_prog_sane_devel+set}" = set; then
12997 echo $ECHO_N "(cached) $ECHO_C" >&6
12999 if test -n "$sane_devel"; then
13000 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
13002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13003 for as_dir
in $PATH
13006 test -z "$as_dir" && as_dir
=.
13007 for ac_exec_ext
in '' $ac_executable_extensions; do
13008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13009 ac_cv_prog_sane_devel
="sane-config"
13010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
13020 sane_devel
=$ac_cv_prog_sane_devel
13021 if test -n "$sane_devel"; then
13022 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13023 echo "${ECHO_T}$sane_devel" >&6; }
13025 { echo "$as_me:$LINENO: result: no" >&5
13026 echo "${ECHO_T}no" >&6; }
13030 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13032 ac_sane_incl
="`$sane_devel --cflags`"
13033 ac_sane_libs
="`$sane_devel --ldflags`"
13034 ac_save_CPPFLAGS
="$CPPFLAGS"
13035 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
13036 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13037 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13038 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13039 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13043 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13045 # Is the header compilable?
13046 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13047 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13048 cat >conftest.
$ac_ext <<_ACEOF
13051 cat confdefs.h
>>conftest.
$ac_ext
13052 cat >>conftest.
$ac_ext <<_ACEOF
13053 /* end confdefs.h. */
13054 $ac_includes_default
13055 #include <sane/sane.h>
13057 rm -f conftest.
$ac_objext
13058 if { (ac_try
="$ac_compile"
13059 case "(($ac_try" in
13060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13061 *) ac_try_echo=$ac_try;;
13063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13064 (eval "$ac_compile") 2>conftest.er1
13066 grep -v '^ *+' conftest.er1 >conftest.err
13068 cat conftest.err >&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } && {
13071 test -z "$ac_c_werror_flag" ||
13072 test ! -s conftest.err
13073 } && test -s conftest.$ac_objext; then
13074 ac_header_compiler=yes
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.$ac_ext >&5
13079 ac_header_compiler=no
13082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13083 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13084 echo "${ECHO_T}$ac_header_compiler" >&6; }
13086 # Is the header present?
13087 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13088 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13089 cat >conftest.$ac_ext <<_ACEOF
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 #include <sane/sane.h>
13097 if { (ac_try="$ac_cpp conftest.$ac_ext"
13098 case "(($ac_try" in
13099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13100 *) ac_try_echo
=$ac_try;;
13102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13105 grep -v '^ *+' conftest.er1
>conftest.err
13107 cat conftest.err
>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); } >/dev
/null
&& {
13110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13111 test ! -s conftest.err
13113 ac_header_preproc
=yes
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.
$ac_ext >&5
13118 ac_header_preproc
=no
13121 rm -f conftest.err conftest.
$ac_ext
13122 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13123 echo "${ECHO_T}$ac_header_preproc" >&6; }
13125 # So? What about this header?
13126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13128 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13129 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13131 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13132 ac_header_preproc
=yes
13135 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13136 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13137 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13138 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13140 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13142 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13144 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13145 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13146 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13148 ## ------------------------------------ ##
13149 ## Report this to wine-devel@winehq.org ##
13150 ## ------------------------------------ ##
13152 ) |
sed "s/^/$as_me: WARNING: /" >&2
13155 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13156 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13157 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 ac_cv_header_sane_sane_h
=$ac_header_preproc
13162 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13163 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13166 if test $ac_cv_header_sane_sane_h = yes; then
13167 { echo "$as_me:$LINENO: checking for -lsane" >&5
13168 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13169 if test "${ac_cv_lib_soname_sane+set}" = set; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 ac_check_soname_save_LIBS
=$LIBS
13173 LIBS
="-lsane $ac_sane_libs $LIBS"
13174 cat >conftest.
$ac_ext <<_ACEOF
13177 cat confdefs.h
>>conftest.
$ac_ext
13178 cat >>conftest.
$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13191 return sane_init ();
13196 rm -f conftest.
$ac_objext conftest
$ac_exeext
13197 if { (ac_try
="$ac_link"
13198 case "(($ac_try" in
13199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13200 *) ac_try_echo=$ac_try;;
13202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13203 (eval "$ac_link") 2>conftest.er1
13205 grep -v '^ *+' conftest.er1 >conftest.err
13207 cat conftest.err >&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } && {
13210 test -z "$ac_c_werror_flag" ||
13211 test ! -s conftest.err
13212 } && test -s conftest$ac_exeext &&
13213 $as_test_x conftest$ac_exeext; then
13216 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'` ;;
13217 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13227 conftest$ac_exeext conftest.$ac_ext
13228 LIBS=$ac_check_soname_save_LIBS
13230 if test "x$ac_cv_lib_soname_sane" = "x"; then
13231 { echo "$as_me:$LINENO: result: not found" >&5
13232 echo "${ECHO_T}not found" >&6; }
13235 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13236 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13238 cat >>confdefs.h <<_ACEOF
13239 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13242 SANEINCL="$ac_sane_incl"
13249 CPPFLAGS="$ac_save_CPPFLAGS"
13251 if test "x$ac_cv_lib_soname_sane" = "x"; then
13252 case "x$with_sane" in
13253 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13255 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13256 This is an error since --with-sane was requested." >&5
13257 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13258 This is an error since --with-sane was requested." >&2;}
13259 { (exit 1); exit 1; }; } ;;
13264 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13265 set dummy gphoto2-config; ac_word=$2
13266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13268 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13271 if test -n "$gphoto2_devel"; then
13272 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13275 for as_dir in $PATH
13278 test -z "$as_dir" && as_dir=.
13279 for ac_exec_ext in '' $ac_executable_extensions; do
13280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13281 ac_cv_prog_gphoto2_devel="gphoto2-config"
13282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13289 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13292 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13293 if test -n "$gphoto2_devel"; then
13294 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13295 echo "${ECHO_T}$gphoto2_devel" >&6; }
13297 { echo "$as_me:$LINENO: result: no" >&5
13298 echo "${ECHO_T}no" >&6; }
13302 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13303 set dummy gphoto2-port-config; ac_word=$2
13304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13306 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13309 if test -n "$gphoto2port_devel"; then
13310 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13313 for as_dir in $PATH
13316 test -z "$as_dir" && as_dir=.
13317 for ac_exec_ext in '' $ac_executable_extensions; do
13318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13319 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13327 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13330 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13331 if test -n "$gphoto2port_devel"; then
13332 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13333 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13335 { echo "$as_me:$LINENO: result: no" >&5
13336 echo "${ECHO_T}no" >&6; }
13340 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13342 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13344 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13347 -L/usr/lib|-L/usr/lib64) ;;
13348 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13351 ac_save_CPPFLAGS="$CPPFLAGS"
13352 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13353 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13354 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13355 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13356 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13360 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13362 # Is the header compilable?
13363 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13364 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13365 cat >conftest.$ac_ext <<_ACEOF
13368 cat confdefs.h >>conftest.$ac_ext
13369 cat >>conftest.$ac_ext <<_ACEOF
13370 /* end confdefs.h. */
13371 $ac_includes_default
13372 #include <gphoto2-camera.h>
13374 rm -f conftest.$ac_objext
13375 if { (ac_try="$ac_compile"
13376 case "(($ac_try" in
13377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13378 *) ac_try_echo
=$ac_try;;
13380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13381 (eval "$ac_compile") 2>conftest.er1
13383 grep -v '^ *+' conftest.er1
>conftest.err
13385 cat conftest.err
>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } && {
13388 test -z "$ac_c_werror_flag" ||
13389 test ! -s conftest.err
13390 } && test -s conftest.
$ac_objext; then
13391 ac_header_compiler
=yes
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13396 ac_header_compiler
=no
13399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13400 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13401 echo "${ECHO_T}$ac_header_compiler" >&6; }
13403 # Is the header present?
13404 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13405 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13406 cat >conftest.
$ac_ext <<_ACEOF
13409 cat confdefs.h
>>conftest.
$ac_ext
13410 cat >>conftest.
$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 #include <gphoto2-camera.h>
13414 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13415 case "(($ac_try" in
13416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13417 *) ac_try_echo=$ac_try;;
13419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13422 grep -v '^ *+' conftest.er1 >conftest.err
13424 cat conftest.err >&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); } >/dev/null && {
13427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13428 test ! -s conftest.err
13430 ac_header_preproc=yes
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13435 ac_header_preproc=no
13438 rm -f conftest.err conftest.$ac_ext
13439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13440 echo "${ECHO_T}$ac_header_preproc" >&6; }
13442 # So? What about this header?
13443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13445 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13446 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13448 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13449 ac_header_preproc=yes
13452 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13453 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13454 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13455 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13457 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13459 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13461 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13462 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13463 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13465 ## ------------------------------------ ##
13466 ## Report this to wine-devel@winehq.org ##
13467 ## ------------------------------------ ##
13469 ) | sed "s/^/$as_me: WARNING: /" >&2
13472 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13473 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13474 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13479 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13480 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13483 if test $ac_cv_header_gphoto2_camera_h = yes; then
13484 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13485 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13486 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 ac_check_lib_save_LIBS=$LIBS
13490 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
13491 cat >conftest.$ac_ext <<_ACEOF
13494 cat confdefs.h >>conftest.$ac_ext
13495 cat >>conftest.$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13504 char gp_camera_new ();
13508 return gp_camera_new ();
13513 rm -f conftest.$ac_objext conftest$ac_exeext
13514 if { (ac_try="$ac_link"
13515 case "(($ac_try" in
13516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13517 *) ac_try_echo
=$ac_try;;
13519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13520 (eval "$ac_link") 2>conftest.er1
13522 grep -v '^ *+' conftest.er1
>conftest.err
13524 cat conftest.err
>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } && {
13527 test -z "$ac_c_werror_flag" ||
13528 test ! -s conftest.err
13529 } && test -s conftest
$ac_exeext &&
13530 $as_test_x conftest
$ac_exeext; then
13531 ac_cv_lib_gphoto2_gp_camera_new
=yes
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.
$ac_ext >&5
13536 ac_cv_lib_gphoto2_gp_camera_new
=no
13539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13540 conftest
$ac_exeext conftest.
$ac_ext
13541 LIBS
=$ac_check_lib_save_LIBS
13543 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13544 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13545 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13547 cat >>confdefs.h
<<\_ACEOF
13548 #define HAVE_GPHOTO2 1
13551 GPHOTO2LIBS
="$ac_gphoto2_libs"
13553 GPHOTO2INCL
="$ac_gphoto2_incl"
13560 CPPFLAGS
="$ac_save_CPPFLAGS"
13562 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13563 case "x$with_gphoto" in
13564 x
) wine_notices
="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13566 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13567 This is an error since --with-gphoto was requested." >&5
13568 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13569 This is an error since --with-gphoto was requested." >&2;}
13570 { (exit 1); exit 1; }; } ;;
13578 if test "$ac_cv_header_resolv_h" = "yes"
13580 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13581 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13582 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 ac_check_lib_save_LIBS
=$LIBS
13586 LIBS
="-lresolv $LIBS"
13587 cat >conftest.
$ac_ext <<_ACEOF
13590 cat confdefs.h
>>conftest.
$ac_ext
13591 cat >>conftest.
$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13604 return res_query ();
13609 rm -f conftest.
$ac_objext conftest
$ac_exeext
13610 if { (ac_try
="$ac_link"
13611 case "(($ac_try" in
13612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13613 *) ac_try_echo=$ac_try;;
13615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13616 (eval "$ac_link") 2>conftest.er1
13618 grep -v '^ *+' conftest.er1 >conftest.err
13620 cat conftest.err >&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } && {
13623 test -z "$ac_c_werror_flag" ||
13624 test ! -s conftest.err
13625 } && test -s conftest$ac_exeext &&
13626 $as_test_x conftest$ac_exeext; then
13627 ac_cv_lib_resolv_res_query=yes
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13632 ac_cv_lib_resolv_res_query=no
13635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13636 conftest$ac_exeext conftest.$ac_ext
13637 LIBS=$ac_check_lib_save_LIBS
13639 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13640 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13641 if test $ac_cv_lib_resolv_res_query = yes; then
13643 cat >>confdefs.h <<\_ACEOF
13644 #define HAVE_RESOLV 1
13647 RESOLVLIBS="-lresolv"
13654 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13656 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13657 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13658 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 ac_check_lib_save_LIBS=$LIBS
13662 LIBS="-llcms $LIBS"
13663 cat >conftest.$ac_ext <<_ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13670 /* Override any GCC internal prototype to avoid an error.
13671 Use char because int might match the return type of a GCC
13672 builtin and then its argument prototype would still apply. */
13676 char cmsOpenProfileFromFile ();
13680 return cmsOpenProfileFromFile ();
13685 rm -f conftest.$ac_objext conftest$ac_exeext
13686 if { (ac_try="$ac_link"
13687 case "(($ac_try" in
13688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13689 *) ac_try_echo
=$ac_try;;
13691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_link") 2>conftest.er1
13694 grep -v '^ *+' conftest.er1
>conftest.err
13696 cat conftest.err
>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && {
13699 test -z "$ac_c_werror_flag" ||
13700 test ! -s conftest.err
13701 } && test -s conftest
$ac_exeext &&
13702 $as_test_x conftest
$ac_exeext; then
13703 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.
$ac_ext >&5
13708 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
13711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13712 conftest
$ac_exeext conftest.
$ac_ext
13713 LIBS
=$ac_check_lib_save_LIBS
13715 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13716 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13717 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13719 cat >>confdefs.h
<<\_ACEOF
13720 #define HAVE_LCMS 1
13727 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13728 case "x$with_cms" in
13729 x
) wine_notices
="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13731 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13732 This is an error since --with-cms was requested." >&5
13733 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13734 This is an error since --with-cms was requested." >&2;}
13735 { (exit 1); exit 1; }; } ;;
13740 for ac_prog
in freetype-config freetype2-config
13742 # Extract the first word of "$ac_prog", so it can be a program name with args.
13743 set dummy
$ac_prog; ac_word
=$2
13744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13746 if test "${ac_cv_prog_ft_devel+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 if test -n "$ft_devel"; then
13750 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13753 for as_dir
in $PATH
13756 test -z "$as_dir" && as_dir
=.
13757 for ac_exec_ext
in '' $ac_executable_extensions; do
13758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13759 ac_cv_prog_ft_devel
="$ac_prog"
13760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13769 ft_devel
=$ac_cv_prog_ft_devel
13770 if test -n "$ft_devel"; then
13771 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13772 echo "${ECHO_T}$ft_devel" >&6; }
13774 { echo "$as_me:$LINENO: result: no" >&5
13775 echo "${ECHO_T}no" >&6; }
13779 test -n "$ft_devel" && break
13781 test -n "$ft_devel" || ft_devel
="false"
13783 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13785 ac_freetype_libs
=`$ft_devel --libs`
13786 ac_freetype_incl
=`$ft_devel --cflags`
13787 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13788 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13789 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13790 echo $ECHO_N "(cached) $ECHO_C" >&6
13792 ac_check_soname_save_LIBS
=$LIBS
13793 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13794 cat >conftest.
$ac_ext <<_ACEOF
13797 cat confdefs.h
>>conftest.
$ac_ext
13798 cat >>conftest.
$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13807 char FT_Init_FreeType ();
13811 return FT_Init_FreeType ();
13816 rm -f conftest.
$ac_objext conftest
$ac_exeext
13817 if { (ac_try
="$ac_link"
13818 case "(($ac_try" in
13819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13820 *) ac_try_echo=$ac_try;;
13822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13823 (eval "$ac_link") 2>conftest.er1
13825 grep -v '^ *+' conftest.er1 >conftest.err
13827 cat conftest.err >&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } && {
13830 test -z "$ac_c_werror_flag" ||
13831 test ! -s conftest.err
13832 } && test -s conftest$ac_exeext &&
13833 $as_test_x conftest$ac_exeext; then
13836 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'` ;;
13837 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13840 echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.$ac_ext >&5
13846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_soname_save_LIBS
13850 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13851 { echo "$as_me:$LINENO: result: not found" >&5
13852 echo "${ECHO_T}not found" >&6; }
13855 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13856 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13858 cat >>confdefs.h <<_ACEOF
13859 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13865 if test "$ft_lib" = "yes"
13867 ac_save_CPPFLAGS="$CPPFLAGS"
13868 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13881 for ac_header in ft2build.h \
13882 freetype/freetype.h \
13883 freetype/ftglyph.h \
13884 freetype/fttypes.h \
13885 freetype/tttables.h \
13886 freetype/ftnames.h \
13887 freetype/ftsnames.h \
13888 freetype/ttnameid.h \
13889 freetype/ftoutln.h \
13890 freetype/ftwinfnt.h \
13891 freetype/ftmodapi.h \
13892 freetype/internal/sfnt.h
13894 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13900 cat >conftest.$ac_ext <<_ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 #ifdef HAVE_FT2BUILD_H
13907 # include <ft2build.h>
13910 #include <$ac_header>
13912 rm -f conftest.$ac_objext
13913 if { (ac_try="$ac_compile"
13914 case "(($ac_try" in
13915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13916 *) ac_try_echo
=$ac_try;;
13918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13919 (eval "$ac_compile") 2>conftest.er1
13921 grep -v '^ *+' conftest.er1
>conftest.err
13923 cat conftest.err
>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } && {
13926 test -z "$ac_c_werror_flag" ||
13927 test ! -s conftest.err
13928 } && test -s conftest.
$ac_objext; then
13929 eval "$as_ac_Header=yes"
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.
$ac_ext >&5
13934 eval "$as_ac_Header=no"
13937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13939 ac_res
=`eval echo '${'$as_ac_Header'}'`
13940 { echo "$as_me:$LINENO: result: $ac_res" >&5
13941 echo "${ECHO_T}$ac_res" >&6; }
13942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13943 cat >>confdefs.h
<<_ACEOF
13944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13951 cat >conftest.
$ac_ext <<_ACEOF
13954 cat confdefs.h
>>conftest.
$ac_ext
13955 cat >>conftest.
$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 #include <ft2build.h>
13958 #include <freetype/fttrigon.h>
13960 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13961 case "(($ac_try" in
13962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;;
13965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13968 grep -v '^ *+' conftest.er1 >conftest.err
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } >/dev/null && {
13973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13974 test ! -s conftest.err
13977 cat >>confdefs.h <<\_ACEOF
13978 #define HAVE_FREETYPE_FTTRIGON_H 1
13981 wine_cv_fttrigon=yes
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.$ac_ext >&5
13986 wine_cv_fttrigon=no
13989 rm -f conftest.err conftest.$ac_ext
13990 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13991 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13992 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 cat >conftest.$ac_ext <<_ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 #include <freetype/ftmodapi.h>
14003 typedef FT_TrueTypeEngineType ac__type_new_;
14007 if ((ac__type_new_ *) 0)
14009 if (sizeof (ac__type_new_))
14015 rm -f conftest.$ac_objext
14016 if { (ac_try="$ac_compile"
14017 case "(($ac_try" in
14018 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14019 *) ac_try_echo
=$ac_try;;
14021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14022 (eval "$ac_compile") 2>conftest.er1
14024 grep -v '^ *+' conftest.er1
>conftest.err
14026 cat conftest.err
>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } && {
14029 test -z "$ac_c_werror_flag" ||
14030 test ! -s conftest.err
14031 } && test -s conftest.
$ac_objext; then
14032 ac_cv_type_FT_TrueTypeEngineType
=yes
14034 echo "$as_me: failed program was:" >&5
14035 sed 's/^/| /' conftest.
$ac_ext >&5
14037 ac_cv_type_FT_TrueTypeEngineType
=no
14040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14042 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14043 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14044 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14046 cat >>confdefs.h
<<_ACEOF
14047 #define HAVE_FT_TRUETYPEENGINETYPE 1
14053 ac_save_CFLAGS
="$CFLAGS"
14054 CFLAGS
="$CFLAGS $ac_freetype_libs"
14056 for ac_func
in FT_Load_Sfnt_Table
14058 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14061 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14064 cat >conftest.
$ac_ext <<_ACEOF
14067 cat confdefs.h
>>conftest.
$ac_ext
14068 cat >>conftest.
$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14072 #define $ac_func innocuous_$ac_func
14074 /* System header to define __stub macros and hopefully few prototypes,
14075 which can conflict with char $ac_func (); below.
14076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14077 <limits.h> exists even on freestanding compilers. */
14080 # include <limits.h>
14082 # include <assert.h>
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14094 /* The GNU C library defines this for functions which it implements
14095 to always fail with ENOSYS. Some functions are actually named
14096 something starting with __ and the normal name is an alias. */
14097 #if defined __stub_$ac_func || defined __stub___$ac_func
14104 return $ac_func ();
14109 rm -f conftest.
$ac_objext conftest
$ac_exeext
14110 if { (ac_try
="$ac_link"
14111 case "(($ac_try" in
14112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14113 *) ac_try_echo=$ac_try;;
14115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14116 (eval "$ac_link") 2>conftest.er1
14118 grep -v '^ *+' conftest.er1 >conftest.err
14120 cat conftest.err >&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); } && {
14123 test -z "$ac_c_werror_flag" ||
14124 test ! -s conftest.err
14125 } && test -s conftest$ac_exeext &&
14126 $as_test_x conftest$ac_exeext; then
14127 eval "$as_ac_var=yes"
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14132 eval "$as_ac_var=no"
14135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14136 conftest$ac_exeext conftest.$ac_ext
14138 ac_res=`eval echo '${'$as_ac_var'}'`
14139 { echo "$as_me:$LINENO: result: $ac_res" >&5
14140 echo "${ECHO_T}$ac_res" >&6; }
14141 if test `eval echo '${'$as_ac_var'}'` = yes; then
14142 cat >>confdefs.h <<_ACEOF
14143 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14149 CFLAGS="$ac_save_CFLAGS"
14150 CPPFLAGS="$ac_save_CPPFLAGS"
14151 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14154 cat >>confdefs.h <<\_ACEOF
14155 #define HAVE_FREETYPE 1
14158 FREETYPELIBS="$ac_freetype_libs"
14160 FREETYPEINCL="$ac_freetype_incl"
14162 FONTSSUBDIRS="fonts"
14167 if test "x$FREETYPELIBS" = "x"; then
14168 case "x$with_freetype" in
14170 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14171 Fonts will not be built. Dialog text may be invisible or unaligned.
14172 Use the --without-freetype option if you really want this." >&5
14173 echo "$as_me: error: FreeType development files not found.
14174 Fonts will not be built. Dialog text may be invisible or unaligned.
14175 Use the --without-freetype option if you really want this." >&2;}
14176 { (exit 1); exit 1; }; } ;;
14181 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14182 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14183 if test "${ac_cv_c_ppdev+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14186 cat >conftest.$ac_ext <<_ACEOF
14189 cat confdefs.h >>conftest.$ac_ext
14190 cat >>conftest.$ac_ext <<_ACEOF
14191 /* end confdefs.h. */
14192 #include <linux/ppdev.h>
14196 ioctl (1,PPCLAIM,0)
14201 rm -f conftest.$ac_objext
14202 if { (ac_try="$ac_compile"
14203 case "(($ac_try" in
14204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14205 *) ac_try_echo
=$ac_try;;
14207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14208 (eval "$ac_compile") 2>conftest.er1
14210 grep -v '^ *+' conftest.er1
>conftest.err
14212 cat conftest.err
>&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } && {
14215 test -z "$ac_c_werror_flag" ||
14216 test ! -s conftest.err
14217 } && test -s conftest.
$ac_objext; then
14218 ac_cv_c_ppdev
="yes"
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.
$ac_ext >&5
14226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14228 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14229 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14230 if test "$ac_cv_c_ppdev" = "yes"
14233 cat >>confdefs.h
<<\_ACEOF
14234 #define HAVE_PPDEV 1
14239 { echo "$as_me:$LINENO: checking for va_copy" >&5
14240 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14241 if test "${ac_cv_c_va_copy+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14244 cat >conftest.
$ac_ext <<_ACEOF
14247 cat confdefs.h
>>conftest.
$ac_ext
14248 cat >>conftest.
$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14250 #include <stdarg.h>
14254 va_list ap1, ap2; va_copy(ap1,ap2);
14259 rm -f conftest.
$ac_objext conftest
$ac_exeext
14260 if { (ac_try
="$ac_link"
14261 case "(($ac_try" in
14262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14263 *) ac_try_echo=$ac_try;;
14265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14266 (eval "$ac_link") 2>conftest.er1
14268 grep -v '^ *+' conftest.er1 >conftest.err
14270 cat conftest.err >&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } && {
14273 test -z "$ac_c_werror_flag" ||
14274 test ! -s conftest.err
14275 } && test -s conftest$ac_exeext &&
14276 $as_test_x conftest$ac_exeext; then
14277 ac_cv_c_va_copy="yes"
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.$ac_ext >&5
14282 ac_cv_c_va_copy="no"
14285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14286 conftest$ac_exeext conftest.$ac_ext
14289 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14290 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14291 if test "$ac_cv_c_va_copy" = "yes"
14294 cat >>confdefs.h <<\_ACEOF
14295 #define HAVE_VA_COPY 1
14299 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14300 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14301 if test "${ac_cv_c___va_copy+set}" = set; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 cat >conftest.$ac_ext <<_ACEOF
14307 cat confdefs.h >>conftest.$ac_ext
14308 cat >>conftest.$ac_ext <<_ACEOF
14309 /* end confdefs.h. */
14310 #include <stdarg.h>
14314 va_list ap1, ap2; __va_copy(ap1,ap2);
14319 rm -f conftest.$ac_objext conftest$ac_exeext
14320 if { (ac_try="$ac_link"
14321 case "(($ac_try" in
14322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14323 *) ac_try_echo
=$ac_try;;
14325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14326 (eval "$ac_link") 2>conftest.er1
14328 grep -v '^ *+' conftest.er1
>conftest.err
14330 cat conftest.err
>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } && {
14333 test -z "$ac_c_werror_flag" ||
14334 test ! -s conftest.err
14335 } && test -s conftest
$ac_exeext &&
14336 $as_test_x conftest
$ac_exeext; then
14337 ac_cv_c___va_copy
="yes"
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.
$ac_ext >&5
14342 ac_cv_c___va_copy
="no"
14345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14346 conftest
$ac_exeext conftest.
$ac_ext
14349 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14350 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14351 if test "$ac_cv_c___va_copy" = "yes"
14354 cat >>confdefs.h
<<\_ACEOF
14355 #define HAVE___VA_COPY 1
14360 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14361 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14362 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 cat >conftest.
$ac_ext <<_ACEOF
14368 cat confdefs.h
>>conftest.
$ac_ext
14369 cat >>conftest.
$ac_ext <<_ACEOF
14370 /* end confdefs.h. */
14371 #define _GNU_SOURCE
14372 #include <pthread.h>
14374 typedef pthread_rwlock_t ac__type_new_;
14378 if ((ac__type_new_ *) 0)
14380 if (sizeof (ac__type_new_))
14386 rm -f conftest.
$ac_objext
14387 if { (ac_try
="$ac_compile"
14388 case "(($ac_try" in
14389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14390 *) ac_try_echo=$ac_try;;
14392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14393 (eval "$ac_compile") 2>conftest.er1
14395 grep -v '^ *+' conftest.er1 >conftest.err
14397 cat conftest.err >&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } && {
14400 test -z "$ac_c_werror_flag" ||
14401 test ! -s conftest.err
14402 } && test -s conftest.$ac_objext; then
14403 ac_cv_type_pthread_rwlock_t=yes
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14408 ac_cv_type_pthread_rwlock_t=no
14411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14413 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14414 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14415 if test $ac_cv_type_pthread_rwlock_t = yes; then
14417 cat >>confdefs.h <<_ACEOF
14418 #define HAVE_PTHREAD_RWLOCK_T 1
14423 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14424 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14425 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14428 cat >conftest.$ac_ext <<_ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 #define _GNU_SOURCE
14435 #include <pthread.h>
14437 typedef pthread_rwlockattr_t ac__type_new_;
14441 if ((ac__type_new_ *) 0)
14443 if (sizeof (ac__type_new_))
14449 rm -f conftest.$ac_objext
14450 if { (ac_try="$ac_compile"
14451 case "(($ac_try" in
14452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14453 *) ac_try_echo
=$ac_try;;
14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14456 (eval "$ac_compile") 2>conftest.er1
14458 grep -v '^ *+' conftest.er1
>conftest.err
14460 cat conftest.err
>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } && {
14463 test -z "$ac_c_werror_flag" ||
14464 test ! -s conftest.err
14465 } && test -s conftest.
$ac_objext; then
14466 ac_cv_type_pthread_rwlockattr_t
=yes
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.
$ac_ext >&5
14471 ac_cv_type_pthread_rwlockattr_t
=no
14474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14476 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14477 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14478 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14480 cat >>confdefs.h
<<_ACEOF
14481 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14488 ac_wine_check_funcs_save_LIBS
="$LIBS"
14489 LIBS
="$LIBS $LIBPTHREAD"
14495 pthread_attr_get_np \
14496 pthread_getattr_np \
14497 pthread_get_stackaddr_np \
14498 pthread_get_stacksize_np
14500 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14503 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14506 cat >conftest.
$ac_ext <<_ACEOF
14509 cat confdefs.h
>>conftest.
$ac_ext
14510 cat >>conftest.
$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14514 #define $ac_func innocuous_$ac_func
14516 /* System header to define __stub macros and hopefully few prototypes,
14517 which can conflict with char $ac_func (); below.
14518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14519 <limits.h> exists even on freestanding compilers. */
14522 # include <limits.h>
14524 # include <assert.h>
14529 /* Override any GCC internal prototype to avoid an error.
14530 Use char because int might match the return type of a GCC
14531 builtin and then its argument prototype would still apply. */
14536 /* The GNU C library defines this for functions which it implements
14537 to always fail with ENOSYS. Some functions are actually named
14538 something starting with __ and the normal name is an alias. */
14539 #if defined __stub_$ac_func || defined __stub___$ac_func
14546 return $ac_func ();
14551 rm -f conftest.
$ac_objext conftest
$ac_exeext
14552 if { (ac_try
="$ac_link"
14553 case "(($ac_try" in
14554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_link") 2>conftest.er1
14560 grep -v '^ *+' conftest.er1 >conftest.err
14562 cat conftest.err >&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } && {
14565 test -z "$ac_c_werror_flag" ||
14566 test ! -s conftest.err
14567 } && test -s conftest$ac_exeext &&
14568 $as_test_x conftest$ac_exeext; then
14569 eval "$as_ac_var=yes"
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14574 eval "$as_ac_var=no"
14577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14578 conftest$ac_exeext conftest.$ac_ext
14580 ac_res=`eval echo '${'$as_ac_var'}'`
14581 { echo "$as_me:$LINENO: result: $ac_res" >&5
14582 echo "${ECHO_T}$ac_res" >&6; }
14583 if test `eval echo '${'$as_ac_var'}'` = yes; then
14584 cat >>confdefs.h <<_ACEOF
14585 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14591 LIBS="$ac_wine_check_funcs_save_LIBS"
14593 # Extract the first word of "esd-config", so it can be a program name with args.
14594 set dummy esd-config; ac_word=$2
14595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14597 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14598 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14606 for as_dir in $PATH
14609 test -z "$as_dir" && as_dir=.
14610 for ac_exec_ext in '' $ac_executable_extensions; do
14611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14612 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14623 ESDCONFIG=$ac_cv_path_ESDCONFIG
14624 if test -n "$ESDCONFIG"; then
14625 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14626 echo "${ECHO_T}$ESDCONFIG" >&6; }
14628 { echo "$as_me:$LINENO: result: no" >&5
14629 echo "${ECHO_T}no" >&6; }
14633 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14636 for i in `$ESDCONFIG --cflags`
14639 -I*) ac_esd_incl="$ac_esd_incl $i";;
14642 ac_esd_libs=`$ESDCONFIG --libs`
14643 save_CFLAGS="$CFLAGS"
14644 CFLAGS="$CFLAGS $ac_esd_incl"
14645 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14646 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14647 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 ac_check_lib_save_LIBS=$LIBS
14651 LIBS="-lesd $ac_esd_libs $LIBS"
14652 cat >conftest.$ac_ext <<_ACEOF
14655 cat confdefs.h >>conftest.$ac_ext
14656 cat >>conftest.$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14659 /* Override any GCC internal prototype to avoid an error.
14660 Use char because int might match the return type of a GCC
14661 builtin and then its argument prototype would still apply. */
14665 char esd_open_sound ();
14669 return esd_open_sound ();
14674 rm -f conftest.$ac_objext conftest$ac_exeext
14675 if { (ac_try="$ac_link"
14676 case "(($ac_try" in
14677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14678 *) ac_try_echo
=$ac_try;;
14680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14681 (eval "$ac_link") 2>conftest.er1
14683 grep -v '^ *+' conftest.er1
>conftest.err
14685 cat conftest.err
>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); } && {
14688 test -z "$ac_c_werror_flag" ||
14689 test ! -s conftest.err
14690 } && test -s conftest
$ac_exeext &&
14691 $as_test_x conftest
$ac_exeext; then
14692 ac_cv_lib_esd_esd_open_sound
=yes
14694 echo "$as_me: failed program was:" >&5
14695 sed 's/^/| /' conftest.
$ac_ext >&5
14697 ac_cv_lib_esd_esd_open_sound
=no
14700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14701 conftest
$ac_exeext conftest.
$ac_ext
14702 LIBS
=$ac_check_lib_save_LIBS
14704 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14705 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14706 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14707 ESDINCL
="$ac_esd_incl"
14709 ESDLIBS
="$ac_esd_libs"
14712 cat >>confdefs.h
<<\_ACEOF
14718 CFLAGS
="$save_CFLAGS"
14723 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14725 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14726 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14727 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 ac_check_lib_save_LIBS
=$LIBS
14731 LIBS
="-lasound $LIBS"
14732 cat >conftest.
$ac_ext <<_ACEOF
14735 cat confdefs.h
>>conftest.
$ac_ext
14736 cat >>conftest.
$ac_ext <<_ACEOF
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14745 char snd_pcm_hw_params_get_access ();
14749 return snd_pcm_hw_params_get_access ();
14754 rm -f conftest.
$ac_objext conftest
$ac_exeext
14755 if { (ac_try
="$ac_link"
14756 case "(($ac_try" in
14757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14758 *) ac_try_echo=$ac_try;;
14760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14761 (eval "$ac_link") 2>conftest.er1
14763 grep -v '^ *+' conftest.er1 >conftest.err
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } && {
14768 test -z "$ac_c_werror_flag" ||
14769 test ! -s conftest.err
14770 } && test -s conftest$ac_exeext &&
14771 $as_test_x conftest$ac_exeext; then
14772 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14774 echo "$as_me: failed program was:" >&5
14775 sed 's/^/| /' conftest.$ac_ext >&5
14777 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_check_lib_save_LIBS
14784 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14785 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14786 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14787 cat >conftest.$ac_ext <<_ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 #ifdef HAVE_ALSA_ASOUNDLIB_H
14794 #include <alsa/asoundlib.h>
14795 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14796 #include <sys/asoundlib.h>
14801 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14806 rm -f conftest.$ac_objext
14807 if { (ac_try="$ac_compile"
14808 case "(($ac_try" in
14809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14810 *) ac_try_echo
=$ac_try;;
14812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14813 (eval "$ac_compile") 2>conftest.er1
14815 grep -v '^ *+' conftest.er1
>conftest.err
14817 cat conftest.err
>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } && {
14820 test -z "$ac_c_werror_flag" ||
14821 test ! -s conftest.err
14822 } && test -s conftest.
$ac_objext; then
14824 cat >>confdefs.h
<<\_ACEOF
14825 #define HAVE_ALSA 1
14828 ALSALIBS
="-lasound"
14830 echo "$as_me: failed program was:" >&5
14831 sed 's/^/| /' conftest.
$ac_ext >&5
14836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14843 if test "$ac_cv_header_libaudioio_h" = "yes"
14845 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14846 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14847 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 ac_check_lib_save_LIBS
=$LIBS
14851 LIBS
="-laudioio $LIBS"
14852 cat >conftest.
$ac_ext <<_ACEOF
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14865 char AudioIOGetVersion ();
14869 return AudioIOGetVersion ();
14874 rm -f conftest.
$ac_objext conftest
$ac_exeext
14875 if { (ac_try
="$ac_link"
14876 case "(($ac_try" in
14877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14878 *) ac_try_echo=$ac_try;;
14880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14881 (eval "$ac_link") 2>conftest.er1
14883 grep -v '^ *+' conftest.er1 >conftest.err
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } && {
14888 test -z "$ac_c_werror_flag" ||
14889 test ! -s conftest.err
14890 } && test -s conftest$ac_exeext &&
14891 $as_test_x conftest$ac_exeext; then
14892 ac_cv_lib_audioio_AudioIOGetVersion=yes
14894 echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.$ac_ext >&5
14897 ac_cv_lib_audioio_AudioIOGetVersion=no
14900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14901 conftest$ac_exeext conftest.$ac_ext
14902 LIBS=$ac_check_lib_save_LIBS
14904 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14905 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14906 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14907 AUDIOIOLIBS="-laudioio"
14909 cat >>confdefs.h <<\_ACEOF
14910 #define HAVE_LIBAUDIOIO 1
14918 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14920 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14921 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14922 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14923 echo $ECHO_N "(cached) $ECHO_C" >&6
14925 ac_check_soname_save_LIBS=$LIBS
14926 LIBS="-lcapi20 $LIBS"
14927 cat >conftest.$ac_ext <<_ACEOF
14930 cat confdefs.h >>conftest.$ac_ext
14931 cat >>conftest.$ac_ext <<_ACEOF
14932 /* end confdefs.h. */
14934 /* Override any GCC internal prototype to avoid an error.
14935 Use char because int might match the return type of a GCC
14936 builtin and then its argument prototype would still apply. */
14940 char capi20_register ();
14944 return capi20_register ();
14949 rm -f conftest.$ac_objext conftest$ac_exeext
14950 if { (ac_try="$ac_link"
14951 case "(($ac_try" in
14952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14953 *) ac_try_echo
=$ac_try;;
14955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14956 (eval "$ac_link") 2>conftest.er1
14958 grep -v '^ *+' conftest.er1
>conftest.err
14960 cat conftest.err
>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } && {
14963 test -z "$ac_c_werror_flag" ||
14964 test ! -s conftest.err
14965 } && test -s conftest
$ac_exeext &&
14966 $as_test_x conftest
$ac_exeext; then
14969 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'` ;;
14970 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14980 conftest
$ac_exeext conftest.
$ac_ext
14981 LIBS
=$ac_check_soname_save_LIBS
14983 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14984 { echo "$as_me:$LINENO: result: not found" >&5
14985 echo "${ECHO_T}not found" >&6; }
14988 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14989 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14991 cat >>confdefs.h
<<_ACEOF
14992 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14999 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15000 case "x$with_capi" in
15001 x
) wine_notices
="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15003 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15004 This is an error since --with-capi was requested." >&5
15005 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15006 This is an error since --with-capi was requested." >&2;}
15007 { (exit 1); exit 1; }; } ;;
15014 if test "x$with_cups" != "xno"
15016 ac_save_CPPFLAGS
="$CPPFLAGS"
15017 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
15018 ac_cups_libs
="`cups-config --ldflags 2>/dev/null` `cups-config --libs 2>/dev/null`"
15019 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
15021 for ac_header
in cups
/cups.h
15023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15024 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15027 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 ac_res
=`eval echo '${'$as_ac_Header'}'`
15031 { echo "$as_me:$LINENO: result: $ac_res" >&5
15032 echo "${ECHO_T}$ac_res" >&6; }
15034 # Is the header compilable?
15035 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15037 cat >conftest.
$ac_ext <<_ACEOF
15040 cat confdefs.h
>>conftest.
$ac_ext
15041 cat >>conftest.
$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 $ac_includes_default
15044 #include <$ac_header>
15046 rm -f conftest.
$ac_objext
15047 if { (ac_try
="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15055 grep -v '^ *+' conftest.er1 >conftest.err
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15063 ac_header_compiler=yes
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15068 ac_header_compiler=no
15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15073 echo "${ECHO_T}$ac_header_compiler" >&6; }
15075 # Is the header present?
15076 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15078 cat >conftest.$ac_ext <<_ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084 #include <$ac_header>
15086 if { (ac_try="$ac_cpp conftest.$ac_ext"
15087 case "(($ac_try" in
15088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15089 *) ac_try_echo
=$ac_try;;
15091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15094 grep -v '^ *+' conftest.er1
>conftest.err
15096 cat conftest.err
>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } >/dev
/null
&& {
15099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15100 test ! -s conftest.err
15102 ac_header_preproc
=yes
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.
$ac_ext >&5
15107 ac_header_preproc
=no
15110 rm -f conftest.err conftest.
$ac_ext
15111 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15112 echo "${ECHO_T}$ac_header_preproc" >&6; }
15114 # So? What about this header?
15115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15121 ac_header_preproc
=yes
15124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15137 ## ------------------------------------ ##
15138 ## Report this to wine-devel@winehq.org ##
15139 ## ------------------------------------ ##
15141 ) |
sed "s/^/$as_me: WARNING: /" >&2
15144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15146 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 eval "$as_ac_Header=\$ac_header_preproc"
15151 ac_res
=`eval echo '${'$as_ac_Header'}'`
15152 { echo "$as_me:$LINENO: result: $ac_res" >&5
15153 echo "${ECHO_T}$ac_res" >&6; }
15156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15157 cat >>confdefs.h
<<_ACEOF
15158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15160 { echo "$as_me:$LINENO: checking for -lcups" >&5
15161 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15162 if test "${ac_cv_lib_soname_cups+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 ac_check_soname_save_LIBS
=$LIBS
15166 LIBS
="-lcups $ac_cups_libs $LIBS"
15167 cat >conftest.
$ac_ext <<_ACEOF
15170 cat confdefs.h
>>conftest.
$ac_ext
15171 cat >>conftest.
$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15180 char cupsGetDefault ();
15184 return cupsGetDefault ();
15189 rm -f conftest.
$ac_objext conftest
$ac_exeext
15190 if { (ac_try
="$ac_link"
15191 case "(($ac_try" in
15192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link") 2>conftest.er1
15198 grep -v '^ *+' conftest.er1 >conftest.err
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest$ac_exeext &&
15206 $as_test_x conftest$ac_exeext; then
15209 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'` ;;
15210 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if test "x$ac_cv_lib_soname_cups" = "x"; then
15224 { echo "$as_me:$LINENO: result: not found" >&5
15225 echo "${ECHO_T}not found" >&6; }
15228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15229 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15231 cat >>confdefs.h <<_ACEOF
15232 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15235 CUPSINCL="$ac_cups_cflags"
15242 CPPFLAGS="$ac_save_CPPFLAGS"
15244 if test "x$ac_cv_lib_soname_cups" = "x"; then
15245 case "x$with_cups" in
15246 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15248 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15249 This is an error since --with-cups was requested." >&5
15250 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15251 This is an error since --with-cups was requested." >&2;}
15252 { (exit 1); exit 1; }; } ;;
15257 if test "$ac_cv_header_jack_jack_h" = "yes"
15259 { echo "$as_me:$LINENO: checking for -ljack" >&5
15260 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15261 if test "${ac_cv_lib_soname_jack+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 ac_check_soname_save_LIBS=$LIBS
15265 LIBS="-ljack $LIBS"
15266 cat >conftest.$ac_ext <<_ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15279 char jack_client_new ();
15283 return jack_client_new ();
15288 rm -f conftest.$ac_objext conftest$ac_exeext
15289 if { (ac_try="$ac_link"
15290 case "(($ac_try" in
15291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15292 *) ac_try_echo
=$ac_try;;
15294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15295 (eval "$ac_link") 2>conftest.er1
15297 grep -v '^ *+' conftest.er1
>conftest.err
15299 cat conftest.err
>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } && {
15302 test -z "$ac_c_werror_flag" ||
15303 test ! -s conftest.err
15304 } && test -s conftest
$ac_exeext &&
15305 $as_test_x conftest
$ac_exeext; then
15308 dylib
) ac_cv_lib_soname_jack
=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15309 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15319 conftest
$ac_exeext conftest.
$ac_ext
15320 LIBS
=$ac_check_soname_save_LIBS
15322 if test "x$ac_cv_lib_soname_jack" = "x"; then
15323 { echo "$as_me:$LINENO: result: not found" >&5
15324 echo "${ECHO_T}not found" >&6; }
15327 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15328 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15330 cat >>confdefs.h
<<_ACEOF
15331 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15339 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15341 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15342 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15343 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 ac_check_soname_save_LIBS
=$LIBS
15347 LIBS
="-lfontconfig $LIBS"
15348 cat >conftest.
$ac_ext <<_ACEOF
15351 cat confdefs.h
>>conftest.
$ac_ext
15352 cat >>conftest.
$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15370 rm -f conftest.
$ac_objext conftest
$ac_exeext
15371 if { (ac_try
="$ac_link"
15372 case "(($ac_try" in
15373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15374 *) ac_try_echo=$ac_try;;
15376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15377 (eval "$ac_link") 2>conftest.er1
15379 grep -v '^ *+' conftest.er1 >conftest.err
15381 cat conftest.err >&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } && {
15384 test -z "$ac_c_werror_flag" ||
15385 test ! -s conftest.err
15386 } && test -s conftest$ac_exeext &&
15387 $as_test_x conftest$ac_exeext; then
15390 dylib) ac_cv_lib_soname_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'` ;;
15391 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_soname_save_LIBS
15404 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15405 { echo "$as_me:$LINENO: result: not found" >&5
15406 echo "${ECHO_T}not found" >&6; }
15409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15410 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15412 cat >>confdefs.h <<_ACEOF
15413 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15419 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15421 ac_save_CPPFLAGS="$CPPFLAGS"
15422 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15423 $as_unset ac_cv_header_fontconfig_fontconfig_h
15425 for ac_header in fontconfig/fontconfig.h
15427 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 ac_res=`eval echo '${'$as_ac_Header'}'`
15435 { echo "$as_me:$LINENO: result: $ac_res" >&5
15436 echo "${ECHO_T}$ac_res" >&6; }
15438 # Is the header compilable?
15439 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15441 cat >conftest.$ac_ext <<_ACEOF
15444 cat confdefs.h >>conftest.$ac_ext
15445 cat >>conftest.$ac_ext <<_ACEOF
15446 /* end confdefs.h. */
15447 $ac_includes_default
15448 #include <$ac_header>
15450 rm -f conftest.$ac_objext
15451 if { (ac_try="$ac_compile"
15452 case "(($ac_try" in
15453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15454 *) ac_try_echo
=$ac_try;;
15456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 (eval "$ac_compile") 2>conftest.er1
15459 grep -v '^ *+' conftest.er1
>conftest.err
15461 cat conftest.err
>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && {
15464 test -z "$ac_c_werror_flag" ||
15465 test ! -s conftest.err
15466 } && test -s conftest.
$ac_objext; then
15467 ac_header_compiler
=yes
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.
$ac_ext >&5
15472 ac_header_compiler
=no
15475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15476 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15477 echo "${ECHO_T}$ac_header_compiler" >&6; }
15479 # Is the header present?
15480 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15482 cat >conftest.
$ac_ext <<_ACEOF
15485 cat confdefs.h
>>conftest.
$ac_ext
15486 cat >>conftest.
$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 #include <$ac_header>
15490 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15491 case "(($ac_try" in
15492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15498 grep -v '^ *+' conftest.er1 >conftest.err
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } >/dev/null && {
15503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15504 test ! -s conftest.err
15506 ac_header_preproc=yes
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15511 ac_header_preproc=no
15514 rm -f conftest.err conftest.$ac_ext
15515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15516 echo "${ECHO_T}$ac_header_preproc" >&6; }
15518 # So? What about this header?
15519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15525 ac_header_preproc=yes
15528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15541 ## ------------------------------------ ##
15542 ## Report this to wine-devel@winehq.org ##
15543 ## ------------------------------------ ##
15545 ) | sed "s/^/$as_me: WARNING: /" >&2
15548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15553 eval "$as_ac_Header=\$ac_header_preproc"
15555 ac_res=`eval echo '${'$as_ac_Header'}'`
15556 { echo "$as_me:$LINENO: result: $ac_res" >&5
15557 echo "${ECHO_T}$ac_res" >&6; }
15560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15561 cat >>confdefs.h <<_ACEOF
15562 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15569 CPPFLAGS="$ac_save_CPPFLAGS"
15570 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15572 FONTCONFIGINCL="$X_CFLAGS"
15574 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15575 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15576 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 ac_check_soname_save_LIBS=$LIBS
15580 LIBS="-lfontconfig $X_LIBS $LIBS"
15581 cat >conftest.$ac_ext <<_ACEOF
15584 cat confdefs.h >>conftest.$ac_ext
15585 cat >>conftest.$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15588 /* Override any GCC internal prototype to avoid an error.
15589 Use char because int might match the return type of a GCC
15590 builtin and then its argument prototype would still apply. */
15603 rm -f conftest.$ac_objext conftest$ac_exeext
15604 if { (ac_try="$ac_link"
15605 case "(($ac_try" in
15606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15607 *) ac_try_echo
=$ac_try;;
15609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15610 (eval "$ac_link") 2>conftest.er1
15612 grep -v '^ *+' conftest.er1
>conftest.err
15614 cat conftest.err
>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } && {
15617 test -z "$ac_c_werror_flag" ||
15618 test ! -s conftest.err
15619 } && test -s conftest
$ac_exeext &&
15620 $as_test_x conftest
$ac_exeext; then
15623 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'` ;;
15624 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15627 echo "$as_me: failed program was:" >&5
15628 sed 's/^/| /' conftest.
$ac_ext >&5
15633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15634 conftest
$ac_exeext conftest.
$ac_ext
15635 LIBS
=$ac_check_soname_save_LIBS
15637 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15638 { echo "$as_me:$LINENO: result: not found" >&5
15639 echo "${ECHO_T}not found" >&6; }
15642 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15643 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15645 cat >>confdefs.h
<<_ACEOF
15646 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15654 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15655 case "x$with_fontconfig" in
15656 x
) wine_notices
="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15658 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15659 This is an error since --with-fontconfig was requested." >&5
15660 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15661 This is an error since --with-fontconfig was requested." >&2;}
15662 { (exit 1); exit 1; }; } ;;
15667 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15669 { echo "$as_me:$LINENO: checking for -lssl" >&5
15670 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15671 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 ac_check_soname_save_LIBS
=$LIBS
15676 cat >conftest.
$ac_ext <<_ACEOF
15679 cat confdefs.h
>>conftest.
$ac_ext
15680 cat >>conftest.
$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15689 char SSL_library_init ();
15693 return SSL_library_init ();
15698 rm -f conftest.
$ac_objext conftest
$ac_exeext
15699 if { (ac_try
="$ac_link"
15700 case "(($ac_try" in
15701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15702 *) ac_try_echo=$ac_try;;
15704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15705 (eval "$ac_link") 2>conftest.er1
15707 grep -v '^ *+' conftest.er1 >conftest.err
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } && {
15712 test -z "$ac_c_werror_flag" ||
15713 test ! -s conftest.err
15714 } && test -s conftest$ac_exeext &&
15715 $as_test_x conftest$ac_exeext; then
15718 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'` ;;
15719 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15729 conftest$ac_exeext conftest.$ac_ext
15730 LIBS=$ac_check_soname_save_LIBS
15732 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15733 { echo "$as_me:$LINENO: result: not found" >&5
15734 echo "${ECHO_T}not found" >&6; }
15737 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15738 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15740 cat >>confdefs.h <<_ACEOF
15741 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15747 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15748 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15749 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15750 echo $ECHO_N "(cached) $ECHO_C" >&6
15752 ac_check_soname_save_LIBS=$LIBS
15753 LIBS="-lcrypto $LIBS"
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15767 char BIO_new_socket ();
15771 return BIO_new_socket ();
15776 rm -f conftest.$ac_objext conftest$ac_exeext
15777 if { (ac_try="$ac_link"
15778 case "(($ac_try" in
15779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15780 *) ac_try_echo
=$ac_try;;
15782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15783 (eval "$ac_link") 2>conftest.er1
15785 grep -v '^ *+' conftest.er1
>conftest.err
15787 cat conftest.err
>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } && {
15790 test -z "$ac_c_werror_flag" ||
15791 test ! -s conftest.err
15792 } && test -s conftest
$ac_exeext &&
15793 $as_test_x conftest
$ac_exeext; then
15796 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'` ;;
15797 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.
$ac_ext >&5
15806 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15807 conftest
$ac_exeext conftest.
$ac_ext
15808 LIBS
=$ac_check_soname_save_LIBS
15810 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15811 { echo "$as_me:$LINENO: result: not found" >&5
15812 echo "${ECHO_T}not found" >&6; }
15815 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15816 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15818 cat >>confdefs.h
<<_ACEOF
15819 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15826 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15827 case "x$with_openssl" in
15828 x
) wine_warnings
="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15830 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15831 This is an error since --with-openssl was requested." >&5
15832 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15833 This is an error since --with-openssl was requested." >&2;}
15834 { (exit 1); exit 1; }; } ;;
15839 if test "$ac_cv_header_jpeglib_h" = "yes"
15841 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15842 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15843 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15844 echo $ECHO_N "(cached) $ECHO_C" >&6
15846 ac_check_soname_save_LIBS
=$LIBS
15847 LIBS
="-ljpeg $LIBS"
15848 cat >conftest.
$ac_ext <<_ACEOF
15851 cat confdefs.h
>>conftest.
$ac_ext
15852 cat >>conftest.
$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15855 /* Override any GCC internal prototype to avoid an error.
15856 Use char because int might match the return type of a GCC
15857 builtin and then its argument prototype would still apply. */
15861 char jpeg_start_decompress ();
15865 return jpeg_start_decompress ();
15870 rm -f conftest.
$ac_objext conftest
$ac_exeext
15871 if { (ac_try
="$ac_link"
15872 case "(($ac_try" in
15873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15874 *) ac_try_echo=$ac_try;;
15876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15877 (eval "$ac_link") 2>conftest.er1
15879 grep -v '^ *+' conftest.er1 >conftest.err
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } && {
15884 test -z "$ac_c_werror_flag" ||
15885 test ! -s conftest.err
15886 } && test -s conftest$ac_exeext &&
15887 $as_test_x conftest$ac_exeext; then
15890 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'` ;;
15891 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15901 conftest$ac_exeext conftest.$ac_ext
15902 LIBS=$ac_check_soname_save_LIBS
15904 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15905 { echo "$as_me:$LINENO: result: not found" >&5
15906 echo "${ECHO_T}not found" >&6; }
15909 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15910 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15912 cat >>confdefs.h <<_ACEOF
15913 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15920 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15921 case "x$with_jpeg" in
15922 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15924 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15925 This is an error since --with-jpeg was requested." >&5
15926 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15927 This is an error since --with-jpeg was requested." >&2;}
15928 { (exit 1); exit 1; }; } ;;
15933 if test "$ac_cv_header_png_h" = "yes"
15935 { echo "$as_me:$LINENO: checking for -lpng" >&5
15936 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15937 if test "${ac_cv_lib_soname_png+set}" = set; then
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 ac_check_soname_save_LIBS=$LIBS
15941 LIBS="-lpng -lm $LIBS"
15942 cat >conftest.$ac_ext <<_ACEOF
15945 cat confdefs.h >>conftest.$ac_ext
15946 cat >>conftest.$ac_ext <<_ACEOF
15947 /* end confdefs.h. */
15949 /* Override any GCC internal prototype to avoid an error.
15950 Use char because int might match the return type of a GCC
15951 builtin and then its argument prototype would still apply. */
15955 char png_create_read_struct ();
15959 return png_create_read_struct ();
15964 rm -f conftest.$ac_objext conftest$ac_exeext
15965 if { (ac_try="$ac_link"
15966 case "(($ac_try" in
15967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15968 *) ac_try_echo
=$ac_try;;
15970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15971 (eval "$ac_link") 2>conftest.er1
15973 grep -v '^ *+' conftest.er1
>conftest.err
15975 cat conftest.err
>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); } && {
15978 test -z "$ac_c_werror_flag" ||
15979 test ! -s conftest.err
15980 } && test -s conftest
$ac_exeext &&
15981 $as_test_x conftest
$ac_exeext; then
15984 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'` ;;
15985 *) 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'` ;;
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.
$ac_ext >&5
15994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15995 conftest
$ac_exeext conftest.
$ac_ext
15996 LIBS
=$ac_check_soname_save_LIBS
15998 if test "x$ac_cv_lib_soname_png" = "x"; then
15999 { echo "$as_me:$LINENO: result: not found" >&5
16000 echo "${ECHO_T}not found" >&6; }
16003 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16004 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16006 cat >>confdefs.h
<<_ACEOF
16007 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16014 if test "x$ac_cv_lib_soname_png" = "x"; then
16015 case "x$with_png" in
16016 x
) wine_warnings
="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16018 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16019 This is an error since --with-png was requested." >&5
16020 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16021 This is an error since --with-png was requested." >&2;}
16022 { (exit 1); exit 1; }; } ;;
16027 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16028 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16029 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 ac_check_soname_save_LIBS
=$LIBS
16033 LIBS
="-lodbc $LIBS"
16034 cat >conftest.
$ac_ext <<_ACEOF
16037 cat confdefs.h
>>conftest.
$ac_ext
16038 cat >>conftest.
$ac_ext <<_ACEOF
16039 /* end confdefs.h. */
16041 /* Override any GCC internal prototype to avoid an error.
16042 Use char because int might match the return type of a GCC
16043 builtin and then its argument prototype would still apply. */
16047 char SQLConnect ();
16051 return SQLConnect ();
16056 rm -f conftest.
$ac_objext conftest
$ac_exeext
16057 if { (ac_try
="$ac_link"
16058 case "(($ac_try" in
16059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_link") 2>conftest.er1
16065 grep -v '^ *+' conftest.er1 >conftest.err
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } && {
16070 test -z "$ac_c_werror_flag" ||
16071 test ! -s conftest.err
16072 } && test -s conftest$ac_exeext &&
16073 $as_test_x conftest$ac_exeext; then
16076 dylib) ac_cv_lib_soname_odbc=`otool
-L conftest
$ac_exeext |
grep "libodbc\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16077 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libodbc\\.$LIBEXT" |
sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16087 conftest$ac_exeext conftest.$ac_ext
16088 LIBS=$ac_check_soname_save_LIBS
16090 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16091 { echo "$as_me:$LINENO: result: not found" >&5
16092 echo "${ECHO_T}not found" >&6; }
16093 cat >>confdefs.h <<_ACEOF
16094 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16098 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16099 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16101 cat >>confdefs.h <<_ACEOF
16102 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16109 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16110 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16111 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16112 "$ac_cv_header_soundcard_h" != "yes" -a \
16113 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16115 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16121 if test "x${GCC}" = "xyes"
16123 EXTRACFLAGS="-Wall -pipe"
16125 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16126 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16127 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 if test "$cross_compiling" = yes; then
16131 ac_cv_c_gcc_strength_bug="yes"
16133 cat >conftest.$ac_ext <<_ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 int L[4] = {0,1,2,3};
16143 static int Array[3];
16144 unsigned int B = 3;
16146 for(i=0; i<B; i++) Array[i] = i - 3;
16147 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16149 exit( Array[1] != -2 || L[2] != 3)
16154 rm -f conftest$ac_exeext
16155 if { (ac_try="$ac_link"
16156 case "(($ac_try" in
16157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16158 *) ac_try_echo
=$ac_try;;
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_link") 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16165 { (case "(($ac_try" in
16166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16167 *) ac_try_echo=$ac_try;;
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_try") 2>&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; }; then
16174 ac_cv_c_gcc_strength_bug="no"
16176 echo "$as_me: program exited with status $ac_status" >&5
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 ( exit $ac_status )
16181 ac_cv_c_gcc_strength_bug="yes"
16183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16188 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16189 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16190 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16192 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16196 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16197 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16198 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 ac_wine_try_cflags_saved=$CFLAGS
16202 CFLAGS="$CFLAGS -fshort-wchar"
16203 cat >conftest.$ac_ext <<_ACEOF
16206 cat confdefs.h >>conftest.$ac_ext
16207 cat >>conftest.$ac_ext <<_ACEOF
16208 /* end confdefs.h. */
16218 rm -f conftest.$ac_objext conftest$ac_exeext
16219 if { (ac_try="$ac_link"
16220 case "(($ac_try" in
16221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16222 *) ac_try_echo
=$ac_try;;
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_link") 2>conftest.er1
16227 grep -v '^ *+' conftest.er1
>conftest.err
16229 cat conftest.err
>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } && {
16232 test -z "$ac_c_werror_flag" ||
16233 test ! -s conftest.err
16234 } && test -s conftest
$ac_exeext &&
16235 $as_test_x conftest
$ac_exeext; then
16236 ac_cv_cflags__fshort_wchar
=yes
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.
$ac_ext >&5
16241 ac_cv_cflags__fshort_wchar
=no
16244 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16245 conftest
$ac_exeext conftest.
$ac_ext
16246 CFLAGS
=$ac_wine_try_cflags_saved
16248 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16249 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16250 if test $ac_cv_cflags__fshort_wchar = yes; then
16252 cat >>confdefs.h
<<\_ACEOF
16253 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16258 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16259 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16260 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 ac_wine_try_cflags_saved
=$CFLAGS
16264 CFLAGS
="$CFLAGS -fno-strict-aliasing"
16265 cat >conftest.
$ac_ext <<_ACEOF
16268 cat confdefs.h
>>conftest.
$ac_ext
16269 cat >>conftest.
$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16280 rm -f conftest.
$ac_objext conftest
$ac_exeext
16281 if { (ac_try
="$ac_link"
16282 case "(($ac_try" in
16283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16287 (eval "$ac_link") 2>conftest.er1
16289 grep -v '^ *+' conftest.er1 >conftest.err
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } && {
16294 test -z "$ac_c_werror_flag" ||
16295 test ! -s conftest.err
16296 } && test -s conftest$ac_exeext &&
16297 $as_test_x conftest$ac_exeext; then
16298 ac_cv_cflags__fno_strict_aliasing=yes
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 ac_cv_cflags__fno_strict_aliasing=no
16306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16307 conftest$ac_exeext conftest.$ac_ext
16308 CFLAGS=$ac_wine_try_cflags_saved
16310 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16311 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16312 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16313 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16316 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16317 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16318 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16321 ac_wine_try_cflags_saved=$CFLAGS
16322 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16323 cat >conftest.$ac_ext <<_ACEOF
16326 cat confdefs.h >>conftest.$ac_ext
16327 cat >>conftest.$ac_ext <<_ACEOF
16328 /* end confdefs.h. */
16338 rm -f conftest.$ac_objext conftest$ac_exeext
16339 if { (ac_try="$ac_link"
16340 case "(($ac_try" in
16341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16342 *) ac_try_echo
=$ac_try;;
16344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16345 (eval "$ac_link") 2>conftest.er1
16347 grep -v '^ *+' conftest.er1
>conftest.err
16349 cat conftest.err
>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } && {
16352 test -z "$ac_c_werror_flag" ||
16353 test ! -s conftest.err
16354 } && test -s conftest
$ac_exeext &&
16355 $as_test_x conftest
$ac_exeext; then
16356 ac_cv_cflags__Wdeclaration_after_statement
=yes
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16361 ac_cv_cflags__Wdeclaration_after_statement
=no
16364 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16365 conftest
$ac_exeext conftest.
$ac_ext
16366 CFLAGS
=$ac_wine_try_cflags_saved
16368 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16369 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16370 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16371 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
16374 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16375 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16376 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 ac_wine_try_cflags_saved
=$CFLAGS
16380 CFLAGS
="$CFLAGS -Wwrite-strings"
16381 cat >conftest.
$ac_ext <<_ACEOF
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16396 rm -f conftest.
$ac_objext conftest
$ac_exeext
16397 if { (ac_try
="$ac_link"
16398 case "(($ac_try" in
16399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16400 *) ac_try_echo=$ac_try;;
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403 (eval "$ac_link") 2>conftest.er1
16405 grep -v '^ *+' conftest.er1 >conftest.err
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } && {
16410 test -z "$ac_c_werror_flag" ||
16411 test ! -s conftest.err
16412 } && test -s conftest$ac_exeext &&
16413 $as_test_x conftest$ac_exeext; then
16414 ac_cv_cflags__Wwrite_strings=yes
16416 echo "$as_me: failed program was:" >&5
16417 sed 's/^/| /' conftest.$ac_ext >&5
16419 ac_cv_cflags__Wwrite_strings=no
16422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16423 conftest$ac_exeext conftest.$ac_ext
16424 CFLAGS=$ac_wine_try_cflags_saved
16426 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16427 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16428 if test $ac_cv_cflags__Wwrite_strings = yes; then
16429 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16432 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16433 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16434 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 ac_wine_try_cflags_saved=$CFLAGS
16438 CFLAGS="$CFLAGS -Wtype-limits"
16439 cat >conftest.$ac_ext <<_ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16454 rm -f conftest.$ac_objext conftest$ac_exeext
16455 if { (ac_try="$ac_link"
16456 case "(($ac_try" in
16457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16458 *) ac_try_echo
=$ac_try;;
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_link") 2>conftest.er1
16463 grep -v '^ *+' conftest.er1
>conftest.err
16465 cat conftest.err
>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && {
16468 test -z "$ac_c_werror_flag" ||
16469 test ! -s conftest.err
16470 } && test -s conftest
$ac_exeext &&
16471 $as_test_x conftest
$ac_exeext; then
16472 ac_cv_cflags__Wtype_limits
=yes
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.
$ac_ext >&5
16477 ac_cv_cflags__Wtype_limits
=no
16480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16481 conftest
$ac_exeext conftest.
$ac_ext
16482 CFLAGS
=$ac_wine_try_cflags_saved
16484 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16485 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16486 if test $ac_cv_cflags__Wtype_limits = yes; then
16487 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
16491 saved_CFLAGS
="$CFLAGS"
16492 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
16493 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16494 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16495 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 cat >conftest.
$ac_ext <<_ACEOF
16501 cat confdefs.h
>>conftest.
$ac_ext
16502 cat >>conftest.
$ac_ext <<_ACEOF
16503 /* end confdefs.h. */
16504 #include <string.h>
16513 rm -f conftest.
$ac_objext
16514 if { (ac_try
="$ac_compile"
16515 case "(($ac_try" in
16516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16517 *) ac_try_echo=$ac_try;;
16519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16520 (eval "$ac_compile") 2>conftest.er1
16522 grep -v '^ *+' conftest.er1 >conftest.err
16524 cat conftest.err >&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); } && {
16527 test -z "$ac_c_werror_flag" ||
16528 test ! -s conftest.err
16529 } && test -s conftest.$ac_objext; then
16530 ac_cv_c_string_h_warnings=no
16532 echo "$as_me: failed program was:" >&5
16533 sed 's/^/| /' conftest.$ac_ext >&5
16535 ac_cv_c_string_h_warnings=yes
16538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16540 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16541 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16542 CFLAGS="$saved_CFLAGS"
16543 if test "$ac_cv_c_string_h_warnings" = "no"
16545 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16550 saved_CFLAGS="$CFLAGS"
16551 CFLAGS="$CFLAGS -Werror"
16552 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16553 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16554 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 cat >conftest.$ac_ext <<_ACEOF
16560 cat confdefs.h >>conftest.$ac_ext
16561 cat >>conftest.$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16567 int iswlower(unsigned short);
16572 rm -f conftest.$ac_objext
16573 if { (ac_try="$ac_compile"
16574 case "(($ac_try" in
16575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16576 *) ac_try_echo
=$ac_try;;
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_compile") 2>conftest.er1
16581 grep -v '^ *+' conftest.er1
>conftest.err
16583 cat conftest.err
>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_c_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest.
$ac_objext; then
16589 ac_cv_c_builtin_wchar_ctype
=no
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.
$ac_ext >&5
16594 ac_cv_c_builtin_wchar_ctype
=yes
16597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16599 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16600 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16601 CFLAGS
="$saved_CFLAGS"
16602 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16604 BUILTINFLAG
="-fno-builtin"
16609 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16610 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16611 if test "${ac_cv_asm_func_def+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 cat >conftest.
$ac_ext <<_ACEOF
16617 cat confdefs.h
>>conftest.
$ac_ext
16618 cat >>conftest.
$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16624 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16629 rm -f conftest.
$ac_objext conftest
$ac_exeext
16630 if { (ac_try
="$ac_link"
16631 case "(($ac_try" in
16632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_link") 2>conftest.er1
16638 grep -v '^ *+' conftest.er1 >conftest.err
16640 cat conftest.err >&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } && {
16643 test -z "$ac_c_werror_flag" ||
16644 test ! -s conftest.err
16645 } && test -s conftest$ac_exeext &&
16646 $as_test_x conftest$ac_exeext; then
16647 ac_cv_asm_func_def=".def"
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16652 cat >conftest.$ac_ext <<_ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16662 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16671 *) ac_try_echo
=$ac_try;;
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_link") 2>conftest.er1
16676 grep -v '^ *+' conftest.er1
>conftest.err
16678 cat conftest.err
>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } && {
16681 test -z "$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16683 } && test -s conftest
$ac_exeext &&
16684 $as_test_x conftest
$ac_exeext; then
16685 ac_cv_asm_func_def
=".type @function"
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 cat >conftest.
$ac_ext <<_ACEOF
16693 cat confdefs.h
>>conftest.
$ac_ext
16694 cat >>conftest.
$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16700 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16705 rm -f conftest.
$ac_objext conftest
$ac_exeext
16706 if { (ac_try
="$ac_link"
16707 case "(($ac_try" in
16708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16709 *) ac_try_echo=$ac_try;;
16711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16712 (eval "$ac_link") 2>conftest.er1
16714 grep -v '^ *+' conftest.er1 >conftest.err
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } && {
16719 test -z "$ac_c_werror_flag" ||
16720 test ! -s conftest.err
16721 } && test -s conftest$ac_exeext &&
16722 $as_test_x conftest$ac_exeext; then
16723 ac_cv_asm_func_def=".type 2"
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 ac_cv_asm_func_def="unknown"
16731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16732 conftest$ac_exeext conftest.$ac_ext
16735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16736 conftest$ac_exeext conftest.$ac_ext
16739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16740 conftest$ac_exeext conftest.$ac_ext
16742 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16743 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16747 case "$ac_cv_asm_func_def" in
16749 cat >>confdefs.h <<\_ACEOF
16750 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16754 cat >>confdefs.h <<\_ACEOF
16755 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16759 cat >>confdefs.h <<\_ACEOF
16760 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16764 cat >>confdefs.h <<\_ACEOF
16765 #define __ASM_FUNC(name) ""
16771 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16772 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16773 if test "${ac_cv_c_extern_prefix+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 cat >conftest.$ac_ext <<_ACEOF
16779 cat confdefs.h >>conftest.$ac_ext
16780 cat >>conftest.$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 extern int ac_test;
16786 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16791 rm -f conftest.$ac_objext conftest$ac_exeext
16792 if { (ac_try="$ac_link"
16793 case "(($ac_try" in
16794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16795 *) ac_try_echo
=$ac_try;;
16797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16798 (eval "$ac_link") 2>conftest.er1
16800 grep -v '^ *+' conftest.er1
>conftest.err
16802 cat conftest.err
>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && {
16805 test -z "$ac_c_werror_flag" ||
16806 test ! -s conftest.err
16807 } && test -s conftest
$ac_exeext &&
16808 $as_test_x conftest
$ac_exeext; then
16809 ac_cv_c_extern_prefix
="yes"
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.
$ac_ext >&5
16814 ac_cv_c_extern_prefix
="no"
16817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16818 conftest
$ac_exeext conftest.
$ac_ext
16820 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16821 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16825 if test "$ac_cv_c_extern_prefix" = "yes"
16827 cat >>confdefs.h
<<\_ACEOF
16828 #define __ASM_NAME(name) "_" name
16832 cat >>confdefs.h
<<\_ACEOF
16833 #define __ASM_NAME(name) name
16843 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16847 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
16849 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16853 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16861 SOCKETLIBS
="-lws2_32"
16866 MAIN_BINARY
="wine-pthread"
16870 linux
* | k
*bsd
*-gnu)
16871 MAIN_BINARY
="wine-glibc"
16873 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16876 MAIN_BINARY
="wine-freebsd"
16878 EXTRA_BINARIES
="wine-pthread"
17026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17029 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 cat >conftest.
$ac_ext <<_ACEOF
17035 cat confdefs.h
>>conftest.
$ac_ext
17036 cat >>conftest.
$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17040 #define $ac_func innocuous_$ac_func
17042 /* System header to define __stub macros and hopefully few prototypes,
17043 which can conflict with char $ac_func (); below.
17044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17045 <limits.h> exists even on freestanding compilers. */
17048 # include <limits.h>
17050 # include <assert.h>
17055 /* Override any GCC internal prototype to avoid an error.
17056 Use char because int might match the return type of a GCC
17057 builtin and then its argument prototype would still apply. */
17062 /* The GNU C library defines this for functions which it implements
17063 to always fail with ENOSYS. Some functions are actually named
17064 something starting with __ and the normal name is an alias. */
17065 #if defined __stub_$ac_func || defined __stub___$ac_func
17072 return $ac_func ();
17077 rm -f conftest.
$ac_objext conftest
$ac_exeext
17078 if { (ac_try
="$ac_link"
17079 case "(($ac_try" in
17080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17081 *) ac_try_echo=$ac_try;;
17083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17084 (eval "$ac_link") 2>conftest.er1
17086 grep -v '^ *+' conftest.er1 >conftest.err
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } && {
17091 test -z "$ac_c_werror_flag" ||
17092 test ! -s conftest.err
17093 } && test -s conftest$ac_exeext &&
17094 $as_test_x conftest$ac_exeext; then
17095 eval "$as_ac_var=yes"
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17100 eval "$as_ac_var=no"
17103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17104 conftest$ac_exeext conftest.$ac_ext
17106 ac_res=`eval echo '${'$as_ac_var'}'`
17107 { echo "$as_me:$LINENO: result: $ac_res" >&5
17108 echo "${ECHO_T}$ac_res" >&6; }
17109 if test `eval echo '${'$as_ac_var'}'` = yes; then
17110 cat >>confdefs.h <<_ACEOF
17111 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17118 if test "$ac_cv_func_dlopen" = no
17120 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17121 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17122 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 ac_check_lib_save_LIBS=$LIBS
17127 cat >conftest.$ac_ext <<_ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17149 rm -f conftest.$ac_objext conftest$ac_exeext
17150 if { (ac_try="$ac_link"
17151 case "(($ac_try" in
17152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17153 *) ac_try_echo
=$ac_try;;
17155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17156 (eval "$ac_link") 2>conftest.er1
17158 grep -v '^ *+' conftest.er1
>conftest.err
17160 cat conftest.err
>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } && {
17163 test -z "$ac_c_werror_flag" ||
17164 test ! -s conftest.err
17165 } && test -s conftest
$ac_exeext &&
17166 $as_test_x conftest
$ac_exeext; then
17167 ac_cv_lib_dl_dlopen
=yes
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.
$ac_ext >&5
17172 ac_cv_lib_dl_dlopen
=no
17175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17176 conftest
$ac_exeext conftest.
$ac_ext
17177 LIBS
=$ac_check_lib_save_LIBS
17179 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17180 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17181 if test $ac_cv_lib_dl_dlopen = yes; then
17182 cat >>confdefs.h
<<\_ACEOF
17183 #define HAVE_DLOPEN 1
17190 ac_wine_check_funcs_save_LIBS
="$LIBS"
17191 LIBS
="$LIBS $LIBDL"
17193 for ac_func
in dladdr
17195 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17196 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17198 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 cat >conftest.
$ac_ext <<_ACEOF
17204 cat confdefs.h
>>conftest.
$ac_ext
17205 cat >>conftest.
$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17209 #define $ac_func innocuous_$ac_func
17211 /* System header to define __stub macros and hopefully few prototypes,
17212 which can conflict with char $ac_func (); below.
17213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17214 <limits.h> exists even on freestanding compilers. */
17217 # include <limits.h>
17219 # include <assert.h>
17224 /* Override any GCC internal prototype to avoid an error.
17225 Use char because int might match the return type of a GCC
17226 builtin and then its argument prototype would still apply. */
17231 /* The GNU C library defines this for functions which it implements
17232 to always fail with ENOSYS. Some functions are actually named
17233 something starting with __ and the normal name is an alias. */
17234 #if defined __stub_$ac_func || defined __stub___$ac_func
17241 return $ac_func ();
17246 rm -f conftest.
$ac_objext conftest
$ac_exeext
17247 if { (ac_try
="$ac_link"
17248 case "(($ac_try" in
17249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_link") 2>conftest.er1
17255 grep -v '^ *+' conftest.er1 >conftest.err
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_c_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest$ac_exeext &&
17263 $as_test_x conftest$ac_exeext; then
17264 eval "$as_ac_var=yes"
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17269 eval "$as_ac_var=no"
17272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17273 conftest$ac_exeext conftest.$ac_ext
17275 ac_res=`eval echo '${'$as_ac_var'}'`
17276 { echo "$as_me:$LINENO: result: $ac_res" >&5
17277 echo "${ECHO_T}$ac_res" >&6; }
17278 if test `eval echo '${'$as_ac_var'}'` = yes; then
17279 cat >>confdefs.h <<_ACEOF
17280 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17286 LIBS="$ac_wine_check_funcs_save_LIBS"
17288 if test "$ac_cv_func_poll" = no
17290 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17291 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17292 if test "${ac_cv_lib_poll_poll+set}" = set; then
17293 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 ac_check_lib_save_LIBS=$LIBS
17296 LIBS="-lpoll $LIBS"
17297 cat >conftest.$ac_ext <<_ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17304 /* Override any GCC internal prototype to avoid an error.
17305 Use char because int might match the return type of a GCC
17306 builtin and then its argument prototype would still apply. */
17319 rm -f conftest.$ac_objext conftest$ac_exeext
17320 if { (ac_try="$ac_link"
17321 case "(($ac_try" in
17322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17323 *) ac_try_echo
=$ac_try;;
17325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17326 (eval "$ac_link") 2>conftest.er1
17328 grep -v '^ *+' conftest.er1
>conftest.err
17330 cat conftest.err
>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); } && {
17333 test -z "$ac_c_werror_flag" ||
17334 test ! -s conftest.err
17335 } && test -s conftest
$ac_exeext &&
17336 $as_test_x conftest
$ac_exeext; then
17337 ac_cv_lib_poll_poll
=yes
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.
$ac_ext >&5
17342 ac_cv_lib_poll_poll
=no
17345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17346 conftest
$ac_exeext conftest.
$ac_ext
17347 LIBS
=$ac_check_lib_save_LIBS
17349 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17350 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17351 if test $ac_cv_lib_poll_poll = yes; then
17352 cat >>confdefs.h
<<\_ACEOF
17353 #define HAVE_POLL 1
17361 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17362 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17363 if test "${ac_cv_search_gethostbyname+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 ac_func_search_save_LIBS
=$LIBS
17367 cat >conftest.
$ac_ext <<_ACEOF
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17374 /* Override any GCC internal prototype to avoid an error.
17375 Use char because int might match the return type of a GCC
17376 builtin and then its argument prototype would still apply. */
17380 char gethostbyname ();
17384 return gethostbyname ();
17389 for ac_lib
in '' nsl
; do
17390 if test -z "$ac_lib"; then
17391 ac_res
="none required"
17394 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17396 rm -f conftest.
$ac_objext conftest
$ac_exeext
17397 if { (ac_try
="$ac_link"
17398 case "(($ac_try" in
17399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17400 *) ac_try_echo=$ac_try;;
17402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17403 (eval "$ac_link") 2>conftest.er1
17405 grep -v '^ *+' conftest.er1 >conftest.err
17407 cat conftest.err >&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } && {
17410 test -z "$ac_c_werror_flag" ||
17411 test ! -s conftest.err
17412 } && test -s conftest$ac_exeext &&
17413 $as_test_x conftest$ac_exeext; then
17414 ac_cv_search_gethostbyname=$ac_res
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17424 if test "${ac_cv_search_gethostbyname+set}" = set; then
17428 if test "${ac_cv_search_gethostbyname+set}" = set; then
17431 ac_cv_search_gethostbyname=no
17433 rm conftest.$ac_ext
17434 LIBS=$ac_func_search_save_LIBS
17436 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17437 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17438 ac_res=$ac_cv_search_gethostbyname
17439 if test "$ac_res" != no; then
17440 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17445 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17446 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17447 if test "${ac_cv_search_connect+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 ac_func_search_save_LIBS=$LIBS
17451 cat >conftest.$ac_ext <<_ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17458 /* Override any GCC internal prototype to avoid an error.
17459 Use char because int might match the return type of a GCC
17460 builtin and then its argument prototype would still apply. */
17473 for ac_lib in '' socket; do
17474 if test -z "$ac_lib"; then
17475 ac_res="none required"
17478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17480 rm -f conftest.$ac_objext conftest$ac_exeext
17481 if { (ac_try="$ac_link"
17482 case "(($ac_try" in
17483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17484 *) ac_try_echo
=$ac_try;;
17486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17487 (eval "$ac_link") 2>conftest.er1
17489 grep -v '^ *+' conftest.er1
>conftest.err
17491 cat conftest.err
>&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); } && {
17494 test -z "$ac_c_werror_flag" ||
17495 test ! -s conftest.err
17496 } && test -s conftest
$ac_exeext &&
17497 $as_test_x conftest
$ac_exeext; then
17498 ac_cv_search_connect
=$ac_res
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.
$ac_ext >&5
17506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17508 if test "${ac_cv_search_connect+set}" = set; then
17512 if test "${ac_cv_search_connect+set}" = set; then
17515 ac_cv_search_connect
=no
17517 rm conftest.
$ac_ext
17518 LIBS
=$ac_func_search_save_LIBS
17520 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17521 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17522 ac_res
=$ac_cv_search_connect
17523 if test "$ac_res" != no
; then
17524 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17529 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17530 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17531 if test "${ac_cv_search_inet_aton+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 ac_func_search_save_LIBS
=$LIBS
17535 cat >conftest.
$ac_ext <<_ACEOF
17538 cat confdefs.h
>>conftest.
$ac_ext
17539 cat >>conftest.
$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17542 /* Override any GCC internal prototype to avoid an error.
17543 Use char because int might match the return type of a GCC
17544 builtin and then its argument prototype would still apply. */
17552 return inet_aton ();
17557 for ac_lib
in '' resolv
; do
17558 if test -z "$ac_lib"; then
17559 ac_res
="none required"
17562 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17564 rm -f conftest.
$ac_objext conftest
$ac_exeext
17565 if { (ac_try
="$ac_link"
17566 case "(($ac_try" in
17567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_link") 2>conftest.er1
17573 grep -v '^ *+' conftest.er1 >conftest.err
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_c_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest$ac_exeext &&
17581 $as_test_x conftest$ac_exeext; then
17582 ac_cv_search_inet_aton=$ac_res
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17592 if test "${ac_cv_search_inet_aton+set}" = set; then
17596 if test "${ac_cv_search_inet_aton+set}" = set; then
17599 ac_cv_search_inet_aton=no
17601 rm conftest.$ac_ext
17602 LIBS=$ac_func_search_save_LIBS
17604 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17605 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17606 ac_res=$ac_cv_search_inet_aton
17607 if test "$ac_res" != no; then
17608 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17632 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 cat >conftest.$ac_ext <<_ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17646 #define $ac_func innocuous_$ac_func
17648 /* System header to define __stub macros and hopefully few prototypes,
17649 which can conflict with char $ac_func (); below.
17650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17651 <limits.h> exists even on freestanding compilers. */
17654 # include <limits.h>
17656 # include <assert.h>
17661 /* Override any GCC internal prototype to avoid an error.
17662 Use char because int might match the return type of a GCC
17663 builtin and then its argument prototype would still apply. */
17668 /* The GNU C library defines this for functions which it implements
17669 to always fail with ENOSYS. Some functions are actually named
17670 something starting with __ and the normal name is an alias. */
17671 #if defined __stub_$ac_func || defined __stub___$ac_func
17678 return $ac_func ();
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17687 *) ac_try_echo
=$ac_try;;
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17692 grep -v '^ *+' conftest.er1
>conftest.err
17694 cat conftest.err
>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest
$ac_exeext &&
17700 $as_test_x conftest
$ac_exeext; then
17701 eval "$as_ac_var=yes"
17703 echo "$as_me: failed program was:" >&5
17704 sed 's/^/| /' conftest.
$ac_ext >&5
17706 eval "$as_ac_var=no"
17709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17710 conftest
$ac_exeext conftest.
$ac_ext
17712 ac_res
=`eval echo '${'$as_ac_var'}'`
17713 { echo "$as_me:$LINENO: result: $ac_res" >&5
17714 echo "${ECHO_T}$ac_res" >&6; }
17715 if test `eval echo '${'$as_ac_var'}'` = yes; then
17716 cat >>confdefs.h
<<_ACEOF
17717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17726 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17728 { echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
17729 echo $ECHO_N "checking for LDAPSortKey... $ECHO_C" >&6; }
17730 if test "${ac_cv_type_LDAPSortKey+set}" = set; then
17731 echo $ECHO_N "(cached) $ECHO_C" >&6
17733 cat >conftest.
$ac_ext <<_ACEOF
17736 cat confdefs.h
>>conftest.
$ac_ext
17737 cat >>conftest.
$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17741 typedef LDAPSortKey ac__type_new_;
17745 if ((ac__type_new_ *) 0)
17747 if (sizeof (ac__type_new_))
17753 rm -f conftest.
$ac_objext
17754 if { (ac_try
="$ac_compile"
17755 case "(($ac_try" in
17756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_compile") 2>conftest.er1
17762 grep -v '^ *+' conftest.er1 >conftest.err
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } && {
17767 test -z "$ac_c_werror_flag" ||
17768 test ! -s conftest.err
17769 } && test -s conftest.$ac_objext; then
17770 ac_cv_type_LDAPSortKey=yes
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17775 ac_cv_type_LDAPSortKey=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 { echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
17781 echo "${ECHO_T}$ac_cv_type_LDAPSortKey" >&6; }
17782 if test $ac_cv_type_LDAPSortKey = yes; then
17783 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
17784 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
17785 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6
17788 ac_check_lib_save_LIBS=$LIBS
17789 LIBS="-lldap_r $LIBPTHREAD $LIBS"
17790 cat >conftest.$ac_ext <<_ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17803 char ldap_initialize ();
17807 return ldap_initialize ();
17812 rm -f conftest.$ac_objext conftest$ac_exeext
17813 if { (ac_try="$ac_link"
17814 case "(($ac_try" in
17815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17816 *) ac_try_echo
=$ac_try;;
17818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819 (eval "$ac_link") 2>conftest.er1
17821 grep -v '^ *+' conftest.er1
>conftest.err
17823 cat conftest.err
>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } && {
17826 test -z "$ac_c_werror_flag" ||
17827 test ! -s conftest.err
17828 } && test -s conftest
$ac_exeext &&
17829 $as_test_x conftest
$ac_exeext; then
17830 ac_cv_lib_ldap_r_ldap_initialize
=yes
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.
$ac_ext >&5
17835 ac_cv_lib_ldap_r_ldap_initialize
=no
17838 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17839 conftest
$ac_exeext conftest.
$ac_ext
17840 LIBS
=$ac_check_lib_save_LIBS
17842 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17843 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17844 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
17845 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
17846 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
17847 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 ac_check_lib_save_LIBS
=$LIBS
17851 LIBS
="-llber $LIBPTHREAD $LIBS"
17852 cat >conftest.
$ac_ext <<_ACEOF
17855 cat confdefs.h
>>conftest.
$ac_ext
17856 cat >>conftest.
$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17859 /* Override any GCC internal prototype to avoid an error.
17860 Use char because int might match the return type of a GCC
17861 builtin and then its argument prototype would still apply. */
17869 return ber_init ();
17874 rm -f conftest.
$ac_objext conftest
$ac_exeext
17875 if { (ac_try
="$ac_link"
17876 case "(($ac_try" in
17877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17878 *) ac_try_echo=$ac_try;;
17880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17881 (eval "$ac_link") 2>conftest.er1
17883 grep -v '^ *+' conftest.er1 >conftest.err
17885 cat conftest.err >&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } && {
17888 test -z "$ac_c_werror_flag" ||
17889 test ! -s conftest.err
17890 } && test -s conftest$ac_exeext &&
17891 $as_test_x conftest$ac_exeext; then
17892 ac_cv_lib_lber_ber_init=yes
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17897 ac_cv_lib_lber_ber_init=no
17900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17901 conftest$ac_exeext conftest.$ac_ext
17902 LIBS=$ac_check_lib_save_LIBS
17904 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
17905 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
17906 if test $ac_cv_lib_lber_ber_init = yes; then
17908 cat >>confdefs.h <<\_ACEOF
17909 #define HAVE_LDAP 1
17912 LDAPLIBS="-lldap_r -llber"
17919 ac_wine_check_funcs_save_LIBS="$LIBS"
17920 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
17930 ldap_count_references \
17931 ldap_first_reference \
17932 ldap_next_reference \
17933 ldap_parse_reference \
17934 ldap_parse_sort_control \
17935 ldap_parse_sortresponse_control \
17936 ldap_parse_vlv_control \
17937 ldap_parse_vlvresponse_control
17939 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17943 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 cat >conftest.$ac_ext <<_ACEOF
17948 cat confdefs.h >>conftest.$ac_ext
17949 cat >>conftest.$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17953 #define $ac_func innocuous_$ac_func
17955 /* System header to define __stub macros and hopefully few prototypes,
17956 which can conflict with char $ac_func (); below.
17957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17958 <limits.h> exists even on freestanding compilers. */
17961 # include <limits.h>
17963 # include <assert.h>
17968 /* Override any GCC internal prototype to avoid an error.
17969 Use char because int might match the return type of a GCC
17970 builtin and then its argument prototype would still apply. */
17975 /* The GNU C library defines this for functions which it implements
17976 to always fail with ENOSYS. Some functions are actually named
17977 something starting with __ and the normal name is an alias. */
17978 #if defined __stub_$ac_func || defined __stub___$ac_func
17985 return $ac_func ();
17990 rm -f conftest.$ac_objext conftest$ac_exeext
17991 if { (ac_try="$ac_link"
17992 case "(($ac_try" in
17993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17994 *) ac_try_echo
=$ac_try;;
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_link") 2>conftest.er1
17999 grep -v '^ *+' conftest.er1
>conftest.err
18001 cat conftest.err
>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest
$ac_exeext &&
18007 $as_test_x conftest
$ac_exeext; then
18008 eval "$as_ac_var=yes"
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.
$ac_ext >&5
18013 eval "$as_ac_var=no"
18016 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18017 conftest
$ac_exeext conftest.
$ac_ext
18019 ac_res
=`eval echo '${'$as_ac_var'}'`
18020 { echo "$as_me:$LINENO: result: $ac_res" >&5
18021 echo "${ECHO_T}$ac_res" >&6; }
18022 if test `eval echo '${'$as_ac_var'}'` = yes; then
18023 cat >>confdefs.h
<<_ACEOF
18024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18030 LIBS
="$ac_wine_check_funcs_save_LIBS"
18032 if test "x$LDAPLIBS" = "x"; then
18033 case "x$with_ldap" in
18034 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
18036 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18037 This is an error since --with-ldap was requested." >&5
18038 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18039 This is an error since --with-ldap was requested." >&2;}
18040 { (exit 1); exit 1; }; } ;;
18046 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18047 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18048 if test "${ac_cv_c_const+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 cat >conftest.
$ac_ext <<_ACEOF
18054 cat confdefs.h
>>conftest.
$ac_ext
18055 cat >>conftest.
$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18061 /* FIXME: Include the comments suggested by Paul. */
18062 #ifndef __cplusplus
18063 /* Ultrix mips cc rejects this. */
18064 typedef int charset[2];
18066 /* SunOS 4.1.1 cc rejects this. */
18067 char const *const *pcpcc;
18069 /* NEC SVR4.0.2 mips cc rejects this. */
18070 struct point {int x, y;};
18071 static struct point const zero = {0,0};
18072 /* AIX XL C 1.02.0.0 rejects this.
18073 It does not let you subtract one const X* pointer from another in
18074 an arm of an if-expression whose if-part is not a constant
18076 const char *g = "string";
18077 pcpcc = &g + (g ? g-g : 0);
18078 /* HPUX 7.0 cc rejects these. */
18080 ppc = (char**) pcpcc;
18081 pcpcc = (char const *const *) ppc;
18082 { /* SCO 3.2v4 cc rejects this. */
18084 char const *s = 0 ? (char *) 0 : (char const *) 0;
18089 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18090 int x[] = {25, 17};
18091 const int *foo = &x[0];
18094 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18095 typedef const int *iptr;
18099 { /* AIX XL C 1.02.0.0 rejects this saying
18100 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18101 struct s { int j; const int *ap[3]; };
18102 struct s *b; b->j = 5;
18104 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18105 const int foo = 10;
18106 if (!foo) return 0;
18108 return !cs[0] && !zero.x;
18115 rm -f conftest.
$ac_objext
18116 if { (ac_try
="$ac_compile"
18117 case "(($ac_try" in
18118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18119 *) ac_try_echo=$ac_try;;
18121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18122 (eval "$ac_compile") 2>conftest.er1
18124 grep -v '^ *+' conftest.er1 >conftest.err
18126 cat conftest.err >&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } && {
18129 test -z "$ac_c_werror_flag" ||
18130 test ! -s conftest.err
18131 } && test -s conftest.$ac_objext; then
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18142 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18143 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18144 if test $ac_cv_c_const = no; then
18146 cat >>confdefs.h <<\_ACEOF
18152 { echo "$as_me:$LINENO: checking for inline" >&5
18153 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18154 if test "${ac_cv_c_inline+set}" = set; then
18155 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 for ac_kw in inline __inline__ __inline; do
18159 cat >conftest.$ac_ext <<_ACEOF
18162 cat confdefs.h >>conftest.$ac_ext
18163 cat >>conftest.$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18165 #ifndef __cplusplus
18167 static $ac_kw foo_t static_foo () {return 0; }
18168 $ac_kw foo_t foo () {return 0; }
18172 rm -f conftest.$ac_objext
18173 if { (ac_try="$ac_compile"
18174 case "(($ac_try" in
18175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18176 *) ac_try_echo
=$ac_try;;
18178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18179 (eval "$ac_compile") 2>conftest.er1
18181 grep -v '^ *+' conftest.er1
>conftest.err
18183 cat conftest.err
>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); } && {
18186 test -z "$ac_c_werror_flag" ||
18187 test ! -s conftest.err
18188 } && test -s conftest.
$ac_objext; then
18189 ac_cv_c_inline
=$ac_kw
18191 echo "$as_me: failed program was:" >&5
18192 sed 's/^/| /' conftest.
$ac_ext >&5
18197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18198 test "$ac_cv_c_inline" != no
&& break
18202 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18203 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18206 case $ac_cv_c_inline in
18209 case $ac_cv_c_inline in
18211 *) ac_val
=$ac_cv_c_inline;;
18213 cat >>confdefs.h
<<_ACEOF
18214 #ifndef __cplusplus
18215 #define inline $ac_val
18221 { echo "$as_me:$LINENO: checking for mode_t" >&5
18222 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18223 if test "${ac_cv_type_mode_t+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18233 typedef mode_t ac__type_new_;
18237 if ((ac__type_new_ *) 0)
18239 if (sizeof (ac__type_new_))
18245 rm -f conftest.
$ac_objext
18246 if { (ac_try
="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18254 grep -v '^ *+' conftest.er1 >conftest.err
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18262 ac_cv_type_mode_t=yes
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.$ac_ext >&5
18267 ac_cv_type_mode_t=no
18270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18273 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18274 if test $ac_cv_type_mode_t = yes; then
18276 cat >>confdefs.h <<_ACEOF
18277 #define HAVE_MODE_T 1
18282 { echo "$as_me:$LINENO: checking for off_t" >&5
18283 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18284 if test "${ac_cv_type_off_t+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 cat >conftest.$ac_ext <<_ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 typedef off_t ac__type_new_;
18298 if ((ac__type_new_ *) 0)
18300 if (sizeof (ac__type_new_))
18306 rm -f conftest.$ac_objext
18307 if { (ac_try="$ac_compile"
18308 case "(($ac_try" in
18309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18310 *) ac_try_echo
=$ac_try;;
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_compile") 2>conftest.er1
18315 grep -v '^ *+' conftest.er1
>conftest.err
18317 cat conftest.err
>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_c_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest.
$ac_objext; then
18323 ac_cv_type_off_t
=yes
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.
$ac_ext >&5
18328 ac_cv_type_off_t
=no
18331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18334 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18335 if test $ac_cv_type_off_t = yes; then
18337 cat >>confdefs.h
<<_ACEOF
18338 #define HAVE_OFF_T 1
18343 { echo "$as_me:$LINENO: checking for pid_t" >&5
18344 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18345 if test "${ac_cv_type_pid_t+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 cat >conftest.
$ac_ext <<_ACEOF
18351 cat confdefs.h
>>conftest.
$ac_ext
18352 cat >>conftest.
$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 $ac_includes_default
18355 typedef pid_t ac__type_new_;
18359 if ((ac__type_new_ *) 0)
18361 if (sizeof (ac__type_new_))
18367 rm -f conftest.
$ac_objext
18368 if { (ac_try
="$ac_compile"
18369 case "(($ac_try" in
18370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18371 *) ac_try_echo=$ac_try;;
18373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18374 (eval "$ac_compile") 2>conftest.er1
18376 grep -v '^ *+' conftest.er1 >conftest.err
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } && {
18381 test -z "$ac_c_werror_flag" ||
18382 test ! -s conftest.err
18383 } && test -s conftest.$ac_objext; then
18384 ac_cv_type_pid_t=yes
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18389 ac_cv_type_pid_t=no
18392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18395 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18396 if test $ac_cv_type_pid_t = yes; then
18398 cat >>confdefs.h <<_ACEOF
18399 #define HAVE_PID_T 1
18404 { echo "$as_me:$LINENO: checking for size_t" >&5
18405 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18406 if test "${ac_cv_type_size_t+set}" = set; then
18407 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 cat >conftest.$ac_ext <<_ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 typedef size_t ac__type_new_;
18420 if ((ac__type_new_ *) 0)
18422 if (sizeof (ac__type_new_))
18428 rm -f conftest.$ac_objext
18429 if { (ac_try="$ac_compile"
18430 case "(($ac_try" in
18431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18432 *) ac_try_echo
=$ac_try;;
18434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18435 (eval "$ac_compile") 2>conftest.er1
18437 grep -v '^ *+' conftest.er1
>conftest.err
18439 cat conftest.err
>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); } && {
18442 test -z "$ac_c_werror_flag" ||
18443 test ! -s conftest.err
18444 } && test -s conftest.
$ac_objext; then
18445 ac_cv_type_size_t
=yes
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.
$ac_ext >&5
18450 ac_cv_type_size_t
=no
18453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18455 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18456 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18457 if test $ac_cv_type_size_t = yes; then
18459 cat >>confdefs.h
<<_ACEOF
18460 #define HAVE_SIZE_T 1
18465 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18466 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18467 if test "${ac_cv_type_ssize_t+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18470 cat >conftest.
$ac_ext <<_ACEOF
18473 cat confdefs.h
>>conftest.
$ac_ext
18474 cat >>conftest.
$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 $ac_includes_default
18477 typedef ssize_t ac__type_new_;
18481 if ((ac__type_new_ *) 0)
18483 if (sizeof (ac__type_new_))
18489 rm -f conftest.
$ac_objext
18490 if { (ac_try
="$ac_compile"
18491 case "(($ac_try" in
18492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18493 *) ac_try_echo=$ac_try;;
18495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18496 (eval "$ac_compile") 2>conftest.er1
18498 grep -v '^ *+' conftest.er1 >conftest.err
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } && {
18503 test -z "$ac_c_werror_flag" ||
18504 test ! -s conftest.err
18505 } && test -s conftest.$ac_objext; then
18506 ac_cv_type_ssize_t=yes
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 ac_cv_type_ssize_t=no
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18517 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18518 if test $ac_cv_type_ssize_t = yes; then
18520 cat >>confdefs.h <<_ACEOF
18521 #define HAVE_SSIZE_T 1
18526 { echo "$as_me:$LINENO: checking for long long" >&5
18527 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18528 if test "${ac_cv_type_long_long+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18531 cat >conftest.$ac_ext <<_ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537 $ac_includes_default
18538 typedef long long ac__type_new_;
18542 if ((ac__type_new_ *) 0)
18544 if (sizeof (ac__type_new_))
18550 rm -f conftest.$ac_objext
18551 if { (ac_try="$ac_compile"
18552 case "(($ac_try" in
18553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18554 *) ac_try_echo
=$ac_try;;
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_compile") 2>conftest.er1
18559 grep -v '^ *+' conftest.er1
>conftest.err
18561 cat conftest.err
>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } && {
18564 test -z "$ac_c_werror_flag" ||
18565 test ! -s conftest.err
18566 } && test -s conftest.
$ac_objext; then
18567 ac_cv_type_long_long
=yes
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.
$ac_ext >&5
18572 ac_cv_type_long_long
=no
18575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18577 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18578 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18579 if test $ac_cv_type_long_long = yes; then
18581 cat >>confdefs.h
<<_ACEOF
18582 #define HAVE_LONG_LONG 1
18587 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18588 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18589 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18590 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 cat >conftest.
$ac_ext <<_ACEOF
18595 cat confdefs.h
>>conftest.
$ac_ext
18596 cat >>conftest.
$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18599 typedef fsblkcnt_t ac__type_new_;
18603 if ((ac__type_new_ *) 0)
18605 if (sizeof (ac__type_new_))
18611 rm -f conftest.
$ac_objext
18612 if { (ac_try
="$ac_compile"
18613 case "(($ac_try" in
18614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18615 *) ac_try_echo=$ac_try;;
18617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18618 (eval "$ac_compile") 2>conftest.er1
18620 grep -v '^ *+' conftest.er1 >conftest.err
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } && {
18625 test -z "$ac_c_werror_flag" ||
18626 test ! -s conftest.err
18627 } && test -s conftest.$ac_objext; then
18628 ac_cv_type_fsblkcnt_t=yes
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 ac_cv_type_fsblkcnt_t=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18639 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18640 if test $ac_cv_type_fsblkcnt_t = yes; then
18642 cat >>confdefs.h <<_ACEOF
18643 #define HAVE_FSBLKCNT_T 1
18648 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18649 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18650 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 cat >conftest.$ac_ext <<_ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18660 typedef fsfilcnt_t ac__type_new_;
18664 if ((ac__type_new_ *) 0)
18666 if (sizeof (ac__type_new_))
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18676 *) ac_try_echo
=$ac_try;;
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18681 grep -v '^ *+' conftest.er1
>conftest.err
18683 cat conftest.err
>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.
$ac_objext; then
18689 ac_cv_type_fsfilcnt_t
=yes
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.
$ac_ext >&5
18694 ac_cv_type_fsfilcnt_t
=no
18697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18699 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18700 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18701 if test $ac_cv_type_fsfilcnt_t = yes; then
18703 cat >>confdefs.h
<<_ACEOF
18704 #define HAVE_FSFILCNT_T 1
18710 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18711 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18712 if test "${ac_cv_type_sigset_t+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 cat >conftest.
$ac_ext <<_ACEOF
18718 cat confdefs.h
>>conftest.
$ac_ext
18719 cat >>conftest.
$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 #include <signal.h>
18723 typedef sigset_t ac__type_new_;
18727 if ((ac__type_new_ *) 0)
18729 if (sizeof (ac__type_new_))
18735 rm -f conftest.
$ac_objext
18736 if { (ac_try
="$ac_compile"
18737 case "(($ac_try" in
18738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18739 *) ac_try_echo=$ac_try;;
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_compile") 2>conftest.er1
18744 grep -v '^ *+' conftest.er1 >conftest.err
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } && {
18749 test -z "$ac_c_werror_flag" ||
18750 test ! -s conftest.err
18751 } && test -s conftest.$ac_objext; then
18752 ac_cv_type_sigset_t=yes
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18757 ac_cv_type_sigset_t=no
18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18763 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18764 if test $ac_cv_type_sigset_t = yes; then
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_SIGSET_T 1
18773 { echo "$as_me:$LINENO: checking for request_sense" >&5
18774 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18775 if test "${ac_cv_type_request_sense+set}" = set; then
18776 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 cat >conftest.$ac_ext <<_ACEOF
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 #include <linux/cdrom.h>
18786 typedef request_sense ac__type_new_;
18790 if ((ac__type_new_ *) 0)
18792 if (sizeof (ac__type_new_))
18798 rm -f conftest.$ac_objext
18799 if { (ac_try="$ac_compile"
18800 case "(($ac_try" in
18801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18802 *) ac_try_echo
=$ac_try;;
18804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18805 (eval "$ac_compile") 2>conftest.er1
18807 grep -v '^ *+' conftest.er1
>conftest.err
18809 cat conftest.err
>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } && {
18812 test -z "$ac_c_werror_flag" ||
18813 test ! -s conftest.err
18814 } && test -s conftest.
$ac_objext; then
18815 ac_cv_type_request_sense
=yes
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.
$ac_ext >&5
18820 ac_cv_type_request_sense
=no
18823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18825 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18826 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18827 if test $ac_cv_type_request_sense = yes; then
18829 cat >>confdefs.h
<<_ACEOF
18830 #define HAVE_REQUEST_SENSE 1
18837 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18838 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18839 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18842 cat >conftest.
$ac_ext <<_ACEOF
18845 cat confdefs.h
>>conftest.
$ac_ext
18846 cat >>conftest.
$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848 #ifdef HAVE_LINUX_INPUT_H
18849 #include <linux/input.h>
18855 static struct ff_effect ac_aggr;
18856 if (ac_aggr.direction)
18862 rm -f conftest.
$ac_objext
18863 if { (ac_try
="$ac_compile"
18864 case "(($ac_try" in
18865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18866 *) ac_try_echo=$ac_try;;
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_compile") 2>conftest.er1
18871 grep -v '^ *+' conftest.er1 >conftest.err
18873 cat conftest.err >&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } && {
18876 test -z "$ac_c_werror_flag" ||
18877 test ! -s conftest.err
18878 } && test -s conftest.$ac_objext; then
18879 ac_cv_member_struct_ff_effect_direction=yes
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18884 cat >conftest.$ac_ext <<_ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #ifdef HAVE_LINUX_INPUT_H
18891 #include <linux/input.h>
18897 static struct ff_effect ac_aggr;
18898 if (sizeof ac_aggr.direction)
18904 rm -f conftest.$ac_objext
18905 if { (ac_try="$ac_compile"
18906 case "(($ac_try" in
18907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18908 *) ac_try_echo
=$ac_try;;
18910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18911 (eval "$ac_compile") 2>conftest.er1
18913 grep -v '^ *+' conftest.er1
>conftest.err
18915 cat conftest.err
>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } && {
18918 test -z "$ac_c_werror_flag" ||
18919 test ! -s conftest.err
18920 } && test -s conftest.
$ac_objext; then
18921 ac_cv_member_struct_ff_effect_direction
=yes
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.
$ac_ext >&5
18926 ac_cv_member_struct_ff_effect_direction
=no
18929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18934 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18935 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18936 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18938 cat >>confdefs.h
<<_ACEOF
18939 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18946 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18947 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18948 if test "${wine_cv_have_sigaddset+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18951 cat >conftest.
$ac_ext <<_ACEOF
18954 cat confdefs.h
>>conftest.
$ac_ext
18955 cat >>conftest.
$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 #include <signal.h>
18961 sigset_t set; sigaddset(&set,SIGTERM);
18966 rm -f conftest.
$ac_objext conftest
$ac_exeext
18967 if { (ac_try
="$ac_link"
18968 case "(($ac_try" in
18969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18970 *) ac_try_echo=$ac_try;;
18972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18973 (eval "$ac_link") 2>conftest.er1
18975 grep -v '^ *+' conftest.er1 >conftest.err
18977 cat conftest.err >&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } && {
18980 test -z "$ac_c_werror_flag" ||
18981 test ! -s conftest.err
18982 } && test -s conftest$ac_exeext &&
18983 $as_test_x conftest$ac_exeext; then
18984 wine_cv_have_sigaddset=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 wine_cv_have_sigaddset=no
18992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18993 conftest$ac_exeext conftest.$ac_ext
18995 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18996 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18997 if test "$wine_cv_have_sigaddset" = "yes"
19000 cat >>confdefs.h <<\_ACEOF
19001 #define HAVE_SIGADDSET 1
19007 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19008 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
19009 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 cat >conftest.$ac_ext <<_ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19025 struct hostent *result;
19032 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19033 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19039 rm -f conftest.$ac_objext conftest$ac_exeext
19040 if { (ac_try="$ac_link"
19041 case "(($ac_try" in
19042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19043 *) ac_try_echo
=$ac_try;;
19045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19046 (eval "$ac_link") 2>conftest.er1
19048 grep -v '^ *+' conftest.er1
>conftest.err
19050 cat conftest.err
>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } && {
19053 test -z "$ac_c_werror_flag" ||
19054 test ! -s conftest.err
19055 } && test -s conftest
$ac_exeext &&
19056 $as_test_x conftest
$ac_exeext; then
19057 wine_cv_linux_gethostbyname_r_6
=yes
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.
$ac_ext >&5
19062 wine_cv_linux_gethostbyname_r_6
=no
19066 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19067 conftest
$ac_exeext conftest.
$ac_ext
19070 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
19071 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
19072 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19075 cat >>confdefs.h
<<\_ACEOF
19076 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
19081 if test "$ac_cv_header_linux_joystick_h" = "yes"
19083 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19084 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
19085 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 cat >conftest.
$ac_ext <<_ACEOF
19091 cat confdefs.h
>>conftest.
$ac_ext
19092 cat >>conftest.
$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19095 #include <sys/ioctl.h>
19096 #include <sys/types.h>
19097 #include <linux/joystick.h>
19099 struct js_event blub;
19100 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19101 #error "no 2.2 header"
19112 rm -f conftest.
$ac_objext
19113 if { (ac_try
="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1 >conftest.err
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 wine_cv_linux_joystick_22_api=yes
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 wine_cv_linux_joystick_22_api=no
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
19141 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
19142 if test "$wine_cv_linux_joystick_22_api" = "yes"
19145 cat >>confdefs.h <<\_ACEOF
19146 #define HAVE_LINUX_22_JOYSTICK_API 1
19153 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
19154 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
19155 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 cat >conftest.$ac_ext <<_ACEOF
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 #include <sys/types.h>
19165 #ifdef HAVE_SYS_PARAM_H
19166 # include <sys/param.h>
19168 #ifdef HAVE_SYS_MOUNT_H
19169 # include <sys/mount.h>
19171 #ifdef HAVE_SYS_VFS_H
19172 # include <sys/vfs.h>
19174 #ifdef HAVE_SYS_STATFS_H
19175 # include <sys/statfs.h>
19181 static struct statfs ac_aggr;
19182 if (ac_aggr.f_bfree)
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19192 *) ac_try_echo
=$ac_try;;
19194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19197 grep -v '^ *+' conftest.er1
>conftest.err
19199 cat conftest.err
>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_c_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.
$ac_objext; then
19205 ac_cv_member_struct_statfs_f_bfree
=yes
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.
$ac_ext >&5
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 #include <sys/types.h>
19217 #ifdef HAVE_SYS_PARAM_H
19218 # include <sys/param.h>
19220 #ifdef HAVE_SYS_MOUNT_H
19221 # include <sys/mount.h>
19223 #ifdef HAVE_SYS_VFS_H
19224 # include <sys/vfs.h>
19226 #ifdef HAVE_SYS_STATFS_H
19227 # include <sys/statfs.h>
19233 static struct statfs ac_aggr;
19234 if (sizeof ac_aggr.f_bfree)
19240 rm -f conftest.
$ac_objext
19241 if { (ac_try
="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19249 grep -v '^ *+' conftest.er1 >conftest.err
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 ac_cv_member_struct_statfs_f_bfree=yes
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19262 ac_cv_member_struct_statfs_f_bfree=no
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19271 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19272 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19274 cat >>confdefs.h <<_ACEOF
19275 #define HAVE_STRUCT_STATFS_F_BFREE 1
19280 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19281 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19282 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 cat >conftest.$ac_ext <<_ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <sys/types.h>
19292 #ifdef HAVE_SYS_PARAM_H
19293 # include <sys/param.h>
19295 #ifdef HAVE_SYS_MOUNT_H
19296 # include <sys/mount.h>
19298 #ifdef HAVE_SYS_VFS_H
19299 # include <sys/vfs.h>
19301 #ifdef HAVE_SYS_STATFS_H
19302 # include <sys/statfs.h>
19308 static struct statfs ac_aggr;
19309 if (ac_aggr.f_bavail)
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19319 *) ac_try_echo
=$ac_try;;
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19324 grep -v '^ *+' conftest.er1
>conftest.err
19326 cat conftest.err
>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.
$ac_objext; then
19332 ac_cv_member_struct_statfs_f_bavail
=yes
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.
$ac_ext >&5
19337 cat >conftest.
$ac_ext <<_ACEOF
19340 cat confdefs.h
>>conftest.
$ac_ext
19341 cat >>conftest.
$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 #include <sys/types.h>
19344 #ifdef HAVE_SYS_PARAM_H
19345 # include <sys/param.h>
19347 #ifdef HAVE_SYS_MOUNT_H
19348 # include <sys/mount.h>
19350 #ifdef HAVE_SYS_VFS_H
19351 # include <sys/vfs.h>
19353 #ifdef HAVE_SYS_STATFS_H
19354 # include <sys/statfs.h>
19360 static struct statfs ac_aggr;
19361 if (sizeof ac_aggr.f_bavail)
19367 rm -f conftest.
$ac_objext
19368 if { (ac_try
="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19376 grep -v '^ *+' conftest.er1 >conftest.err
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19384 ac_cv_member_struct_statfs_f_bavail=yes
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19389 ac_cv_member_struct_statfs_f_bavail=no
19392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19398 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19399 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19401 cat >>confdefs.h <<_ACEOF
19402 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19407 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19408 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19409 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19410 echo $ECHO_N "(cached) $ECHO_C" >&6
19412 cat >conftest.$ac_ext <<_ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19418 #include <sys/types.h>
19419 #ifdef HAVE_SYS_PARAM_H
19420 # include <sys/param.h>
19422 #ifdef HAVE_SYS_MOUNT_H
19423 # include <sys/mount.h>
19425 #ifdef HAVE_SYS_VFS_H
19426 # include <sys/vfs.h>
19428 #ifdef HAVE_SYS_STATFS_H
19429 # include <sys/statfs.h>
19435 static struct statfs ac_aggr;
19436 if (ac_aggr.f_frsize)
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19446 *) ac_try_echo
=$ac_try;;
19448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19451 grep -v '^ *+' conftest.er1
>conftest.err
19453 cat conftest.err
>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.
$ac_objext; then
19459 ac_cv_member_struct_statfs_f_frsize
=yes
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.
$ac_ext >&5
19464 cat >conftest.
$ac_ext <<_ACEOF
19467 cat confdefs.h
>>conftest.
$ac_ext
19468 cat >>conftest.
$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470 #include <sys/types.h>
19471 #ifdef HAVE_SYS_PARAM_H
19472 # include <sys/param.h>
19474 #ifdef HAVE_SYS_MOUNT_H
19475 # include <sys/mount.h>
19477 #ifdef HAVE_SYS_VFS_H
19478 # include <sys/vfs.h>
19480 #ifdef HAVE_SYS_STATFS_H
19481 # include <sys/statfs.h>
19487 static struct statfs ac_aggr;
19488 if (sizeof ac_aggr.f_frsize)
19494 rm -f conftest.
$ac_objext
19495 if { (ac_try
="$ac_compile"
19496 case "(($ac_try" in
19497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19498 *) ac_try_echo=$ac_try;;
19500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19501 (eval "$ac_compile") 2>conftest.er1
19503 grep -v '^ *+' conftest.er1 >conftest.err
19505 cat conftest.err >&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } && {
19508 test -z "$ac_c_werror_flag" ||
19509 test ! -s conftest.err
19510 } && test -s conftest.$ac_objext; then
19511 ac_cv_member_struct_statfs_f_frsize=yes
19513 echo "$as_me: failed program was:" >&5
19514 sed 's/^/| /' conftest.$ac_ext >&5
19516 ac_cv_member_struct_statfs_f_frsize=no
19519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19525 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19526 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19528 cat >>confdefs.h <<_ACEOF
19529 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19534 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19535 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19536 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19537 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 #include <sys/types.h>
19546 #ifdef HAVE_SYS_PARAM_H
19547 # include <sys/param.h>
19549 #ifdef HAVE_SYS_MOUNT_H
19550 # include <sys/mount.h>
19552 #ifdef HAVE_SYS_VFS_H
19553 # include <sys/vfs.h>
19555 #ifdef HAVE_SYS_STATFS_H
19556 # include <sys/statfs.h>
19562 static struct statfs ac_aggr;
19563 if (ac_aggr.f_ffree)
19569 rm -f conftest.$ac_objext
19570 if { (ac_try="$ac_compile"
19571 case "(($ac_try" in
19572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19573 *) ac_try_echo
=$ac_try;;
19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_compile") 2>conftest.er1
19578 grep -v '^ *+' conftest.er1
>conftest.err
19580 cat conftest.err
>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } && {
19583 test -z "$ac_c_werror_flag" ||
19584 test ! -s conftest.err
19585 } && test -s conftest.
$ac_objext; then
19586 ac_cv_member_struct_statfs_f_ffree
=yes
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.
$ac_ext >&5
19591 cat >conftest.
$ac_ext <<_ACEOF
19594 cat confdefs.h
>>conftest.
$ac_ext
19595 cat >>conftest.
$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 #include <sys/types.h>
19598 #ifdef HAVE_SYS_PARAM_H
19599 # include <sys/param.h>
19601 #ifdef HAVE_SYS_MOUNT_H
19602 # include <sys/mount.h>
19604 #ifdef HAVE_SYS_VFS_H
19605 # include <sys/vfs.h>
19607 #ifdef HAVE_SYS_STATFS_H
19608 # include <sys/statfs.h>
19614 static struct statfs ac_aggr;
19615 if (sizeof ac_aggr.f_ffree)
19621 rm -f conftest.
$ac_objext
19622 if { (ac_try
="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19630 grep -v '^ *+' conftest.er1 >conftest.err
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19638 ac_cv_member_struct_statfs_f_ffree=yes
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 ac_cv_member_struct_statfs_f_ffree=no
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19652 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19653 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19655 cat >>confdefs.h <<_ACEOF
19656 #define HAVE_STRUCT_STATFS_F_FFREE 1
19661 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19662 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19663 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19666 cat >conftest.$ac_ext <<_ACEOF
19669 cat confdefs.h >>conftest.$ac_ext
19670 cat >>conftest.$ac_ext <<_ACEOF
19671 /* end confdefs.h. */
19672 #include <sys/types.h>
19673 #ifdef HAVE_SYS_PARAM_H
19674 # include <sys/param.h>
19676 #ifdef HAVE_SYS_MOUNT_H
19677 # include <sys/mount.h>
19679 #ifdef HAVE_SYS_VFS_H
19680 # include <sys/vfs.h>
19682 #ifdef HAVE_SYS_STATFS_H
19683 # include <sys/statfs.h>
19689 static struct statfs ac_aggr;
19690 if (ac_aggr.f_favail)
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19700 *) ac_try_echo
=$ac_try;;
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19705 grep -v '^ *+' conftest.er1
>conftest.err
19707 cat conftest.err
>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.
$ac_objext; then
19713 ac_cv_member_struct_statfs_f_favail
=yes
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 cat >conftest.
$ac_ext <<_ACEOF
19721 cat confdefs.h
>>conftest.
$ac_ext
19722 cat >>conftest.
$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #include <sys/types.h>
19725 #ifdef HAVE_SYS_PARAM_H
19726 # include <sys/param.h>
19728 #ifdef HAVE_SYS_MOUNT_H
19729 # include <sys/mount.h>
19731 #ifdef HAVE_SYS_VFS_H
19732 # include <sys/vfs.h>
19734 #ifdef HAVE_SYS_STATFS_H
19735 # include <sys/statfs.h>
19741 static struct statfs ac_aggr;
19742 if (sizeof ac_aggr.f_favail)
19748 rm -f conftest.
$ac_objext
19749 if { (ac_try
="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19757 grep -v '^ *+' conftest.er1 >conftest.err
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
19765 ac_cv_member_struct_statfs_f_favail=yes
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19770 ac_cv_member_struct_statfs_f_favail=no
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19778 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19779 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19780 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19782 cat >>confdefs.h <<_ACEOF
19783 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19788 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19789 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19790 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19791 echo $ECHO_N "(cached) $ECHO_C" >&6
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 #include <sys/types.h>
19800 #ifdef HAVE_SYS_PARAM_H
19801 # include <sys/param.h>
19803 #ifdef HAVE_SYS_MOUNT_H
19804 # include <sys/mount.h>
19806 #ifdef HAVE_SYS_VFS_H
19807 # include <sys/vfs.h>
19809 #ifdef HAVE_SYS_STATFS_H
19810 # include <sys/statfs.h>
19816 static struct statfs ac_aggr;
19817 if (ac_aggr.f_namelen)
19823 rm -f conftest.$ac_objext
19824 if { (ac_try="$ac_compile"
19825 case "(($ac_try" in
19826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19827 *) ac_try_echo
=$ac_try;;
19829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_compile") 2>conftest.er1
19832 grep -v '^ *+' conftest.er1
>conftest.err
19834 cat conftest.err
>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } && {
19837 test -z "$ac_c_werror_flag" ||
19838 test ! -s conftest.err
19839 } && test -s conftest.
$ac_objext; then
19840 ac_cv_member_struct_statfs_f_namelen
=yes
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.
$ac_ext >&5
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <sys/types.h>
19852 #ifdef HAVE_SYS_PARAM_H
19853 # include <sys/param.h>
19855 #ifdef HAVE_SYS_MOUNT_H
19856 # include <sys/mount.h>
19858 #ifdef HAVE_SYS_VFS_H
19859 # include <sys/vfs.h>
19861 #ifdef HAVE_SYS_STATFS_H
19862 # include <sys/statfs.h>
19868 static struct statfs ac_aggr;
19869 if (sizeof ac_aggr.f_namelen)
19875 rm -f conftest.
$ac_objext
19876 if { (ac_try
="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^ *+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 ac_cv_member_struct_statfs_f_namelen=yes
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_member_struct_statfs_f_namelen=no
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19906 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19907 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19909 cat >>confdefs.h <<_ACEOF
19910 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19917 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19918 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19919 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 cat >conftest.$ac_ext <<_ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 #ifdef HAVE_SYS_STATVFS_H
19929 #include <sys/statvfs.h>
19935 static struct statvfs ac_aggr;
19936 if (ac_aggr.f_blocks)
19942 rm -f conftest.$ac_objext
19943 if { (ac_try="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19946 *) ac_try_echo
=$ac_try;;
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19951 grep -v '^ *+' conftest.er1
>conftest.err
19953 cat conftest.err
>&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_c_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.
$ac_objext; then
19959 ac_cv_member_struct_statvfs_f_blocks
=yes
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.
$ac_ext >&5
19964 cat >conftest.
$ac_ext <<_ACEOF
19967 cat confdefs.h
>>conftest.
$ac_ext
19968 cat >>conftest.
$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19970 #ifdef HAVE_SYS_STATVFS_H
19971 #include <sys/statvfs.h>
19977 static struct statvfs ac_aggr;
19978 if (sizeof ac_aggr.f_blocks)
19984 rm -f conftest.
$ac_objext
19985 if { (ac_try
="$ac_compile"
19986 case "(($ac_try" in
19987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19988 *) ac_try_echo=$ac_try;;
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_compile") 2>conftest.er1
19993 grep -v '^ *+' conftest.er1 >conftest.err
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } && {
19998 test -z "$ac_c_werror_flag" ||
19999 test ! -s conftest.err
20000 } && test -s conftest.$ac_objext; then
20001 ac_cv_member_struct_statvfs_f_blocks=yes
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20006 ac_cv_member_struct_statvfs_f_blocks=no
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
20015 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
20016 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
20018 cat >>confdefs.h <<_ACEOF
20019 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
20026 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
20027 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
20028 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 cat >conftest.$ac_ext <<_ACEOF
20034 cat confdefs.h >>conftest.$ac_ext
20035 cat >>conftest.$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 #include <sys/types.h>
20038 #ifdef HAVE_SYS_SOCKET_H
20039 # include <sys/socket.h>
20041 #ifdef HAVE_SYS_UN_H
20042 # include <sys/un.h>
20048 static struct msghdr ac_aggr;
20049 if (ac_aggr.msg_accrights)
20055 rm -f conftest.$ac_objext
20056 if { (ac_try="$ac_compile"
20057 case "(($ac_try" in
20058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20059 *) ac_try_echo
=$ac_try;;
20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20062 (eval "$ac_compile") 2>conftest.er1
20064 grep -v '^ *+' conftest.er1
>conftest.err
20066 cat conftest.err
>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } && {
20069 test -z "$ac_c_werror_flag" ||
20070 test ! -s conftest.err
20071 } && test -s conftest.
$ac_objext; then
20072 ac_cv_member_struct_msghdr_msg_accrights
=yes
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.
$ac_ext >&5
20077 cat >conftest.
$ac_ext <<_ACEOF
20080 cat confdefs.h
>>conftest.
$ac_ext
20081 cat >>conftest.
$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #include <sys/types.h>
20084 #ifdef HAVE_SYS_SOCKET_H
20085 # include <sys/socket.h>
20087 #ifdef HAVE_SYS_UN_H
20088 # include <sys/un.h>
20094 static struct msghdr ac_aggr;
20095 if (sizeof ac_aggr.msg_accrights)
20101 rm -f conftest.
$ac_objext
20102 if { (ac_try
="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20110 grep -v '^ *+' conftest.er1 >conftest.err
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_c_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest.$ac_objext; then
20118 ac_cv_member_struct_msghdr_msg_accrights=yes
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.$ac_ext >&5
20123 ac_cv_member_struct_msghdr_msg_accrights=no
20126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
20132 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
20133 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
20135 cat >>confdefs.h <<_ACEOF
20136 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
20141 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20142 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
20143 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 cat >conftest.$ac_ext <<_ACEOF
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 #include <sys/types.h>
20153 #ifdef HAVE_SYS_SOCKET_H
20154 # include <sys/socket.h>
20156 #ifdef HAVE_SYS_UN_H
20157 # include <sys/un.h>
20163 static struct sockaddr ac_aggr;
20164 if (ac_aggr.sa_len)
20170 rm -f conftest.$ac_objext
20171 if { (ac_try="$ac_compile"
20172 case "(($ac_try" in
20173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20174 *) ac_try_echo
=$ac_try;;
20176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20177 (eval "$ac_compile") 2>conftest.er1
20179 grep -v '^ *+' conftest.er1
>conftest.err
20181 cat conftest.err
>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && {
20184 test -z "$ac_c_werror_flag" ||
20185 test ! -s conftest.err
20186 } && test -s conftest.
$ac_objext; then
20187 ac_cv_member_struct_sockaddr_sa_len
=yes
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.
$ac_ext >&5
20192 cat >conftest.
$ac_ext <<_ACEOF
20195 cat confdefs.h
>>conftest.
$ac_ext
20196 cat >>conftest.
$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 #include <sys/types.h>
20199 #ifdef HAVE_SYS_SOCKET_H
20200 # include <sys/socket.h>
20202 #ifdef HAVE_SYS_UN_H
20203 # include <sys/un.h>
20209 static struct sockaddr ac_aggr;
20210 if (sizeof ac_aggr.sa_len)
20216 rm -f conftest.
$ac_objext
20217 if { (ac_try
="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20225 grep -v '^ *+' conftest.er1 >conftest.err
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_cv_member_struct_sockaddr_sa_len=yes
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20238 ac_cv_member_struct_sockaddr_sa_len=no
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20247 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20248 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20250 cat >>confdefs.h <<_ACEOF
20251 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20256 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20257 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20258 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 cat >conftest.$ac_ext <<_ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <sys/types.h>
20268 #ifdef HAVE_SYS_SOCKET_H
20269 # include <sys/socket.h>
20271 #ifdef HAVE_SYS_UN_H
20272 # include <sys/un.h>
20278 static struct sockaddr_un ac_aggr;
20279 if (ac_aggr.sun_len)
20285 rm -f conftest.$ac_objext
20286 if { (ac_try="$ac_compile"
20287 case "(($ac_try" in
20288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20289 *) ac_try_echo
=$ac_try;;
20291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20292 (eval "$ac_compile") 2>conftest.er1
20294 grep -v '^ *+' conftest.er1
>conftest.err
20296 cat conftest.err
>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } && {
20299 test -z "$ac_c_werror_flag" ||
20300 test ! -s conftest.err
20301 } && test -s conftest.
$ac_objext; then
20302 ac_cv_member_struct_sockaddr_un_sun_len
=yes
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.
$ac_ext >&5
20307 cat >conftest.
$ac_ext <<_ACEOF
20310 cat confdefs.h
>>conftest.
$ac_ext
20311 cat >>conftest.
$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313 #include <sys/types.h>
20314 #ifdef HAVE_SYS_SOCKET_H
20315 # include <sys/socket.h>
20317 #ifdef HAVE_SYS_UN_H
20318 # include <sys/un.h>
20324 static struct sockaddr_un ac_aggr;
20325 if (sizeof ac_aggr.sun_len)
20331 rm -f conftest.
$ac_objext
20332 if { (ac_try
="$ac_compile"
20333 case "(($ac_try" in
20334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20335 *) ac_try_echo=$ac_try;;
20337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20338 (eval "$ac_compile") 2>conftest.er1
20340 grep -v '^ *+' conftest.er1 >conftest.err
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } && {
20345 test -z "$ac_c_werror_flag" ||
20346 test ! -s conftest.err
20347 } && test -s conftest.$ac_objext; then
20348 ac_cv_member_struct_sockaddr_un_sun_len=yes
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20353 ac_cv_member_struct_sockaddr_un_sun_len=no
20356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20362 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20363 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20365 cat >>confdefs.h <<_ACEOF
20366 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20373 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20374 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20375 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 cat >conftest.$ac_ext <<_ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 #include <sys/types.h>
20385 #ifdef HAVE_SCSI_SG_H
20386 #include <scsi/sg.h>
20392 static scsireq_t ac_aggr;
20399 rm -f conftest.$ac_objext
20400 if { (ac_try="$ac_compile"
20401 case "(($ac_try" in
20402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20403 *) ac_try_echo
=$ac_try;;
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_compile") 2>conftest.er1
20408 grep -v '^ *+' conftest.er1
>conftest.err
20410 cat conftest.err
>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && {
20413 test -z "$ac_c_werror_flag" ||
20414 test ! -s conftest.err
20415 } && test -s conftest.
$ac_objext; then
20416 ac_cv_member_scsireq_t_cmd
=yes
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.
$ac_ext >&5
20421 cat >conftest.
$ac_ext <<_ACEOF
20424 cat confdefs.h
>>conftest.
$ac_ext
20425 cat >>conftest.
$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427 #include <sys/types.h>
20428 #ifdef HAVE_SCSI_SG_H
20429 #include <scsi/sg.h>
20435 static scsireq_t ac_aggr;
20436 if (sizeof ac_aggr.cmd)
20442 rm -f conftest.
$ac_objext
20443 if { (ac_try
="$ac_compile"
20444 case "(($ac_try" in
20445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20446 *) ac_try_echo=$ac_try;;
20448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20449 (eval "$ac_compile") 2>conftest.er1
20451 grep -v '^ *+' conftest.er1 >conftest.err
20453 cat conftest.err >&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } && {
20456 test -z "$ac_c_werror_flag" ||
20457 test ! -s conftest.err
20458 } && test -s conftest.$ac_objext; then
20459 ac_cv_member_scsireq_t_cmd=yes
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.$ac_ext >&5
20464 ac_cv_member_scsireq_t_cmd=no
20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20473 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20474 if test $ac_cv_member_scsireq_t_cmd = yes; then
20476 cat >>confdefs.h <<_ACEOF
20477 #define HAVE_SCSIREQ_T_CMD 1
20482 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20483 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20484 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20487 cat >conftest.$ac_ext <<_ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 #include <sys/types.h>
20494 #ifdef HAVE_SCSI_SG_H
20495 #include <scsi/sg.h>
20501 static sg_io_hdr_t ac_aggr;
20502 if (ac_aggr.interface_id)
20508 rm -f conftest.$ac_objext
20509 if { (ac_try="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20512 *) ac_try_echo
=$ac_try;;
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20517 grep -v '^ *+' conftest.er1
>conftest.err
20519 cat conftest.err
>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.
$ac_objext; then
20525 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.
$ac_ext >&5
20530 cat >conftest.
$ac_ext <<_ACEOF
20533 cat confdefs.h
>>conftest.
$ac_ext
20534 cat >>conftest.
$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 #include <sys/types.h>
20537 #ifdef HAVE_SCSI_SG_H
20538 #include <scsi/sg.h>
20544 static sg_io_hdr_t ac_aggr;
20545 if (sizeof ac_aggr.interface_id)
20551 rm -f conftest.
$ac_objext
20552 if { (ac_try
="$ac_compile"
20553 case "(($ac_try" in
20554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20555 *) ac_try_echo=$ac_try;;
20557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_compile") 2>conftest.er1
20560 grep -v '^ *+' conftest.er1 >conftest.err
20562 cat conftest.err >&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } && {
20565 test -z "$ac_c_werror_flag" ||
20566 test ! -s conftest.err
20567 } && test -s conftest.$ac_objext; then
20568 ac_cv_member_sg_io_hdr_t_interface_id=yes
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20573 ac_cv_member_sg_io_hdr_t_interface_id=no
20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20582 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20583 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20585 cat >>confdefs.h <<_ACEOF
20586 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20593 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20594 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20595 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20596 echo $ECHO_N "(cached) $ECHO_C" >&6
20598 cat >conftest.$ac_ext <<_ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 #include <signal.h>
20609 static siginfo_t ac_aggr;
20616 rm -f conftest.$ac_objext
20617 if { (ac_try="$ac_compile"
20618 case "(($ac_try" in
20619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20620 *) ac_try_echo
=$ac_try;;
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_compile") 2>conftest.er1
20625 grep -v '^ *+' conftest.er1
>conftest.err
20627 cat conftest.err
>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } && {
20630 test -z "$ac_c_werror_flag" ||
20631 test ! -s conftest.err
20632 } && test -s conftest.
$ac_objext; then
20633 ac_cv_member_siginfo_t_si_fd
=yes
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.
$ac_ext >&5
20638 cat >conftest.
$ac_ext <<_ACEOF
20641 cat confdefs.h
>>conftest.
$ac_ext
20642 cat >>conftest.
$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 #include <signal.h>
20649 static siginfo_t ac_aggr;
20650 if (sizeof ac_aggr.si_fd)
20656 rm -f conftest.
$ac_objext
20657 if { (ac_try
="$ac_compile"
20658 case "(($ac_try" in
20659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20660 *) ac_try_echo=$ac_try;;
20662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20663 (eval "$ac_compile") 2>conftest.er1
20665 grep -v '^ *+' conftest.er1 >conftest.err
20667 cat conftest.err >&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } && {
20670 test -z "$ac_c_werror_flag" ||
20671 test ! -s conftest.err
20672 } && test -s conftest.$ac_objext; then
20673 ac_cv_member_siginfo_t_si_fd=yes
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.$ac_ext >&5
20678 ac_cv_member_siginfo_t_si_fd=no
20681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20686 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20687 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20688 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20690 cat >>confdefs.h <<_ACEOF
20691 #define HAVE_SIGINFO_T_SI_FD 1
20698 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20699 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20700 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20701 echo $ECHO_N "(cached) $ECHO_C" >&6
20703 cat >conftest.$ac_ext <<_ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 #include <sys/types.h>
20710 #ifdef HAVE_SYS_MTIO_H
20711 #include <sys/mtio.h>
20717 static struct mtget ac_aggr;
20718 if (ac_aggr.mt_blksiz)
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20728 *) ac_try_echo
=$ac_try;;
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20733 grep -v '^ *+' conftest.er1
>conftest.err
20735 cat conftest.err
>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.
$ac_objext; then
20741 ac_cv_member_struct_mtget_mt_blksiz
=yes
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.
$ac_ext >&5
20746 cat >conftest.
$ac_ext <<_ACEOF
20749 cat confdefs.h
>>conftest.
$ac_ext
20750 cat >>conftest.
$ac_ext <<_ACEOF
20751 /* end confdefs.h. */
20752 #include <sys/types.h>
20753 #ifdef HAVE_SYS_MTIO_H
20754 #include <sys/mtio.h>
20760 static struct mtget ac_aggr;
20761 if (sizeof ac_aggr.mt_blksiz)
20767 rm -f conftest.
$ac_objext
20768 if { (ac_try
="$ac_compile"
20769 case "(($ac_try" in
20770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_compile") 2>conftest.er1
20776 grep -v '^ *+' conftest.er1 >conftest.err
20778 cat conftest.err >&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } && {
20781 test -z "$ac_c_werror_flag" ||
20782 test ! -s conftest.err
20783 } && test -s conftest.$ac_objext; then
20784 ac_cv_member_struct_mtget_mt_blksiz=yes
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20789 ac_cv_member_struct_mtget_mt_blksiz=no
20792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20797 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20798 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20799 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20801 cat >>confdefs.h <<_ACEOF
20802 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20807 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20808 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20809 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 cat >conftest.$ac_ext <<_ACEOF
20815 cat confdefs.h >>conftest.$ac_ext
20816 cat >>conftest.$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 #include <sys/types.h>
20819 #ifdef HAVE_SYS_MTIO_H
20820 #include <sys/mtio.h>
20826 static struct mtget ac_aggr;
20827 if (ac_aggr.mt_gstat)
20833 rm -f conftest.$ac_objext
20834 if { (ac_try="$ac_compile"
20835 case "(($ac_try" in
20836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20837 *) ac_try_echo
=$ac_try;;
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_compile") 2>conftest.er1
20842 grep -v '^ *+' conftest.er1
>conftest.err
20844 cat conftest.err
>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } && {
20847 test -z "$ac_c_werror_flag" ||
20848 test ! -s conftest.err
20849 } && test -s conftest.
$ac_objext; then
20850 ac_cv_member_struct_mtget_mt_gstat
=yes
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.
$ac_ext >&5
20855 cat >conftest.
$ac_ext <<_ACEOF
20858 cat confdefs.h
>>conftest.
$ac_ext
20859 cat >>conftest.
$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 #include <sys/types.h>
20862 #ifdef HAVE_SYS_MTIO_H
20863 #include <sys/mtio.h>
20869 static struct mtget ac_aggr;
20870 if (sizeof ac_aggr.mt_gstat)
20876 rm -f conftest.
$ac_objext
20877 if { (ac_try
="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20885 grep -v '^ *+' conftest.er1 >conftest.err
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 ac_cv_member_struct_mtget_mt_gstat=yes
20895 echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20898 ac_cv_member_struct_mtget_mt_gstat=no
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20907 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20908 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20910 cat >>confdefs.h <<_ACEOF
20911 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20916 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20917 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20918 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 cat >conftest.$ac_ext <<_ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 #include <sys/types.h>
20928 #ifdef HAVE_SYS_MTIO_H
20929 #include <sys/mtio.h>
20935 static struct mtget ac_aggr;
20936 if (ac_aggr.mt_blkno)
20942 rm -f conftest.$ac_objext
20943 if { (ac_try="$ac_compile"
20944 case "(($ac_try" in
20945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20946 *) ac_try_echo
=$ac_try;;
20948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20949 (eval "$ac_compile") 2>conftest.er1
20951 grep -v '^ *+' conftest.er1
>conftest.err
20953 cat conftest.err
>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } && {
20956 test -z "$ac_c_werror_flag" ||
20957 test ! -s conftest.err
20958 } && test -s conftest.
$ac_objext; then
20959 ac_cv_member_struct_mtget_mt_blkno
=yes
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20964 cat >conftest.
$ac_ext <<_ACEOF
20967 cat confdefs.h
>>conftest.
$ac_ext
20968 cat >>conftest.
$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20970 #include <sys/types.h>
20971 #ifdef HAVE_SYS_MTIO_H
20972 #include <sys/mtio.h>
20978 static struct mtget ac_aggr;
20979 if (sizeof ac_aggr.mt_blkno)
20985 rm -f conftest.
$ac_objext
20986 if { (ac_try
="$ac_compile"
20987 case "(($ac_try" in
20988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20989 *) ac_try_echo=$ac_try;;
20991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20992 (eval "$ac_compile") 2>conftest.er1
20994 grep -v '^ *+' conftest.er1 >conftest.err
20996 cat conftest.err >&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } && {
20999 test -z "$ac_c_werror_flag" ||
21000 test ! -s conftest.err
21001 } && test -s conftest.$ac_objext; then
21002 ac_cv_member_struct_mtget_mt_blkno=yes
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21007 ac_cv_member_struct_mtget_mt_blkno=no
21010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21015 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
21016 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
21017 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
21019 cat >>confdefs.h <<_ACEOF
21020 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
21027 { echo "$as_me:$LINENO: checking for struct option.name" >&5
21028 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
21029 if test "${ac_cv_member_struct_option_name+set}" = set; then
21030 echo $ECHO_N "(cached) $ECHO_C" >&6
21032 cat >conftest.$ac_ext <<_ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 #ifdef HAVE_GETOPT_H
21039 #include <getopt.h>
21045 static struct option ac_aggr;
21052 rm -f conftest.$ac_objext
21053 if { (ac_try="$ac_compile"
21054 case "(($ac_try" in
21055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21056 *) ac_try_echo
=$ac_try;;
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_compile") 2>conftest.er1
21061 grep -v '^ *+' conftest.er1
>conftest.err
21063 cat conftest.err
>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } && {
21066 test -z "$ac_c_werror_flag" ||
21067 test ! -s conftest.err
21068 } && test -s conftest.
$ac_objext; then
21069 ac_cv_member_struct_option_name
=yes
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.
$ac_ext >&5
21074 cat >conftest.
$ac_ext <<_ACEOF
21077 cat confdefs.h
>>conftest.
$ac_ext
21078 cat >>conftest.
$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 #ifdef HAVE_GETOPT_H
21081 #include <getopt.h>
21087 static struct option ac_aggr;
21088 if (sizeof ac_aggr.name)
21094 rm -f conftest.
$ac_objext
21095 if { (ac_try
="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21103 grep -v '^ *+' conftest.er1 >conftest.err
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.$ac_objext; then
21111 ac_cv_member_struct_option_name=yes
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21116 ac_cv_member_struct_option_name=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
21125 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
21126 if test $ac_cv_member_struct_option_name = yes; then
21128 cat >>confdefs.h <<_ACEOF
21129 #define HAVE_STRUCT_OPTION_NAME 1
21136 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
21137 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
21138 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21141 cat >conftest.$ac_ext <<_ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21151 static struct stat ac_aggr;
21152 if (ac_aggr.st_blocks)
21158 rm -f conftest.$ac_objext
21159 if { (ac_try="$ac_compile"
21160 case "(($ac_try" in
21161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21162 *) ac_try_echo
=$ac_try;;
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_compile") 2>conftest.er1
21167 grep -v '^ *+' conftest.er1
>conftest.err
21169 cat conftest.err
>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && {
21172 test -z "$ac_c_werror_flag" ||
21173 test ! -s conftest.err
21174 } && test -s conftest.
$ac_objext; then
21175 ac_cv_member_struct_stat_st_blocks
=yes
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.
$ac_ext >&5
21180 cat >conftest.
$ac_ext <<_ACEOF
21183 cat confdefs.h
>>conftest.
$ac_ext
21184 cat >>conftest.
$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21186 $ac_includes_default
21190 static struct stat ac_aggr;
21191 if (sizeof ac_aggr.st_blocks)
21197 rm -f conftest.
$ac_objext
21198 if { (ac_try
="$ac_compile"
21199 case "(($ac_try" in
21200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21201 *) ac_try_echo=$ac_try;;
21203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21204 (eval "$ac_compile") 2>conftest.er1
21206 grep -v '^ *+' conftest.er1 >conftest.err
21208 cat conftest.err >&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); } && {
21211 test -z "$ac_c_werror_flag" ||
21212 test ! -s conftest.err
21213 } && test -s conftest.$ac_objext; then
21214 ac_cv_member_struct_stat_st_blocks=yes
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 ac_cv_member_struct_stat_st_blocks=no
21222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21228 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21229 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21231 cat >>confdefs.h <<_ACEOF
21232 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21239 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21240 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21241 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21244 cat >conftest.$ac_ext <<_ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 #ifdef HAVE_SYS_TYPES_H
21251 #include <sys/types.h>
21253 #ifdef HAVE_NETINET_IN_H
21254 #include <netinet/in.h>
21260 static struct sockaddr_in6 ac_aggr;
21261 if (ac_aggr.sin6_scope_id)
21267 rm -f conftest.$ac_objext
21268 if { (ac_try="$ac_compile"
21269 case "(($ac_try" in
21270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21271 *) ac_try_echo
=$ac_try;;
21273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_compile") 2>conftest.er1
21276 grep -v '^ *+' conftest.er1
>conftest.err
21278 cat conftest.err
>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } && {
21281 test -z "$ac_c_werror_flag" ||
21282 test ! -s conftest.err
21283 } && test -s conftest.
$ac_objext; then
21284 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.
$ac_ext >&5
21289 cat >conftest.
$ac_ext <<_ACEOF
21292 cat confdefs.h
>>conftest.
$ac_ext
21293 cat >>conftest.
$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 #ifdef HAVE_SYS_TYPES_H
21296 #include <sys/types.h>
21298 #ifdef HAVE_NETINET_IN_H
21299 #include <netinet/in.h>
21305 static struct sockaddr_in6 ac_aggr;
21306 if (sizeof ac_aggr.sin6_scope_id)
21312 rm -f conftest.
$ac_objext
21313 if { (ac_try
="$ac_compile"
21314 case "(($ac_try" in
21315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21316 *) ac_try_echo=$ac_try;;
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_compile") 2>conftest.er1
21321 grep -v '^ *+' conftest.er1 >conftest.err
21323 cat conftest.err >&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } && {
21326 test -z "$ac_c_werror_flag" ||
21327 test ! -s conftest.err
21328 } && test -s conftest.$ac_objext; then
21329 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.$ac_ext >&5
21334 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21343 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21344 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21346 cat >>confdefs.h <<_ACEOF
21347 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21354 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21355 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21356 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 cat >conftest.$ac_ext <<_ACEOF
21362 cat confdefs.h >>conftest.$ac_ext
21363 cat >>conftest.$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21365 #ifdef HAVE_SYS_TYPES_H
21366 #include <sys/types.h>
21368 #ifdef HAVE_NETINET_IN_H
21369 # include <netinet/in.h>
21371 #ifdef HAVE_ARPA_NAMESER_H
21372 # include <arpa/nameser.h>
21378 static ns_msg ac_aggr;
21379 if (ac_aggr._msg_ptr)
21385 rm -f conftest.$ac_objext
21386 if { (ac_try="$ac_compile"
21387 case "(($ac_try" in
21388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21389 *) ac_try_echo
=$ac_try;;
21391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21392 (eval "$ac_compile") 2>conftest.er1
21394 grep -v '^ *+' conftest.er1
>conftest.err
21396 cat conftest.err
>&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } && {
21399 test -z "$ac_c_werror_flag" ||
21400 test ! -s conftest.err
21401 } && test -s conftest.
$ac_objext; then
21402 ac_cv_member_ns_msg__msg_ptr
=yes
21404 echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.
$ac_ext >&5
21407 cat >conftest.
$ac_ext <<_ACEOF
21410 cat confdefs.h
>>conftest.
$ac_ext
21411 cat >>conftest.
$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 #ifdef HAVE_SYS_TYPES_H
21414 #include <sys/types.h>
21416 #ifdef HAVE_NETINET_IN_H
21417 # include <netinet/in.h>
21419 #ifdef HAVE_ARPA_NAMESER_H
21420 # include <arpa/nameser.h>
21426 static ns_msg ac_aggr;
21427 if (sizeof ac_aggr._msg_ptr)
21433 rm -f conftest.
$ac_objext
21434 if { (ac_try
="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21442 grep -v '^ *+' conftest.er1 >conftest.err
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } && {
21447 test -z "$ac_c_werror_flag" ||
21448 test ! -s conftest.err
21449 } && test -s conftest.$ac_objext; then
21450 ac_cv_member_ns_msg__msg_ptr=yes
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21455 ac_cv_member_ns_msg__msg_ptr=no
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21464 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21465 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21467 cat >>confdefs.h <<_ACEOF
21468 #define HAVE_NS_MSG__MSG_PTR 1
21475 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21476 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21477 if test "${ac_cv_have_timezone+set}" = set; then
21478 echo $ECHO_N "(cached) $ECHO_C" >&6
21480 cat >conftest.$ac_ext <<_ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21495 rm -f conftest.$ac_objext conftest$ac_exeext
21496 if { (ac_try="$ac_link"
21497 case "(($ac_try" in
21498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21499 *) ac_try_echo
=$ac_try;;
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_link") 2>conftest.er1
21504 grep -v '^ *+' conftest.er1
>conftest.err
21506 cat conftest.err
>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && {
21509 test -z "$ac_c_werror_flag" ||
21510 test ! -s conftest.err
21511 } && test -s conftest
$ac_exeext &&
21512 $as_test_x conftest
$ac_exeext; then
21513 ac_cv_have_timezone
="yes"
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.
$ac_ext >&5
21518 ac_cv_have_timezone
="no"
21521 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21522 conftest
$ac_exeext conftest.
$ac_ext
21524 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21525 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21526 if test "$ac_cv_have_timezone" = "yes"
21529 cat >>confdefs.h
<<\_ACEOF
21530 #define HAVE_TIMEZONE 1
21534 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21535 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21536 if test "${ac_cv_have_daylight+set}" = set; then
21537 echo $ECHO_N "(cached) $ECHO_C" >&6
21539 cat >conftest.
$ac_ext <<_ACEOF
21542 cat confdefs.h
>>conftest.
$ac_ext
21543 cat >>conftest.
$ac_ext <<_ACEOF
21544 /* end confdefs.h. */
21554 rm -f conftest.
$ac_objext conftest
$ac_exeext
21555 if { (ac_try
="$ac_link"
21556 case "(($ac_try" in
21557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_link") 2>conftest.er1
21563 grep -v '^ *+' conftest.er1 >conftest.err
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && {
21568 test -z "$ac_c_werror_flag" ||
21569 test ! -s conftest.err
21570 } && test -s conftest$ac_exeext &&
21571 $as_test_x conftest$ac_exeext; then
21572 ac_cv_have_daylight="yes"
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ac_cv_have_daylight="no"
21580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21581 conftest$ac_exeext conftest.$ac_ext
21583 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21584 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21585 if test "$ac_cv_have_daylight" = "yes"
21588 cat >>confdefs.h <<\_ACEOF
21589 #define HAVE_DAYLIGHT 1
21594 { echo "$as_me:$LINENO: checking for isinf" >&5
21595 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21596 if test "${ac_cv_have_isinf+set}" = set; then
21597 echo $ECHO_N "(cached) $ECHO_C" >&6
21599 cat >conftest.$ac_ext <<_ACEOF
21602 cat confdefs.h >>conftest.$ac_ext
21603 cat >>conftest.$ac_ext <<_ACEOF
21604 /* end confdefs.h. */
21609 float f = 0.0; int i=isinf(f)
21614 rm -f conftest.$ac_objext conftest$ac_exeext
21615 if { (ac_try="$ac_link"
21616 case "(($ac_try" in
21617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21618 *) ac_try_echo
=$ac_try;;
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_link") 2>conftest.er1
21623 grep -v '^ *+' conftest.er1
>conftest.err
21625 cat conftest.err
>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } && {
21628 test -z "$ac_c_werror_flag" ||
21629 test ! -s conftest.err
21630 } && test -s conftest
$ac_exeext &&
21631 $as_test_x conftest
$ac_exeext; then
21632 ac_cv_have_isinf
="yes"
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.
$ac_ext >&5
21637 ac_cv_have_isinf
="no"
21640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21641 conftest
$ac_exeext conftest.
$ac_ext
21643 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21644 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21645 if test "$ac_cv_have_isinf" = "yes"
21648 cat >>confdefs.h
<<\_ACEOF
21649 #define HAVE_ISINF 1
21656 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21657 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21658 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21659 echo $ECHO_N "(cached) $ECHO_C" >&6
21661 cat >conftest.
$ac_ext <<_ACEOF
21664 cat confdefs.h
>>conftest.
$ac_ext
21665 cat >>conftest.
$ac_ext <<_ACEOF
21666 /* end confdefs.h. */
21671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21672 $EGREP "yes" >/dev
/null
2>&1; then
21673 ac_cv_cpp_def___i386__
=yes
21675 ac_cv_cpp_def___i386__
=no
21680 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21681 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21682 if test $ac_cv_cpp_def___i386__ = yes; then
21683 CFLAGS
="$CFLAGS -D__i386__"
21684 LINTFLAGS
="$LINTFLAGS -D__i386__"
21687 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21688 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21689 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 cat >conftest.
$ac_ext <<_ACEOF
21695 cat confdefs.h
>>conftest.
$ac_ext
21696 cat >>conftest.
$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21703 $EGREP "yes" >/dev
/null
2>&1; then
21704 ac_cv_cpp_def___x86_64__
=yes
21706 ac_cv_cpp_def___x86_64__
=no
21711 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21712 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21713 if test $ac_cv_cpp_def___x86_64__ = yes; then
21714 CFLAGS
="$CFLAGS -D__x86_64__"
21715 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21718 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21719 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21720 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21721 echo $ECHO_N "(cached) $ECHO_C" >&6
21723 cat >conftest.
$ac_ext <<_ACEOF
21726 cat confdefs.h
>>conftest.
$ac_ext
21727 cat >>conftest.
$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21734 $EGREP "yes" >/dev
/null
2>&1; then
21735 ac_cv_cpp_def___ALPHA__
=yes
21737 ac_cv_cpp_def___ALPHA__
=no
21742 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21743 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21744 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21745 CFLAGS
="$CFLAGS -D__ALPHA__"
21746 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21749 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21750 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21751 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21754 cat >conftest.
$ac_ext <<_ACEOF
21757 cat confdefs.h
>>conftest.
$ac_ext
21758 cat >>conftest.
$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21765 $EGREP "yes" >/dev
/null
2>&1; then
21766 ac_cv_cpp_def___sparc__
=yes
21768 ac_cv_cpp_def___sparc__
=no
21773 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21774 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21775 if test $ac_cv_cpp_def___sparc__ = yes; then
21776 CFLAGS
="$CFLAGS -D__sparc__"
21777 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21780 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21781 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21782 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21783 echo $ECHO_N "(cached) $ECHO_C" >&6
21785 cat >conftest.
$ac_ext <<_ACEOF
21788 cat confdefs.h
>>conftest.
$ac_ext
21789 cat >>conftest.
$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 #ifndef __powerpc__
21795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21796 $EGREP "yes" >/dev
/null
2>&1; then
21797 ac_cv_cpp_def___powerpc__
=yes
21799 ac_cv_cpp_def___powerpc__
=no
21804 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21805 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21806 if test $ac_cv_cpp_def___powerpc__ = yes; then
21807 CFLAGS
="$CFLAGS -D__powerpc__"
21808 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21813 case $host_vendor in
21814 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21815 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21816 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 cat >conftest.
$ac_ext <<_ACEOF
21822 cat confdefs.h
>>conftest.
$ac_ext
21823 cat >>conftest.
$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21830 $EGREP "yes" >/dev
/null
2>&1; then
21831 ac_cv_cpp_def___sun__
=yes
21833 ac_cv_cpp_def___sun__
=no
21838 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21839 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21840 if test $ac_cv_cpp_def___sun__ = yes; then
21841 CFLAGS
="$CFLAGS -D__sun__"
21842 LINTFLAGS
="$LINTFLAGS -D__sun__"
21848 DEPENDENCIES
="### Dependencies:
21853 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21855 \$(OBJS): \$(IDL_GEN_HEADERS)
21856 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21857 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21858 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21859 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21865 ac_config_commands
="$ac_config_commands include/stamp-h"
21868 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21870 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21872 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21874 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21876 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21878 ac_config_commands
="$ac_config_commands include/wine"
21881 MAKE_RULES
=Make.rules
21884 MAKE_DLL_RULES
=dlls
/Makedll.rules
21887 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21890 MAKE_TEST_RULES
=dlls
/Maketest.rules
21893 MAKE_PROG_RULES
=programs
/Makeprog.rules
21896 ac_config_files
="$ac_config_files Make.rules"
21898 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21900 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21902 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21904 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21906 ac_config_files
="$ac_config_files Makefile"
21908 ac_config_files
="$ac_config_files dlls/Makefile"
21910 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21912 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21914 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21916 ac_config_files
="$ac_config_files dlls/adsiid/Makefile"
21918 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21920 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21922 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21924 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21926 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21928 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21930 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21932 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21934 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21936 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21938 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21940 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21942 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21944 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21946 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21948 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21950 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21952 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21954 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21956 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21958 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21960 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21962 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21964 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21966 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21968 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21970 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21972 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21974 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
21976 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
21978 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
21980 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
21982 ac_config_files
="$ac_config_files dlls/cryptui/Makefile"
21984 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
21986 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
21988 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
21990 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
21992 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
21994 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
21996 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
21998 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
22000 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
22002 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
22004 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
22006 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
22008 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
22010 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
22012 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
22014 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
22016 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
22018 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
22020 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
22022 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
22024 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
22026 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
22028 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
22030 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
22032 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
22034 ac_config_files
="$ac_config_files dlls/d3dx9_36/tests/Makefile"
22036 ac_config_files
="$ac_config_files dlls/d3dx9_37/Makefile"
22038 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
22040 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
22042 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
22044 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
22046 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
22048 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
22050 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
22052 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
22054 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
22056 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
22058 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
22060 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
22062 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
22064 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
22066 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
22068 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
22070 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
22072 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
22074 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
22076 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
22078 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
22080 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
22082 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
22084 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
22086 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
22088 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
22090 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
22092 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
22094 ac_config_files
="$ac_config_files dlls/dpwsockx/Makefile"
22096 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
22098 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
22100 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
22102 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
22104 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
22106 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
22108 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
22110 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
22112 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
22114 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
22116 ac_config_files
="$ac_config_files dlls/fusion/Makefile"
22118 ac_config_files
="$ac_config_files dlls/fusion/tests/Makefile"
22120 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
22122 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
22124 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
22126 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
22128 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
22130 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
22132 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
22134 ac_config_files
="$ac_config_files dlls/hal/Makefile"
22136 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
22138 ac_config_files
="$ac_config_files dlls/hid/Makefile"
22140 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
22142 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
22144 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
22146 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
22148 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
22150 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
22152 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
22154 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
22156 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
22158 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
22160 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
22162 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
22164 ac_config_files
="$ac_config_files dlls/inetmib1/Makefile"
22166 ac_config_files
="$ac_config_files dlls/inetmib1/tests/Makefile"
22168 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
22170 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
22172 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
22174 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
22176 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
22178 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
22180 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
22182 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
22184 ac_config_files
="$ac_config_files dlls/itss/Makefile"
22186 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
22188 ac_config_files
="$ac_config_files dlls/jscript/Makefile"
22190 ac_config_files
="$ac_config_files dlls/jscript/tests/Makefile"
22192 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
22194 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
22196 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
22198 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
22200 ac_config_files
="$ac_config_files dlls/localui/Makefile"
22202 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
22204 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
22206 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
22208 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
22210 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
22212 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
22214 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
22216 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
22218 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
22220 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
22222 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
22224 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
22226 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22228 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
22230 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
22232 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
22234 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
22236 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
22238 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
22240 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
22242 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
22244 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
22246 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
22248 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
22250 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
22252 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
22254 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
22256 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
22258 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
22260 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
22262 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
22264 ac_config_files
="$ac_config_files dlls/msi/Makefile"
22266 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
22268 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
22270 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
22272 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
22274 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
22276 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
22278 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
22280 ac_config_files
="$ac_config_files dlls/mstask/Makefile"
22282 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
22284 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
22286 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
22288 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
22290 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
22292 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
22294 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
22296 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
22298 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
22300 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
22302 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
22304 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
22306 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
22308 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
22310 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
22312 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
22314 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
22316 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
22318 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
22320 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
22322 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
22324 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22326 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
22328 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
22330 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
22332 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
22334 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
22336 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
22338 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
22340 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
22342 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
22344 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
22346 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
22348 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
22350 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
22352 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
22354 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
22356 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
22358 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
22360 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
22362 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
22364 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
22366 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
22368 ac_config_files
="$ac_config_files dlls/printui/Makefile"
22370 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
22372 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
22374 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
22376 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
22378 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
22380 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
22382 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
22384 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
22386 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
22388 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
22390 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
22392 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
22394 ac_config_files
="$ac_config_files dlls/query/Makefile"
22396 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
22398 ac_config_files
="$ac_config_files dlls/rasapi32/tests/Makefile"
22400 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
22402 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
22404 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
22406 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
22408 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
22410 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
22412 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
22414 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
22416 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
22418 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
22420 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
22422 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
22424 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
22426 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
22428 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
22430 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
22432 ac_config_files
="$ac_config_files dlls/security/Makefile"
22434 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
22436 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
22438 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
22440 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
22442 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
22444 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
22446 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
22448 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
22450 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
22452 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
22454 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
22456 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
22458 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
22460 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
22462 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
22464 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
22466 ac_config_files
="$ac_config_files dlls/slc/Makefile"
22468 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
22470 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
22472 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
22474 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
22476 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
22478 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
22480 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
22482 ac_config_files
="$ac_config_files dlls/sti/Makefile"
22484 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
22486 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
22488 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
22490 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
22492 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
22494 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
22496 ac_config_files
="$ac_config_files dlls/url/Makefile"
22498 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
22500 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
22502 ac_config_files
="$ac_config_files dlls/user32/Makefile"
22504 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
22506 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
22508 ac_config_files
="$ac_config_files dlls/userenv/tests/Makefile"
22510 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
22512 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
22514 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
22516 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
22518 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
22520 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
22522 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
22524 ac_config_files
="$ac_config_files dlls/version/Makefile"
22526 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
22528 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
22530 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
22532 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
22534 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
22536 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
22538 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
22540 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
22542 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
22544 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22546 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
22548 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
22550 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
22552 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
22554 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
22556 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
22558 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
22560 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
22562 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
22564 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
22566 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
22568 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
22570 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
22572 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
22574 ac_config_files
="$ac_config_files dlls/winhttp/tests/Makefile"
22576 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
22578 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
22580 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
22582 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
22584 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
22586 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
22588 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
22590 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
22592 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
22594 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
22596 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
22598 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
22600 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
22602 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
22604 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
22606 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
22608 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
22610 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
22612 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
22614 ac_config_files
="$ac_config_files documentation/Makefile"
22616 ac_config_files
="$ac_config_files fonts/Makefile"
22618 ac_config_files
="$ac_config_files include/Makefile"
22620 ac_config_files
="$ac_config_files libs/Makefile"
22622 ac_config_files
="$ac_config_files libs/port/Makefile"
22624 ac_config_files
="$ac_config_files libs/wine/Makefile"
22626 ac_config_files
="$ac_config_files libs/wpp/Makefile"
22628 ac_config_files
="$ac_config_files loader/Makefile"
22630 ac_config_files
="$ac_config_files programs/Makefile"
22632 ac_config_files
="$ac_config_files programs/clock/Makefile"
22634 ac_config_files
="$ac_config_files programs/cmd/Makefile"
22636 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
22638 ac_config_files
="$ac_config_files programs/control/Makefile"
22640 ac_config_files
="$ac_config_files programs/eject/Makefile"
22642 ac_config_files
="$ac_config_files programs/expand/Makefile"
22644 ac_config_files
="$ac_config_files programs/explorer/Makefile"
22646 ac_config_files
="$ac_config_files programs/hh/Makefile"
22648 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
22650 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
22652 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
22654 ac_config_files
="$ac_config_files programs/net/Makefile"
22656 ac_config_files
="$ac_config_files programs/notepad/Makefile"
22658 ac_config_files
="$ac_config_files programs/oleview/Makefile"
22660 ac_config_files
="$ac_config_files programs/progman/Makefile"
22662 ac_config_files
="$ac_config_files programs/reg/Makefile"
22664 ac_config_files
="$ac_config_files programs/regedit/Makefile"
22666 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
22668 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
22670 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
22672 ac_config_files
="$ac_config_files programs/secedit/Makefile"
22674 ac_config_files
="$ac_config_files programs/services/Makefile"
22676 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
22678 ac_config_files
="$ac_config_files programs/start/Makefile"
22680 ac_config_files
="$ac_config_files programs/svchost/Makefile"
22682 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
22684 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
22686 ac_config_files
="$ac_config_files programs/view/Makefile"
22688 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
22690 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
22692 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
22694 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
22696 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
22698 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
22700 ac_config_files
="$ac_config_files programs/winefile/Makefile"
22702 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
22704 ac_config_files
="$ac_config_files programs/winemine/Makefile"
22706 ac_config_files
="$ac_config_files programs/winepath/Makefile"
22708 ac_config_files
="$ac_config_files programs/winetest/Makefile"
22710 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
22712 ac_config_files
="$ac_config_files programs/winhlp32/Makefile"
22714 ac_config_files
="$ac_config_files programs/winver/Makefile"
22716 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
22718 ac_config_files
="$ac_config_files programs/write/Makefile"
22720 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
22722 ac_config_files
="$ac_config_files server/Makefile"
22724 ac_config_files
="$ac_config_files tools/Makefile"
22726 ac_config_files
="$ac_config_files tools/widl/Makefile"
22728 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
22730 ac_config_files
="$ac_config_files tools/winedump/Makefile"
22732 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
22734 ac_config_files
="$ac_config_files tools/wmc/Makefile"
22736 ac_config_files
="$ac_config_files tools/wrc/Makefile"
22739 cat >confcache
<<\_ACEOF
22740 # This file is a shell script that caches the results of configure
22741 # tests run on this system so they can be shared between configure
22742 # scripts and configure runs, see configure's option --config-cache.
22743 # It is not useful on other systems. If it contains results you don't
22744 # want to keep, you may remove or edit it.
22746 # config.status only pays attention to the cache file if you give it
22747 # the --recheck option to rerun configure.
22749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22751 # following values.
22755 # The following way of writing the cache mishandles newlines in values,
22756 # but we know of no workaround that is simple, portable, and efficient.
22757 # So, we kill variables containing newlines.
22758 # Ultrix sh set writes to stderr and can't be redirected directly,
22759 # and sets the high bit in the cache file unless we assign to the vars.
22761 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22762 eval ac_val
=\$
$ac_var
22766 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22767 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22770 _ | IFS | as_nl
) ;; #(
22771 *) $as_unset $ac_var ;;
22777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22778 *${as_nl}ac_space
=\
*)
22779 # `set' does not quote correctly, so add quotes (double-quote
22780 # substitution turns \\\\ into \\, and sed turns \\ into \).
22783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22786 # `set' quotes correctly as required by POSIX, so do not add quotes.
22787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22800 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22801 if test -w "$cache_file"; then
22802 test "x$cache_file" != "x/dev/null" &&
22803 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22804 echo "$as_me: updating cache $cache_file" >&6;}
22805 cat confcache
>$cache_file
22807 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22808 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22813 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22814 # Let make expand exec_prefix.
22815 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22817 DEFS
=-DHAVE_CONFIG_H
22821 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22822 # 1. Remove the extension, and $U if already installed.
22823 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22824 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22826 # will be set to the directory where LIBOBJS objects are built.
22827 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22828 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22830 LIBOBJS
=$ac_libobjs
22832 LTLIBOBJS
=$ac_ltlibobjs
22836 : ${CONFIG_STATUS=./config.status}
22837 ac_clean_files_save
=$ac_clean_files
22838 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22839 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22840 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22841 cat >$CONFIG_STATUS <<_ACEOF
22843 # Generated by $as_me.
22844 # Run this file to recreate the current configuration.
22845 # Compiler output produced by configure, useful for debugging
22846 # configure, is in config.log if it exists.
22849 ac_cs_recheck=false
22851 SHELL=\${CONFIG_SHELL-$SHELL}
22854 cat >>$CONFIG_STATUS <<\_ACEOF
22855 ## --------------------- ##
22856 ## M4sh Initialization. ##
22857 ## --------------------- ##
22859 # Be more Bourne compatible
22860 DUALCASE
=1; export DUALCASE
# for MKS sh
22861 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22864 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22865 # is contrary to our usage. Disable this feature.
22866 alias -g '${1+"$@"}'='"$@"'
22867 setopt NO_GLOB_SUBST
22869 case `(set -o) 2>/dev/null` in
22870 *posix
*) set -o posix
;;
22879 # Avoid depending upon Character Ranges.
22880 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22881 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22882 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22883 as_cr_digits
='0123456789'
22884 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22886 # The user is always right.
22887 if test "${PATH_SEPARATOR+set}" != set; then
22888 echo "#! /bin/sh" >conf$$.sh
22889 echo "exit 0" >>conf$$.sh
22891 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22899 # Support unset when possible.
22900 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22908 # We need space, tab and new line, in precisely that order. Quoting is
22909 # there to prevent editors from complaining about space-tab.
22910 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22911 # splitting by setting IFS to empty value.)
22916 # Find who we are. Look in the path if we contain no directory separator.
22918 *[\\/]* ) as_myself
=$0 ;;
22919 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22920 for as_dir
in $PATH
22923 test -z "$as_dir" && as_dir
=.
22924 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22930 # We did not find ourselves, most probably we were run as `sh COMMAND'
22931 # in which case we are not to be found in the path.
22932 if test "x$as_myself" = x
; then
22935 if test ! -f "$as_myself"; then
22936 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22937 { (exit 1); exit 1; }
22940 # Work around bugs in pre-3.0 UWIN ksh.
22941 for as_var
in ENV MAIL MAILPATH
22942 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22950 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22951 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22952 LC_TELEPHONE LC_TIME
22954 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22955 eval $as_var=C
; export $as_var
22957 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22961 # Required to use basename.
22962 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22963 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22969 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22970 as_basename
=basename
22976 # Name of the executable.
22977 as_me
=`$as_basename -- "$0" ||
22978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22979 X"$0" : 'X\(//\)$' \| \
22980 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22982 sed '/^.*\/\([^/][^/]*\)\/*$/{
23001 as_lineno_1
=$LINENO
23002 as_lineno_2
=$LINENO
23003 test "x$as_lineno_1" != "x$as_lineno_2" &&
23004 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23006 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23007 # uniformly replaced by the line number. The first 'sed' inserts a
23008 # line-number line after each line using $LINENO; the second 'sed'
23009 # does the real work. The second script uses 'N' to pair each
23010 # line-number line with the line containing $LINENO, and appends
23011 # trailing '-' during substitution so that $LINENO is not a special
23012 # case at line end.
23013 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23014 # scripts with optimization help from Paolo Bonzini. Blame Lee
23015 # E. McMahon (1931-1989) for sed's syntax. :-)
23027 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23030 ' >$as_me.lineno
&&
23031 chmod +x
"$as_me.lineno" ||
23032 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23033 { (exit 1); exit 1; }; }
23035 # Don't try to exec as it changes $[0], causing all sort of problems
23036 # (the dirname of $[0] is not the place where we might find the
23037 # original and so on. Autoconf is especially sensitive to this).
23038 .
"./$as_me.lineno"
23039 # Exit status is that of the last command.
23044 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23050 ECHO_C
= ECHO_N
= ECHO_T
=
23051 case `echo -n x` in
23053 case `echo 'x\c'` in
23054 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23061 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23062 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23068 rm -f conf$$ conf$$.exe conf$$.
file
23069 if test -d conf$$.dir
; then
23070 rm -f conf$$.dir
/conf$$.
file
23076 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23078 # ... but there are two gotchas:
23079 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23080 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23081 # In both cases, we have to default to `cp -p'.
23082 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23084 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23089 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23090 rmdir conf$$.dir
2>/dev
/null
23092 if mkdir
-p .
2>/dev
/null
; then
23095 test -d .
/-p && rmdir .
/-p
23099 if test -x / >/dev
/null
2>&1; then
23100 as_test_x
='test -x'
23102 if ls -dL / >/dev
/null
2>&1; then
23109 if test -d "$1"; then
23115 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23116 ???[sx]*):;;*)false;;esac;fi
23120 as_executable_p
=$as_test_x
23122 # Sed expression to map a string onto a valid CPP name.
23123 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23125 # Sed expression to map a string onto a valid variable name.
23126 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23131 # Save the log message, to keep $[0] and so on meaningful, and to
23132 # report actual input values of CONFIG_FILES etc. instead of their
23133 # values after options handling.
23135 This file was extended by Wine $as_me 1.1.1, which was
23136 generated by GNU Autoconf 2.61. Invocation command line was
23138 CONFIG_FILES = $CONFIG_FILES
23139 CONFIG_HEADERS = $CONFIG_HEADERS
23140 CONFIG_LINKS = $CONFIG_LINKS
23141 CONFIG_COMMANDS = $CONFIG_COMMANDS
23144 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23149 cat >>$CONFIG_STATUS <<_ACEOF
23150 # Files that config.status was made for.
23151 config_files="$ac_config_files"
23152 config_headers="$ac_config_headers"
23153 config_commands="$ac_config_commands"
23157 cat >>$CONFIG_STATUS <<\_ACEOF
23159 \`$as_me' instantiates files from templates according to the
23160 current configuration.
23162 Usage: $0 [OPTIONS] [FILE]...
23164 -h, --help print this help, then exit
23165 -V, --version print version number and configuration settings, then exit
23166 -q, --quiet do not print progress messages
23167 -d, --debug don't remove temporary files
23168 --recheck update $as_me by reconfiguring in the same conditions
23169 --file=FILE[:TEMPLATE]
23170 instantiate the configuration file FILE
23171 --header=FILE[:TEMPLATE]
23172 instantiate the configuration header FILE
23174 Configuration files:
23177 Configuration headers:
23180 Configuration commands:
23183 Report bugs to <bug-autoconf@gnu.org>."
23186 cat >>$CONFIG_STATUS <<_ACEOF
23188 Wine config.status 1.1.1
23189 configured by $0, generated by GNU Autoconf 2.61,
23190 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23192 Copyright (C) 2006 Free Software Foundation, Inc.
23193 This config.status script is free software; the Free Software Foundation
23194 gives unlimited permission to copy, distribute and modify it."
23201 cat >>$CONFIG_STATUS <<\_ACEOF
23202 # If no file are specified by the user, then we need to provide default
23203 # value. By we need to know if files were specified by the user.
23209 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23210 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23221 # Handling of the options.
23222 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23224 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23225 echo "$ac_cs_version"; exit ;;
23226 --debug |
--debu |
--deb |
--de |
--d |
-d )
23228 --file |
--fil |
--fi |
--f )
23230 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23231 ac_need_defaults
=false
;;
23232 --header |
--heade |
--head |
--hea )
23234 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23235 ac_need_defaults
=false
;;
23237 # Conflict between --help and --header
23238 { echo "$as_me: error: ambiguous option: $1
23239 Try \`$0 --help' for more information." >&2
23240 { (exit 1); exit 1; }; };;
23241 --help |
--hel |
-h )
23242 echo "$ac_cs_usage"; exit ;;
23243 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23244 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23247 # This is an error.
23248 -*) { echo "$as_me: error: unrecognized option: $1
23249 Try \`$0 --help' for more information." >&2
23250 { (exit 1); exit 1; }; } ;;
23252 *) ac_config_targets
="$ac_config_targets $1"
23253 ac_need_defaults
=false
;;
23259 ac_configure_extra_args
=
23261 if $ac_cs_silent; then
23263 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23267 cat >>$CONFIG_STATUS <<_ACEOF
23268 if \$ac_cs_recheck; then
23269 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23270 CONFIG_SHELL=$SHELL
23271 export CONFIG_SHELL
23272 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23276 cat >>$CONFIG_STATUS <<\_ACEOF
23280 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23281 ## Running $as_me. ##
23287 cat >>$CONFIG_STATUS <<_ACEOF
23290 cat >>$CONFIG_STATUS <<\_ACEOF
23292 # Handling of arguments.
23293 for ac_config_target
in $ac_config_targets
23295 case $ac_config_target in
23296 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23297 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23298 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23299 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23300 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23301 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
23302 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23303 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
23304 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
23305 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
23306 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23307 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
23308 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
23309 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23310 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
23311 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
23312 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
23313 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23314 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23315 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23316 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23317 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
23318 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23319 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
23320 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
23321 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23322 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23323 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
23324 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23325 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23326 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23327 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23328 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
23329 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23330 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23331 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
23332 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23333 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23334 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23335 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23336 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23337 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
23338 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
23339 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23340 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23341 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23342 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23343 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23344 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23345 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23346 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23347 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23348 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23349 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23350 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23351 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23352 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23353 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23354 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23355 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23356 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23357 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23358 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23359 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23360 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23361 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23362 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23363 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23364 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23365 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23366 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23367 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23368 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23369 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23370 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23371 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23372 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23373 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23374 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23375 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23376 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23377 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23378 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23379 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23380 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23381 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
23382 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
23383 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23384 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23385 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
23386 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23387 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
23388 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23389 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23390 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23391 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23392 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23393 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23394 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23395 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23396 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
23397 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23398 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23399 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23400 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23401 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23402 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23403 "dlls/dpwsockx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
23404 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
23405 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23406 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23407 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
23408 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23409 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23410 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23411 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23412 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23413 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23414 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
23415 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23416 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23417 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23418 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23419 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23420 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
23421 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23422 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23423 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
23424 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23425 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
23426 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
23427 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23428 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23429 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23430 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
23431 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23432 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23433 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23434 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
23435 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23436 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23437 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23438 "dlls/inetmib1/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23439 "dlls/inetmib1/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23440 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23441 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23442 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
23443 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23444 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
23445 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23446 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23447 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
23448 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
23449 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23450 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
23451 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23452 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23453 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23454 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
23455 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23456 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
23457 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23458 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
23459 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23460 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23461 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23462 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23463 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23464 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23465 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23466 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
23467 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
23468 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23469 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23470 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23471 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23472 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
23473 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23474 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23475 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23476 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23477 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23478 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23479 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
23480 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23481 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23482 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23483 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23484 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23485 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23486 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23487 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23488 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
23489 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23490 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23491 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23492 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23493 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23494 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23495 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23496 "dlls/mstask/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mstask/Makefile" ;;
23497 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23498 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23499 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23500 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23501 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23502 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23503 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23504 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23505 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23506 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23507 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23508 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23509 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23510 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23511 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23512 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23513 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
23514 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23515 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23516 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23517 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23518 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23519 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23520 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23521 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
23522 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23523 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23524 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23525 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
23526 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23527 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23528 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23529 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23530 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23531 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23532 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23533 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23534 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23535 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23536 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23537 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
23538 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23539 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23540 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
23541 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
23542 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
23543 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23544 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23545 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
23546 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
23547 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23548 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23549 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23550 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23551 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
23552 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23553 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
23554 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23555 "dlls/rasapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
23556 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
23557 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
23558 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23559 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
23560 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23561 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23562 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23563 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23564 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23565 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23566 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23567 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23568 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
23569 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23570 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
23571 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23572 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
23573 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23574 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
23575 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23576 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23577 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23578 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
23579 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23580 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23581 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23582 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23583 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
23584 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23585 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23586 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23587 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23588 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23589 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
23590 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23591 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23592 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
23593 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23594 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23595 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23596 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23597 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
23598 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23599 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23600 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
23601 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23602 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23603 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
23604 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
23605 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23606 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23607 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
23608 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23609 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
23610 "dlls/userenv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23611 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
23612 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23613 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
23614 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23615 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23616 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23617 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23618 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
23619 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23620 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23621 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23622 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23623 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23624 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23625 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23626 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23627 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23628 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23629 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23630 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23631 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23632 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23633 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23634 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23635 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23636 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23637 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23638 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23639 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23640 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23641 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23642 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23643 "dlls/winhttp/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
23644 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23645 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23646 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23647 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23648 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23649 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23650 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23651 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23652 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23653 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23654 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23655 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23656 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23657 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23658 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23659 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23660 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23661 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23662 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23663 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23664 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23665 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23666 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23667 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23668 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23669 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23670 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23671 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23672 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23673 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23674 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23675 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23676 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23677 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23678 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23679 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23680 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23681 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23682 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23683 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23684 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23685 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23686 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23687 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23688 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23689 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23690 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23691 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23692 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23693 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23694 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23695 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23696 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23697 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23698 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23699 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23700 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23701 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23702 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23703 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23704 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23705 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23706 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23707 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23708 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23709 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23710 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23711 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23712 "programs/winhlp32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23713 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23714 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23715 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23716 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23717 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23718 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23719 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23720 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23721 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23722 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23723 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23724 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23726 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23727 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23728 { (exit 1); exit 1; }; };;
23733 # If the user did not use the arguments to specify the items to instantiate,
23734 # then the envvar interface is used. Set only those that are not.
23735 # We use the long form for the default assignment because of an extremely
23736 # bizarre bug on SunOS 4.1.3.
23737 if $ac_need_defaults; then
23738 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23739 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23740 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23743 # Have a temporary directory for convenience. Make it in the build tree
23744 # simply because there is no reason against having it here, and in addition,
23745 # creating and moving files from /tmp can sometimes cause problems.
23746 # Hook for its removal unless debugging.
23747 # Note that there is a small window in which the directory will not be cleaned:
23748 # after its creation but before its name has been assigned to `$tmp'.
23752 trap 'exit_status=$?
23753 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23755 trap '{ (exit 1); exit 1; }' 1 2 13 15
23757 # Create a (secure) tmp directory for tmp files.
23760 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23761 test -n "$tmp" && test -d "$tmp"
23764 tmp
=.
/conf$$
-$RANDOM
23765 (umask 077 && mkdir
"$tmp")
23768 echo "$me: cannot create a temporary directory in ." >&2
23769 { (exit 1); exit 1; }
23773 # Set up the sed scripts for CONFIG_FILES section.
23776 # No need to generate the scripts if there are no CONFIG_FILES.
23777 # This happens for instance when ./config.status config.h
23778 if test -n "$CONFIG_FILES"; then
23782 # Create sed commands to just substitute file output variables.
23784 # Remaining file output variables are in a fragment that also has non-file
23790 for ac_last_try
in false false false false false
:; do
23791 cat >conf$
$subs.
sed <<_ACEOF
23792 SHELL!$SHELL$ac_delim
23793 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23794 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23795 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23796 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23797 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23798 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23799 exec_prefix!$exec_prefix$ac_delim
23800 prefix!$prefix$ac_delim
23801 program_transform_name!$program_transform_name$ac_delim
23802 bindir!$bindir$ac_delim
23803 sbindir!$sbindir$ac_delim
23804 libexecdir!$libexecdir$ac_delim
23805 datarootdir!$datarootdir$ac_delim
23806 datadir!$datadir$ac_delim
23807 sysconfdir!$sysconfdir$ac_delim
23808 sharedstatedir!$sharedstatedir$ac_delim
23809 localstatedir!$localstatedir$ac_delim
23810 includedir!$includedir$ac_delim
23811 oldincludedir!$oldincludedir$ac_delim
23812 docdir!$docdir$ac_delim
23813 infodir!$infodir$ac_delim
23814 htmldir!$htmldir$ac_delim
23815 dvidir!$dvidir$ac_delim
23816 pdfdir!$pdfdir$ac_delim
23817 psdir!$psdir$ac_delim
23818 libdir!$libdir$ac_delim
23819 localedir!$localedir$ac_delim
23820 mandir!$mandir$ac_delim
23821 DEFS!$DEFS$ac_delim
23822 ECHO_C!$ECHO_C$ac_delim
23823 ECHO_N!$ECHO_N$ac_delim
23824 ECHO_T!$ECHO_T$ac_delim
23825 LIBS!$LIBS$ac_delim
23826 build_alias!$build_alias$ac_delim
23827 host_alias!$host_alias$ac_delim
23828 target_alias!$target_alias$ac_delim
23829 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23830 build!$build$ac_delim
23831 build_cpu!$build_cpu$ac_delim
23832 build_vendor!$build_vendor$ac_delim
23833 build_os!$build_os$ac_delim
23834 host!$host$ac_delim
23835 host_cpu!$host_cpu$ac_delim
23836 host_vendor!$host_vendor$ac_delim
23837 host_os!$host_os$ac_delim
23838 WIN16_FILES!$WIN16_FILES$ac_delim
23839 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23840 SET_MAKE!$SET_MAKE$ac_delim
23842 CFLAGS!$CFLAGS$ac_delim
23843 LDFLAGS!$LDFLAGS$ac_delim
23844 CPPFLAGS!$CPPFLAGS$ac_delim
23845 ac_ct_CC!$ac_ct_CC$ac_delim
23846 EXEEXT!$EXEEXT$ac_delim
23847 OBJEXT!$OBJEXT$ac_delim
23849 CXXFLAGS!$CXXFLAGS$ac_delim
23850 ac_ct_CXX!$ac_ct_CXX$ac_delim
23851 CPPBIN!$CPPBIN$ac_delim
23852 TOOLSDIR!$TOOLSDIR$ac_delim
23853 XMKMF!$XMKMF$ac_delim
23855 X_CFLAGS!$X_CFLAGS$ac_delim
23856 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23857 X_LIBS!$X_LIBS$ac_delim
23858 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23859 FLEX!$FLEX$ac_delim
23860 BISON!$BISON$ac_delim
23862 ac_ct_AS!$ac_ct_AS$ac_delim
23864 ac_ct_LD!$ac_ct_LD$ac_delim
23866 ac_ct_NM!$ac_ct_NM$ac_delim
23868 ac_ct_AR!$ac_ct_AR$ac_delim
23869 ARFLAGS!$ARFLAGS$ac_delim
23870 RANLIB!$RANLIB$ac_delim
23871 STRIP!$STRIP$ac_delim
23872 WINDRES!$WINDRES$ac_delim
23873 LN_S!$LN_S$ac_delim
23876 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23878 elif $ac_last_try; then
23879 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23880 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23881 { (exit 1); exit 1; }; }
23883 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23887 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23888 if test -n "$ac_eof"; then
23889 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23890 ac_eof
=`expr $ac_eof + 1`
23893 cat >>$CONFIG_STATUS <<_ACEOF
23894 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23896 /^[ ]*@MAKE_RULES@[ ]*$/{
23900 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23904 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23905 r $MAKE_IMPLIB_RULES
23908 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23912 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23918 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23919 s/^/s,@/; s/!/@,|#_!!_#|/
23922 s/'"$ac_delim"'$/,g/; t
23924 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23925 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23926 rm -f conf$
$subs.
sed
23927 cat >>$CONFIG_STATUS <<_ACEOF
23933 for ac_last_try
in false false false false false
:; do
23934 cat >conf$
$subs.
sed <<_ACEOF
23936 GREP!$GREP$ac_delim
23937 EGREP!$EGREP$ac_delim
23938 LDCONFIG!$LDCONFIG$ac_delim
23939 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23940 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23941 INSTALL_DATA!$INSTALL_DATA$ac_delim
23942 LINT!$LINT$ac_delim
23943 LINTFLAGS!$LINTFLAGS$ac_delim
23944 FONTFORGE!$FONTFORGE$ac_delim
23945 PKG_CONFIG!$PKG_CONFIG$ac_delim
23946 RSVG!$RSVG$ac_delim
23947 ICOTOOL!$ICOTOOL$ac_delim
23948 PRELINK!$PRELINK$ac_delim
23949 LIBPTHREAD!$LIBPTHREAD$ac_delim
23950 XLIB!$XLIB$ac_delim
23951 XFILES!$XFILES$ac_delim
23952 OPENGLFILES!$OPENGLFILES$ac_delim
23953 GLU32FILES!$GLU32FILES$ac_delim
23954 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23955 QUARTZFILES!$QUARTZFILES$ac_delim
23956 DLLEXT!$DLLEXT$ac_delim
23957 DLLFLAGS!$DLLFLAGS$ac_delim
23958 LDSHARED!$LDSHARED$ac_delim
23959 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23960 LIBEXT!$LIBEXT$ac_delim
23961 IMPLIBEXT!$IMPLIBEXT$ac_delim
23962 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23963 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23965 DLLTOOL!$DLLTOOL$ac_delim
23966 DLLWRAP!$DLLWRAP$ac_delim
23967 MINGWAR!$MINGWAR$ac_delim
23968 SECURITYLIB!$SECURITYLIB$ac_delim
23969 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23970 IOKITLIB!$IOKITLIB$ac_delim
23971 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23972 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23973 COREAUDIO!$COREAUDIO$ac_delim
23974 CARBONLIB!$CARBONLIB$ac_delim
23975 CROSSTEST!$CROSSTEST$ac_delim
23976 CROSSCC!$CROSSCC$ac_delim
23977 CROSSWINDRES!$CROSSWINDRES$ac_delim
23978 NASLIBS!$NASLIBS$ac_delim
23979 XML2LIBS!$XML2LIBS$ac_delim
23980 XML2INCL!$XML2INCL$ac_delim
23981 XSLTLIBS!$XSLTLIBS$ac_delim
23982 XSLTINCL!$XSLTINCL$ac_delim
23983 HALINCL!$HALINCL$ac_delim
23984 sane_devel!$sane_devel$ac_delim
23985 SANEINCL!$SANEINCL$ac_delim
23986 gphoto2_devel!$gphoto2_devel$ac_delim
23987 gphoto2port_devel!$gphoto2port_devel$ac_delim
23988 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23989 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23990 RESOLVLIBS!$RESOLVLIBS$ac_delim
23991 LCMSLIBS!$LCMSLIBS$ac_delim
23992 ft_devel!$ft_devel$ac_delim
23993 FREETYPELIBS!$FREETYPELIBS$ac_delim
23994 FREETYPEINCL!$FREETYPEINCL$ac_delim
23995 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23996 ESDCONFIG!$ESDCONFIG$ac_delim
23997 ESDINCL!$ESDINCL$ac_delim
23998 ESDLIBS!$ESDLIBS$ac_delim
23999 ALSALIBS!$ALSALIBS$ac_delim
24000 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24001 CUPSINCL!$CUPSINCL$ac_delim
24002 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
24003 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24004 BUILTINFLAG!$BUILTINFLAG$ac_delim
24005 LDPATH!$LDPATH$ac_delim
24006 CRTLIBS!$CRTLIBS$ac_delim
24007 SOCKETLIBS!$SOCKETLIBS$ac_delim
24008 MAIN_BINARY!$MAIN_BINARY$ac_delim
24009 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24010 LIBDL!$LIBDL$ac_delim
24011 LIBPOLL!$LIBPOLL$ac_delim
24012 LDAPLIBS!$LDAPLIBS$ac_delim
24013 DEPENDENCIES!$DEPENDENCIES$ac_delim
24014 LIBOBJS!$LIBOBJS$ac_delim
24015 LTLIBOBJS!$LTLIBOBJS$ac_delim
24018 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
24020 elif $ac_last_try; then
24021 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24022 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24023 { (exit 1); exit 1; }; }
24025 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24029 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24030 if test -n "$ac_eof"; then
24031 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24032 ac_eof
=`expr $ac_eof + 1`
24035 cat >>$CONFIG_STATUS <<_ACEOF
24036 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24040 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24041 s/^/s,@/; s/!/@,|#_!!_#|/
24044 s/'"$ac_delim"'$/,g/; t
24046 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24047 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24048 rm -f conf$
$subs.
sed
24049 cat >>$CONFIG_STATUS <<_ACEOF
24056 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24057 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24058 # trailing colons and then remove the whole line if VPATH becomes empty
24059 # (actually we leave an empty line to preserve line numbers).
24060 if test "x$srcdir" = x.
; then
24061 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24062 s/:*\$(srcdir):*/:/
24063 s/:*\${srcdir}:*/:/
24065 s/^\([^=]*=[ ]*\):*/\1/
24071 cat >>$CONFIG_STATUS <<\_ACEOF
24072 fi # test -n "$CONFIG_FILES"
24075 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24078 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24080 case $ac_mode$ac_tag in
24082 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24083 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24084 { (exit 1); exit 1; }; };;
24085 :[FH
]-) ac_tag
=-:-;;
24086 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24103 -) ac_f
="$tmp/stdin";;
24104 *) # Look for the file first in the build tree, then in the source tree
24105 # (if the path is not absolute). The absolute path cannot be DOS-style,
24106 # because $ac_f cannot contain `:'.
24110 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24112 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24113 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24114 { (exit 1); exit 1; }; };;
24116 ac_file_inputs
="$ac_file_inputs $ac_f"
24119 # Let's still pretend it is `configure' which instantiates (i.e., don't
24120 # use $as_me), people would be surprised to read:
24121 # /* config.h. Generated by config.status. */
24122 configure_input
="Generated from "`IFS=:
24123 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24124 if test x
"$ac_file" != x-
; then
24125 configure_input
="$ac_file. $configure_input"
24126 { echo "$as_me:$LINENO: creating $ac_file" >&5
24127 echo "$as_me: creating $ac_file" >&6;}
24131 *:-:* |
*:-) cat >"$tmp/stdin";;
24136 ac_dir
=`$as_dirname -- "$ac_file" ||
24137 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24138 X"$ac_file" : 'X\(//\)[^/]' \| \
24139 X"$ac_file" : 'X\(//\)$' \| \
24140 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24146 /^X\(\/\/\)[^/].*/{
24161 -*) as_dir
=.
/$as_dir;;
24163 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24167 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24168 *) as_qdir
=$as_dir;;
24170 as_dirs
="'$as_qdir' $as_dirs"
24171 as_dir
=`$as_dirname -- "$as_dir" ||
24172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24173 X"$as_dir" : 'X\(//\)[^/]' \| \
24174 X"$as_dir" : 'X\(//\)$' \| \
24175 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24181 /^X\(\/\/\)[^/].*/{
24194 test -d "$as_dir" && break
24196 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24197 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24198 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24199 { (exit 1); exit 1; }; }; }
24203 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24205 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24206 # A ".." for each directory in $ac_dir_suffix.
24207 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24208 case $ac_top_builddir_sub in
24209 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24210 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24213 ac_abs_top_builddir
=$ac_pwd
24214 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24215 # for backward compatibility:
24216 ac_top_builddir
=$ac_top_build_prefix
24219 .
) # We are building in place.
24221 ac_top_srcdir
=$ac_top_builddir_sub
24222 ac_abs_top_srcdir
=$ac_pwd ;;
24223 [\\/]* | ?
:[\\/]* ) # Absolute name.
24224 ac_srcdir
=$srcdir$ac_dir_suffix;
24225 ac_top_srcdir
=$srcdir
24226 ac_abs_top_srcdir
=$srcdir ;;
24227 *) # Relative name.
24228 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24229 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24230 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24232 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24242 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24243 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24247 cat >>$CONFIG_STATUS <<\_ACEOF
24248 # If the template does not know about datarootdir, expand it.
24249 # FIXME: This hack should be removed a few years after 2.60.
24250 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24252 case `sed -n '/datarootdir/ {
24261 ' $ac_file_inputs` in
24262 *datarootdir
*) ac_datarootdir_seen
=yes;;
24263 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24264 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24265 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24267 cat >>$CONFIG_STATUS <<_ACEOF
24268 ac_datarootdir_hack='
24269 s&@datadir@&$datadir&g
24270 s&@docdir@&$docdir&g
24271 s&@infodir@&$infodir&g
24272 s&@localedir@&$localedir&g
24273 s&@mandir@&$mandir&g
24274 s&\\\${datarootdir}&$datarootdir&g' ;;
24278 # Neutralize VPATH when `$srcdir' = `.'.
24279 # Shell code in configure.ac might set extrasub.
24280 # FIXME: do we really want to maintain this feature?
24281 cat >>$CONFIG_STATUS <<_ACEOF
24285 cat >>$CONFIG_STATUS <<\_ACEOF
24287 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24288 s
&@configure_input@
&$configure_input&;t t
24289 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24290 s
&@srcdir@
&$ac_srcdir&;t t
24291 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24292 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24293 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24294 s
&@builddir@
&$ac_builddir&;t t
24295 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24296 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24297 s
&@INSTALL@
&$ac_INSTALL&;t t
24298 $ac_datarootdir_hack
24299 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24302 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24304 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24305 which seems to be undefined. Please make sure it is defined." >&5
24306 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24307 which seems to be undefined. Please make sure it is defined." >&2;}
24311 -) cat "$tmp/out"; rm -f "$tmp/out";;
24312 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24321 # Transform confdefs.h into a sed script `conftest.defines', that
24322 # substitutes the proper values into config.h.in to produce config.h.
24323 rm -f conftest.defines conftest.
tail
24324 # First, append a space to every undef/define line, to ease matching.
24325 echo 's/$/ /' >conftest.defines
24326 # Then, protect against being on the right side of a sed subst, or in
24327 # an unquoted here document, in config.status. If some macros were
24328 # called several times there might be several #defines for the same
24329 # symbol, which is useless. But do not sort them, since the last
24330 # AC_DEFINE must be honored.
24331 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24332 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24333 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24334 # PARAMS is the parameter list in the macro definition--in most cases, it's
24335 # just an empty string.
24336 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24337 ac_dB
='\\)[ (].*,\\1define\\2'
24345 s/^[ ]*#[ ]*define[ ][ ]*//
24350 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24351 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24352 ' >>conftest.defines
24354 # Remove the space that was appended to ease matching.
24355 # Then replace #undef with comments. This is necessary, for
24356 # example, in the case of _POSIX_SOURCE, which is predefined and required
24357 # on some systems where configure will not decide to define it.
24358 # (The regexp can be short, since the line contains either #define or #undef.)
24360 s,^[ #]*u.*,/* & */,' >>conftest.defines
24362 # Break up conftest.defines:
24363 ac_max_sed_lines
=50
24365 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24366 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24367 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24369 ac_in
='$ac_file_inputs'
24370 ac_out
='"$tmp/out1"'
24371 ac_nxt
='"$tmp/out2"'
24375 # Write a here document:
24376 cat >>$CONFIG_STATUS <<_ACEOF
24377 # First, check the format of the line:
24378 cat >"\$tmp/defines.sed" <<\\CEOF
24379 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24380 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24384 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24386 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24387 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24388 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24389 grep . conftest.
tail >/dev
/null ||
break
24390 rm -f conftest.defines
24391 mv conftest.
tail conftest.defines
24393 rm -f conftest.defines conftest.
tail
24395 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24396 cat >>$CONFIG_STATUS <<\_ACEOF
24397 if test x
"$ac_file" != x-
; then
24398 echo "/* $configure_input */" >"$tmp/config.h"
24399 cat "$ac_result" >>"$tmp/config.h"
24400 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24402 echo "$as_me: $ac_file is unchanged" >&6;}
24405 mv "$tmp/config.h" $ac_file
24408 echo "/* $configure_input */"
24414 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24415 echo "$as_me: executing $ac_file commands" >&6;}
24420 case $ac_file$ac_mode in
24421 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24422 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24423 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
24424 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24425 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
24426 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24427 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
24428 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24429 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
24430 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24431 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
24432 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
24433 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
24439 { (exit 0); exit 0; }
24441 chmod +x
$CONFIG_STATUS
24442 ac_clean_files
=$ac_clean_files_save
24445 # configure is writing to config.log, and then calls config.status.
24446 # config.status does its own redirection, appending to config.log.
24447 # Unfortunately, on DOS this fails, as config.log is still kept open
24448 # by configure, so config.status won't be able to write to it; its
24449 # output is simply discarded. So we exec the FD to /dev/null,
24450 # effectively closing config.log, so it can be properly (re)opened and
24451 # appended to by config.status. When coming back to configure, we
24452 # need to make the FD available again.
24453 if test "$no_create" != yes; then
24455 ac_config_status_args
=
24456 test "$silent" = yes &&
24457 ac_config_status_args
="$ac_config_status_args --quiet"
24459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24461 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24462 # would make configure fail if this is the last instruction.
24463 $ac_cs_success ||
{ (exit 1); exit 1; }
24467 if test "$no_create" = "yes"
24474 if test "x$wine_notices != "x
; then
24476 for msg
in $wine_notices; do
24477 if test -n "$msg"; then
24478 { echo "$as_me:$LINENO: $msg" >&5
24479 echo "$as_me: $msg" >&6;}
24483 for msg
in $wine_warnings; do
24484 if test -n "$msg"; then
24486 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24487 echo "$as_me: WARNING: $msg" >&2;}
24493 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.