2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.58.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='0.9.58'
578 PACKAGE_STRING
='Wine 0.9.58'
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
778 ac_subst_files
='MAKE_RULES
783 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name
=s
,x
,x
,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir
='${exec_prefix}/bin'
825 sbindir
='${exec_prefix}/sbin'
826 libexecdir
='${exec_prefix}/libexec'
827 datarootdir
='${prefix}/share'
828 datadir
='${datarootdir}'
829 sysconfdir
='${prefix}/etc'
830 sharedstatedir
='${prefix}/com'
831 localstatedir
='${prefix}/var'
832 includedir
='${prefix}/include'
833 oldincludedir
='/usr/include'
834 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir
='${datarootdir}/info'
840 libdir
='${exec_prefix}/lib'
841 localedir
='${datarootdir}/locale'
842 mandir
='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\
$ac_option
856 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
866 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
868 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
871 -build |
--build |
--buil |
--bui |
--bu)
872 ac_prev
=build_alias
;;
873 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
874 build_alias
=$ac_optarg ;;
876 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
877 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
878 ac_prev
=cache_file
;;
879 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
880 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
881 cache_file
=$ac_optarg ;;
884 cache_file
=config.cache
;;
886 -datadir |
--datadir |
--datadi |
--datad)
888 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
889 datadir
=$ac_optarg ;;
891 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
892 |
--dataroo |
--dataro |
--datar)
893 ac_prev
=datarootdir
;;
894 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
895 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
896 datarootdir
=$ac_optarg ;;
898 -disable-* |
--disable-*)
899 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_
$ac_feature=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_
$ac_feature=\
$ac_optarg ;;
926 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
927 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
928 |
--exec |
--exe |
--ex)
929 ac_prev
=exec_prefix
;;
930 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
931 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
932 |
--exec=* |
--exe=* |
--ex=*)
933 exec_prefix
=$ac_optarg ;;
935 -gas |
--gas |
--ga |
--g)
936 # Obsolete; use --with-gas.
939 -help |
--help |
--hel |
--he |
-h)
941 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
942 ac_init_help
=recursive
;;
943 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
944 ac_init_help
=short
;;
946 -host |
--host |
--hos |
--ho)
947 ac_prev
=host_alias
;;
948 -host=* |
--host=* |
--hos=* |
--ho=*)
949 host_alias
=$ac_optarg ;;
951 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
953 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
955 htmldir
=$ac_optarg ;;
957 -includedir |
--includedir |
--includedi |
--included |
--include \
958 |
--includ |
--inclu |
--incl |
--inc)
959 ac_prev
=includedir
;;
960 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
961 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
962 includedir
=$ac_optarg ;;
964 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
966 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
967 infodir
=$ac_optarg ;;
969 -libdir |
--libdir |
--libdi |
--libd)
971 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
974 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
975 |
--libexe |
--libex |
--libe)
976 ac_prev
=libexecdir
;;
977 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
978 |
--libexe=* |
--libex=* |
--libe=*)
979 libexecdir
=$ac_optarg ;;
981 -localedir |
--localedir |
--localedi |
--localed |
--locale)
983 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
984 localedir
=$ac_optarg ;;
986 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
987 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
988 ac_prev
=localstatedir
;;
989 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
990 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
991 localstatedir
=$ac_optarg ;;
993 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
995 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
999 # Obsolete; use --without-fp.
1002 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1003 |
--no-cr |
--no-c |
-n)
1006 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1007 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1010 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1011 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1012 |
--oldin |
--oldi |
--old |
--ol |
--o)
1013 ac_prev
=oldincludedir
;;
1014 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1015 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1016 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1017 oldincludedir
=$ac_optarg ;;
1019 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1021 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1022 prefix
=$ac_optarg ;;
1024 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1025 |
--program-pre |
--program-pr |
--program-p)
1026 ac_prev
=program_prefix
;;
1027 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1028 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1029 program_prefix
=$ac_optarg ;;
1031 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1032 |
--program-suf |
--program-su |
--program-s)
1033 ac_prev
=program_suffix
;;
1034 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1035 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1036 program_suffix
=$ac_optarg ;;
1038 -program-transform-name |
--program-transform-name \
1039 |
--program-transform-nam |
--program-transform-na \
1040 |
--program-transform-n |
--program-transform- \
1041 |
--program-transform |
--program-transfor \
1042 |
--program-transfo |
--program-transf \
1043 |
--program-trans |
--program-tran \
1044 |
--progr-tra |
--program-tr |
--program-t)
1045 ac_prev
=program_transform_name
;;
1046 -program-transform-name=* |
--program-transform-name=* \
1047 |
--program-transform-nam=* |
--program-transform-na=* \
1048 |
--program-transform-n=* |
--program-transform-=* \
1049 |
--program-transform=* |
--program-transfor=* \
1050 |
--program-transfo=* |
--program-transf=* \
1051 |
--program-trans=* |
--program-tran=* \
1052 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1053 program_transform_name
=$ac_optarg ;;
1055 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1057 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1058 pdfdir
=$ac_optarg ;;
1060 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1062 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1065 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1066 |
-silent |
--silent |
--silen |
--sile |
--sil)
1069 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1071 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1073 sbindir
=$ac_optarg ;;
1075 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1076 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1077 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1079 ac_prev
=sharedstatedir
;;
1080 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1081 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1082 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1084 sharedstatedir
=$ac_optarg ;;
1086 -site |
--site |
--sit)
1088 -site=* |
--site=* |
--sit=*)
1091 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1093 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1094 srcdir
=$ac_optarg ;;
1096 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1097 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1098 ac_prev
=sysconfdir
;;
1099 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1100 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1101 sysconfdir
=$ac_optarg ;;
1103 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1104 ac_prev
=target_alias
;;
1105 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1106 target_alias
=$ac_optarg ;;
1108 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1111 -version |
--version |
--versio |
--versi |
--vers |
-V)
1112 ac_init_version
=: ;;
1115 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_
$ac_package=\
$ac_optarg ;;
1123 -without-* |
--without-*)
1124 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_
$ac_package=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val
=\$
$ac_var
1189 [\\/$
]* | ?
:[\\/]* ) continue;;
1190 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1201 target
=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x
; then
1205 if test "x$build_alias" = x
; then
1206 cross_compiling
=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1215 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1217 test "$silent" = yes && exec 6>/dev
/null
1220 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di
=`ls -di .` &&
1222 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted
=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir
=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted
=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var
in $ac_precious_vars; do
1285 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1287 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures Wine 0.9.58 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --x-includes=DIR X include files are
in DIR
1357 --x-libraries=DIR X library files are
in DIR
1360 --build=BUILD configure
for building on BUILD
[guessed
]
1361 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive
) echo "Configuration of Wine 0.9.58:";;
1372 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1373 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1377 --enable-maintainer-mode
1378 enable maintainer-specific build rules
1379 --disable-tests do not build the testsuites
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --without-alsa do not use the Alsa sound support
1385 --without-audioio do not use the AudioIO sound support
1386 --without-capi do not use CAPI (ISDN support)
1387 --without-cms do not use CMS (color management support)
1388 --without-coreaudio do not use the CoreAudio sound support
1389 --without-cups do not use CUPS
1390 --without-curses do not use (n)curses
1391 --without-esd do not use the EsounD sound support
1392 --without-fontconfig do not use fontconfig
1393 --without-gphoto do not use gphoto (Digital Camera support)
1394 --without-hal do not use HAL (dynamic device support)
1395 --without-jack do not use the Jack sound support
1396 --without-jpeg do not use JPEG
1397 --without-ldap do not use LDAP
1398 --without-nas do not use the NAS sound support
1399 --without-opengl do not use OpenGL
1400 --without-openssl do not use OpenSSL
1401 --without-oss do not use the OSS sound support
1402 --without-png do not use PNG
1403 --without-sane do not use SANE (scanner support)
1404 --without-xcomposite do not use the Xcomposite extension
1405 --without-xcursor do not use the Xcursor extension
1406 --without-xinerama do not use Xinerama (multi-monitor support)
1407 --without-xinput do not use the Xinput extension
1408 --without-xml do not use XML
1409 --without-xrandr do not use Xrandr (resolution changes)
1410 --without-xrender do not use the Xrender extension
1411 --without-xshape do not use the Xshape extension
1412 --without-xshm do not use XShm (shared memory extension)
1413 --without-xslt do not use XSLT
1414 --without-xvidmode do not use XFree video mode extension
1415 --with-wine-tools=DIR use Wine tools from directory DIR
1416 --with-x use the X Window System
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1426 CXX C++ compiler command
1427 CXXFLAGS C++ compiler flags
1428 XMKMF Path to xmkmf, Makefile generator for X Window System
1431 Use these variables to override the choices made by `configure' or to
help
1432 it to
find libraries and programs with nonstandard names
/locations.
1434 Report bugs to
<wine-devel@winehq.org
>.
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1442 test -d "$ac_dir" ||
continue
1446 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1448 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1453 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir
=$ac_pwd
1457 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir
=$ac_top_build_prefix
1462 .
) # We are building in place.
1464 ac_top_srcdir
=$ac_top_builddir_sub
1465 ac_abs_top_srcdir
=$ac_pwd ;;
1466 [\\/]* | ?
:[\\/]* ) # Absolute name.
1467 ac_srcdir
=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir
=$srcdir
1469 ac_abs_top_srcdir
=$srcdir ;;
1471 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 Wine configure
0.9.58
1496 generated by GNU Autoconf
2.61
1498 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1499 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1500 This configure
script is free software
; the Free Software Foundation
1501 gives unlimited permission to copy
, distribute and modify it.
1505 cat >config.log
<<_ACEOF
1506 This file contains any messages produced by compilers while
1507 running configure, to aid debugging if configure makes a mistake.
1509 It was created by Wine $as_me 0.9.58, which was
1510 generated by GNU Autoconf 2.61. Invocation command line was
1522 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1523 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1524 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1525 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1526 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1529 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1531 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1532 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1533 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1534 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1535 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1536 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1537 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1545 test -z "$as_dir" && as_dir
=.
1546 echo "PATH: $as_dir"
1562 # Keep a trace of the command line.
1563 # Strip out --no-create and --no-recursion so they do not pile up.
1564 # Strip out --silent because we don't want to record it for future runs.
1565 # Also quote any args containing shell meta-characters.
1566 # Make two passes to allow for proper duplicate-argument suppression.
1570 ac_must_keep_next
=false
1576 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1577 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1578 |
-silent |
--silent |
--silen |
--sile |
--sil)
1581 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1584 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1586 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1587 if test $ac_must_keep_next = true
; then
1588 ac_must_keep_next
=false
# Got value, back to normal.
1591 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1592 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1593 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1594 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1595 case "$ac_configure_args0 " in
1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1599 -* ) ac_must_keep_next
=true
;;
1602 ac_configure_args
="$ac_configure_args '$ac_arg'"
1607 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1608 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1610 # When interrupted or exit'd, cleanup temporary files, and complete
1611 # config.log. We remove comments because anyway the quotes in there
1612 # would cause problems or look ugly.
1613 # WARNING: Use '\'' to represent an apostrophe within the trap.
1614 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1615 trap 'exit_status=$?
1616 # Save into config.log some information that might help in debugging.
1621 ## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##
1626 # The following way of writing the cache mishandles newlines in values,
1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1629 eval ac_val=\$$ac_var
1633 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1634 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1637 _ | IFS | as_nl) ;; #(
1638 *) $as_unset $ac_var ;;
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658 ## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##
1663 for ac_var in $ac_subst_vars
1665 eval ac_val=\$$ac_var
1667 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669 echo "$ac_var='\''$ac_val'\''"
1673 if test -n "$ac_subst_files"; then
1675 ## ------------------- ##
1676 ## File substitutions. ##
1677 ## ------------------- ##
1680 for ac_var
in $ac_subst_files
1682 eval ac_val
=\$
$ac_var
1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686 echo "$ac_var='\''$ac_val'\''"
1691 if test -s confdefs.h; then
1701 test "$ac_signal" != 0 &&
1702 echo "$as_me: caught signal $ac_signal"
1703 echo "$as_me: exit $exit_status"
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1709 for ac_signal
in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest
* confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_STRING "$PACKAGE_STRING"
1739 cat >>confdefs.h
<<_ACEOF
1740 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer explicitly selected file to automatically selected ones.
1746 if test -n "$CONFIG_SITE"; then
1747 set x
"$CONFIG_SITE"
1748 elif test "x$prefix" != xNONE
; then
1749 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1751 set x
"$ac_default_prefix/share/config.site" \
1752 "$ac_default_prefix/etc/config.site"
1757 if test -r "$ac_site_file"; then
1758 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 echo "$as_me: loading site script $ac_site_file" >&6;}
1760 sed 's/^/| /' "$ac_site_file" >&5
1765 if test -r "$cache_file"; then
1766 # Some versions of bash will fail to source /dev/null (special
1767 # files actually), so we avoid doing that.
1768 if test -f "$cache_file"; then
1769 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 echo "$as_me: loading cache $cache_file" >&6;}
1772 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1773 *) .
"./$cache_file";;
1777 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 echo "$as_me: creating cache $cache_file" >&6;}
1782 # Check that the precious variables saved in the cache have kept the same
1784 ac_cache_corrupted
=false
1785 for ac_var
in $ac_precious_vars; do
1786 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1787 eval ac_new_set
=\
$ac_env_${ac_var}_set
1788 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1789 eval ac_new_val
=\
$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1792 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted
=: ;;
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted
=: ;;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1803 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1804 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1805 echo "$as_me: former value: $ac_old_val" >&2;}
1806 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1807 echo "$as_me: current value: $ac_new_val" >&2;}
1808 ac_cache_corrupted
=:
1811 # Pass precious variables to config.status.
1812 if test "$ac_new_set" = set; then
1814 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 *) ac_arg
=$ac_var=$ac_new_val ;;
1817 case " $ac_configure_args " in
1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1819 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1823 if $ac_cache_corrupted; then
1824 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1825 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1826 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1827 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1828 { (exit 1); exit 1; }; }
1856 ac_cpp
='$CPP $CPPFLAGS'
1857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1863 ac_config_headers
="$ac_config_headers include/config.h"
1866 for ac_dir
in tools
"$srcdir"/tools
; do
1867 if test -f "$ac_dir/install-sh"; then
1869 ac_install_sh
="$ac_aux_dir/install-sh -c"
1871 elif test -f "$ac_dir/install.sh"; then
1873 ac_install_sh
="$ac_aux_dir/install.sh -c"
1875 elif test -f "$ac_dir/shtool"; then
1877 ac_install_sh
="$ac_aux_dir/shtool install -c"
1881 if test -z "$ac_aux_dir"; then
1882 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1883 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1884 { (exit 1); exit 1; }; }
1887 # These three variables are undocumented and unsupported,
1888 # and are intended to be withdrawn in a future Autoconf release.
1889 # They can cause serious problems if a builder's source tree is in a directory
1890 # whose full name contains unusual characters.
1891 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1892 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1893 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1898 # Check whether --enable-win16 was given.
1899 if test "${enable_win16+set}" = set; then
1900 enableval
=$enable_win16;
1903 # Check whether --enable-win64 was given.
1904 if test "${enable_win64+set}" = set; then
1905 enableval
=$enable_win64;
1908 # Check whether --enable-maintainer-mode was given.
1909 if test "${enable_maintainer_mode+set}" = set; then
1910 enableval
=$enable_maintainer_mode;
1918 # Check whether --with-alsa was given.
1919 if test "${with_alsa+set}" = set; then
1920 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1924 # Check whether --with-audioio was given.
1925 if test "${with_audioio+set}" = set; then
1926 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1930 # Check whether --with-capi was given.
1931 if test "${with_capi+set}" = set; then
1932 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1936 # Check whether --with-cms was given.
1937 if test "${with_cms+set}" = set; then
1938 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1942 # Check whether --with-coreaudio was given.
1943 if test "${with_coreaudio+set}" = set; then
1944 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1948 # Check whether --with-cups was given.
1949 if test "${with_cups+set}" = set; then
1950 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1954 # Check whether --with-curses was given.
1955 if test "${with_curses+set}" = set; then
1956 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1960 # Check whether --with-esd was given.
1961 if test "${with_esd+set}" = set; then
1966 # Check whether --with-fontconfig was given.
1967 if test "${with_fontconfig+set}" = set; then
1968 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1972 # Check whether --with-gphoto was given.
1973 if test "${with_gphoto+set}" = set; then
1974 withval
=$with_gphoto;
1978 # Check whether --with-hal was given.
1979 if test "${with_hal+set}" = set; then
1984 # Check whether --with-jack was given.
1985 if test "${with_jack+set}" = set; then
1986 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
1990 # Check whether --with-jpeg was given.
1991 if test "${with_jpeg+set}" = set; then
1992 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
1996 # Check whether --with-ldap was given.
1997 if test "${with_ldap+set}" = set; then
1998 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2002 # Check whether --with-nas was given.
2003 if test "${with_nas+set}" = set; then
2004 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2008 # Check whether --with-opengl was given.
2009 if test "${with_opengl+set}" = set; then
2010 withval
=$with_opengl;
2014 # Check whether --with-openssl was given.
2015 if test "${with_openssl+set}" = set; then
2016 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2020 # Check whether --with-oss was given.
2021 if test "${with_oss+set}" = set; then
2022 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
2026 # Check whether --with-png was given.
2027 if test "${with_png+set}" = set; then
2028 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2032 # Check whether --with-sane was given.
2033 if test "${with_sane+set}" = set; then
2038 # Check whether --with-xcomposite was given.
2039 if test "${with_xcomposite+set}" = set; then
2040 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2044 # Check whether --with-xcursor was given.
2045 if test "${with_xcursor+set}" = set; then
2046 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2050 # Check whether --with-xinerama was given.
2051 if test "${with_xinerama+set}" = set; then
2052 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2056 # Check whether --with-xinput was given.
2057 if test "${with_xinput+set}" = set; then
2058 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2062 # Check whether --with-xml was given.
2063 if test "${with_xml+set}" = set; then
2068 # Check whether --with-xrandr was given.
2069 if test "${with_xrandr+set}" = set; then
2070 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2074 # Check whether --with-xrender was given.
2075 if test "${with_xrender+set}" = set; then
2076 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2080 # Check whether --with-xshape was given.
2081 if test "${with_xshape+set}" = set; then
2082 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2086 # Check whether --with-xshm was given.
2087 if test "${with_xshm+set}" = set; then
2088 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2092 # Check whether --with-xslt was given.
2093 if test "${with_xslt+set}" = set; then
2098 # Check whether --with-xvidmode was given.
2099 if test "${with_xvidmode+set}" = set; then
2100 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2105 # Check whether --with-wine-tools was given.
2106 if test "${with_wine_tools+set}" = set; then
2107 withval
=$with_wine_tools;
2110 # Check whether --enable-tests was given.
2111 if test "${enable_tests+set}" = set; then
2112 enableval
=$enable_tests;
2116 # Make sure we can run config.sub.
2117 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2118 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2119 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2120 { (exit 1); exit 1; }; }
2122 { echo "$as_me:$LINENO: checking build system type" >&5
2123 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2124 if test "${ac_cv_build+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 ac_build_alias
=$build_alias
2128 test "x$ac_build_alias" = x
&&
2129 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2130 test "x$ac_build_alias" = x
&&
2131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2133 { (exit 1); exit 1; }; }
2134 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2135 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2136 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2137 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2141 echo "${ECHO_T}$ac_cv_build" >&6; }
2142 case $ac_cv_build in
2144 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2145 echo "$as_me: error: invalid value of canonical build" >&2;}
2146 { (exit 1); exit 1; }; };;
2149 ac_save_IFS
=$IFS; IFS
='-'
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2159 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2162 { echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test "x$host_alias" = x
; then
2168 ac_cv_host
=$ac_cv_build
2170 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2172 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2178 echo "${ECHO_T}$ac_cv_host" >&6; }
2181 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2182 echo "$as_me: error: invalid value of canonical host" >&2;}
2183 { (exit 1); exit 1; }; };;
2186 ac_save_IFS
=$IFS; IFS
='-'
2192 # Remember, the first character of IFS is used to create $*,
2193 # except with old shells:
2196 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2201 if test "x$enable_win64" != "xyes"
2203 test -n "$CC" || CC
="gcc -m32"
2204 test -n "$CXX"|| CXX
="g++ -m32"
2205 test -n "$LD" || LD
="ld -m elf_i386"
2206 test -n "$AS" || AS
="as --32"
2214 if test "x$enable_win16" != "xno"
2221 WIN16_FILES
="\$(WIN16_FILES)"
2223 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2225 if test "x$enable_win16" != "xyes"
2231 if test "x$enable_tests" == "xno"
2238 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2246 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2247 { { echo "$as_me:$LINENO: 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." >&5
2249 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2250 You need to run 'make distclean' in the source tree first." >&2;}
2251 { (exit 1); exit 1; }; }
2256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2258 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2259 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 cat >conftest.
make <<\_ACEOF
2265 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2270 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2272 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2276 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2277 { echo "$as_me:$LINENO: result: yes" >&5
2278 echo "${ECHO_T}yes" >&6; }
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2283 SET_MAKE
="MAKE=${MAKE-make}"
2287 ac_cpp
='$CPP $CPPFLAGS'
2288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2291 if test -n "$ac_tool_prefix"; then
2292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2293 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296 if test "${ac_cv_prog_CC+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 if test -n "$CC"; then
2300 ac_cv_prog_CC
="$CC" # Let the user override the test.
2302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir
=.
2307 for ac_exec_ext
in '' $ac_executable_extensions; do
2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test -n "$CC"; then
2321 { echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6; }
2324 { echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6; }
2330 if test -z "$ac_cv_prog_CC"; then
2332 # Extract the first word of "gcc", so it can be a program name with args.
2333 set dummy gcc
; ac_word
=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC
="gcc"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2368 if test "x$ac_ct_CC" = x
; then
2371 case $cross_compiling:$ac_tool_warned in
2373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 whose name does not start with the host triplet. If you think this
2378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 ac_tool_warned
=yes ;;
2387 if test -z "$CC"; then
2388 if test -n "$ac_tool_prefix"; then
2389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2390 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC
="$CC" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 if test -n "$CC"; then
2418 { echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6; }
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc
; ac_word
=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected
=yes
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test $ac_prog_rejected = yes; then
2460 # We found a bogon in the path, so make sure we never use it.
2461 set dummy
$ac_cv_prog_CC
2463 if test $# != 0; then
2464 # We chose a different compiler from the bogus one.
2465 # However, it has the same basename, so the bogon will be chosen
2466 # first if we set CC to just the basename; use the full file name.
2468 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2474 if test -n "$CC"; then
2475 { echo "$as_me:$LINENO: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6; }
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2484 if test -z "$CC"; then
2485 if test -n "$ac_tool_prefix"; then
2486 for ac_prog
in cl.exe
2488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2489 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC
="$CC" # Let the user override the test.
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 if test -n "$CC"; then
2517 { echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6; }
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2525 test -n "$CC" && break
2528 if test -z "$CC"; then
2530 for ac_prog
in cl.exe
2532 # Extract the first word of "$ac_prog", so it can be a program name with args.
2533 set dummy
$ac_prog; ac_word
=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$ac_ct_CC"; then
2540 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir
=.
2547 for ac_exec_ext
in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_ac_ct_CC
="$ac_prog"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2560 if test -n "$ac_ct_CC"; then
2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 echo "${ECHO_T}$ac_ct_CC" >&6; }
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2569 test -n "$ac_ct_CC" && break
2572 if test "x$ac_ct_CC" = x
; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&5
2580 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2581 whose name does not start with the host triplet. If you think this
2582 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2583 ac_tool_warned
=yes ;;
2592 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: no acceptable C compiler found in \$PATH
2595 See \`config.log' for more details." >&2;}
2596 { (exit 1); exit 1; }; }
2598 # Provide some information about the compiler.
2599 echo "$as_me:$LINENO: checking for C compiler version" >&5
2600 ac_compiler
=`set X $ac_compile; echo $2`
2601 { (ac_try
="$ac_compiler --version >&5"
2603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2607 (eval "$ac_compiler --version >&5") 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (ac_try="$ac_compiler -v >&5"
2613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2614 *) ac_try_echo
=$ac_try;;
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compiler -v >&5") 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621 { (ac_try
="$ac_compiler -V >&5"
2623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler -V >&5") 2>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2647 ac_clean_files_save=$ac_clean_files
2648 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2649 # Try to create an executable without -o first, disregard a.out.
2650 # It will help us diagnose broken compilers, and finding out an intuition
2652 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2653 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2654 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2656 # List of possible output files, starting from the most likely.
2657 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2658 # only as a last resort. b.out is created by i960 compilers.
2659 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2661 # The IRIX 6 linker writes into existing files which may not be
2662 # executable, retaining their permissions. Remove them first so a
2663 # subsequent execution test works.
2665 for ac_file in $ac_files
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2669 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2674 if { (ac_try="$ac_link_default"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_link_default") 2>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2685 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2686 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2687 # so that the user can short-circuit this test for compilers unknown to
2689 for ac_file
in $ac_files ''
2691 test -f "$ac_file" ||
continue
2693 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2696 # We found the default executable, but exeext='' is most
2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2702 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 # We set ac_cv_exeext here because the later test for it is not
2705 # safe: cross compilers may not add the suffix if given an `-o'
2706 # argument, so we may need to know it at that point already.
2707 # Even if this section looks crufty: it has the advantage of
2714 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2720 { echo "$as_me:$LINENO: result: $ac_file" >&5
2721 echo "${ECHO_T}$ac_file" >&6; }
2722 if test -z "$ac_file"; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2726 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&5
2728 echo "$as_me: error: C compiler cannot create executables
2729 See \`config.log' for more details." >&2;}
2730 { (exit 77); exit 77; }; }
2733 ac_exeext
=$ac_cv_exeext
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2738 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2739 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2740 # If not cross compiling, check that we can run a simple program.
2741 if test "$cross_compiling" != yes; then
2742 if { ac_try
='./$ac_file'
2743 { (case "(($ac_try" in
2744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_try") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2754 if test "$cross_compiling" = maybe; then
2757 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details.
" >&5
2760 echo "$as_me: error
: cannot run C compiled programs.
2761 If you meant to cross compile
, use \
`--host'.
2762 See \`config.log
' for more details." >&2;}
2763 { (exit 1); exit 1; }; }
2767 { echo "$as_me:$LINENO: result: yes" >&5
2768 echo "${ECHO_T}yes" >&6; }
2770 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2771 ac_clean_files=$ac_clean_files_save
2772 # Check that the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2775 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2776 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2777 echo "${ECHO_T}$cross_compiling" >&6; }
2779 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2780 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2781 if { (ac_try="$ac_link"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_link") 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; then
2791 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2792 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2793 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2795 for ac_file
in conftest.exe conftest conftest.
*; do
2796 test -f "$ac_file" ||
continue
2798 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2799 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2812 rm -f conftest
$ac_cv_exeext
2813 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2814 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2816 rm -f conftest.
$ac_ext
2817 EXEEXT
=$ac_cv_exeext
2819 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2820 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2821 if test "${ac_cv_objext+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 cat >conftest.
$ac_ext <<_ACEOF
2827 cat confdefs.h
>>conftest.
$ac_ext
2828 cat >>conftest.
$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2839 rm -f conftest.o conftest.obj
2840 if { (ac_try
="$ac_compile"
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compile") 2>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 for ac_file in conftest.o conftest.obj conftest.*; do
2851 test -f "$ac_file" || continue;
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log
' for more details." >&5
2864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details.
" >&2;}
2866 { (exit 1); exit 1; }; }
2869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2871 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2872 echo "${ECHO_T}$ac_cv_objext" >&6; }
2873 OBJEXT=$ac_cv_objext
2875 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2876 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2878 echo $ECHO_N "(cached
) $ECHO_C" >&6
2880 cat >conftest.$ac_ext <<_ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2917 echo "$as_me: failed program was
:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2927 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2928 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2929 GCC=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_CFLAGS=${CFLAGS+set}
2931 ac_save_CFLAGS=$CFLAGS
2932 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2933 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2934 if test "${ac_cv_prog_cc_g+set}" = set; then
2935 echo $ECHO_N "(cached
) $ECHO_C" >&6
2937 ac_save_c_werror_flag=$ac_c_werror_flag
2938 ac_c_werror_flag=yes
2941 cat >conftest.$ac_ext <<_ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2969 (exit $ac_status); } && {
2970 test -z "$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 } && test -s conftest.$ac_objext; then
2975 echo "$as_me: failed program was
:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>conftest.er1
3003 grep -v '^ *+' conftest.er1 >conftest.err
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3007 (exit $ac_status); } && {
3008 test -z "$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3010 } && test -s conftest.$ac_objext; then
3013 echo "$as_me: failed program was
:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_c_werror_flag=$ac_save_c_werror_flag
3018 cat >conftest.$ac_ext <<_ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3052 echo "$as_me: failed program was
:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_c_werror_flag=$ac_save_c_werror_flag
3067 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3069 if test "$ac_test_CFLAGS" = set; then
3070 CFLAGS=$ac_save_CFLAGS
3071 elif test $ac_cv_prog_cc_g = yes; then
3072 if test "$GCC" = yes; then
3078 if test "$GCC" = yes; then
3084 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3085 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3086 if test "${ac_cv_prog_cc_c89+set}" = set; then
3087 echo $ECHO_N "(cached
) $ECHO_C" >&6
3089 ac_cv_prog_cc_c89=no
3091 cat >conftest.$ac_ext <<_ACEOF
3094 cat confdefs.h >>conftest.$ac_ext
3095 cat >>conftest.$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3099 #include <sys/types.h>
3100 #include <sys/stat.h>
3101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3102 struct buf { int x; };
3103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3104 static char *e (p, i)
3110 static char *f (char * (*g) (char **, int), char **p, ...)
3115 s = g (p, va_arg (v,int));
3120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3121 function prototypes and stuff, but not '\xHH' hex character constants.
3122 These don't provoke an error unfortunately, instead are silently treated
3123 as 'x'. The following induces an error, until -std is added to get
3124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3125 array size at least. It's necessary to write '\x00'==0 to get something
3126 that's true only with -std. */
3127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3130 inside strings and character constants. */
3132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3134 int test (int i, double x);
3135 struct s1 {int (*f) (int a);};
3136 struct s2 {int (*f) (double a);};
3137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3151 CC="$ac_save_CC $ac_arg"
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_c_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3169 ac_cv_prog_cc_c89=$ac_arg
3171 echo "$as_me: failed program was
:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext
3178 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3180 rm -f conftest.$ac_ext
3185 case "x
$ac_cv_prog_cc_c89" in
3187 { echo "$as_me:$LINENO: result
: none needed
" >&5
3188 echo "${ECHO_T}none needed
" >&6; } ;;
3190 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3191 echo "${ECHO_T}unsupported
" >&6; } ;;
3193 CC="$CC $ac_cv_prog_cc_c89"
3194 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3195 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3200 ac_cpp='$CPP $CPPFLAGS'
3201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3206 ac_cpp='$CXXCPP $CPPFLAGS'
3207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3210 if test -z "$CXX"; then
3211 if test -n "$CCC"; then
3214 if test -n "$ac_tool_prefix"; then
3215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3219 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3221 if test "${ac_cv_prog_CXX+set}" = set; then
3222 echo $ECHO_N "(cached
) $ECHO_C" >&6
3224 if test -n "$CXX"; then
3225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 test -z "$as_dir" && as_dir=.
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3235 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3245 if test -n "$CXX"; then
3246 { echo "$as_me:$LINENO: result
: $CXX" >&5
3247 echo "${ECHO_T}$CXX" >&6; }
3249 { echo "$as_me:$LINENO: result
: no
" >&5
3250 echo "${ECHO_T}no
" >&6; }
3254 test -n "$CXX" && break
3257 if test -z "$CXX"; then
3259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy $ac_prog; ac_word=$2
3263 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3266 echo $ECHO_N "(cached
) $ECHO_C" >&6
3268 if test -n "$ac_ct_CXX"; then
3269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_ac_ct_CXX="$ac_prog"
3279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3289 if test -n "$ac_ct_CXX"; then
3290 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3291 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3293 { echo "$as_me:$LINENO: result
: no
" >&5
3294 echo "${ECHO_T}no
" >&6; }
3298 test -n "$ac_ct_CXX" && break
3301 if test "x
$ac_ct_CXX" = x; then
3304 case $cross_compiling:$ac_tool_warned in
3306 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3307 whose name does not start with the
host triplet. If you think this
3308 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3309 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3310 whose name does not start with the
host triplet. If you think this
3311 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3312 ac_tool_warned=yes ;;
3320 # Provide some information about the compiler.
3321 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3322 ac_compiler=`set X $ac_compile; echo $2`
3323 { (ac_try="$ac_compiler --version >&5"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compiler --version >&5") 2>&5
3331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3332 (exit $ac_status); }
3333 { (ac_try="$ac_compiler -v >&5"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compiler -v >&5") 2>&5
3341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3342 (exit $ac_status); }
3343 { (ac_try="$ac_compiler -V >&5"
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compiler -V >&5") 2>&5
3351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3352 (exit $ac_status); }
3354 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3355 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3356 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3357 echo $ECHO_N "(cached
) $ECHO_C" >&6
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_cxx_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3396 echo "$as_me: failed program was
:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3406 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3407 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3408 GXX=`test $ac_compiler_gnu = yes && echo yes`
3409 ac_test_CXXFLAGS=${CXXFLAGS+set}
3410 ac_save_CXXFLAGS=$CXXFLAGS
3411 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3412 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3413 if test "${ac_cv_prog_cxx_g+set}" = set; then
3414 echo $ECHO_N "(cached
) $ECHO_C" >&6
3416 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3417 ac_cxx_werror_flag=yes
3420 cat >conftest.$ac_ext <<_ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_cxx_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3452 ac_cv_prog_cxx_g=yes
3454 echo "$as_me: failed program was
:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_cxx_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3492 echo "$as_me: failed program was
:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_cxx_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_prog_cxx_g=yes
3531 echo "$as_me: failed program was
:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3546 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3547 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3548 if test "$ac_test_CXXFLAGS" = set; then
3549 CXXFLAGS=$ac_save_CXXFLAGS
3550 elif test $ac_cv_prog_cxx_g = yes; then
3551 if test "$GXX" = yes; then
3557 if test "$GXX" = yes; then
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3572 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3573 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3574 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3575 echo $ECHO_N "(cached
) $ECHO_C" >&6
3577 if test -n "$CPPBIN"; then
3578 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3588 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3597 CPPBIN=$ac_cv_prog_CPPBIN
3598 if test -n "$CPPBIN"; then
3599 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3600 echo "${ECHO_T}$CPPBIN" >&6; }
3602 { echo "$as_me:$LINENO: result
: no
" >&5
3603 echo "${ECHO_T}no
" >&6; }
3608 if test -z "$ac_cv_prog_CPPBIN"; then
3609 ac_ct_CPPBIN=$CPPBIN
3610 # Extract the first word of "cpp
", so it can be a program name with args.
3611 set dummy cpp; ac_word=$2
3612 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3613 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3614 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3615 echo $ECHO_N "(cached
) $ECHO_C" >&6
3617 if test -n "$ac_ct_CPPBIN"; then
3618 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3628 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3638 if test -n "$ac_ct_CPPBIN"; then
3639 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3640 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3642 { echo "$as_me:$LINENO: result
: no
" >&5
3643 echo "${ECHO_T}no
" >&6; }
3646 if test "x
$ac_ct_CPPBIN" = x; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3652 whose name does not start with the
host triplet. If you think this
3653 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3654 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3655 whose name does not start with the
host triplet. If you think this
3656 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3657 ac_tool_warned=yes ;;
3659 CPPBIN=$ac_ct_CPPBIN
3662 CPPBIN="$ac_cv_prog_CPPBIN"
3666 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3667 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3668 if test "${wine_cv_toolsdir+set}" = set; then
3669 echo $ECHO_N "(cached
) $ECHO_C" >&6
3671 if test -z "$with_wine_tools"; then
3672 if test "$cross_compiling" = "yes"; then
3673 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3674 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3675 { (exit 1); exit 1; }; }
3677 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3679 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3680 case $with_wine_tools in
3681 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3682 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3685 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3686 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3687 { (exit 1); exit 1; }; }
3690 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3691 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3692 TOOLSDIR=$wine_cv_toolsdir
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3702 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3703 # On Suns, sometimes $CPP names a directory.
3704 if test -n "$CPP" && test -d "$CPP"; then
3707 if test -z "$CPP"; then
3708 if test "${ac_cv_prog_CPP+set}" = set; then
3709 echo $ECHO_N "(cached
) $ECHO_C" >&6
3711 # Double quotes because CPP needs to be expanded
3712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error
" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3730 # include <limits.h>
3732 # include <assert.h>
3736 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3744 grep -v '^ *+' conftest.er1 >conftest.err
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3748 (exit $ac_status); } >/dev/null && {
3749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3750 test ! -s conftest.err
3754 echo "$as_me: failed program was
:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3757 # Broken: fails on valid input.
3761 rm -f conftest.err conftest.$ac_ext
3763 # OK, works on sane cases. Now check whether nonexistent headers
3764 # can be detected and how.
3765 cat >conftest.$ac_ext <<_ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 #include <ac_nonexistent.h>
3773 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3785 (exit $ac_status); } >/dev/null && {
3786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3787 test ! -s conftest.err
3789 # Broken: success on invalid input.
3792 echo "$as_me: failed program was
:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 # Passes both tests.
3800 rm -f conftest.err conftest.$ac_ext
3803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3804 rm -f conftest.err conftest.$ac_ext
3805 if $ac_preproc_ok; then
3817 { echo "$as_me:$LINENO: result
: $CPP" >&5
3818 echo "${ECHO_T}$CPP" >&6; }
3820 for ac_c_preproc_warn_flag in '' yes
3822 # Use a header file that comes with gcc, so configuring glibc
3823 # with a fresh cross-compiler works.
3824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3825 # <limits.h> exists even on freestanding compilers.
3826 # On the NeXT, cc -E runs the code through the compiler's parser,
3827 # not just through cpp. "Syntax error
" is here to catch this case.
3828 cat >conftest.$ac_ext <<_ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3835 # include <limits.h>
3837 # include <assert.h>
3841 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3847 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3849 grep -v '^ *+' conftest.er1 >conftest.err
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3853 (exit $ac_status); } >/dev/null && {
3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3859 echo "$as_me: failed program was
:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Broken: fails on valid input.
3866 rm -f conftest.err conftest.$ac_ext
3868 # OK, works on sane cases. Now check whether nonexistent headers
3869 # can be detected and how.
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3878 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3886 grep -v '^ *+' conftest.er1 >conftest.err
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3890 (exit $ac_status); } >/dev/null && {
3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3894 # Broken: success on invalid input.
3897 echo "$as_me: failed program was
:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3900 # Passes both tests.
3905 rm -f conftest.err conftest.$ac_ext
3908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3909 rm -f conftest.err conftest.$ac_ext
3910 if $ac_preproc_ok; then
3913 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3914 See \
`config.log' for more details." >&5
3915 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3916 See \`config.log
' for more details." >&2;}
3917 { (exit 1); exit 1; }; }
3921 ac_cpp='$CPP $CPPFLAGS'
3922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3923 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 { echo "$as_me:$LINENO: checking for X" >&5
3928 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3931 # Check whether --with-x was given.
3932 if test "${with_x+set}" = set; then
3936 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3937 if test "x$with_x" = xno; then
3938 # The user explicitly disabled X.
3941 case $x_includes,$x_libraries in #(
3942 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3943 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3944 { (exit 1); exit 1; }; };; #(
3945 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 # One or both of the vars are not set, and there is no cached value.
3949 ac_x_includes=no ac_x_libraries=no
3950 rm -f -r conftest.dir
3951 if mkdir conftest.dir; then
3953 cat >Imakefile <<'_ACEOF'
3955 @echo incroot='${INCROOT}'
3957 @echo usrlibdir='${USRLIBDIR}'
3959 @echo libdir='${LIBDIR}'
3961 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 for ac_var in incroot usrlibdir libdir; do
3964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3967 for ac_extension in a so sl; do
3968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3970 ac_im_usrlibdir=$ac_im_libdir; break
3973 # Screen out bogus values from the imake configuration. They are
3974 # bogus both because they are the default anyway, and because
3975 # using them would break gcc on systems where it needs fixed includes.
3976 case $ac_im_incroot in
3977 /usr/include) ac_x_includes= ;;
3978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3980 case $ac_im_usrlibdir in
3982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3986 rm -f -r conftest.dir
3989 # Standard set of common directories for X headers.
3990 # Check X11 before X11Rn because it is often a symlink to the current release.
4002 /usr
/local
/X11
/include
4003 /usr
/local
/X11R
6/include
4004 /usr
/local
/X11R
5/include
4005 /usr
/local
/X11R
4/include
4007 /usr
/local
/include
/X11
4008 /usr
/local
/include
/X11R6
4009 /usr
/local
/include
/X11R5
4010 /usr
/local
/include
/X11R4
4014 /usr
/XFree86
/include
/X11
4018 /usr
/unsupported
/include
4020 /usr
/local
/x11r
5/include
4021 /usr
/lpp
/Xamples
/include
4023 /usr
/openwin
/include
4024 /usr
/openwin
/share
/include
'
4026 if test "$ac_x_includes" = no; then
4027 # Guess where to find include files, by looking for Xlib.h.
4028 # First, try using that file with no special directory specified.
4029 cat >conftest.$ac_ext <<_ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 #include <X11/Xlib.h>
4037 if { (ac_try="$ac_cpp conftest.$ac_ext"
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4045 grep -v '^
*+' conftest.er1 >conftest.err
4047 cat conftest.err >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } >/dev/null && {
4050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4051 test ! -s conftest.err
4053 # We can compile using X headers with no special include directory.
4056 echo "$as_me: failed program was:" >&5
4057 sed 's
/^
/|
/' conftest.$ac_ext >&5
4059 for ac_dir in $ac_x_header_dirs; do
4060 if test -r "$ac_dir/X11/Xlib.h"; then
4061 ac_x_includes=$ac_dir
4067 rm -f conftest.err conftest.$ac_ext
4068 fi # $ac_x_includes = no
4070 if test "$ac_x_libraries" = no; then
4071 # Check for the libraries.
4072 # See if we find them without any special options.
4073 # Don't add to
$LIBS permanently.
4076 cat >conftest.
$ac_ext <<_ACEOF
4079 cat confdefs.h
>>conftest.
$ac_ext
4080 cat >>conftest.
$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 #include <X11/Xlib.h>
4091 rm -f conftest.
$ac_objext conftest
$ac_exeext
4092 if { (ac_try
="$ac_link"
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1 >conftest.err
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4110 # We can link X programs with no special library path.
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4117 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4119 # Don't even attempt the hair of trying to link an X program!
4120 for ac_extension in a so sl; do
4121 if test -r "$ac_dir/libX11.$ac_extension"; then
4122 ac_x_libraries=$ac_dir
4129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4130 conftest$ac_exeext conftest.$ac_ext
4131 fi # $ac_x_libraries = no
4133 case $ac_x_includes,$ac_x_libraries in #(
4135 # Didn't find X, or a directory has "'" in its name.
4136 ac_cv_have_x="have_x=no";; #(
4138 # Record where we found X for the cache.
4139 ac_cv_have_x="have_x=yes\
4140 ac_x_includes='$ac_x_includes'\
4141 ac_x_libraries='$ac_x_libraries'"
4147 eval "$ac_cv_have_x"
4150 if test "$have_x" != yes; then
4151 { echo "$as_me:$LINENO: result: $have_x" >&5
4152 echo "${ECHO_T}$have_x" >&6; }
4155 # If each of the values was on the command line, it overrides each guess.
4156 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4157 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4158 # Update the cache value to reflect the command line values.
4159 ac_cv_have_x="have_x=yes\
4160 ac_x_includes='$x_includes'\
4161 ac_x_libraries='$x_libraries'"
4162 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4163 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4166 if test "$no_x" = yes; then
4167 # Not all programs may use this symbol, but it does not hurt to define it.
4169 cat >>confdefs.h <<\_ACEOF
4170 #define X_DISPLAY_MISSING 1
4173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4175 if test -n "$x_includes"; then
4176 X_CFLAGS="$X_CFLAGS -I$x_includes"
4179 # It would also be nice to do this for all -L options, not just this one.
4180 if test -n "$x_libraries"; then
4181 X_LIBS="$X_LIBS -L$x_libraries"
4182 # For Solaris; some versions of Sun CC require a space after -R and
4183 # others require no space. Words are not sufficient . . . .
4184 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4185 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4187 ac_xsave_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 cat >conftest.$ac_ext <<_ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4208 *) ac_try_echo
=$ac_try;;
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4213 grep -v '^ *+' conftest.er1
>conftest.err
4215 cat conftest.err
>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest
$ac_exeext &&
4221 $as_test_x conftest
$ac_exeext; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 X_LIBS
="$X_LIBS -R$x_libraries"
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.
$ac_ext >&5
4229 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4245 rm -f conftest.
$ac_objext conftest
$ac_exeext
4246 if { (ac_try
="$ac_link"
4248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_link") 2>conftest.er1
4254 grep -v '^ *+' conftest.er1 >conftest.err
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest$ac_exeext &&
4262 $as_test_x conftest$ac_exeext; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 X_LIBS="$X_LIBS -R $x_libraries"
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { echo "$as_me:$LINENO: result: neither works" >&5
4271 echo "${ECHO_T}neither works" >&6; }
4274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4275 conftest$ac_exeext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4279 conftest$ac_exeext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_xsave_c_werror_flag
4284 # Check for system-dependent libraries X programs must link with.
4285 # Do this before checking for the system-independent R6 libraries
4286 # (-lICE), since we may need -lsocket or whatever for X linking.
4288 if test "$ISC" = yes; then
4289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4291 # Martyn Johnson says this is needed for Ultrix, if the X
4292 # libraries were built with DECnet support. And Karl Berry says
4293 # the Alpha needs dnet_stub (dnet does not exist).
4294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4295 cat >conftest.$ac_ext <<_ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4302 /* Override any GCC internal prototype to avoid an error.
4303 Use char because int might match the return type of a GCC
4304 builtin and then its argument prototype would still apply. */
4308 char XOpenDisplay ();
4312 return XOpenDisplay ();
4317 rm -f conftest.$ac_objext conftest$ac_exeext
4318 if { (ac_try="$ac_link"
4320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4321 *) ac_try_echo
=$ac_try;;
4323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324 (eval "$ac_link") 2>conftest.er1
4326 grep -v '^ *+' conftest.er1
>conftest.err
4328 cat conftest.err
>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } && {
4331 test -z "$ac_c_werror_flag" ||
4332 test ! -s conftest.err
4333 } && test -s conftest
$ac_exeext &&
4334 $as_test_x conftest
$ac_exeext; then
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.
$ac_ext >&5
4340 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4341 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4342 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 ac_check_lib_save_LIBS
=$LIBS
4347 cat >conftest.
$ac_ext <<_ACEOF
4350 cat confdefs.h
>>conftest.
$ac_ext
4351 cat >>conftest.
$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4354 /* Override any GCC internal prototype to avoid an error.
4355 Use char because int might match the return type of a GCC
4356 builtin and then its argument prototype would still apply. */
4364 return dnet_ntoa ();
4369 rm -f conftest.
$ac_objext conftest
$ac_exeext
4370 if { (ac_try
="$ac_link"
4372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376 (eval "$ac_link") 2>conftest.er1
4378 grep -v '^ *+' conftest.er1 >conftest.err
4380 cat conftest.err >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } && {
4383 test -z "$ac_c_werror_flag" ||
4384 test ! -s conftest.err
4385 } && test -s conftest$ac_exeext &&
4386 $as_test_x conftest$ac_exeext; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4430 return dnet_ntoa ();
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4439 *) ac_try_echo
=$ac_try;;
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4444 grep -v '^ *+' conftest.er1
>conftest.err
4446 cat conftest.err
>&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && {
4449 test -z "$ac_c_werror_flag" ||
4450 test ! -s conftest.err
4451 } && test -s conftest
$ac_exeext &&
4452 $as_test_x conftest
$ac_exeext; then
4453 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4458 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4462 conftest
$ac_exeext conftest.
$ac_ext
4463 LIBS
=$ac_check_lib_save_LIBS
4465 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4466 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4467 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4475 conftest
$ac_exeext conftest.
$ac_ext
4476 LIBS
="$ac_xsave_LIBS"
4478 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4479 # to get the SysV transport functions.
4480 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4482 # The nsl library prevents programs from opening the X display
4483 # on Irix 5.2, according to T.E. Dickey.
4484 # The functions gethostbyname, getservbyname, and inet_addr are
4485 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4486 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4488 if test "${ac_cv_func_gethostbyname+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 cat >conftest.
$ac_ext <<_ACEOF
4494 cat confdefs.h
>>conftest.
$ac_ext
4495 cat >>conftest.
$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4497 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4499 #define gethostbyname innocuous_gethostbyname
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char gethostbyname (); below.
4503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 <limits.h> exists even on freestanding compilers. */
4507 # include <limits.h>
4509 # include <assert.h>
4512 #undef gethostbyname
4514 /* Override any GCC internal prototype to avoid an error.
4515 Use char because int might match the return type of a GCC
4516 builtin and then its argument prototype would still apply. */
4520 char gethostbyname ();
4521 /* The GNU C library defines this for functions which it implements
4522 to always fail with ENOSYS. Some functions are actually named
4523 something starting with __ and the normal name is an alias. */
4524 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4531 return gethostbyname ();
4536 rm -f conftest.
$ac_objext conftest
$ac_exeext
4537 if { (ac_try
="$ac_link"
4539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543 (eval "$ac_link") 2>conftest.er1
4545 grep -v '^ *+' conftest.er1 >conftest.err
4547 cat conftest.err >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && {
4550 test -z "$ac_c_werror_flag" ||
4551 test ! -s conftest.err
4552 } && test -s conftest$ac_exeext &&
4553 $as_test_x conftest$ac_exeext; then
4554 ac_cv_func_gethostbyname=yes
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 ac_cv_func_gethostbyname=no
4562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4563 conftest$ac_exeext conftest.$ac_ext
4565 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4568 if test $ac_cv_func_gethostbyname = no; then
4569 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4570 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4571 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 ac_check_lib_save_LIBS=$LIBS
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4583 /* Override any GCC internal prototype to avoid an error.
4584 Use char because int might match the return type of a GCC
4585 builtin and then its argument prototype would still apply. */
4589 char gethostbyname ();
4593 return gethostbyname ();
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (ac_try="$ac_link"
4601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4602 *) ac_try_echo
=$ac_try;;
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_link") 2>conftest.er1
4607 grep -v '^ *+' conftest.er1
>conftest.err
4609 cat conftest.err
>&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && {
4612 test -z "$ac_c_werror_flag" ||
4613 test ! -s conftest.err
4614 } && test -s conftest
$ac_exeext &&
4615 $as_test_x conftest
$ac_exeext; then
4616 ac_cv_lib_nsl_gethostbyname
=yes
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.
$ac_ext >&5
4621 ac_cv_lib_nsl_gethostbyname
=no
4624 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4625 conftest
$ac_exeext conftest.
$ac_ext
4626 LIBS
=$ac_check_lib_save_LIBS
4628 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4629 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4630 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4631 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4634 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4635 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4636 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4637 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 ac_check_lib_save_LIBS
=$LIBS
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 /* Override any GCC internal prototype to avoid an error.
4650 Use char because int might match the return type of a GCC
4651 builtin and then its argument prototype would still apply. */
4655 char gethostbyname ();
4659 return gethostbyname ();
4664 rm -f conftest.
$ac_objext conftest
$ac_exeext
4665 if { (ac_try
="$ac_link"
4667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_lib_bsd_gethostbyname=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_lib_bsd_gethostbyname=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4695 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4696 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4703 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4704 # socket/setsockopt and other routines are undefined under SCO ODT
4705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4706 # on later versions), says Simon Leinen: it contains gethostby*
4707 # variants that don't use the name server (or something). -lsocket
4708 # must be given before -lnsl if both are needed. We assume that
4709 # if connect needs -lnsl, so does gethostbyname.
4710 { echo "$as_me:$LINENO: checking for connect" >&5
4711 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4712 if test "${ac_cv_func_connect+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 cat >conftest.$ac_ext <<_ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4723 #define connect innocuous_connect
4725 /* System header to define __stub macros and hopefully few prototypes,
4726 which can conflict with char connect (); below.
4727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 <limits.h> exists even on freestanding compilers. */
4731 # include <limits.h>
4733 # include <assert.h>
4738 /* Override any GCC internal prototype to avoid an error.
4739 Use char because int might match the return type of a GCC
4740 builtin and then its argument prototype would still apply. */
4745 /* The GNU C library defines this for functions which it implements
4746 to always fail with ENOSYS. Some functions are actually named
4747 something starting with __ and the normal name is an alias. */
4748 #if defined __stub_connect || defined __stub___connect
4760 rm -f conftest.$ac_objext conftest$ac_exeext
4761 if { (ac_try="$ac_link"
4763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4764 *) ac_try_echo
=$ac_try;;
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_link") 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest
$ac_exeext &&
4777 $as_test_x conftest
$ac_exeext; then
4778 ac_cv_func_connect
=yes
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.
$ac_ext >&5
4783 ac_cv_func_connect
=no
4786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4787 conftest
$ac_exeext conftest.
$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4790 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4792 if test $ac_cv_func_connect = no
; then
4793 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4794 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4795 if test "${ac_cv_lib_socket_connect+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 ac_check_lib_save_LIBS
=$LIBS
4799 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4800 cat >conftest.
$ac_ext <<_ACEOF
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4822 rm -f conftest.
$ac_objext conftest
$ac_exeext
4823 if { (ac_try
="$ac_link"
4825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4829 (eval "$ac_link") 2>conftest.er1
4831 grep -v '^ *+' conftest.er1 >conftest.err
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } && {
4836 test -z "$ac_c_werror_flag" ||
4837 test ! -s conftest.err
4838 } && test -s conftest$ac_exeext &&
4839 $as_test_x conftest$ac_exeext; then
4840 ac_cv_lib_socket_connect=yes
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_cv_lib_socket_connect=no
4848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4849 conftest$ac_exeext conftest.$ac_ext
4850 LIBS=$ac_check_lib_save_LIBS
4852 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4853 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4854 if test $ac_cv_lib_socket_connect = yes; then
4855 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4860 # Guillermo Gomez says -lposix is necessary on A/UX.
4861 { echo "$as_me:$LINENO: checking for remove" >&5
4862 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4863 if test "${ac_cv_func_remove+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4874 #define remove innocuous_remove
4876 /* System header to define __stub macros and hopefully few prototypes,
4877 which can conflict with char remove (); below.
4878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4879 <limits.h> exists even on freestanding compilers. */
4882 # include <limits.h>
4884 # include <assert.h>
4889 /* Override any GCC internal prototype to avoid an error.
4890 Use char because int might match the return type of a GCC
4891 builtin and then its argument prototype would still apply. */
4896 /* The GNU C library defines this for functions which it implements
4897 to always fail with ENOSYS. Some functions are actually named
4898 something starting with __ and the normal name is an alias. */
4899 #if defined __stub_remove || defined __stub___remove
4911 rm -f conftest.$ac_objext conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4915 *) ac_try_echo
=$ac_try;;
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>conftest.er1
4920 grep -v '^ *+' conftest.er1
>conftest.err
4922 cat conftest.err
>&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest
$ac_exeext &&
4928 $as_test_x conftest
$ac_exeext; then
4929 ac_cv_func_remove
=yes
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.
$ac_ext >&5
4934 ac_cv_func_remove
=no
4937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4938 conftest
$ac_exeext conftest.
$ac_ext
4940 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4941 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4943 if test $ac_cv_func_remove = no
; then
4944 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4945 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4946 if test "${ac_cv_lib_posix_remove+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 ac_check_lib_save_LIBS
=$LIBS
4950 LIBS
="-lposix $LIBS"
4951 cat >conftest.
$ac_ext <<_ACEOF
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 /* Override any GCC internal prototype to avoid an error.
4959 Use char because int might match the return type of a GCC
4960 builtin and then its argument prototype would still apply. */
4973 rm -f conftest.
$ac_objext conftest
$ac_exeext
4974 if { (ac_try
="$ac_link"
4976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980 (eval "$ac_link") 2>conftest.er1
4982 grep -v '^ *+' conftest.er1 >conftest.err
4984 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && {
4987 test -z "$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 } && test -s conftest$ac_exeext &&
4990 $as_test_x conftest$ac_exeext; then
4991 ac_cv_lib_posix_remove=yes
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_lib_posix_remove=no
4999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5000 conftest$ac_exeext conftest.$ac_ext
5001 LIBS=$ac_check_lib_save_LIBS
5003 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5004 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5005 if test $ac_cv_lib_posix_remove = yes; then
5006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5011 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5012 { echo "$as_me:$LINENO: checking for shmat" >&5
5013 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5014 if test "${ac_cv_func_shmat+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 cat >conftest.$ac_ext <<_ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5025 #define shmat innocuous_shmat
5027 /* System header to define __stub macros and hopefully few prototypes,
5028 which can conflict with char shmat (); below.
5029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 <limits.h> exists even on freestanding compilers. */
5033 # include <limits.h>
5035 # include <assert.h>
5040 /* Override any GCC internal prototype to avoid an error.
5041 Use char because int might match the return type of a GCC
5042 builtin and then its argument prototype would still apply. */
5047 /* The GNU C library defines this for functions which it implements
5048 to always fail with ENOSYS. Some functions are actually named
5049 something starting with __ and the normal name is an alias. */
5050 #if defined __stub_shmat || defined __stub___shmat
5062 rm -f conftest.$ac_objext conftest$ac_exeext
5063 if { (ac_try="$ac_link"
5065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5066 *) ac_try_echo
=$ac_try;;
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$ac_link") 2>conftest.er1
5071 grep -v '^ *+' conftest.er1
>conftest.err
5073 cat conftest.err
>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest
$ac_exeext &&
5079 $as_test_x conftest
$ac_exeext; then
5080 ac_cv_func_shmat
=yes
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5089 conftest
$ac_exeext conftest.
$ac_ext
5091 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5092 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5094 if test $ac_cv_func_shmat = no
; then
5095 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5096 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5097 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 ac_check_lib_save_LIBS
=$LIBS
5102 cat >conftest.
$ac_ext <<_ACEOF
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 /* Override any GCC internal prototype to avoid an error.
5110 Use char because int might match the return type of a GCC
5111 builtin and then its argument prototype would still apply. */
5124 rm -f conftest.
$ac_objext conftest
$ac_exeext
5125 if { (ac_try
="$ac_link"
5127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_link") 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest$ac_exeext &&
5141 $as_test_x conftest$ac_exeext; then
5142 ac_cv_lib_ipc_shmat=yes
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_lib_ipc_shmat=no
5150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5151 conftest$ac_exeext conftest.$ac_ext
5152 LIBS=$ac_check_lib_save_LIBS
5154 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5155 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5156 if test $ac_cv_lib_ipc_shmat = yes; then
5157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5163 # Check for libraries that X11R6 Xt/Xaw programs need.
5164 ac_save_LDFLAGS=$LDFLAGS
5165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5167 # check for ICE first), but we must link in the order -lSM -lICE or
5168 # we get undefined symbols. So assume we have SM if we have ICE.
5169 # These have to be linked with before -lX11, unlike the other
5170 # libraries we check for below, so use a different variable.
5171 # John Interrante, Karl Berry
5172 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5173 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5174 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 ac_check_lib_save_LIBS=$LIBS
5178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5179 cat >conftest.$ac_ext <<_ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 /* Override any GCC internal prototype to avoid an error.
5187 Use char because int might match the return type of a GCC
5188 builtin and then its argument prototype would still apply. */
5192 char IceConnectionNumber ();
5196 return IceConnectionNumber ();
5201 rm -f conftest.$ac_objext conftest$ac_exeext
5202 if { (ac_try="$ac_link"
5204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5205 *) ac_try_echo
=$ac_try;;
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_link") 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } && {
5215 test -z "$ac_c_werror_flag" ||
5216 test ! -s conftest.err
5217 } && test -s conftest
$ac_exeext &&
5218 $as_test_x conftest
$ac_exeext; then
5219 ac_cv_lib_ICE_IceConnectionNumber
=yes
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.
$ac_ext >&5
5224 ac_cv_lib_ICE_IceConnectionNumber
=no
5227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5228 conftest
$ac_exeext conftest.
$ac_ext
5229 LIBS
=$ac_check_lib_save_LIBS
5231 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5232 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5233 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5234 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5237 LDFLAGS
=$ac_save_LDFLAGS
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy
$ac_prog; ac_word
=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_FLEX+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 if test -n "$FLEX"; then
5252 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_FLEX
="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 FLEX
=$ac_cv_prog_FLEX
5272 if test -n "$FLEX"; then
5273 { echo "$as_me:$LINENO: result: $FLEX" >&5
5274 echo "${ECHO_T}$FLEX" >&6; }
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$FLEX" && break
5283 test -n "$FLEX" || FLEX
="none"
5285 if test "$FLEX" = "none"
5287 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5288 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 for ac_prog
in bison
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy
$ac_prog; ac_word
=$2
5296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5298 if test "${ac_cv_prog_BISON+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 if test -n "$BISON"; then
5302 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_exec_ext
in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_prog_BISON
="$ac_prog"
5312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 BISON
=$ac_cv_prog_BISON
5322 if test -n "$BISON"; then
5323 { echo "$as_me:$LINENO: result: $BISON" >&5
5324 echo "${ECHO_T}$BISON" >&6; }
5326 { echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6; }
5331 test -n "$BISON" && break
5333 test -n "$BISON" || BISON
="none"
5335 if test "$BISON" = "none"
5337 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5338 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5339 { (exit 1); exit 1; }; }
5342 if test -n "$ac_tool_prefix"; then
5343 for ac_prog
in gas as
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5349 if test "${ac_cv_prog_AS+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 if test -n "$AS"; then
5353 ac_cv_prog_AS
="$AS" # Let the user override the test.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 if test -n "$AS"; then
5374 { echo "$as_me:$LINENO: result: $AS" >&5
5375 echo "${ECHO_T}$AS" >&6; }
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5382 test -n "$AS" && break
5385 if test -z "$AS"; then
5387 for ac_prog
in gas as
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy
$ac_prog; ac_word
=$2
5391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5393 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 if test -n "$ac_ct_AS"; then
5397 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir
=.
5404 for ac_exec_ext
in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AS
="$ac_prog"
5407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5417 if test -n "$ac_ct_AS"; then
5418 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5419 echo "${ECHO_T}$ac_ct_AS" >&6; }
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5426 test -n "$ac_ct_AS" && break
5429 if test "x$ac_ct_AS" = x
; then
5432 case $cross_compiling:$ac_tool_warned in
5434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&5
5437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5438 whose name does not start with the host triplet. If you think this
5439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5440 ac_tool_warned
=yes ;;
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5448 set dummy
${ac_tool_prefix}ld
; 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}ld"
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; }
5485 if test -z "$ac_cv_prog_LD"; then
5487 # Extract the first word of "ld", so it can be a program name with args.
5488 set dummy ld
; ac_word
=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 if test -n "$ac_ct_LD"; then
5495 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_LD
="ld"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5515 if test -n "$ac_ct_LD"; then
5516 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5517 echo "${ECHO_T}$ac_ct_LD" >&6; }
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5523 if test "x$ac_ct_LD" = x
; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5529 whose name does not start with the host triplet. If you think this
5530 configuration is useful to you, please write to autoconf@gnu.org." >&5
5531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5532 whose name does not start with the host triplet. If you think this
5533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5534 ac_tool_warned
=yes ;;
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5544 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5547 if test "${ac_cv_prog_AR+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 if test -n "$AR"; then
5551 ac_cv_prog_AR
="$AR" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 if test -n "$AR"; then
5572 { echo "$as_me:$LINENO: result: $AR" >&5
5573 echo "${ECHO_T}$AR" >&6; }
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 if test -z "$ac_cv_prog_AR"; then
5583 # Extract the first word of "ar", so it can be a program name with args.
5584 set dummy
ar; ac_word
=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 if test -n "$ac_ct_AR"; then
5591 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_AR
="ar"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5611 if test -n "$ac_ct_AR"; then
5612 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5613 echo "${ECHO_T}$ac_ct_AR" >&6; }
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5619 if test "x$ac_ct_AR" = x
; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5625 whose name does not start with the host triplet. If you think this
5626 configuration is useful to you, please write to autoconf@gnu.org." >&5
5627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5628 whose name does not start with the host triplet. If you think this
5629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5630 ac_tool_warned
=yes ;;
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 RANLIB
=$ac_cv_prog_RANLIB
5669 if test -n "$RANLIB"; then
5670 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5671 echo "${ECHO_T}$RANLIB" >&6; }
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB
=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib
; ac_word
=$2
5683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5711 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5713 { echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6; }
5717 if test "x$ac_ct_RANLIB" = x
; then
5720 case $cross_compiling:$ac_tool_warned in
5722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5723 whose name does not start with the host triplet. If you think this
5724 configuration is useful to you, please write to autoconf@gnu.org." >&5
5725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5726 whose name does not start with the host triplet. If you think this
5727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5728 ac_tool_warned
=yes ;;
5730 RANLIB
=$ac_ct_RANLIB
5733 RANLIB
="$ac_cv_prog_RANLIB"
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5738 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5741 if test "${ac_cv_prog_STRIP+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 if test -n "$STRIP"; then
5745 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir
=.
5752 for ac_exec_ext
in '' $ac_executable_extensions; do
5753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 STRIP
=$ac_cv_prog_STRIP
5765 if test -n "$STRIP"; then
5766 { echo "$as_me:$LINENO: result: $STRIP" >&5
5767 echo "${ECHO_T}$STRIP" >&6; }
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5775 if test -z "$ac_cv_prog_STRIP"; then
5777 # Extract the first word of "strip", so it can be a program name with args.
5778 set dummy strip
; ac_word
=$2
5779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5784 if test -n "$ac_ct_STRIP"; then
5785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794 ac_cv_prog_ac_ct_STRIP
="strip"
5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5805 if test -n "$ac_ct_STRIP"; then
5806 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5807 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5813 if test "x$ac_ct_STRIP" = x
; then
5816 case $cross_compiling:$ac_tool_warned in
5818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5819 whose name does not start with the host triplet. If you think this
5820 configuration is useful to you, please write to autoconf@gnu.org." >&5
5821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5822 whose name does not start with the host triplet. If you think this
5823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5824 ac_tool_warned
=yes ;;
5829 STRIP
="$ac_cv_prog_STRIP"
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5834 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_WINDRES+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 if test -n "$WINDRES"; then
5841 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 WINDRES
=$ac_cv_prog_WINDRES
5861 if test -n "$WINDRES"; then
5862 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5863 echo "${ECHO_T}$WINDRES" >&6; }
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5871 if test -z "$ac_cv_prog_WINDRES"; then
5872 ac_ct_WINDRES
=$WINDRES
5873 # Extract the first word of "windres", so it can be a program name with args.
5874 set dummy windres
; ac_word
=$2
5875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5877 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 if test -n "$ac_ct_WINDRES"; then
5881 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_WINDRES
="windres"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5901 if test -n "$ac_ct_WINDRES"; then
5902 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5903 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5909 if test "x$ac_ct_WINDRES" = x
; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5915 whose name does not start with the host triplet. If you think this
5916 configuration is useful to you, please write to autoconf@gnu.org." >&5
5917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5918 whose name does not start with the host triplet. If you think this
5919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5920 ac_tool_warned
=yes ;;
5922 WINDRES
=$ac_ct_WINDRES
5925 WINDRES
="$ac_cv_prog_WINDRES"
5928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5931 if test "$LN_S" = "ln -s"; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5936 echo "${ECHO_T}no, using $LN_S" >&6; }
5939 { echo "$as_me:$LINENO: checking whether ln works" >&5
5940 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5941 rm -f conf$$ conf$$.
file
5943 if ln conf$$.
file conf$$
2>/dev
/null
; then
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5951 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5952 echo "${ECHO_T}no, using $LN" >&6; }
5954 rm -f conf$$ conf$$.
file
5955 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5956 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5957 if test "${ac_cv_path_GREP+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 # Extract the first word of "grep ggrep" to use in msg output
5961 if test -z "$GREP"; then
5962 set dummy
grep ggrep
; ac_prog_name
=$2
5963 if test "${ac_cv_path_GREP+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 ac_path_GREP_found
=false
5967 # Loop through the user's path and test for each of PROGNAME-LIST
5968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5972 test -z "$as_dir" && as_dir
=.
5973 for ac_prog
in grep ggrep
; do
5974 for ac_exec_ext
in '' $ac_executable_extensions; do
5975 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5976 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5977 # Check for GNU ac_path_GREP and select it if it is found.
5978 # Check for GNU $ac_path_GREP
5979 case `"$ac_path_GREP" --version 2>&1` in
5981 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5984 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5987 cat "conftest.in" "conftest.in" >"conftest.tmp"
5988 mv "conftest.tmp" "conftest.in"
5989 cp "conftest.in" "conftest.nl"
5990 echo 'GREP' >> "conftest.nl"
5991 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5992 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5993 ac_count
=`expr $ac_count + 1`
5994 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5995 # Best one so far, save it but keep looking for a better one
5996 ac_cv_path_GREP
="$ac_path_GREP"
5997 ac_path_GREP_max
=$ac_count
5999 # 10*(2^10) chars as input seems more than enough
6000 test $ac_count -gt 10 && break
6002 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6006 $ac_path_GREP_found && break 3
6016 GREP
="$ac_cv_path_GREP"
6017 if test -z "$GREP"; then
6018 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6019 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6020 { (exit 1); exit 1; }; }
6024 ac_cv_path_GREP
=$GREP
6029 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6030 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6031 GREP
="$ac_cv_path_GREP"
6034 { echo "$as_me:$LINENO: checking for egrep" >&5
6035 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6036 if test "${ac_cv_path_EGREP+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6040 then ac_cv_path_EGREP
="$GREP -E"
6042 # Extract the first word of "egrep" to use in msg output
6043 if test -z "$EGREP"; then
6044 set dummy
egrep; ac_prog_name
=$2
6045 if test "${ac_cv_path_EGREP+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 ac_path_EGREP_found
=false
6049 # Loop through the user's path and test for each of PROGNAME-LIST
6050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6051 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6054 test -z "$as_dir" && as_dir
=.
6055 for ac_prog
in egrep; do
6056 for ac_exec_ext
in '' $ac_executable_extensions; do
6057 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6059 # Check for GNU ac_path_EGREP and select it if it is found.
6060 # Check for GNU $ac_path_EGREP
6061 case `"$ac_path_EGREP" --version 2>&1` in
6063 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6066 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6069 cat "conftest.in" "conftest.in" >"conftest.tmp"
6070 mv "conftest.tmp" "conftest.in"
6071 cp "conftest.in" "conftest.nl"
6072 echo 'EGREP' >> "conftest.nl"
6073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6074 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6075 ac_count
=`expr $ac_count + 1`
6076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6077 # Best one so far, save it but keep looking for a better one
6078 ac_cv_path_EGREP
="$ac_path_EGREP"
6079 ac_path_EGREP_max
=$ac_count
6081 # 10*(2^10) chars as input seems more than enough
6082 test $ac_count -gt 10 && break
6084 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6088 $ac_path_EGREP_found && break 3
6098 EGREP
="$ac_cv_path_EGREP"
6099 if test -z "$EGREP"; then
6100 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6101 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6102 { (exit 1); exit 1; }; }
6106 ac_cv_path_EGREP
=$EGREP
6112 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6113 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6114 EGREP
="$ac_cv_path_EGREP"
6117 # Extract the first word of "ldconfig", so it can be a program name with args.
6118 set dummy ldconfig
; ac_word
=$2
6119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6121 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6130 for as_dir
in /sbin
/usr
/sbin
$PATH
6133 test -z "$as_dir" && as_dir
=.
6134 for ac_exec_ext
in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6148 LDCONFIG
=$ac_cv_path_LDCONFIG
6149 if test -n "$LDCONFIG"; then
6150 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6151 echo "${ECHO_T}$LDCONFIG" >&6; }
6153 { echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6; }
6158 # Find a good install program. We prefer a C program (faster),
6159 # so one script is as good as another. But avoid the broken or
6160 # incompatible versions:
6161 # SysV /etc/install, /usr/sbin/install
6162 # SunOS /usr/etc/install
6163 # IRIX /sbin/install
6165 # AmigaOS /C/install, which installs bootblocks on floppy discs
6166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6169 # OS/2's system install, which has a completely different semantic
6170 # ./install, which can be erroneously created by make from ./install.sh.
6171 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6173 if test -z "$INSTALL"; then
6174 if test "${ac_cv_path_install+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir
=.
6182 # Account for people who put trailing slashes in PATH elements.
6184 .
/ | .
// |
/cC
/* | \
6185 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6186 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6189 # OSF1 and SCO ODT 3.0 have their own names for install.
6190 # Don't use installbsd from OSF since it installs stuff as root
6192 for ac_prog
in ginstall scoinst
install; do
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6195 if test $ac_prog = install &&
6196 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6197 # AIX install. It has an incompatible calling convention.
6199 elif test $ac_prog = install &&
6200 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6201 # program-specific install script used by HP pwplus--don't use.
6204 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6217 if test "${ac_cv_path_install+set}" = set; then
6218 INSTALL
=$ac_cv_path_install
6220 # As a last resort, use the slow shell script. Don't cache a
6221 # value for INSTALL within a source directory, because that will
6222 # break other packages using the cache if that directory is
6223 # removed, or if the value is a relative name.
6224 INSTALL
=$ac_install_sh
6227 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6228 echo "${ECHO_T}$INSTALL" >&6; }
6230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6231 # It thinks the first close brace ends the variable substitution.
6232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6234 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6236 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6239 [\\/$
]* | ?
:[\\/]* ) ;;
6240 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6243 for ac_prog
in lclint lint
6245 # Extract the first word of "$ac_prog", so it can be a program name with args.
6246 set dummy
$ac_prog; ac_word
=$2
6247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6249 if test "${ac_cv_prog_LINT+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 if test -n "$LINT"; then
6253 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir
=.
6260 for ac_exec_ext
in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_LINT
="$ac_prog"
6263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 LINT
=$ac_cv_prog_LINT
6273 if test -n "$LINT"; then
6274 { echo "$as_me:$LINENO: result: $LINT" >&5
6275 echo "${ECHO_T}$LINT" >&6; }
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6282 test -n "$LINT" && break
6285 if test "$LINT" = "lint"
6287 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6292 for ac_prog
in fontforge
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy
$ac_prog; ac_word
=$2
6296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6298 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 if test -n "$FONTFORGE"; then
6302 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir
=.
6309 for ac_exec_ext
in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_FONTFORGE
="$ac_prog"
6312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 FONTFORGE
=$ac_cv_prog_FONTFORGE
6322 if test -n "$FONTFORGE"; then
6323 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6324 echo "${ECHO_T}$FONTFORGE" >&6; }
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6331 test -n "$FONTFORGE" && break
6333 test -n "$FONTFORGE" || FONTFORGE
="false"
6335 for ac_prog
in pkg-config
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy
$ac_prog; ac_word
=$2
6339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6341 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 if test -n "$PKG_CONFIG"; then
6345 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6365 if test -n "$PKG_CONFIG"; then
6366 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6367 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6369 { echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6; }
6374 test -n "$PKG_CONFIG" && break
6376 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6380 # Extract the first word of "$ac_prog", so it can be a program name with args.
6381 set dummy
$ac_prog; ac_word
=$2
6382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6384 if test "${ac_cv_prog_RSVG+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 if test -n "$RSVG"; then
6388 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir
=.
6395 for ac_exec_ext
in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_RSVG
="$ac_prog"
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 RSVG
=$ac_cv_prog_RSVG
6408 if test -n "$RSVG"; then
6409 { echo "$as_me:$LINENO: result: $RSVG" >&5
6410 echo "${ECHO_T}$RSVG" >&6; }
6412 { echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6; }
6417 test -n "$RSVG" && break
6419 test -n "$RSVG" || RSVG
="false"
6421 for ac_prog
in icotool
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy
$ac_prog; ac_word
=$2
6425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6427 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 if test -n "$ICOTOOL"; then
6431 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir
=.
6438 for ac_exec_ext
in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ICOTOOL
="$ac_prog"
6441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 ICOTOOL
=$ac_cv_prog_ICOTOOL
6451 if test -n "$ICOTOOL"; then
6452 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6453 echo "${ECHO_T}$ICOTOOL" >&6; }
6455 { echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6; }
6460 test -n "$ICOTOOL" && break
6462 test -n "$ICOTOOL" || ICOTOOL
="false"
6465 if test "${enable_maintainer_mode+set}" = set
6467 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6468 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6473 # Extract the first word of "prelink", so it can be a program name with args.
6474 set dummy prelink
; ac_word
=$2
6475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6477 if test "${ac_cv_path_PRELINK+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6486 for as_dir
in /sbin
/usr
/sbin
$PATH
6489 test -z "$as_dir" && as_dir
=.
6490 for ac_exec_ext
in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6504 PRELINK
=$ac_cv_path_PRELINK
6505 if test -n "$PRELINK"; then
6506 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6507 echo "${ECHO_T}$PRELINK" >&6; }
6509 { echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6; }
6519 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6520 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6521 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 ac_check_lib_save_LIBS
=$LIBS
6526 cat >conftest.
$ac_ext <<_ACEOF
6529 cat confdefs.h
>>conftest.
$ac_ext
6530 cat >>conftest.
$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6533 /* Override any GCC internal prototype to avoid an error.
6534 Use char because int might match the return type of a GCC
6535 builtin and then its argument prototype would still apply. */
6539 char i386_set_ldt ();
6543 return i386_set_ldt ();
6548 rm -f conftest.
$ac_objext conftest
$ac_exeext
6549 if { (ac_try
="$ac_link"
6551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_link") 2>conftest.er1
6557 grep -v '^ *+' conftest.er1 >conftest.err
6559 cat conftest.err >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && {
6562 test -z "$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 } && test -s conftest$ac_exeext &&
6565 $as_test_x conftest$ac_exeext; then
6566 ac_cv_lib_i386_i386_set_ldt=yes
6568 echo "$as_me: failed program was:" >&5
6569 sed 's/^/| /' conftest.$ac_ext >&5
6571 ac_cv_lib_i386_i386_set_ldt=no
6574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6575 conftest$ac_exeext conftest.$ac_ext
6576 LIBS=$ac_check_lib_save_LIBS
6578 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6579 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6580 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6581 cat >>confdefs.h <<_ACEOF
6582 #define HAVE_LIBI386 1
6590 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6591 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6592 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 ac_check_lib_save_LIBS=$LIBS
6596 LIBS="-lossaudio $LIBS"
6597 cat >conftest.$ac_ext <<_ACEOF
6600 cat confdefs.h >>conftest.$ac_ext
6601 cat >>conftest.$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6604 /* Override any GCC internal prototype to avoid an error.
6605 Use char because int might match the return type of a GCC
6606 builtin and then its argument prototype would still apply. */
6614 return _oss_ioctl ();
6619 rm -f conftest.$ac_objext conftest$ac_exeext
6620 if { (ac_try="$ac_link"
6622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6623 *) ac_try_echo
=$ac_try;;
6625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6626 (eval "$ac_link") 2>conftest.er1
6628 grep -v '^ *+' conftest.er1
>conftest.err
6630 cat conftest.err
>&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } && {
6633 test -z "$ac_c_werror_flag" ||
6634 test ! -s conftest.err
6635 } && test -s conftest
$ac_exeext &&
6636 $as_test_x conftest
$ac_exeext; then
6637 ac_cv_lib_ossaudio__oss_ioctl
=yes
6639 echo "$as_me: failed program was:" >&5
6640 sed 's/^/| /' conftest.
$ac_ext >&5
6642 ac_cv_lib_ossaudio__oss_ioctl
=no
6645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6646 conftest
$ac_exeext conftest.
$ac_ext
6647 LIBS
=$ac_check_lib_save_LIBS
6649 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6650 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6651 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6652 cat >>confdefs.h
<<_ACEOF
6653 #define HAVE_LIBOSSAUDIO 1
6656 LIBS
="-lossaudio $LIBS"
6660 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6661 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6662 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 ac_check_lib_save_LIBS
=$LIBS
6666 LIBS
="-lpthread $LIBS"
6667 cat >conftest.
$ac_ext <<_ACEOF
6670 cat confdefs.h
>>conftest.
$ac_ext
6671 cat >>conftest.
$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6674 /* Override any GCC internal prototype to avoid an error.
6675 Use char because int might match the return type of a GCC
6676 builtin and then its argument prototype would still apply. */
6680 char pthread_create ();
6684 return pthread_create ();
6689 rm -f conftest.
$ac_objext conftest
$ac_exeext
6690 if { (ac_try
="$ac_link"
6692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6693 *) ac_try_echo=$ac_try;;
6695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6696 (eval "$ac_link") 2>conftest.er1
6698 grep -v '^ *+' conftest.er1 >conftest.err
6700 cat conftest.err >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } && {
6703 test -z "$ac_c_werror_flag" ||
6704 test ! -s conftest.err
6705 } && test -s conftest$ac_exeext &&
6706 $as_test_x conftest$ac_exeext; then
6707 ac_cv_lib_pthread_pthread_create=yes
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6712 ac_cv_lib_pthread_pthread_create=no
6715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6716 conftest$ac_exeext conftest.$ac_ext
6717 LIBS=$ac_check_lib_save_LIBS
6719 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6720 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6721 if test $ac_cv_lib_pthread_pthread_create = yes; then
6722 LIBPTHREAD="-lpthread"
6741 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6742 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6743 if test "${ac_cv_header_stdc+set}" = set; then
6744 echo $ECHO_N "(cached) $ECHO_C" >&6
6746 cat >conftest.$ac_ext <<_ACEOF
6749 cat confdefs.h >>conftest.$ac_ext
6750 cat >>conftest.$ac_ext <<_ACEOF
6751 /* end confdefs.h. */
6765 rm -f conftest.$ac_objext
6766 if { (ac_try="$ac_compile"
6768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6769 *) ac_try_echo
=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_compile") 2>conftest.er1
6774 grep -v '^ *+' conftest.er1
>conftest.err
6776 cat conftest.err
>&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && {
6779 test -z "$ac_c_werror_flag" ||
6780 test ! -s conftest.err
6781 } && test -s conftest.
$ac_objext; then
6782 ac_cv_header_stdc
=yes
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.
$ac_ext >&5
6787 ac_cv_header_stdc
=no
6790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6792 if test $ac_cv_header_stdc = yes; then
6793 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6794 cat >conftest.
$ac_ext <<_ACEOF
6797 cat confdefs.h
>>conftest.
$ac_ext
6798 cat >>conftest.
$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6804 $EGREP "memchr" >/dev
/null
2>&1; then
6807 ac_cv_header_stdc
=no
6813 if test $ac_cv_header_stdc = yes; then
6814 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6815 cat >conftest.
$ac_ext <<_ACEOF
6818 cat confdefs.h
>>conftest.
$ac_ext
6819 cat >>conftest.
$ac_ext <<_ACEOF
6820 /* end confdefs.h. */
6824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6825 $EGREP "free" >/dev
/null
2>&1; then
6828 ac_cv_header_stdc
=no
6834 if test $ac_cv_header_stdc = yes; then
6835 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6836 if test "$cross_compiling" = yes; then
6839 cat >conftest.
$ac_ext <<_ACEOF
6842 cat confdefs.h
>>conftest.
$ac_ext
6843 cat >>conftest.
$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6847 #if ((' ' & 0x0FF) == 0x020)
6848 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6849 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6851 # define ISLOWER(c) \
6852 (('a' <= (c) && (c) <= 'i') \
6853 || ('j' <= (c) && (c) <= 'r') \
6854 || ('s' <= (c) && (c) <= 'z'))
6855 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6858 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6863 for (i = 0; i < 256; i++)
6864 if (XOR (islower (i), ISLOWER (i))
6865 || toupper (i) != TOUPPER (i))
6870 rm -f conftest
$ac_exeext
6871 if { (ac_try
="$ac_link"
6873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6874 *) ac_try_echo=$ac_try;;
6876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 (eval "$ac_link") 2>&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6881 { (case "(($ac_try" in
6882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6883 *) ac_try_echo
=$ac_try;;
6885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6886 (eval "$ac_try") 2>&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6892 echo "$as_me: program exited with status $ac_status" >&5
6893 echo "$as_me: failed program was:" >&5
6894 sed 's/^/| /' conftest.
$ac_ext >&5
6897 ac_cv_header_stdc
=no
6899 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6905 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6906 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6907 if test $ac_cv_header_stdc = yes; then
6909 cat >>confdefs.h
<<\_ACEOF
6910 #define STDC_HEADERS 1
6915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6925 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6926 inttypes.h stdint.h unistd.h
6928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6931 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 $ac_includes_default
6942 #include <$ac_header>
6944 rm -f conftest.
$ac_objext
6945 if { (ac_try
="$ac_compile"
6947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6948 *) ac_try_echo=$ac_try;;
6950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6951 (eval "$ac_compile") 2>conftest.er1
6953 grep -v '^ *+' conftest.er1 >conftest.err
6955 cat conftest.err >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } && {
6958 test -z "$ac_c_werror_flag" ||
6959 test ! -s conftest.err
6960 } && test -s conftest.$ac_objext; then
6961 eval "$as_ac_Header=yes"
6963 echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6966 eval "$as_ac_Header=no"
6969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971 ac_res=`eval echo '${'$as_ac_Header'}'`
6972 { echo "$as_me:$LINENO: result: $ac_res" >&5
6973 echo "${ECHO_T}$ac_res" >&6; }
6974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6975 cat >>confdefs.h <<_ACEOF
6976 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7095 AudioUnit/AudioUnit.h \
7097 CoreAudio/CoreAudio.h \
7098 DiskArbitration/DiskArbitration.h \
7111 fontconfig/fontconfig.h \
7137 machine/soundcard.h \
7142 netinet/in_systm.h \
7207 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7214 ac_res=`eval echo '${'$as_ac_Header'}'`
7215 { echo "$as_me:$LINENO: result: $ac_res" >&5
7216 echo "${ECHO_T}$ac_res" >&6; }
7218 # Is the header compilable?
7219 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7221 cat >conftest.$ac_ext <<_ACEOF
7224 cat confdefs.h >>conftest.$ac_ext
7225 cat >>conftest.$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7227 $ac_includes_default
7228 #include <$ac_header>
7230 rm -f conftest.$ac_objext
7231 if { (ac_try="$ac_compile"
7233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7234 *) ac_try_echo
=$ac_try;;
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237 (eval "$ac_compile") 2>conftest.er1
7239 grep -v '^ *+' conftest.er1
>conftest.err
7241 cat conftest.err
>&5
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); } && {
7244 test -z "$ac_c_werror_flag" ||
7245 test ! -s conftest.err
7246 } && test -s conftest.
$ac_objext; then
7247 ac_header_compiler
=yes
7249 echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.
$ac_ext >&5
7252 ac_header_compiler
=no
7255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7256 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7257 echo "${ECHO_T}$ac_header_compiler" >&6; }
7259 # Is the header present?
7260 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7262 cat >conftest.
$ac_ext <<_ACEOF
7265 cat confdefs.h
>>conftest.
$ac_ext
7266 cat >>conftest.
$ac_ext <<_ACEOF
7267 /* end confdefs.h. */
7268 #include <$ac_header>
7270 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7273 *) ac_try_echo=$ac_try;;
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7278 grep -v '^ *+' conftest.er1 >conftest.err
7280 cat conftest.err >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); } >/dev/null && {
7283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7284 test ! -s conftest.err
7286 ac_header_preproc=yes
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 ac_header_preproc=no
7294 rm -f conftest.err conftest.$ac_ext
7295 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7296 echo "${ECHO_T}$ac_header_preproc" >&6; }
7298 # So? What about this header?
7299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7305 ac_header_preproc=yes
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7321 ## ------------------------------------ ##
7322 ## Report this to wine-devel@winehq.org ##
7323 ## ------------------------------------ ##
7325 ) | sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
7335 ac_res=`eval echo '${'$as_ac_Header'}'`
7336 { echo "$as_me:$LINENO: result: $ac_res" >&5
7337 echo "${ECHO_T}$ac_res" >&6; }
7340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7341 cat >>confdefs.h <<_ACEOF
7342 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7349 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7350 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7351 if test "${ac_cv_header_stat_broken+set}" = set; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 cat >conftest.$ac_ext <<_ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <sys/types.h>
7361 #include <sys/stat.h>
7363 #if defined S_ISBLK && defined S_IFDIR
7364 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7367 #if defined S_ISBLK && defined S_IFCHR
7368 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7371 #if defined S_ISLNK && defined S_IFREG
7372 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7375 #if defined S_ISSOCK && defined S_IFREG
7376 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7380 rm -f conftest.$ac_objext
7381 if { (ac_try="$ac_compile"
7383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7384 *) ac_try_echo
=$ac_try;;
7386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7387 (eval "$ac_compile") 2>conftest.er1
7389 grep -v '^ *+' conftest.er1
>conftest.err
7391 cat conftest.err
>&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); } && {
7394 test -z "$ac_c_werror_flag" ||
7395 test ! -s conftest.err
7396 } && test -s conftest.
$ac_objext; then
7397 ac_cv_header_stat_broken
=no
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.
$ac_ext >&5
7402 ac_cv_header_stat_broken
=yes
7405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7407 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7408 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7409 if test $ac_cv_header_stat_broken = yes; then
7411 cat >>confdefs.h
<<\_ACEOF
7412 #define STAT_MACROS_BROKEN 1
7423 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7425 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7428 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 cat >conftest.
$ac_ext <<_ACEOF
7434 cat confdefs.h
>>conftest.
$ac_ext
7435 cat >>conftest.
$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7437 #include <sys/types.h>
7438 #ifdef HAVE_SYS_PARAM_H
7439 # include <sys/param.h>
7442 #include <$ac_header>
7444 rm -f conftest.
$ac_objext
7445 if { (ac_try
="$ac_compile"
7447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_compile") 2>conftest.er1
7453 grep -v '^ *+' conftest.er1 >conftest.err
7455 cat conftest.err >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } && {
7458 test -z "$ac_c_werror_flag" ||
7459 test ! -s conftest.err
7460 } && test -s conftest.$ac_objext; then
7461 eval "$as_ac_Header=yes"
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.$ac_ext >&5
7466 eval "$as_ac_Header=no"
7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471 ac_res=`eval echo '${'$as_ac_Header'}'`
7472 { echo "$as_me:$LINENO: result: $ac_res" >&5
7473 echo "${ECHO_T}$ac_res" >&6; }
7474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7475 cat >>confdefs.h <<_ACEOF
7476 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7492 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7494 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 cat >conftest.$ac_ext <<_ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #ifdef HAVE_SYS_SOCKET_H
7508 # include <sys/socket.h>
7510 #ifdef HAVE_SYS_SOCKETVAR_H
7511 # include <sys/socketvar.h>
7513 #ifdef HAVE_NETINET_IN_H
7514 # include <netinet/in.h>
7517 #include <$ac_header>
7519 rm -f conftest.$ac_objext
7520 if { (ac_try="$ac_compile"
7522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7523 *) ac_try_echo
=$ac_try;;
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7526 (eval "$ac_compile") 2>conftest.er1
7528 grep -v '^ *+' conftest.er1
>conftest.err
7530 cat conftest.err
>&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } && {
7533 test -z "$ac_c_werror_flag" ||
7534 test ! -s conftest.err
7535 } && test -s conftest.
$ac_objext; then
7536 eval "$as_ac_Header=yes"
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.
$ac_ext >&5
7541 eval "$as_ac_Header=no"
7544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7546 ac_res
=`eval echo '${'$as_ac_Header'}'`
7547 { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h
<<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 for ac_header
in netinet
/tcp_var.h
7562 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7565 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 cat >conftest.
$ac_ext <<_ACEOF
7571 cat confdefs.h
>>conftest.
$ac_ext
7572 cat >>conftest.
$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <sys/types.h>
7575 #ifdef HAVE_SYS_SOCKET_H
7576 # include <sys/socket.h>
7578 #ifdef HAVE_SYS_SOCKETVAR_H
7579 # include <sys/socketvar.h>
7581 #ifdef HAVE_NETINET_IN_H
7582 # include <netinet/in.h>
7584 #ifdef HAVE_NETINET_TCP_H
7585 # include <netinet/tcp.h>
7588 #include <$ac_header>
7590 rm -f conftest.
$ac_objext
7591 if { (ac_try
="$ac_compile"
7593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7594 *) ac_try_echo=$ac_try;;
7596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7597 (eval "$ac_compile") 2>conftest.er1
7599 grep -v '^ *+' conftest.er1 >conftest.err
7601 cat conftest.err >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } && {
7604 test -z "$ac_c_werror_flag" ||
7605 test ! -s conftest.err
7606 } && test -s conftest.$ac_objext; then
7607 eval "$as_ac_Header=yes"
7609 echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.$ac_ext >&5
7612 eval "$as_ac_Header=no"
7615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7617 ac_res=`eval echo '${'$as_ac_Header'}'`
7618 { echo "$as_me:$LINENO: result: $ac_res" >&5
7619 echo "${ECHO_T}$ac_res" >&6; }
7620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7621 cat >>confdefs.h <<_ACEOF
7622 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7631 for ac_header in linux/ipx.h
7633 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 cat >conftest.$ac_ext <<_ACEOF
7642 cat confdefs.h >>conftest.$ac_ext
7643 cat >>conftest.$ac_ext <<_ACEOF
7644 /* end confdefs.h. */
7645 #include <sys/types.h>
7646 #ifdef HAVE_ASM_TYPES_H
7647 # include <asm/types.h>
7649 #ifdef HAVE_SYS_SOCKET_H
7650 # include <sys/socket.h>
7653 #include <$ac_header>
7655 rm -f conftest.$ac_objext
7656 if { (ac_try="$ac_compile"
7658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7659 *) ac_try_echo
=$ac_try;;
7661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7662 (eval "$ac_compile") 2>conftest.er1
7664 grep -v '^ *+' conftest.er1
>conftest.err
7666 cat conftest.err
>&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); } && {
7669 test -z "$ac_c_werror_flag" ||
7670 test ! -s conftest.err
7671 } && test -s conftest.
$ac_objext; then
7672 eval "$as_ac_Header=yes"
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.
$ac_ext >&5
7677 eval "$as_ac_Header=no"
7680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7682 ac_res
=`eval echo '${'$as_ac_Header'}'`
7683 { echo "$as_me:$LINENO: result: $ac_res" >&5
7684 echo "${ECHO_T}$ac_res" >&6; }
7685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7686 cat >>confdefs.h
<<_ACEOF
7687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696 for ac_header
in resolv.h
7698 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7701 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 cat >conftest.
$ac_ext <<_ACEOF
7707 cat confdefs.h
>>conftest.
$ac_ext
7708 cat >>conftest.
$ac_ext <<_ACEOF
7709 /* end confdefs.h. */
7710 #include <sys/types.h>
7711 #ifdef HAVE_SYS_SOCKET_H
7712 # include <sys/socket.h>
7714 #ifdef HAVE_NETINET_IN_H
7715 # include <netinet/in.h>
7717 #ifdef HAVE_ARPA_NAMESER_H
7718 # include <arpa/nameser.h>
7721 #include <$ac_header>
7723 rm -f conftest.
$ac_objext
7724 if { (ac_try
="$ac_compile"
7726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7727 *) ac_try_echo=$ac_try;;
7729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 (eval "$ac_compile") 2>conftest.er1
7732 grep -v '^ *+' conftest.er1 >conftest.err
7734 cat conftest.err >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); } && {
7737 test -z "$ac_c_werror_flag" ||
7738 test ! -s conftest.err
7739 } && test -s conftest.$ac_objext; then
7740 eval "$as_ac_Header=yes"
7742 echo "$as_me: failed program was:" >&5
7743 sed 's/^/| /' conftest.$ac_ext >&5
7745 eval "$as_ac_Header=no"
7748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7750 ac_res=`eval echo '${'$as_ac_Header'}'`
7751 { echo "$as_me:$LINENO: result: $ac_res" >&5
7752 echo "${ECHO_T}$ac_res" >&6; }
7753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7754 cat >>confdefs.h <<_ACEOF
7755 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7764 for ac_header in ucontext.h
7766 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7767 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7769 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7770 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 cat >conftest.$ac_ext <<_ACEOF
7775 cat confdefs.h >>conftest.$ac_ext
7776 cat >>conftest.$ac_ext <<_ACEOF
7777 /* end confdefs.h. */
7780 #include <$ac_header>
7782 rm -f conftest.$ac_objext
7783 if { (ac_try="$ac_compile"
7785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7786 *) ac_try_echo
=$ac_try;;
7788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7789 (eval "$ac_compile") 2>conftest.er1
7791 grep -v '^ *+' conftest.er1
>conftest.err
7793 cat conftest.err
>&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); } && {
7796 test -z "$ac_c_werror_flag" ||
7797 test ! -s conftest.err
7798 } && test -s conftest.
$ac_objext; then
7799 eval "$as_ac_Header=yes"
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.
$ac_ext >&5
7804 eval "$as_ac_Header=no"
7807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7809 ac_res
=`eval echo '${'$as_ac_Header'}'`
7810 { echo "$as_me:$LINENO: result: $ac_res" >&5
7811 echo "${ECHO_T}$ac_res" >&6; }
7812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7813 cat >>confdefs.h
<<_ACEOF
7814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7823 for ac_header
in sys
/thr.h
7825 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7826 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7828 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7831 cat >conftest.
$ac_ext <<_ACEOF
7834 cat confdefs.h
>>conftest.
$ac_ext
7835 cat >>conftest.
$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7837 #include <sys/types.h>
7838 #ifdef HAVE_UCONTEXT_H
7839 #include <ucontext.h>
7842 #include <$ac_header>
7844 rm -f conftest.
$ac_objext
7845 if { (ac_try
="$ac_compile"
7847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7851 (eval "$ac_compile") 2>conftest.er1
7853 grep -v '^ *+' conftest.er1 >conftest.err
7855 cat conftest.err >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); } && {
7858 test -z "$ac_c_werror_flag" ||
7859 test ! -s conftest.err
7860 } && test -s conftest.$ac_objext; then
7861 eval "$as_ac_Header=yes"
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7866 eval "$as_ac_Header=no"
7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871 ac_res=`eval echo '${'$as_ac_Header'}'`
7872 { echo "$as_me:$LINENO: result: $ac_res" >&5
7873 echo "${ECHO_T}$ac_res" >&6; }
7874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7875 cat >>confdefs.h <<_ACEOF
7876 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7885 for ac_header in pthread_np.h
7887 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 cat >conftest.$ac_ext <<_ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7899 #ifdef HAVE_PTHREAD_H
7900 #include <pthread.h>
7903 #include <$ac_header>
7905 rm -f conftest.$ac_objext
7906 if { (ac_try="$ac_compile"
7908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7909 *) ac_try_echo
=$ac_try;;
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_compile") 2>conftest.er1
7914 grep -v '^ *+' conftest.er1
>conftest.err
7916 cat conftest.err
>&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); } && {
7919 test -z "$ac_c_werror_flag" ||
7920 test ! -s conftest.err
7921 } && test -s conftest.
$ac_objext; then
7922 eval "$as_ac_Header=yes"
7924 echo "$as_me: failed program was:" >&5
7925 sed 's/^/| /' conftest.
$ac_ext >&5
7927 eval "$as_ac_Header=no"
7930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7932 ac_res
=`eval echo '${'$as_ac_Header'}'`
7933 { echo "$as_me:$LINENO: result: $ac_res" >&5
7934 echo "${ECHO_T}$ac_res" >&6; }
7935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7936 cat >>confdefs.h
<<_ACEOF
7937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7946 for ac_header
in linux
/videodev.h
7948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7949 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7951 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 cat >conftest.
$ac_ext <<_ACEOF
7957 cat confdefs.h
>>conftest.
$ac_ext
7958 cat >>conftest.
$ac_ext <<_ACEOF
7959 /* end confdefs.h. */
7960 #ifdef HAVE_SYS_TIME_H
7961 #include <sys/time.h>
7963 #include <sys/types.h>
7964 #ifdef HAVE_ASM_TYPES_H
7965 #include <asm/types.h>
7968 #include <$ac_header>
7970 rm -f conftest.
$ac_objext
7971 if { (ac_try
="$ac_compile"
7973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7974 *) ac_try_echo=$ac_try;;
7976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7977 (eval "$ac_compile") 2>conftest.er1
7979 grep -v '^ *+' conftest.er1 >conftest.err
7981 cat conftest.err >&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); } && {
7984 test -z "$ac_c_werror_flag" ||
7985 test ! -s conftest.err
7986 } && test -s conftest.$ac_objext; then
7987 eval "$as_ac_Header=yes"
7989 echo "$as_me: failed program was:" >&5
7990 sed 's/^/| /' conftest.$ac_ext >&5
7992 eval "$as_ac_Header=no"
7995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7997 ac_res=`eval echo '${'$as_ac_Header'}'`
7998 { echo "$as_me:$LINENO: result: $ac_res" >&5
7999 echo "${ECHO_T}$ac_res" >&6; }
8000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8001 cat >>confdefs.h <<_ACEOF
8002 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8011 for ac_header in linux/capi.h
8013 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 cat >conftest.$ac_ext <<_ACEOF
8022 cat confdefs.h >>conftest.$ac_ext
8023 cat >>conftest.$ac_ext <<_ACEOF
8024 /* end confdefs.h. */
8027 #include <$ac_header>
8029 rm -f conftest.$ac_objext
8030 if { (ac_try="$ac_compile"
8032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8033 *) ac_try_echo
=$ac_try;;
8035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8036 (eval "$ac_compile") 2>conftest.er1
8038 grep -v '^ *+' conftest.er1
>conftest.err
8040 cat conftest.err
>&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); } && {
8043 test -z "$ac_c_werror_flag" ||
8044 test ! -s conftest.err
8045 } && test -s conftest.
$ac_objext; then
8046 eval "$as_ac_Header=yes"
8048 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.
$ac_ext >&5
8051 eval "$as_ac_Header=no"
8054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8056 ac_res
=`eval echo '${'$as_ac_Header'}'`
8057 { echo "$as_me:$LINENO: result: $ac_res" >&5
8058 echo "${ECHO_T}$ac_res" >&6; }
8059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8060 cat >>confdefs.h
<<_ACEOF
8061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8072 DLLFLAGS
="-D_REENTRANT"
8086 # Extract the first word of "ldd", so it can be a program name with args.
8087 set dummy ldd
; ac_word
=$2
8088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8090 if test "${ac_cv_path_LDD+set}" = set; then
8091 echo $ECHO_N "(cached) $ECHO_C" >&6
8095 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8099 as_dummy
="/sbin:/usr/sbin:$PATH"
8100 for as_dir
in $as_dummy
8103 test -z "$as_dir" && as_dir
=.
8104 for ac_exec_ext
in '' $ac_executable_extensions; do
8105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8106 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8114 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8119 if test -n "$LDD"; then
8120 { echo "$as_me:$LINENO: result: $LDD" >&5
8121 echo "${ECHO_T}$LDD" >&6; }
8123 { echo "$as_me:$LINENO: result: no" >&5
8124 echo "${ECHO_T}no" >&6; }
8131 if test -n "$ac_tool_prefix"; then
8132 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8133 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8136 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8139 if test -n "$DLLTOOL"; then
8140 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8146 test -z "$as_dir" && as_dir
=.
8147 for ac_exec_ext
in '' $ac_executable_extensions; do
8148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8149 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 DLLTOOL
=$ac_cv_prog_DLLTOOL
8160 if test -n "$DLLTOOL"; then
8161 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8162 echo "${ECHO_T}$DLLTOOL" >&6; }
8164 { echo "$as_me:$LINENO: result: no" >&5
8165 echo "${ECHO_T}no" >&6; }
8170 if test -z "$ac_cv_prog_DLLTOOL"; then
8171 ac_ct_DLLTOOL
=$DLLTOOL
8172 # Extract the first word of "dlltool", so it can be a program name with args.
8173 set dummy dlltool
; ac_word
=$2
8174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8176 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8177 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 if test -n "$ac_ct_DLLTOOL"; then
8180 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir
=.
8187 for ac_exec_ext
in '' $ac_executable_extensions; do
8188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8189 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8199 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8200 if test -n "$ac_ct_DLLTOOL"; then
8201 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8202 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8204 { echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6; }
8208 if test "x$ac_ct_DLLTOOL" = x
; then
8211 case $cross_compiling:$ac_tool_warned in
8213 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8214 whose name does not start with the host triplet. If you think this
8215 configuration is useful to you, please write to autoconf@gnu.org." >&5
8216 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8217 whose name does not start with the host triplet. If you think this
8218 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8219 ac_tool_warned
=yes ;;
8221 DLLTOOL
=$ac_ct_DLLTOOL
8224 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8227 if test -n "$ac_tool_prefix"; then
8228 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8229 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8232 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 if test -n "$DLLWRAP"; then
8236 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8242 test -z "$as_dir" && as_dir
=.
8243 for ac_exec_ext
in '' $ac_executable_extensions; do
8244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 DLLWRAP
=$ac_cv_prog_DLLWRAP
8256 if test -n "$DLLWRAP"; then
8257 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8258 echo "${ECHO_T}$DLLWRAP" >&6; }
8260 { echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6; }
8266 if test -z "$ac_cv_prog_DLLWRAP"; then
8267 ac_ct_DLLWRAP
=$DLLWRAP
8268 # Extract the first word of "dllwrap", so it can be a program name with args.
8269 set dummy dllwrap
; ac_word
=$2
8270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8272 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 if test -n "$ac_ct_DLLWRAP"; then
8276 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8282 test -z "$as_dir" && as_dir
=.
8283 for ac_exec_ext
in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8296 if test -n "$ac_ct_DLLWRAP"; then
8297 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8298 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8300 { echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6; }
8304 if test "x$ac_ct_DLLWRAP" = x
; then
8307 case $cross_compiling:$ac_tool_warned in
8309 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8310 whose name does not start with the host triplet. If you think this
8311 configuration is useful to you, please write to autoconf@gnu.org." >&5
8312 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8313 whose name does not start with the host triplet. If you think this
8314 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8315 ac_tool_warned
=yes ;;
8317 DLLWRAP
=$ac_ct_DLLWRAP
8320 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8323 if test -n "$ac_tool_prefix"; then
8324 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8325 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8328 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8329 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 if test -n "$MINGWAR"; then
8332 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir
=.
8339 for ac_exec_ext
in '' $ac_executable_extensions; do
8340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8341 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8351 MINGWAR
=$ac_cv_prog_MINGWAR
8352 if test -n "$MINGWAR"; then
8353 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8354 echo "${ECHO_T}$MINGWAR" >&6; }
8356 { echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6; }
8362 if test -z "$ac_cv_prog_MINGWAR"; then
8363 ac_ct_MINGWAR
=$MINGWAR
8364 # Extract the first word of "ar", so it can be a program name with args.
8365 set dummy
ar; ac_word
=$2
8366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8368 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 if test -n "$ac_ct_MINGWAR"; then
8372 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8378 test -z "$as_dir" && as_dir
=.
8379 for ac_exec_ext
in '' $ac_executable_extensions; do
8380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8381 ac_cv_prog_ac_ct_MINGWAR
="ar"
8382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8391 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8392 if test -n "$ac_ct_MINGWAR"; then
8393 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8394 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8396 { echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6; }
8400 if test "x$ac_ct_MINGWAR" = x
; then
8403 case $cross_compiling:$ac_tool_warned in
8405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8406 whose name does not start with the host triplet. If you think this
8407 configuration is useful to you, please write to autoconf@gnu.org." >&5
8408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8409 whose name does not start with the host triplet. If you think this
8410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8411 ac_tool_warned
=yes ;;
8413 MINGWAR
=$ac_ct_MINGWAR
8416 MINGWAR
="$ac_cv_prog_MINGWAR"
8419 if test "$DLLWRAP" = "false"; then
8431 DLLFLAGS
="$DLLFLAGS -fPIC"
8432 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8433 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8434 LDSHARED
="\$(CC) -dynamiclib"
8436 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8437 SECURITYLIB
="-framework Security -framework CoreFoundation"
8439 COREFOUNDATIONLIB
="-framework CoreFoundation"
8441 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8443 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8445 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8447 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8450 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8452 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8457 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8459 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8461 CARBONLIB
="-framework Carbon"
8463 QUARTZFILES
='$(QUARTZFILES)'
8467 DLLFLAGS
="$DLLFLAGS -fPIC"
8469 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8470 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8471 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8472 echo $ECHO_N "(cached) $ECHO_C" >&6
8474 ac_wine_try_cflags_saved
=$CFLAGS
8475 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8476 cat >conftest.
$ac_ext <<_ACEOF
8479 rm -f conftest.
$ac_objext conftest
$ac_exeext
8480 if { (ac_try
="$ac_link"
8482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8483 *) ac_try_echo=$ac_try;;
8485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8486 (eval "$ac_link") 2>conftest.er1
8488 grep -v '^ *+' conftest.er1 >conftest.err
8490 cat conftest.err >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } && {
8493 test -z "$ac_c_werror_flag" ||
8494 test ! -s conftest.err
8495 } && test -s conftest$ac_exeext &&
8496 $as_test_x conftest$ac_exeext; then
8497 ac_cv_c_dll_gnuelf="yes"
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_cv_c_dll_gnuelf="no"
8505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8510 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8511 if test "$ac_cv_c_dll_gnuelf" = "yes"
8513 LDSHARED="\$(CC) -shared"
8514 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8515 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8516 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8517 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 ac_wine_try_cflags_saved=$CFLAGS
8521 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8522 cat >conftest.$ac_ext <<_ACEOF
8525 cat confdefs.h >>conftest.$ac_ext
8526 cat >>conftest.$ac_ext <<_ACEOF
8527 /* end confdefs.h. */
8537 rm -f conftest.$ac_objext conftest$ac_exeext
8538 if { (ac_try="$ac_link"
8540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8541 *) ac_try_echo
=$ac_try;;
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8544 (eval "$ac_link") 2>conftest.er1
8546 grep -v '^ *+' conftest.er1
>conftest.err
8548 cat conftest.err
>&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } && {
8551 test -z "$ac_c_werror_flag" ||
8552 test ! -s conftest.err
8553 } && test -s conftest
$ac_exeext &&
8554 $as_test_x conftest
$ac_exeext; then
8555 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8557 echo "$as_me: failed program was:" >&5
8558 sed 's/^/| /' conftest.
$ac_ext >&5
8560 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8563 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8564 conftest
$ac_exeext conftest.
$ac_ext
8565 CFLAGS
=$ac_wine_try_cflags_saved
8567 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8568 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8569 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8570 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8572 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8573 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8574 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8575 echo $ECHO_N "(cached) $ECHO_C" >&6
8577 ac_wine_try_cflags_saved
=$CFLAGS
8578 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8579 cat >conftest.
$ac_ext <<_ACEOF
8582 cat confdefs.h
>>conftest.
$ac_ext
8583 cat >>conftest.
$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8594 rm -f conftest.
$ac_objext conftest
$ac_exeext
8595 if { (ac_try
="$ac_link"
8597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8598 *) ac_try_echo=$ac_try;;
8600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8601 (eval "$ac_link") 2>conftest.er1
8603 grep -v '^ *+' conftest.er1 >conftest.err
8605 cat conftest.err >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } && {
8608 test -z "$ac_c_werror_flag" ||
8609 test ! -s conftest.err
8610 } && test -s conftest$ac_exeext &&
8611 $as_test_x conftest$ac_exeext; then
8612 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8614 echo "$as_me: failed program was:" >&5
8615 sed 's/^/| /' conftest.$ac_ext >&5
8617 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8625 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8626 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8627 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8633 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8634 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8635 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8636 echo $ECHO_N "(cached) $ECHO_C" >&6
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8640 cat >conftest.$ac_ext <<_ACEOF
8643 cat confdefs.h >>conftest.$ac_ext
8644 cat >>conftest.$ac_ext <<_ACEOF
8645 /* end confdefs.h. */
8655 rm -f conftest.$ac_objext conftest$ac_exeext
8656 if { (ac_try="$ac_link"
8658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8659 *) ac_try_echo
=$ac_try;;
8661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8662 (eval "$ac_link") 2>conftest.er1
8664 grep -v '^ *+' conftest.er1
>conftest.err
8666 cat conftest.err
>&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && {
8669 test -z "$ac_c_werror_flag" ||
8670 test ! -s conftest.err
8671 } && test -s conftest
$ac_exeext &&
8672 $as_test_x conftest
$ac_exeext; then
8673 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8675 echo "$as_me: failed program was:" >&5
8676 sed 's/^/| /' conftest.
$ac_ext >&5
8678 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8681 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8682 conftest
$ac_exeext conftest.
$ac_ext
8683 CFLAGS
=$ac_wine_try_cflags_saved
8685 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8686 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8687 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8688 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8692 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8693 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8694 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 ac_wine_try_cflags_saved
=$CFLAGS
8698 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8699 cat >conftest.
$ac_ext <<_ACEOF
8702 cat confdefs.h
>>conftest.
$ac_ext
8703 cat >>conftest.
$ac_ext <<_ACEOF
8704 /* end confdefs.h. */
8714 rm -f conftest.
$ac_objext conftest
$ac_exeext
8715 if { (ac_try
="$ac_link"
8717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8718 *) ac_try_echo=$ac_try;;
8720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8721 (eval "$ac_link") 2>conftest.er1
8723 grep -v '^ *+' conftest.er1 >conftest.err
8725 cat conftest.err >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); } && {
8728 test -z "$ac_c_werror_flag" ||
8729 test ! -s conftest.err
8730 } && test -s conftest$ac_exeext &&
8731 $as_test_x conftest$ac_exeext; then
8732 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.$ac_ext >&5
8737 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8745 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8746 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8747 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8751 echo '{ global: *; };' >conftest.map
8752 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8753 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8754 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8759 cat >conftest.$ac_ext <<_ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8774 rm -f conftest.$ac_objext conftest$ac_exeext
8775 if { (ac_try="$ac_link"
8777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8778 *) ac_try_echo
=$ac_try;;
8780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8781 (eval "$ac_link") 2>conftest.er1
8783 grep -v '^ *+' conftest.er1
>conftest.err
8785 cat conftest.err
>&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } && {
8788 test -z "$ac_c_werror_flag" ||
8789 test ! -s conftest.err
8790 } && test -s conftest
$ac_exeext &&
8791 $as_test_x conftest
$ac_exeext; then
8792 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8794 echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.
$ac_ext >&5
8797 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8800 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8801 conftest
$ac_exeext conftest.
$ac_ext
8802 CFLAGS
=$ac_wine_try_cflags_saved
8804 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8805 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8806 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8807 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8812 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8813 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8814 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 ac_wine_try_cflags_saved
=$CFLAGS
8818 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8819 cat >conftest.
$ac_ext <<_ACEOF
8822 cat confdefs.h
>>conftest.
$ac_ext
8823 cat >>conftest.
$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8834 rm -f conftest.
$ac_objext conftest
$ac_exeext
8835 if { (ac_try
="$ac_link"
8837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_link") 2>conftest.er1
8843 grep -v '^ *+' conftest.er1 >conftest.err
8845 cat conftest.err >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } && {
8848 test -z "$ac_c_werror_flag" ||
8849 test ! -s conftest.err
8850 } && test -s conftest$ac_exeext &&
8851 $as_test_x conftest$ac_exeext; then
8852 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8857 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8861 conftest$ac_exeext conftest.$ac_ext
8862 CFLAGS=$ac_wine_try_cflags_saved
8864 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8865 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8866 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8867 LDEXECFLAGS="-Wl,--export-dynamic"
8872 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8873 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8874 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8875 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8876 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 ac_wine_try_cflags_saved=$CFLAGS
8879 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8880 cat >conftest.$ac_ext <<_ACEOF
8883 cat confdefs.h >>conftest.$ac_ext
8884 cat >>conftest.$ac_ext <<_ACEOF
8885 /* end confdefs.h. */
8895 rm -f conftest.$ac_objext conftest$ac_exeext
8896 if { (ac_try="$ac_link"
8898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8899 *) ac_try_echo
=$ac_try;;
8901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8902 (eval "$ac_link") 2>conftest.er1
8904 grep -v '^ *+' conftest.er1
>conftest.err
8906 cat conftest.err
>&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } && {
8909 test -z "$ac_c_werror_flag" ||
8910 test ! -s conftest.err
8911 } && test -s conftest
$ac_exeext &&
8912 $as_test_x conftest
$ac_exeext; then
8913 eval "$as_ac_var=yes"
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.
$ac_ext >&5
8918 eval "$as_ac_var=no"
8921 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8922 conftest
$ac_exeext conftest.
$ac_ext
8923 CFLAGS
=$ac_wine_try_cflags_saved
8925 ac_res
=`eval echo '${'$as_ac_var'}'`
8926 { echo "$as_me:$LINENO: result: $ac_res" >&5
8927 echo "${ECHO_T}$ac_res" >&6; }
8928 if test `eval echo '${'$as_ac_var'}'` = yes; then
8929 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8930 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8932 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8933 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8934 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8935 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8936 echo $ECHO_N "(cached) $ECHO_C" >&6
8938 ac_wine_try_cflags_saved
=$CFLAGS
8939 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8940 cat >conftest.
$ac_ext <<_ACEOF
8943 cat confdefs.h
>>conftest.
$ac_ext
8944 cat >>conftest.
$ac_ext <<_ACEOF
8945 /* end confdefs.h. */
8955 rm -f conftest.
$ac_objext conftest
$ac_exeext
8956 if { (ac_try
="$ac_link"
8958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8959 *) ac_try_echo=$ac_try;;
8961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8962 (eval "$ac_link") 2>conftest.er1
8964 grep -v '^ *+' conftest.er1 >conftest.err
8966 cat conftest.err >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } && {
8969 test -z "$ac_c_werror_flag" ||
8970 test ! -s conftest.err
8971 } && test -s conftest$ac_exeext &&
8972 $as_test_x conftest$ac_exeext; then
8973 eval "$as_ac_var=yes"
8975 echo "$as_me: failed program was:" >&5
8976 sed 's/^/| /' conftest.$ac_ext >&5
8978 eval "$as_ac_var=no"
8981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8982 conftest$ac_exeext conftest.$ac_ext
8983 CFLAGS=$ac_wine_try_cflags_saved
8985 ac_res=`eval echo '${'$as_ac_var'}'`
8986 { echo "$as_me:$LINENO: result: $ac_res" >&5
8987 echo "${ECHO_T}$ac_res" >&6; }
8988 if test `eval echo '${'$as_ac_var'}'` = yes; then
8989 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8990 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8996 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8997 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8998 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 ac_wine_try_cflags_saved=$CFLAGS
9002 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9003 cat >conftest.$ac_ext <<_ACEOF
9006 cat confdefs.h >>conftest.$ac_ext
9007 cat >>conftest.$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (ac_try="$ac_link"
9021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9022 *) ac_try_echo
=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_link") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1
>conftest.err
9029 cat conftest.err
>&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest
$ac_exeext &&
9035 $as_test_x conftest
$ac_exeext; then
9036 ac_cv_cflags__Wl___enable_new_dtags
=yes
9038 echo "$as_me: failed program was:" >&5
9039 sed 's/^/| /' conftest.
$ac_ext >&5
9041 ac_cv_cflags__Wl___enable_new_dtags
=no
9044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9045 conftest
$ac_exeext conftest.
$ac_ext
9046 CFLAGS
=$ac_wine_try_cflags_saved
9048 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9049 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9050 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9051 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9056 *i
[3456789]86* | x86_64
)
9057 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9058 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9059 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 ac_wine_try_cflags_saved
=$CFLAGS
9063 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9064 cat >conftest.
$ac_ext <<_ACEOF
9067 cat confdefs.h
>>conftest.
$ac_ext
9068 cat >>conftest.
$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9079 rm -f conftest.
$ac_objext conftest
$ac_exeext
9080 if { (ac_try
="$ac_link"
9082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9083 *) ac_try_echo=$ac_try;;
9085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9086 (eval "$ac_link") 2>conftest.er1
9088 grep -v '^ *+' conftest.er1 >conftest.err
9090 cat conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } && {
9093 test -z "$ac_c_werror_flag" ||
9094 test ! -s conftest.err
9095 } && test -s conftest$ac_exeext &&
9096 $as_test_x conftest$ac_exeext; then
9097 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9099 echo "$as_me: failed program was:" >&5
9100 sed 's/^/| /' conftest.$ac_ext >&5
9102 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9106 conftest$ac_exeext conftest.$ac_ext
9107 CFLAGS=$ac_wine_try_cflags_saved
9109 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9110 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9111 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9112 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9119 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9120 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9121 if test "${ac_cv_c_dll_unixware+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 ac_wine_try_cflags_saved=$CFLAGS
9125 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9126 cat >conftest.$ac_ext <<_ACEOF
9129 rm -f conftest.$ac_objext conftest$ac_exeext
9130 if { (ac_try="$ac_link"
9132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9133 *) ac_try_echo
=$ac_try;;
9135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9136 (eval "$ac_link") 2>conftest.er1
9138 grep -v '^ *+' conftest.er1
>conftest.err
9140 cat conftest.err
>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } && {
9143 test -z "$ac_c_werror_flag" ||
9144 test ! -s conftest.err
9145 } && test -s conftest
$ac_exeext &&
9146 $as_test_x conftest
$ac_exeext; then
9147 ac_cv_c_dll_unixware
="yes"
9149 echo "$as_me: failed program was:" >&5
9150 sed 's/^/| /' conftest.
$ac_ext >&5
9152 ac_cv_c_dll_unixware
="no"
9155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 CFLAGS
=$ac_wine_try_cflags_saved
9159 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9160 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9161 if test "$ac_cv_c_dll_unixware" = "yes"
9163 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9164 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9167 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9168 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9169 if test "${ac_cv_c_dll_hpux+set}" = set; then
9170 echo $ECHO_N "(cached) $ECHO_C" >&6
9172 ac_wine_try_cflags_saved
=$CFLAGS
9173 CFLAGS
="$CFLAGS -shared"
9174 cat >conftest.
$ac_ext <<_ACEOF
9177 rm -f conftest.
$ac_objext conftest
$ac_exeext
9178 if { (ac_try
="$ac_link"
9180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9181 *) ac_try_echo=$ac_try;;
9183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9184 (eval "$ac_link") 2>conftest.er1
9186 grep -v '^ *+' conftest.er1 >conftest.err
9188 cat conftest.err >&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } && {
9191 test -z "$ac_c_werror_flag" ||
9192 test ! -s conftest.err
9193 } && test -s conftest$ac_exeext &&
9194 $as_test_x conftest$ac_exeext; then
9195 ac_cv_c_dll_hpux="yes"
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9200 ac_cv_c_dll_hpux="no"
9203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9204 conftest$ac_exeext conftest.$ac_ext
9205 CFLAGS=$ac_wine_try_cflags_saved
9207 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9208 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9209 if test "$ac_cv_c_dll_hpux" = "yes"
9213 LDDLLFLAGS="-shared -fPIC"
9214 LDSHARED="\$(CC) -shared"
9221 if test "$cross_compiling" = "no"
9223 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9225 # Extract the first word of "$ac_prog", so it can be a program name with args.
9226 set dummy $ac_prog; ac_word=$2
9227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9229 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 if test -n "$CROSSCC"; then
9233 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9239 test -z "$as_dir" && as_dir=.
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9242 ac_cv_prog_CROSSCC="$ac_prog"
9243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 CROSSCC=$ac_cv_prog_CROSSCC
9253 if test -n "$CROSSCC"; then
9254 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9255 echo "${ECHO_T}$CROSSCC" >&6; }
9257 { echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6; }
9262 test -n "$CROSSCC" && break
9264 test -n "$CROSSCC" || CROSSCC="false"
9266 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9268 # Extract the first word of "$ac_prog", so it can be a program name with args.
9269 set dummy $ac_prog; ac_word=$2
9270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9272 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 if test -n "$DLLTOOL"; then
9276 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9282 test -z "$as_dir" && as_dir=.
9283 for ac_exec_ext in '' $ac_executable_extensions; do
9284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9285 ac_cv_prog_DLLTOOL="$ac_prog"
9286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9295 DLLTOOL=$ac_cv_prog_DLLTOOL
9296 if test -n "$DLLTOOL"; then
9297 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9298 echo "${ECHO_T}$DLLTOOL" >&6; }
9300 { echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6; }
9305 test -n "$DLLTOOL" && break
9307 test -n "$DLLTOOL" || DLLTOOL="false"
9309 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9311 # Extract the first word of "$ac_prog", so it can be a program name with args.
9312 set dummy $ac_prog; ac_word=$2
9313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9315 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9318 if test -n "$CROSSWINDRES"; then
9319 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9325 test -z "$as_dir" && as_dir=.
9326 for ac_exec_ext in '' $ac_executable_extensions; do
9327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9328 ac_cv_prog_CROSSWINDRES="$ac_prog"
9329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9338 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9339 if test -n "$CROSSWINDRES"; then
9340 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9341 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9343 { echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6; }
9348 test -n "$CROSSWINDRES" && break
9350 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9352 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9354 # Extract the first word of "$ac_prog", so it can be a program name with args.
9355 set dummy $ac_prog; ac_word=$2
9356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9358 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9359 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 if test -n "$MINGWAR"; then
9362 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 test -z "$as_dir" && as_dir=.
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9371 ac_cv_prog_MINGWAR="$ac_prog"
9372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9381 MINGWAR=$ac_cv_prog_MINGWAR
9382 if test -n "$MINGWAR"; then
9383 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9384 echo "${ECHO_T}$MINGWAR" >&6; }
9386 { echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6; }
9391 test -n "$MINGWAR" && break
9393 test -n "$MINGWAR" || MINGWAR="false"
9395 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9400 if test "$LIBEXT" = "a"; then
9401 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9402 It is currently not possible to build Wine without shared library
9403 (.so) support to allow transparent switch between .so and .dll files.
9404 If you are using Linux, you will need a newer binutils.
9406 echo "$as_me: error: could not find a way to build shared libraries.
9407 It is currently not possible to build Wine without shared library
9408 (.so) support to allow transparent switch between .so and .dll files.
9409 If you are using Linux, you will need a newer binutils.
9411 { (exit 1); exit 1; }; }
9415 if test "$have_x" = "yes"
9418 ac_save_CPPFLAGS="$CPPFLAGS"
9419 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9421 { echo "$as_me:$LINENO: checking for -lX11" >&5
9422 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9423 if test "${ac_cv_lib_soname_X11+set}" = set; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 ac_check_soname_save_LIBS=$LIBS
9427 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9428 cat >conftest.$ac_ext <<_ACEOF
9431 cat confdefs.h >>conftest.$ac_ext
9432 cat >>conftest.$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9441 char XCreateWindow ();
9445 return XCreateWindow ();
9450 rm -f conftest.$ac_objext conftest$ac_exeext
9451 if { (ac_try="$ac_link"
9453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9454 *) ac_try_echo
=$ac_try;;
9456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9457 (eval "$ac_link") 2>conftest.er1
9459 grep -v '^ *+' conftest.er1
>conftest.err
9461 cat conftest.err
>&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); } && {
9464 test -z "$ac_c_werror_flag" ||
9465 test ! -s conftest.err
9466 } && test -s conftest
$ac_exeext &&
9467 $as_test_x conftest
$ac_exeext; then
9470 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'` ;;
9471 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9474 echo "$as_me: failed program was:" >&5
9475 sed 's/^/| /' conftest.
$ac_ext >&5
9480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9481 conftest
$ac_exeext conftest.
$ac_ext
9482 LIBS
=$ac_check_soname_save_LIBS
9484 if test "x$ac_cv_lib_soname_X11" = "x"; then
9485 { echo "$as_me:$LINENO: result: not found" >&5
9486 echo "${ECHO_T}not found" >&6; }
9489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9490 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9492 cat >>confdefs.h
<<_ACEOF
9493 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9499 { echo "$as_me:$LINENO: checking for -lXext" >&5
9500 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9501 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 ac_check_soname_save_LIBS
=$LIBS
9505 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9506 cat >conftest.
$ac_ext <<_ACEOF
9509 cat confdefs.h
>>conftest.
$ac_ext
9510 cat >>conftest.
$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9519 char XextCreateExtension ();
9523 return XextCreateExtension ();
9528 rm -f conftest.
$ac_objext conftest
$ac_exeext
9529 if { (ac_try
="$ac_link"
9531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest$ac_exeext &&
9545 $as_test_x conftest$ac_exeext; then
9548 dylib) ac_cv_lib_soname_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'` ;;
9549 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9552 echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9563 { echo "$as_me:$LINENO: result: not found" >&5
9564 echo "${ECHO_T}not found" >&6; }
9567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9568 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9590 for ac_header in X11/Xlib.h \
9593 X11/Xcursor/Xcursor.h \
9594 X11/extensions/shape.h \
9595 X11/extensions/XInput.h \
9596 X11/extensions/XShm.h \
9597 X11/extensions/Xcomposite.h \
9598 X11/extensions/Xinerama.h \
9599 X11/extensions/Xrandr.h \
9600 X11/extensions/Xrender.h \
9601 X11/extensions/xf86vmode.h
9603 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9604 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 cat >conftest.$ac_ext <<_ACEOF
9612 cat confdefs.h >>conftest.$ac_ext
9613 cat >>conftest.$ac_ext <<_ACEOF
9614 /* end confdefs.h. */
9615 #ifdef HAVE_X11_XLIB_H
9616 # include <X11/Xlib.h>
9618 #ifdef HAVE_X11_XUTIL_H
9619 # include <X11/Xutil.h>
9622 #include <$ac_header>
9624 rm -f conftest.$ac_objext
9625 if { (ac_try="$ac_compile"
9627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9628 *) ac_try_echo
=$ac_try;;
9630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9631 (eval "$ac_compile") 2>conftest.er1
9633 grep -v '^ *+' conftest.er1
>conftest.err
9635 cat conftest.err
>&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); } && {
9638 test -z "$ac_c_werror_flag" ||
9639 test ! -s conftest.err
9640 } && test -s conftest.
$ac_objext; then
9641 eval "$as_ac_Header=yes"
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.
$ac_ext >&5
9646 eval "$as_ac_Header=no"
9649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9651 ac_res
=`eval echo '${'$as_ac_Header'}'`
9652 { echo "$as_me:$LINENO: result: $ac_res" >&5
9653 echo "${ECHO_T}$ac_res" >&6; }
9654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9655 cat >>confdefs.h
<<_ACEOF
9656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9664 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9666 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9667 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9668 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 ac_check_lib_save_LIBS
=$LIBS
9672 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9673 cat >conftest.
$ac_ext <<_ACEOF
9676 cat confdefs.h
>>conftest.
$ac_ext
9677 cat >>conftest.
$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9686 char XkbQueryExtension ();
9690 return XkbQueryExtension ();
9695 rm -f conftest.
$ac_objext conftest
$ac_exeext
9696 if { (ac_try
="$ac_link"
9698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9699 *) ac_try_echo=$ac_try;;
9701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9702 (eval "$ac_link") 2>conftest.er1
9704 grep -v '^ *+' conftest.er1 >conftest.err
9706 cat conftest.err >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); } && {
9709 test -z "$ac_c_werror_flag" ||
9710 test ! -s conftest.err
9711 } && test -s conftest$ac_exeext &&
9712 $as_test_x conftest$ac_exeext; then
9713 ac_cv_lib_X11_XkbQueryExtension=yes
9715 echo "$as_me: failed program was:" >&5
9716 sed 's/^/| /' conftest.$ac_ext >&5
9718 ac_cv_lib_X11_XkbQueryExtension=no
9721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9722 conftest$ac_exeext conftest.$ac_ext
9723 LIBS=$ac_check_lib_save_LIBS
9725 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9726 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9727 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9729 cat >>confdefs.h <<\_ACEOF
9737 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9739 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9740 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9741 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 ac_check_soname_save_LIBS=$LIBS
9745 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9746 cat >conftest.$ac_ext <<_ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9759 char XcursorImageLoadCursor ();
9763 return XcursorImageLoadCursor ();
9768 rm -f conftest.$ac_objext conftest$ac_exeext
9769 if { (ac_try="$ac_link"
9771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9772 *) ac_try_echo
=$ac_try;;
9774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_link") 2>conftest.er1
9777 grep -v '^ *+' conftest.er1
>conftest.err
9779 cat conftest.err
>&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest
$ac_exeext &&
9785 $as_test_x conftest
$ac_exeext; then
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.
$ac_ext >&5
9798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9799 conftest
$ac_exeext conftest.
$ac_ext
9800 LIBS
=$ac_check_soname_save_LIBS
9802 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9803 { echo "$as_me:$LINENO: result: not found" >&5
9804 echo "${ECHO_T}not found" >&6; }
9807 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9808 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9810 cat >>confdefs.h
<<_ACEOF
9811 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9818 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9819 case "x$with_xcursor" in
9820 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9822 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9823 This is an error since --with-xcursor was requested." >&5
9824 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9825 This is an error since --with-xcursor was requested." >&2;}
9826 { (exit 1); exit 1; }; } ;;
9831 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9833 { echo "$as_me:$LINENO: checking for -lXi" >&5
9834 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9835 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 ac_check_soname_save_LIBS
=$LIBS
9839 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9840 cat >conftest.
$ac_ext <<_ACEOF
9843 cat confdefs.h
>>conftest.
$ac_ext
9844 cat >>conftest.
$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9853 char XOpenDevice ();
9857 return XOpenDevice ();
9862 rm -f conftest.
$ac_objext conftest
$ac_exeext
9863 if { (ac_try
="$ac_link"
9865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9866 *) ac_try_echo=$ac_try;;
9868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9869 (eval "$ac_link") 2>conftest.er1
9871 grep -v '^ *+' conftest.er1 >conftest.err
9873 cat conftest.err >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); } && {
9876 test -z "$ac_c_werror_flag" ||
9877 test ! -s conftest.err
9878 } && test -s conftest$ac_exeext &&
9879 $as_test_x conftest$ac_exeext; then
9882 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'` ;;
9883 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9886 echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_soname_save_LIBS
9896 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9897 { echo "$as_me:$LINENO: result: not found" >&5
9898 echo "${ECHO_T}not found" >&6; }
9901 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9902 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9904 cat >>confdefs.h <<_ACEOF
9905 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9912 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9913 case "x$with_xinput" in
9914 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9916 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9917 This is an error since --with-xinput was requested." >&5
9918 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9919 This is an error since --with-xinput was requested." >&2;}
9920 { (exit 1); exit 1; }; } ;;
9925 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9927 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9928 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9929 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 ac_check_lib_save_LIBS=$LIBS
9933 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9934 cat >conftest.$ac_ext <<_ACEOF
9937 cat confdefs.h >>conftest.$ac_ext
9938 cat >>conftest.$ac_ext <<_ACEOF
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9947 char XShmQueryExtension ();
9951 return XShmQueryExtension ();
9956 rm -f conftest.$ac_objext conftest$ac_exeext
9957 if { (ac_try="$ac_link"
9959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9960 *) ac_try_echo
=$ac_try;;
9962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9963 (eval "$ac_link") 2>conftest.er1
9965 grep -v '^ *+' conftest.er1
>conftest.err
9967 cat conftest.err
>&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } && {
9970 test -z "$ac_c_werror_flag" ||
9971 test ! -s conftest.err
9972 } && test -s conftest
$ac_exeext &&
9973 $as_test_x conftest
$ac_exeext; then
9974 ac_cv_lib_Xext_XShmQueryExtension
=yes
9976 echo "$as_me: failed program was:" >&5
9977 sed 's/^/| /' conftest.
$ac_ext >&5
9979 ac_cv_lib_Xext_XShmQueryExtension
=no
9982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9983 conftest
$ac_exeext conftest.
$ac_ext
9984 LIBS
=$ac_check_lib_save_LIBS
9986 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9987 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9988 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9990 cat >>confdefs.h
<<\_ACEOF
9991 #define HAVE_LIBXXSHM 1
9997 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9998 case "x$with_xshm" in
9999 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10001 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10002 This is an error since --with-xshm was requested." >&5
10003 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10004 This is an error since --with-xshm was requested." >&2;}
10005 { (exit 1); exit 1; }; } ;;
10010 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10012 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10013 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10014 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 ac_check_lib_save_LIBS
=$LIBS
10018 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10019 cat >conftest.
$ac_ext <<_ACEOF
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10032 char XShapeQueryExtension ();
10036 return XShapeQueryExtension ();
10041 rm -f conftest.
$ac_objext conftest
$ac_exeext
10042 if { (ac_try
="$ac_link"
10043 case "(($ac_try" in
10044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10045 *) ac_try_echo=$ac_try;;
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10050 grep -v '^ *+' conftest.er1 >conftest.err
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest$ac_exeext &&
10058 $as_test_x conftest$ac_exeext; then
10059 ac_cv_lib_Xext_XShapeQueryExtension=yes
10061 echo "$as_me: failed program was:" >&5
10062 sed 's/^/| /' conftest.$ac_ext >&5
10064 ac_cv_lib_Xext_XShapeQueryExtension=no
10067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_lib_save_LIBS
10071 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10072 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10073 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10075 cat >>confdefs.h <<\_ACEOF
10076 #define HAVE_LIBXSHAPE 1
10082 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10083 case "x$with_xshape" in
10084 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10086 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10087 This is an error since --with-xshape was requested." >&5
10088 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10089 This is an error since --with-xshape was requested." >&2;}
10090 { (exit 1); exit 1; }; } ;;
10095 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10097 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10098 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10099 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 ac_check_lib_save_LIBS=$LIBS
10103 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10104 cat >conftest.$ac_ext <<_ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10117 char XF86VidModeQueryExtension ();
10121 return XF86VidModeQueryExtension ();
10126 rm -f conftest.$ac_objext conftest$ac_exeext
10127 if { (ac_try="$ac_link"
10128 case "(($ac_try" in
10129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10130 *) ac_try_echo
=$ac_try;;
10132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10133 (eval "$ac_link") 2>conftest.er1
10135 grep -v '^ *+' conftest.er1
>conftest.err
10137 cat conftest.err
>&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); } && {
10140 test -z "$ac_c_werror_flag" ||
10141 test ! -s conftest.err
10142 } && test -s conftest
$ac_exeext &&
10143 $as_test_x conftest
$ac_exeext; then
10144 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.
$ac_ext >&5
10149 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10153 conftest
$ac_exeext conftest.
$ac_ext
10154 LIBS
=$ac_check_lib_save_LIBS
10156 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10157 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10158 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10160 cat >>confdefs.h
<<\_ACEOF
10161 #define HAVE_LIBXXF86VM 1
10164 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10169 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10170 case "x$with_xvidmode" in
10171 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10173 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10174 This is an error since --with-xvidmode was requested." >&5
10175 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10176 This is an error since --with-xvidmode was requested." >&2;}
10177 { (exit 1); exit 1; }; } ;;
10182 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"
10184 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10185 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10186 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 ac_check_soname_save_LIBS
=$LIBS
10190 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10191 cat >conftest.
$ac_ext <<_ACEOF
10194 cat confdefs.h
>>conftest.
$ac_ext
10195 cat >>conftest.
$ac_ext <<_ACEOF
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10204 char XRenderQueryExtension ();
10208 return XRenderQueryExtension ();
10213 rm -f conftest.
$ac_objext conftest
$ac_exeext
10214 if { (ac_try
="$ac_link"
10215 case "(($ac_try" in
10216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10217 *) ac_try_echo=$ac_try;;
10219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10220 (eval "$ac_link") 2>conftest.er1
10222 grep -v '^ *+' conftest.er1 >conftest.err
10224 cat conftest.err >&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } && {
10227 test -z "$ac_c_werror_flag" ||
10228 test ! -s conftest.err
10229 } && test -s conftest$ac_exeext &&
10230 $as_test_x conftest$ac_exeext; then
10233 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'` ;;
10234 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10237 echo "$as_me: failed program was:" >&5
10238 sed 's/^/| /' conftest.$ac_ext >&5
10243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LIBS=$ac_check_soname_save_LIBS
10247 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10248 { echo "$as_me:$LINENO: result: not found" >&5
10249 echo "${ECHO_T}not found" >&6; }
10252 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10253 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10255 cat >>confdefs.h <<_ACEOF
10256 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10259 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10260 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10261 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 ac_check_lib_save_LIBS=$LIBS
10265 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10266 cat >conftest.$ac_ext <<_ACEOF
10269 cat confdefs.h >>conftest.$ac_ext
10270 cat >>conftest.$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10273 /* Override any GCC internal prototype to avoid an error.
10274 Use char because int might match the return type of a GCC
10275 builtin and then its argument prototype would still apply. */
10279 char XRenderSetPictureTransform ();
10283 return XRenderSetPictureTransform ();
10288 rm -f conftest.$ac_objext conftest$ac_exeext
10289 if { (ac_try="$ac_link"
10290 case "(($ac_try" in
10291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10292 *) ac_try_echo
=$ac_try;;
10294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10295 (eval "$ac_link") 2>conftest.er1
10297 grep -v '^ *+' conftest.er1
>conftest.err
10299 cat conftest.err
>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } && {
10302 test -z "$ac_c_werror_flag" ||
10303 test ! -s conftest.err
10304 } && test -s conftest
$ac_exeext &&
10305 $as_test_x conftest
$ac_exeext; then
10306 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10308 echo "$as_me: failed program was:" >&5
10309 sed 's/^/| /' conftest.
$ac_ext >&5
10311 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10315 conftest
$ac_exeext conftest.
$ac_ext
10316 LIBS
=$ac_check_lib_save_LIBS
10318 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10319 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10320 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10322 cat >>confdefs.h
<<\_ACEOF
10323 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10332 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10333 case "x$with_xrender" in
10334 x
) wine_notices
="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10336 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10337 This is an error since --with-xrender was requested." >&5
10338 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10339 This is an error since --with-xrender was requested." >&2;}
10340 { (exit 1); exit 1; }; } ;;
10345 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10347 cat >conftest.
$ac_ext <<_ACEOF
10350 cat confdefs.h
>>conftest.
$ac_ext
10351 cat >>conftest.
$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10353 #include <X11/Xlib.h>
10354 #include <X11/extensions/Xrandr.h>
10358 static typeof(XRRSetScreenConfigAndRate) * func;
10363 rm -f conftest.
$ac_objext
10364 if { (ac_try
="$ac_compile"
10365 case "(($ac_try" in
10366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10370 (eval "$ac_compile") 2>conftest.er1
10372 grep -v '^ *+' conftest.er1 >conftest.err
10374 cat conftest.err >&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); } && {
10377 test -z "$ac_c_werror_flag" ||
10378 test ! -s conftest.err
10379 } && test -s conftest.$ac_objext; then
10380 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10381 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10382 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 ac_check_soname_save_LIBS=$LIBS
10386 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10387 cat >conftest.$ac_ext <<_ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10394 /* Override any GCC internal prototype to avoid an error.
10395 Use char because int might match the return type of a GCC
10396 builtin and then its argument prototype would still apply. */
10400 char XRRQueryExtension ();
10404 return XRRQueryExtension ();
10409 rm -f conftest.$ac_objext conftest$ac_exeext
10410 if { (ac_try="$ac_link"
10411 case "(($ac_try" in
10412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10413 *) ac_try_echo
=$ac_try;;
10415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10416 (eval "$ac_link") 2>conftest.er1
10418 grep -v '^ *+' conftest.er1
>conftest.err
10420 cat conftest.err
>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } && {
10423 test -z "$ac_c_werror_flag" ||
10424 test ! -s conftest.err
10425 } && test -s conftest
$ac_exeext &&
10426 $as_test_x conftest
$ac_exeext; then
10429 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'` ;;
10430 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.
$ac_ext >&5
10439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10440 conftest
$ac_exeext conftest.
$ac_ext
10441 LIBS
=$ac_check_soname_save_LIBS
10443 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10444 { echo "$as_me:$LINENO: result: not found" >&5
10445 echo "${ECHO_T}not found" >&6; }
10448 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10449 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10451 cat >>confdefs.h
<<_ACEOF
10452 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10459 echo "$as_me: failed program was:" >&5
10460 sed 's/^/| /' conftest.
$ac_ext >&5
10465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10467 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10468 case "x$with_xrandr" in
10469 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10471 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10472 This is an error since --with-xrandr was requested." >&5
10473 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10474 This is an error since --with-xrandr was requested." >&2;}
10475 { (exit 1); exit 1; }; } ;;
10480 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10482 cat >conftest.
$ac_ext <<_ACEOF
10485 cat confdefs.h
>>conftest.
$ac_ext
10486 cat >>conftest.
$ac_ext <<_ACEOF
10487 /* end confdefs.h. */
10488 #include <X11/Xlib.h>
10489 #include <X11/extensions/Xinerama.h>
10493 static typeof(XineramaQueryScreens) * func;
10498 rm -f conftest.
$ac_objext
10499 if { (ac_try
="$ac_compile"
10500 case "(($ac_try" in
10501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10502 *) ac_try_echo=$ac_try;;
10504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10505 (eval "$ac_compile") 2>conftest.er1
10507 grep -v '^ *+' conftest.er1 >conftest.err
10509 cat conftest.err >&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } && {
10512 test -z "$ac_c_werror_flag" ||
10513 test ! -s conftest.err
10514 } && test -s conftest.$ac_objext; then
10515 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10516 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10517 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 ac_check_soname_save_LIBS=$LIBS
10521 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10522 cat >conftest.$ac_ext <<_ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10535 char XineramaQueryScreens ();
10539 return XineramaQueryScreens ();
10544 rm -f conftest.$ac_objext conftest$ac_exeext
10545 if { (ac_try="$ac_link"
10546 case "(($ac_try" in
10547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10548 *) ac_try_echo
=$ac_try;;
10550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10551 (eval "$ac_link") 2>conftest.er1
10553 grep -v '^ *+' conftest.er1
>conftest.err
10555 cat conftest.err
>&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); } && {
10558 test -z "$ac_c_werror_flag" ||
10559 test ! -s conftest.err
10560 } && test -s conftest
$ac_exeext &&
10561 $as_test_x conftest
$ac_exeext; then
10564 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'` ;;
10565 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.
$ac_ext >&5
10574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10575 conftest
$ac_exeext conftest.
$ac_ext
10576 LIBS
=$ac_check_soname_save_LIBS
10578 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10579 { echo "$as_me:$LINENO: result: not found" >&5
10580 echo "${ECHO_T}not found" >&6; }
10583 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10584 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10586 cat >>confdefs.h
<<_ACEOF
10587 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10594 echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.
$ac_ext >&5
10600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10602 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10603 case "x$with_xinerama" in
10604 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10606 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10607 This is an error since --with-xinerama was requested." >&5
10608 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10609 This is an error since --with-xinerama was requested." >&2;}
10610 { (exit 1); exit 1; }; } ;;
10615 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10617 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10618 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10619 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 ac_check_soname_save_LIBS
=$LIBS
10623 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10624 cat >conftest.
$ac_ext <<_ACEOF
10627 cat confdefs.h
>>conftest.
$ac_ext
10628 cat >>conftest.
$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10631 /* Override any GCC internal prototype to avoid an error.
10632 Use char because int might match the return type of a GCC
10633 builtin and then its argument prototype would still apply. */
10637 char XCompositeRedirectWindow ();
10641 return XCompositeRedirectWindow ();
10646 rm -f conftest.
$ac_objext conftest
$ac_exeext
10647 if { (ac_try
="$ac_link"
10648 case "(($ac_try" in
10649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10650 *) ac_try_echo=$ac_try;;
10652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10653 (eval "$ac_link") 2>conftest.er1
10655 grep -v '^ *+' conftest.er1 >conftest.err
10657 cat conftest.err >&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && {
10660 test -z "$ac_c_werror_flag" ||
10661 test ! -s conftest.err
10662 } && test -s conftest$ac_exeext &&
10663 $as_test_x conftest$ac_exeext; then
10666 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'` ;;
10667 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.$ac_ext >&5
10676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10677 conftest$ac_exeext conftest.$ac_ext
10678 LIBS=$ac_check_soname_save_LIBS
10680 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10681 { echo "$as_me:$LINENO: result: not found" >&5
10682 echo "${ECHO_T}not found" >&6; }
10685 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10686 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10688 cat >>confdefs.h <<_ACEOF
10689 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10696 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10697 case "x$with_xcomposite" in
10698 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10700 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10701 This is an error since --with-xcomposite was requested." >&5
10702 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10703 This is an error since --with-xcomposite was requested." >&2;}
10704 { (exit 1); exit 1; }; } ;;
10711 if test "x$with_opengl" != "xno"
10717 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10719 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10720 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10723 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 cat >conftest.$ac_ext <<_ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10731 #ifdef HAVE_GL_GLX_H
10732 # include <GL/glx.h>
10735 #include <$ac_header>
10737 rm -f conftest.$ac_objext
10738 if { (ac_try="$ac_compile"
10739 case "(($ac_try" in
10740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10741 *) ac_try_echo
=$ac_try;;
10743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10744 (eval "$ac_compile") 2>conftest.er1
10746 grep -v '^ *+' conftest.er1
>conftest.err
10748 cat conftest.err
>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } && {
10751 test -z "$ac_c_werror_flag" ||
10752 test ! -s conftest.err
10753 } && test -s conftest.
$ac_objext; then
10754 eval "$as_ac_Header=yes"
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.
$ac_ext >&5
10759 eval "$as_ac_Header=no"
10762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10764 ac_res
=`eval echo '${'$as_ac_Header'}'`
10765 { echo "$as_me:$LINENO: result: $ac_res" >&5
10766 echo "${ECHO_T}$ac_res" >&6; }
10767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10768 cat >>confdefs.h
<<_ACEOF
10769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10776 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10778 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10779 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10780 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10781 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 cat >conftest.
$ac_ext <<_ACEOF
10786 cat confdefs.h
>>conftest.
$ac_ext
10787 cat >>conftest.
$ac_ext <<_ACEOF
10788 /* end confdefs.h. */
10793 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10798 rm -f conftest.
$ac_objext
10799 if { (ac_try
="$ac_compile"
10800 case "(($ac_try" in
10801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10802 *) ac_try_echo=$ac_try;;
10804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10805 (eval "$ac_compile") 2>conftest.er1
10807 grep -v '^ *+' conftest.er1 >conftest.err
10809 cat conftest.err >&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } && {
10812 test -z "$ac_c_werror_flag" ||
10813 test ! -s conftest.err
10814 } && test -s conftest.$ac_objext; then
10815 wine_cv_opengl_header_version_OK="yes"
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.$ac_ext >&5
10820 wine_cv_opengl_header_version_OK="no"
10823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10825 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10826 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10828 if test "$wine_cv_opengl_header_version_OK" = "yes"
10830 { echo "$as_me:$LINENO: checking for -lGL" >&5
10831 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10832 if test "${ac_cv_lib_soname_GL+set}" = set; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 ac_check_soname_save_LIBS=$LIBS
10836 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10837 cat >conftest.$ac_ext <<_ACEOF
10840 cat confdefs.h >>conftest.$ac_ext
10841 cat >>conftest.$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10850 char glXCreateContext ();
10854 return glXCreateContext ();
10859 rm -f conftest.$ac_objext conftest$ac_exeext
10860 if { (ac_try="$ac_link"
10861 case "(($ac_try" in
10862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10863 *) ac_try_echo
=$ac_try;;
10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866 (eval "$ac_link") 2>conftest.er1
10868 grep -v '^ *+' conftest.er1
>conftest.err
10870 cat conftest.err
>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); } && {
10873 test -z "$ac_c_werror_flag" ||
10874 test ! -s conftest.err
10875 } && test -s conftest
$ac_exeext &&
10876 $as_test_x conftest
$ac_exeext; then
10879 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'` ;;
10880 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.
$ac_ext >&5
10889 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10890 conftest
$ac_exeext conftest.
$ac_ext
10891 LIBS
=$ac_check_soname_save_LIBS
10893 if test "x$ac_cv_lib_soname_GL" = "x"; then
10894 { echo "$as_me:$LINENO: result: not found" >&5
10895 echo "${ECHO_T}not found" >&6; }
10896 { echo "$as_me:$LINENO: checking for -lGL" >&5
10897 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10898 if test "${ac_cv_lib_soname_GL+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 ac_check_soname_save_LIBS
=$LIBS
10902 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"
10903 cat >conftest.
$ac_ext <<_ACEOF
10906 cat confdefs.h
>>conftest.
$ac_ext
10907 cat >>conftest.
$ac_ext <<_ACEOF
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10916 char glXCreateContext ();
10920 return glXCreateContext ();
10925 rm -f conftest.
$ac_objext conftest
$ac_exeext
10926 if { (ac_try
="$ac_link"
10927 case "(($ac_try" in
10928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10929 *) ac_try_echo=$ac_try;;
10931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10932 (eval "$ac_link") 2>conftest.er1
10934 grep -v '^ *+' conftest.er1 >conftest.err
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } && {
10939 test -z "$ac_c_werror_flag" ||
10940 test ! -s conftest.err
10941 } && test -s conftest$ac_exeext &&
10942 $as_test_x conftest$ac_exeext; then
10945 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'` ;;
10946 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10949 echo "$as_me: failed program was:" >&5
10950 sed 's/^/| /' conftest.$ac_ext >&5
10955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_soname_save_LIBS
10959 if test "x$ac_cv_lib_soname_GL" = "x"; then
10960 { echo "$as_me:$LINENO: result: not found" >&5
10961 echo "${ECHO_T}not found" >&6; }
10962 if test -f /usr/X11R6/lib/libGL.a
10964 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10965 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10967 opengl_msg="No OpenGL library found on this system."
10970 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10971 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10973 cat >>confdefs.h <<_ACEOF
10974 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10977 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"
10978 OPENGLFILES='$(OPENGLFILES)'
10980 cat >>confdefs.h <<\_ACEOF
10981 #define HAVE_OPENGL 1
10987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10988 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10990 cat >>confdefs.h <<_ACEOF
10991 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10995 OPENGLFILES='$(OPENGLFILES)'
10997 cat >>confdefs.h <<\_ACEOF
10998 #define HAVE_OPENGL 1
11004 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11005 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11006 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11011 cat >conftest.$ac_ext <<_ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11028 return gluLookAt ();
11033 rm -f conftest.$ac_objext conftest$ac_exeext
11034 if { (ac_try="$ac_link"
11035 case "(($ac_try" in
11036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11037 *) ac_try_echo
=$ac_try;;
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_link") 2>conftest.er1
11042 grep -v '^ *+' conftest.er1
>conftest.err
11044 cat conftest.err
>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } && {
11047 test -z "$ac_c_werror_flag" ||
11048 test ! -s conftest.err
11049 } && test -s conftest
$ac_exeext &&
11050 $as_test_x conftest
$ac_exeext; then
11051 ac_cv_lib_GLU_gluLookAt
=yes
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.
$ac_ext >&5
11056 ac_cv_lib_GLU_gluLookAt
=no
11059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11060 conftest
$ac_exeext conftest.
$ac_ext
11061 LIBS
=$ac_check_lib_save_LIBS
11063 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11064 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11065 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11066 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
11067 GLU32FILES
='$(GLU32FILES)'
11072 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11075 opengl_msg
="OpenGL development headers not found."
11078 if test -n "$opengl_msg"; then
11079 case "x$with_opengl" in
11080 x
) wine_warnings
="$wine_warnings|$opengl_msg
11081 OpenGL and Direct3D won't be supported." ;;
11083 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11084 OpenGL and Direct3D won't be supported.
11085 This is an error since --with-opengl was requested." >&5
11086 echo "$as_me: error: $opengl_msg
11087 OpenGL and Direct3D won't be supported.
11088 This is an error since --with-opengl was requested." >&2;}
11089 { (exit 1); exit 1; }; } ;;
11097 for ac_header
in audio
/audiolib.h
11099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11100 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11103 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 ac_res
=`eval echo '${'$as_ac_Header'}'`
11107 { echo "$as_me:$LINENO: result: $ac_res" >&5
11108 echo "${ECHO_T}$ac_res" >&6; }
11110 # Is the header compilable?
11111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11113 cat >conftest.
$ac_ext <<_ACEOF
11116 cat confdefs.h
>>conftest.
$ac_ext
11117 cat >>conftest.
$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11119 $ac_includes_default
11120 #include <$ac_header>
11122 rm -f conftest.
$ac_objext
11123 if { (ac_try
="$ac_compile"
11124 case "(($ac_try" in
11125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11126 *) ac_try_echo=$ac_try;;
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129 (eval "$ac_compile") 2>conftest.er1
11131 grep -v '^ *+' conftest.er1 >conftest.err
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } && {
11136 test -z "$ac_c_werror_flag" ||
11137 test ! -s conftest.err
11138 } && test -s conftest.$ac_objext; then
11139 ac_header_compiler=yes
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11144 ac_header_compiler=no
11147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11149 echo "${ECHO_T}$ac_header_compiler" >&6; }
11151 # Is the header present?
11152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11154 cat >conftest.$ac_ext <<_ACEOF
11157 cat confdefs.h >>conftest.$ac_ext
11158 cat >>conftest.$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11160 #include <$ac_header>
11162 if { (ac_try="$ac_cpp conftest.$ac_ext"
11163 case "(($ac_try" in
11164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11165 *) ac_try_echo
=$ac_try;;
11167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11170 grep -v '^ *+' conftest.er1
>conftest.err
11172 cat conftest.err
>&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } >/dev
/null
&& {
11175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11176 test ! -s conftest.err
11178 ac_header_preproc
=yes
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.
$ac_ext >&5
11183 ac_header_preproc
=no
11186 rm -f conftest.err conftest.
$ac_ext
11187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11188 echo "${ECHO_T}$ac_header_preproc" >&6; }
11190 # So? What about this header?
11191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11197 ac_header_preproc
=yes
11200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11213 ## ------------------------------------ ##
11214 ## Report this to wine-devel@winehq.org ##
11215 ## ------------------------------------ ##
11217 ) |
sed "s/^/$as_me: WARNING: /" >&2
11220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11222 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 eval "$as_ac_Header=\$ac_header_preproc"
11227 ac_res
=`eval echo '${'$as_ac_Header'}'`
11228 { echo "$as_me:$LINENO: result: $ac_res" >&5
11229 echo "${ECHO_T}$ac_res" >&6; }
11232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11233 cat >>confdefs.h
<<_ACEOF
11234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11237 for ac_header
in audio
/soundlib.h
11239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11242 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11245 cat >conftest.
$ac_ext <<_ACEOF
11248 cat confdefs.h
>>conftest.
$ac_ext
11249 cat >>conftest.
$ac_ext <<_ACEOF
11250 /* end confdefs.h. */
11251 #include <audio/audiolib.h>
11253 #include <$ac_header>
11255 rm -f conftest.
$ac_objext
11256 if { (ac_try
="$ac_compile"
11257 case "(($ac_try" in
11258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11259 *) ac_try_echo=$ac_try;;
11261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11262 (eval "$ac_compile") 2>conftest.er1
11264 grep -v '^ *+' conftest.er1 >conftest.err
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } && {
11269 test -z "$ac_c_werror_flag" ||
11270 test ! -s conftest.err
11271 } && test -s conftest.$ac_objext; then
11272 eval "$as_ac_Header=yes"
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11277 eval "$as_ac_Header=no"
11280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11282 ac_res=`eval echo '${'$as_ac_Header'}'`
11283 { echo "$as_me:$LINENO: result: $ac_res" >&5
11284 echo "${ECHO_T}$ac_res" >&6; }
11285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11286 cat >>confdefs.h <<_ACEOF
11287 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11294 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11295 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11296 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11301 cat >conftest.$ac_ext <<_ACEOF
11304 cat confdefs.h >>conftest.$ac_ext
11305 cat >>conftest.$ac_ext <<_ACEOF
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11314 char AuCreateFlow ();
11318 return AuCreateFlow ();
11323 rm -f conftest.$ac_objext conftest$ac_exeext
11324 if { (ac_try="$ac_link"
11325 case "(($ac_try" in
11326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11327 *) ac_try_echo
=$ac_try;;
11329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11330 (eval "$ac_link") 2>conftest.er1
11332 grep -v '^ *+' conftest.er1
>conftest.err
11334 cat conftest.err
>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } && {
11337 test -z "$ac_c_werror_flag" ||
11338 test ! -s conftest.err
11339 } && test -s conftest
$ac_exeext &&
11340 $as_test_x conftest
$ac_exeext; then
11341 ac_cv_lib_audio_AuCreateFlow
=yes
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.
$ac_ext >&5
11346 ac_cv_lib_audio_AuCreateFlow
=no
11349 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11350 conftest
$ac_exeext conftest.
$ac_ext
11351 LIBS
=$ac_check_lib_save_LIBS
11353 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11354 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11355 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11357 cat >>confdefs.h
<<\_ACEOF
11361 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11362 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11363 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 ac_check_lib_save_LIBS
=$LIBS
11367 LIBS
="-lXau $X_LIBS $LIBS"
11368 cat >conftest.
$ac_ext <<_ACEOF
11371 cat confdefs.h
>>conftest.
$ac_ext
11372 cat >>conftest.
$ac_ext <<_ACEOF
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11381 char XauGetBestAuthByAddr ();
11385 return XauGetBestAuthByAddr ();
11390 rm -f conftest.
$ac_objext conftest
$ac_exeext
11391 if { (ac_try
="$ac_link"
11392 case "(($ac_try" in
11393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_link") 2>conftest.er1
11399 grep -v '^ *+' conftest.er1 >conftest.err
11401 cat conftest.err >&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); } && {
11404 test -z "$ac_c_werror_flag" ||
11405 test ! -s conftest.err
11406 } && test -s conftest$ac_exeext &&
11407 $as_test_x conftest$ac_exeext; then
11408 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11410 echo "$as_me: failed program was:" >&5
11411 sed 's/^/| /' conftest.$ac_ext >&5
11413 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11421 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11422 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11423 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11425 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11436 CPPFLAGS="$ac_save_CPPFLAGS"
11443 if test "x$XLIB" = "x"; then
11445 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11446 without X support, which probably isn't what you want. You will need to install
11447 development packages of Xlib/Xfree86 at the very least." ;;
11449 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11450 without X support, which probably isn't what you want. You will need to install
11451 development packages of Xlib/Xfree86 at the very least.
11452 This is an error since --with-x was requested." >&5
11453 echo "$as_me: error: X development files not found. Wine will be built
11454 without X support, which probably isn't what you want. You will need to install
11455 development packages of Xlib/Xfree86 at the very least.
11456 This is an error since --with-x was requested." >&2;}
11457 { (exit 1); exit 1; }; } ;;
11471 if test "x$with_xml" != "xno"
11473 ac_save_CPPFLAGS="$CPPFLAGS"
11474 if test "$PKG_CONFIG" != "false"
11476 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11477 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11479 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11480 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11482 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11484 for ac_header in libxml/parser.h
11486 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11491 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 ac_res=`eval echo '${'$as_ac_Header'}'`
11494 { echo "$as_me:$LINENO: result: $ac_res" >&5
11495 echo "${ECHO_T}$ac_res" >&6; }
11497 # Is the header compilable?
11498 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11500 cat >conftest.$ac_ext <<_ACEOF
11503 cat confdefs.h >>conftest.$ac_ext
11504 cat >>conftest.$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11506 $ac_includes_default
11507 #include <$ac_header>
11509 rm -f conftest.$ac_objext
11510 if { (ac_try="$ac_compile"
11511 case "(($ac_try" in
11512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11513 *) ac_try_echo
=$ac_try;;
11515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11516 (eval "$ac_compile") 2>conftest.er1
11518 grep -v '^ *+' conftest.er1
>conftest.err
11520 cat conftest.err
>&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } && {
11523 test -z "$ac_c_werror_flag" ||
11524 test ! -s conftest.err
11525 } && test -s conftest.
$ac_objext; then
11526 ac_header_compiler
=yes
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.
$ac_ext >&5
11531 ac_header_compiler
=no
11534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11536 echo "${ECHO_T}$ac_header_compiler" >&6; }
11538 # Is the header present?
11539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11541 cat >conftest.
$ac_ext <<_ACEOF
11544 cat confdefs.h
>>conftest.
$ac_ext
11545 cat >>conftest.
$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11547 #include <$ac_header>
11549 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11550 case "(($ac_try" in
11551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11552 *) ac_try_echo=$ac_try;;
11554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11557 grep -v '^ *+' conftest.er1 >conftest.err
11559 cat conftest.err >&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } >/dev/null && {
11562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11563 test ! -s conftest.err
11565 ac_header_preproc=yes
11567 echo "$as_me: failed program was:" >&5
11568 sed 's/^/| /' conftest.$ac_ext >&5
11570 ac_header_preproc=no
11573 rm -f conftest.err conftest.$ac_ext
11574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11575 echo "${ECHO_T}$ac_header_preproc" >&6; }
11577 # So? What about this header?
11578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11584 ac_header_preproc=yes
11587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11600 ## ------------------------------------ ##
11601 ## Report this to wine-devel@winehq.org ##
11602 ## ------------------------------------ ##
11604 ) | sed "s/^/$as_me: WARNING: /" >&2
11607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 eval "$as_ac_Header=\$ac_header_preproc"
11614 ac_res=`eval echo '${'$as_ac_Header'}'`
11615 { echo "$as_me:$LINENO: result: $ac_res" >&5
11616 echo "${ECHO_T}$ac_res" >&6; }
11619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11620 cat >>confdefs.h <<_ACEOF
11621 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11623 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11624 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11625 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11626 echo $ECHO_N "(cached) $ECHO_C" >&6
11628 ac_check_lib_save_LIBS=$LIBS
11629 LIBS="-lxml2 $ac_xml_libs $LIBS"
11630 cat >conftest.$ac_ext <<_ACEOF
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11643 char xmlParseMemory ();
11647 return xmlParseMemory ();
11652 rm -f conftest.$ac_objext conftest$ac_exeext
11653 if { (ac_try="$ac_link"
11654 case "(($ac_try" in
11655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11656 *) ac_try_echo
=$ac_try;;
11658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11659 (eval "$ac_link") 2>conftest.er1
11661 grep -v '^ *+' conftest.er1
>conftest.err
11663 cat conftest.err
>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } && {
11666 test -z "$ac_c_werror_flag" ||
11667 test ! -s conftest.err
11668 } && test -s conftest
$ac_exeext &&
11669 $as_test_x conftest
$ac_exeext; then
11670 ac_cv_lib_xml2_xmlParseMemory
=yes
11672 echo "$as_me: failed program was:" >&5
11673 sed 's/^/| /' conftest.
$ac_ext >&5
11675 ac_cv_lib_xml2_xmlParseMemory
=no
11678 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11679 conftest
$ac_exeext conftest.
$ac_ext
11680 LIBS
=$ac_check_lib_save_LIBS
11682 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11683 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11684 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11686 cat >>confdefs.h
<<\_ACEOF
11687 #define HAVE_LIBXML2 1
11690 XML2LIBS
="$ac_xml_libs"
11691 XML2INCL
="$ac_xml_cflags"
11694 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11695 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11696 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 ac_check_lib_save_LIBS
=$LIBS
11700 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11701 cat >conftest.
$ac_ext <<_ACEOF
11704 cat confdefs.h
>>conftest.
$ac_ext
11705 cat >>conftest.
$ac_ext <<_ACEOF
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11714 char xmlReadMemory ();
11718 return xmlReadMemory ();
11723 rm -f conftest.
$ac_objext conftest
$ac_exeext
11724 if { (ac_try
="$ac_link"
11725 case "(($ac_try" in
11726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11727 *) ac_try_echo=$ac_try;;
11729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11730 (eval "$ac_link") 2>conftest.er1
11732 grep -v '^ *+' conftest.er1 >conftest.err
11734 cat conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } && {
11737 test -z "$ac_c_werror_flag" ||
11738 test ! -s conftest.err
11739 } && test -s conftest$ac_exeext &&
11740 $as_test_x conftest$ac_exeext; then
11741 ac_cv_lib_xml2_xmlReadMemory=yes
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.$ac_ext >&5
11746 ac_cv_lib_xml2_xmlReadMemory=no
11749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11750 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_check_lib_save_LIBS
11753 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11754 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11755 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11757 cat >>confdefs.h <<\_ACEOF
11758 #define HAVE_XMLREADMEMORY 1
11763 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11764 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11765 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11768 ac_check_lib_save_LIBS=$LIBS
11769 LIBS="-lxml2 $ac_xml_libs $LIBS"
11770 cat >conftest.$ac_ext <<_ACEOF
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11783 char xmlNewDocPI ();
11787 return xmlNewDocPI ();
11792 rm -f conftest.$ac_objext conftest$ac_exeext
11793 if { (ac_try="$ac_link"
11794 case "(($ac_try" in
11795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11796 *) ac_try_echo
=$ac_try;;
11798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11799 (eval "$ac_link") 2>conftest.er1
11801 grep -v '^ *+' conftest.er1
>conftest.err
11803 cat conftest.err
>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } && {
11806 test -z "$ac_c_werror_flag" ||
11807 test ! -s conftest.err
11808 } && test -s conftest
$ac_exeext &&
11809 $as_test_x conftest
$ac_exeext; then
11810 ac_cv_lib_xml2_xmlNewDocPI
=yes
11812 echo "$as_me: failed program was:" >&5
11813 sed 's/^/| /' conftest.
$ac_ext >&5
11815 ac_cv_lib_xml2_xmlNewDocPI
=no
11818 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11819 conftest
$ac_exeext conftest.
$ac_ext
11820 LIBS
=$ac_check_lib_save_LIBS
11822 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11823 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11824 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11826 cat >>confdefs.h
<<\_ACEOF
11827 #define HAVE_XMLNEWDOCPI 1
11837 CPPFLAGS
="$ac_save_CPPFLAGS"
11839 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11840 case "x$with_xml" in
11841 x
) wine_notices
="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11843 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11844 This is an error since --with-xml was requested." >&5
11845 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11846 This is an error since --with-xml was requested." >&2;}
11847 { (exit 1); exit 1; }; } ;;
11852 if test "x$with_xslt" != "xno"
11854 if test "$PKG_CONFIG" != "false"
11856 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11857 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11859 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11860 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11862 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11865 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11867 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11870 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 cat >conftest.
$ac_ext <<_ACEOF
11876 cat confdefs.h
>>conftest.
$ac_ext
11877 cat >>conftest.
$ac_ext <<_ACEOF
11878 /* end confdefs.h. */
11879 #ifdef HAVE_LIBXSLT_PATTERN_H
11880 # include <libxslt/pattern.h>
11883 #include <$ac_header>
11885 rm -f conftest.
$ac_objext
11886 if { (ac_try
="$ac_compile"
11887 case "(($ac_try" in
11888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_compile") 2>conftest.er1
11894 grep -v '^ *+' conftest.er1 >conftest.err
11896 cat conftest.err >&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } && {
11899 test -z "$ac_c_werror_flag" ||
11900 test ! -s conftest.err
11901 } && test -s conftest.$ac_objext; then
11902 eval "$as_ac_Header=yes"
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.$ac_ext >&5
11907 eval "$as_ac_Header=no"
11910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11912 ac_res=`eval echo '${'$as_ac_Header'}'`
11913 { echo "$as_me:$LINENO: result: $ac_res" >&5
11914 echo "${ECHO_T}$ac_res" >&6; }
11915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11916 cat >>confdefs.h <<_ACEOF
11917 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11919 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11920 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11921 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-lxslt $ac_xslt_libs $LIBS"
11926 cat >conftest.$ac_ext <<_ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11939 char xsltCompilePattern ();
11943 return xsltCompilePattern ();
11948 rm -f conftest.$ac_objext conftest$ac_exeext
11949 if { (ac_try="$ac_link"
11950 case "(($ac_try" in
11951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11952 *) ac_try_echo
=$ac_try;;
11954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11955 (eval "$ac_link") 2>conftest.er1
11957 grep -v '^ *+' conftest.er1
>conftest.err
11959 cat conftest.err
>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } && {
11962 test -z "$ac_c_werror_flag" ||
11963 test ! -s conftest.err
11964 } && test -s conftest
$ac_exeext &&
11965 $as_test_x conftest
$ac_exeext; then
11966 ac_cv_lib_xslt_xsltCompilePattern
=yes
11968 echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.
$ac_ext >&5
11971 ac_cv_lib_xslt_xsltCompilePattern
=no
11974 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11975 conftest
$ac_exeext conftest.
$ac_ext
11976 LIBS
=$ac_check_lib_save_LIBS
11978 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11979 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11980 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11982 cat >>confdefs.h
<<\_ACEOF
11983 #define HAVE_LIBXSLT 1
11986 XSLTLIBS
="$ac_xslt_libs"
11987 XSLTINCL
="$ac_xslt_cflags"
11995 CPPFLAGS
="$ac_save_CPPFLAGS"
11997 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11998 case "x$with_xslt" in
11999 x
) wine_notices
="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12001 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12002 This is an error since --with-xslt was requested." >&5
12003 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12004 This is an error since --with-xslt was requested." >&2;}
12005 { (exit 1); exit 1; }; } ;;
12012 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12014 ac_save_CPPFLAGS
="$CPPFLAGS"
12015 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
12016 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12017 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
12020 for ac_header
in dbus
/dbus.h hal
/libhal.h
12022 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12023 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12024 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12026 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 ac_res
=`eval echo '${'$as_ac_Header'}'`
12030 { echo "$as_me:$LINENO: result: $ac_res" >&5
12031 echo "${ECHO_T}$ac_res" >&6; }
12033 # Is the header compilable?
12034 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12036 cat >conftest.
$ac_ext <<_ACEOF
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 $ac_includes_default
12043 #include <$ac_header>
12045 rm -f conftest.
$ac_objext
12046 if { (ac_try
="$ac_compile"
12047 case "(($ac_try" in
12048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12049 *) ac_try_echo=$ac_try;;
12051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12052 (eval "$ac_compile") 2>conftest.er1
12054 grep -v '^ *+' conftest.er1 >conftest.err
12056 cat conftest.err >&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } && {
12059 test -z "$ac_c_werror_flag" ||
12060 test ! -s conftest.err
12061 } && test -s conftest.$ac_objext; then
12062 ac_header_compiler=yes
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.$ac_ext >&5
12067 ac_header_compiler=no
12070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12071 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12072 echo "${ECHO_T}$ac_header_compiler" >&6; }
12074 # Is the header present?
12075 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12077 cat >conftest.$ac_ext <<_ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12083 #include <$ac_header>
12085 if { (ac_try="$ac_cpp conftest.$ac_ext"
12086 case "(($ac_try" in
12087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12088 *) ac_try_echo
=$ac_try;;
12090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12093 grep -v '^ *+' conftest.er1
>conftest.err
12095 cat conftest.err
>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } >/dev
/null
&& {
12098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12099 test ! -s conftest.err
12101 ac_header_preproc
=yes
12103 echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.
$ac_ext >&5
12106 ac_header_preproc
=no
12109 rm -f conftest.err conftest.
$ac_ext
12110 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12111 echo "${ECHO_T}$ac_header_preproc" >&6; }
12113 # So? What about this header?
12114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12120 ac_header_preproc
=yes
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12136 ## ------------------------------------ ##
12137 ## Report this to wine-devel@winehq.org ##
12138 ## ------------------------------------ ##
12140 ) |
sed "s/^/$as_me: WARNING: /" >&2
12143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12145 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 eval "$as_ac_Header=\$ac_header_preproc"
12150 ac_res
=`eval echo '${'$as_ac_Header'}'`
12151 { echo "$as_me:$LINENO: result: $ac_res" >&5
12152 echo "${ECHO_T}$ac_res" >&6; }
12155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12156 cat >>confdefs.h
<<_ACEOF
12157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12164 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12166 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12167 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12168 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 ac_check_lib_save_LIBS
=$LIBS
12172 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
12173 cat >conftest.
$ac_ext <<_ACEOF
12176 cat confdefs.h
>>conftest.
$ac_ext
12177 cat >>conftest.
$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12186 char dbus_connection_close ();
12190 return dbus_connection_close ();
12195 rm -f conftest.
$ac_objext conftest
$ac_exeext
12196 if { (ac_try
="$ac_link"
12197 case "(($ac_try" in
12198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12199 *) ac_try_echo=$ac_try;;
12201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12202 (eval "$ac_link") 2>conftest.er1
12204 grep -v '^ *+' conftest.er1 >conftest.err
12206 cat conftest.err >&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); } && {
12209 test -z "$ac_c_werror_flag" ||
12210 test ! -s conftest.err
12211 } && test -s conftest$ac_exeext &&
12212 $as_test_x conftest$ac_exeext; then
12213 ac_cv_lib_dbus_1_dbus_connection_close=yes
12215 echo "$as_me: failed program was:" >&5
12216 sed 's/^/| /' conftest.$ac_ext >&5
12218 ac_cv_lib_dbus_1_dbus_connection_close=no
12221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12222 conftest$ac_exeext conftest.$ac_ext
12223 LIBS=$ac_check_lib_save_LIBS
12225 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12226 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12227 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12228 { echo "$as_me:$LINENO: checking for -lhal" >&5
12229 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12230 if test "${ac_cv_lib_soname_hal+set}" = set; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 ac_check_soname_save_LIBS=$LIBS
12234 LIBS="-lhal $ac_hal_libs $LIBS"
12235 cat >conftest.$ac_ext <<_ACEOF
12238 cat confdefs.h >>conftest.$ac_ext
12239 cat >>conftest.$ac_ext <<_ACEOF
12240 /* end confdefs.h. */
12242 /* Override any GCC internal prototype to avoid an error.
12243 Use char because int might match the return type of a GCC
12244 builtin and then its argument prototype would still apply. */
12248 char libhal_ctx_new ();
12252 return libhal_ctx_new ();
12257 rm -f conftest.$ac_objext conftest$ac_exeext
12258 if { (ac_try="$ac_link"
12259 case "(($ac_try" in
12260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12261 *) ac_try_echo
=$ac_try;;
12263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12264 (eval "$ac_link") 2>conftest.er1
12266 grep -v '^ *+' conftest.er1
>conftest.err
12268 cat conftest.err
>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } && {
12271 test -z "$ac_c_werror_flag" ||
12272 test ! -s conftest.err
12273 } && test -s conftest
$ac_exeext &&
12274 $as_test_x conftest
$ac_exeext; then
12277 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'` ;;
12278 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.
$ac_ext >&5
12287 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12288 conftest
$ac_exeext conftest.
$ac_ext
12289 LIBS
=$ac_check_soname_save_LIBS
12291 if test "x$ac_cv_lib_soname_hal" = "x"; then
12292 { echo "$as_me:$LINENO: result: not found" >&5
12293 echo "${ECHO_T}not found" >&6; }
12296 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12297 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12299 cat >>confdefs.h
<<_ACEOF
12300 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12303 HALINCL
="$ac_hal_cflags"
12309 CPPFLAGS
="$ac_save_CPPFLAGS"
12311 if test "x$ac_cv_lib_soname_hal" = "x"; then
12312 case "x$with_hal" in
12313 x
) wine_notices
="$wine_notices|libhal development files not found, no dynamic device support." ;;
12315 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12316 This is an error since --with-hal was requested." >&5
12317 echo "$as_me: error: libhal development files not found, no dynamic device support.
12318 This is an error since --with-hal was requested." >&2;}
12319 { (exit 1); exit 1; }; } ;;
12325 if test "$ac_cv_header_ncurses_h" = "yes"
12327 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12328 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12329 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12332 ac_check_soname_save_LIBS
=$LIBS
12333 LIBS
="-lncurses $LIBS"
12334 cat >conftest.
$ac_ext <<_ACEOF
12337 cat confdefs.h
>>conftest.
$ac_ext
12338 cat >>conftest.
$ac_ext <<_ACEOF
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12356 rm -f conftest.
$ac_objext conftest
$ac_exeext
12357 if { (ac_try
="$ac_link"
12358 case "(($ac_try" in
12359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12360 *) ac_try_echo=$ac_try;;
12362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12363 (eval "$ac_link") 2>conftest.er1
12365 grep -v '^ *+' conftest.er1 >conftest.err
12367 cat conftest.err >&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } && {
12370 test -z "$ac_c_werror_flag" ||
12371 test ! -s conftest.err
12372 } && test -s conftest$ac_exeext &&
12373 $as_test_x conftest$ac_exeext; then
12376 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'` ;;
12377 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12387 conftest$ac_exeext conftest.$ac_ext
12388 LIBS=$ac_check_soname_save_LIBS
12390 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12391 { echo "$as_me:$LINENO: result: not found" >&5
12392 echo "${ECHO_T}not found" >&6; }
12395 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12396 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12398 cat >>confdefs.h <<_ACEOF
12399 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12402 CURSESLIBS="-lncurses"
12405 elif test "$ac_cv_header_curses_h" = "yes"
12407 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12408 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12409 if test "${ac_cv_lib_soname_curses+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 ac_check_soname_save_LIBS=$LIBS
12413 LIBS="-lcurses $LIBS"
12414 cat >conftest.$ac_ext <<_ACEOF
12417 cat confdefs.h >>conftest.$ac_ext
12418 cat >>conftest.$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12436 rm -f conftest.$ac_objext conftest$ac_exeext
12437 if { (ac_try="$ac_link"
12438 case "(($ac_try" in
12439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12440 *) ac_try_echo
=$ac_try;;
12442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12443 (eval "$ac_link") 2>conftest.er1
12445 grep -v '^ *+' conftest.er1
>conftest.err
12447 cat conftest.err
>&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } && {
12450 test -z "$ac_c_werror_flag" ||
12451 test ! -s conftest.err
12452 } && test -s conftest
$ac_exeext &&
12453 $as_test_x conftest
$ac_exeext; then
12456 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'` ;;
12457 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12466 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12467 conftest
$ac_exeext conftest.
$ac_ext
12468 LIBS
=$ac_check_soname_save_LIBS
12470 if test "x$ac_cv_lib_soname_curses" = "x"; then
12471 { echo "$as_me:$LINENO: result: not found" >&5
12472 echo "${ECHO_T}not found" >&6; }
12475 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12476 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12478 cat >>confdefs.h
<<_ACEOF
12479 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12482 CURSESLIBS
="-lcurses"
12486 ac_save_LIBS
="$LIBS"
12487 LIBS
="$LIBS $CURSESLIBS"
12489 for ac_func
in mousemask
12491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12494 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 cat >conftest.
$ac_ext <<_ACEOF
12500 cat confdefs.h
>>conftest.
$ac_ext
12501 cat >>conftest.
$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12505 #define $ac_func innocuous_$ac_func
12507 /* System header to define __stub macros and hopefully few prototypes,
12508 which can conflict with char $ac_func (); below.
12509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12510 <limits.h> exists even on freestanding compilers. */
12513 # include <limits.h>
12515 # include <assert.h>
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12527 /* The GNU C library defines this for functions which it implements
12528 to always fail with ENOSYS. Some functions are actually named
12529 something starting with __ and the normal name is an alias. */
12530 #if defined __stub_$ac_func || defined __stub___$ac_func
12537 return $ac_func ();
12542 rm -f conftest.
$ac_objext conftest
$ac_exeext
12543 if { (ac_try
="$ac_link"
12544 case "(($ac_try" in
12545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12546 *) ac_try_echo=$ac_try;;
12548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12549 (eval "$ac_link") 2>conftest.er1
12551 grep -v '^ *+' conftest.er1 >conftest.err
12553 cat conftest.err >&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } && {
12556 test -z "$ac_c_werror_flag" ||
12557 test ! -s conftest.err
12558 } && test -s conftest$ac_exeext &&
12559 $as_test_x conftest$ac_exeext; then
12560 eval "$as_ac_var=yes"
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12565 eval "$as_ac_var=no"
12568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12569 conftest$ac_exeext conftest.$ac_ext
12571 ac_res=`eval echo '${'$as_ac_var'}'`
12572 { echo "$as_me:$LINENO: result: $ac_res" >&5
12573 echo "${ECHO_T}$ac_res" >&6; }
12574 if test `eval echo '${'$as_ac_var'}'` = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12582 LIBS="$ac_save_LIBS"
12583 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12584 case "x$with_curses" in
12585 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12587 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12588 This is an error since --with-curses was requested." >&5
12589 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12590 This is an error since --with-curses was requested." >&2;}
12591 { (exit 1); exit 1; }; } ;;
12596 # Extract the first word of "sane-config", so it can be a program name with args.
12597 set dummy sane-config; ac_word=$2
12598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12600 if test "${ac_cv_prog_sane_devel+set}" = set; then
12601 echo $ECHO_N "(cached) $ECHO_C" >&6
12603 if test -n "$sane_devel"; then
12604 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12607 for as_dir in $PATH
12610 test -z "$as_dir" && as_dir=.
12611 for ac_exec_ext in '' $ac_executable_extensions; do
12612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12613 ac_cv_prog_sane_devel="sane-config"
12614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12621 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12624 sane_devel=$ac_cv_prog_sane_devel
12625 if test -n "$sane_devel"; then
12626 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12627 echo "${ECHO_T}$sane_devel" >&6; }
12629 { echo "$as_me:$LINENO: result: no" >&5
12630 echo "${ECHO_T}no" >&6; }
12634 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12636 ac_sane_incl="`$sane_devel --cflags`"
12637 ac_save_CPPFLAGS="$CPPFLAGS"
12638 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12639 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12640 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12641 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12642 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12646 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12648 # Is the header compilable?
12649 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12650 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12651 cat >conftest.$ac_ext <<_ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 $ac_includes_default
12658 #include <sane/sane.h>
12660 rm -f conftest.$ac_objext
12661 if { (ac_try="$ac_compile"
12662 case "(($ac_try" in
12663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12664 *) ac_try_echo
=$ac_try;;
12666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12667 (eval "$ac_compile") 2>conftest.er1
12669 grep -v '^ *+' conftest.er1
>conftest.err
12671 cat conftest.err
>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } && {
12674 test -z "$ac_c_werror_flag" ||
12675 test ! -s conftest.err
12676 } && test -s conftest.
$ac_objext; then
12677 ac_header_compiler
=yes
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.
$ac_ext >&5
12682 ac_header_compiler
=no
12685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12686 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12687 echo "${ECHO_T}$ac_header_compiler" >&6; }
12689 # Is the header present?
12690 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12691 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 #include <sane/sane.h>
12700 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12701 case "(($ac_try" in
12702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12703 *) ac_try_echo=$ac_try;;
12705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12708 grep -v '^ *+' conftest.er1 >conftest.err
12710 cat conftest.err >&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); } >/dev/null && {
12713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12714 test ! -s conftest.err
12716 ac_header_preproc=yes
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12721 ac_header_preproc=no
12724 rm -f conftest.err conftest.$ac_ext
12725 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12726 echo "${ECHO_T}$ac_header_preproc" >&6; }
12728 # So? What about this header?
12729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12731 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12732 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12733 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12734 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12735 ac_header_preproc=yes
12738 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12739 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12740 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12741 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12742 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12743 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12744 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12745 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12747 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12748 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12749 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12751 ## ------------------------------------ ##
12752 ## Report this to wine-devel@winehq.org ##
12753 ## ------------------------------------ ##
12755 ) | sed "s/^/$as_me: WARNING: /" >&2
12758 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12759 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12760 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 ac_cv_header_sane_sane_h=$ac_header_preproc
12765 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12766 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12769 if test $ac_cv_header_sane_sane_h = yes; then
12770 { echo "$as_me:$LINENO: checking for -lsane" >&5
12771 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12772 if test "${ac_cv_lib_soname_sane+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 ac_check_soname_save_LIBS=$LIBS
12776 LIBS="-lsane $LIBS"
12777 cat >conftest.$ac_ext <<_ACEOF
12780 cat confdefs.h >>conftest.$ac_ext
12781 cat >>conftest.$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12794 return sane_init ();
12799 rm -f conftest.$ac_objext conftest$ac_exeext
12800 if { (ac_try="$ac_link"
12801 case "(($ac_try" in
12802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12803 *) ac_try_echo
=$ac_try;;
12805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12806 (eval "$ac_link") 2>conftest.er1
12808 grep -v '^ *+' conftest.er1
>conftest.err
12810 cat conftest.err
>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } && {
12813 test -z "$ac_c_werror_flag" ||
12814 test ! -s conftest.err
12815 } && test -s conftest
$ac_exeext &&
12816 $as_test_x conftest
$ac_exeext; then
12819 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'` ;;
12820 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.
$ac_ext >&5
12829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12830 conftest
$ac_exeext conftest.
$ac_ext
12831 LIBS
=$ac_check_soname_save_LIBS
12833 if test "x$ac_cv_lib_soname_sane" = "x"; then
12834 { echo "$as_me:$LINENO: result: not found" >&5
12835 echo "${ECHO_T}not found" >&6; }
12838 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12839 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12841 cat >>confdefs.h
<<_ACEOF
12842 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12845 SANEINCL
="$ac_sane_incl"
12852 CPPFLAGS
="$ac_save_CPPFLAGS"
12854 if test "x$ac_cv_lib_soname_sane" = "x"; then
12855 case "x$with_sane" in
12856 x
) wine_notices
="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12858 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12859 This is an error since --with-sane was requested." >&5
12860 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12861 This is an error since --with-sane was requested." >&2;}
12862 { (exit 1); exit 1; }; } ;;
12867 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12868 set dummy gphoto2-config
; ac_word
=$2
12869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12871 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12872 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 if test -n "$gphoto2_devel"; then
12875 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12878 for as_dir
in $PATH
12881 test -z "$as_dir" && as_dir
=.
12882 for ac_exec_ext
in '' $ac_executable_extensions; do
12883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12884 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12892 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12895 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12896 if test -n "$gphoto2_devel"; then
12897 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12898 echo "${ECHO_T}$gphoto2_devel" >&6; }
12900 { echo "$as_me:$LINENO: result: no" >&5
12901 echo "${ECHO_T}no" >&6; }
12905 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12906 set dummy gphoto2-port-config
; ac_word
=$2
12907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12909 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12910 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 if test -n "$gphoto2port_devel"; then
12913 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12916 for as_dir
in $PATH
12919 test -z "$as_dir" && as_dir
=.
12920 for ac_exec_ext
in '' $ac_executable_extensions; do
12921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12922 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12930 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12933 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12934 if test -n "$gphoto2port_devel"; then
12935 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12936 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12938 { echo "$as_me:$LINENO: result: no" >&5
12939 echo "${ECHO_T}no" >&6; }
12943 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12945 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12947 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12950 -L/usr
/lib|
-L/usr
/lib64
) ;;
12951 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12954 ac_save_CPPFLAGS
="$CPPFLAGS"
12955 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12956 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12957 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12958 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12959 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12963 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12965 # Is the header compilable?
12966 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12967 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12968 cat >conftest.
$ac_ext <<_ACEOF
12971 cat confdefs.h
>>conftest.
$ac_ext
12972 cat >>conftest.
$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12974 $ac_includes_default
12975 #include <gphoto2-camera.h>
12977 rm -f conftest.
$ac_objext
12978 if { (ac_try
="$ac_compile"
12979 case "(($ac_try" in
12980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12981 *) ac_try_echo=$ac_try;;
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_compile") 2>conftest.er1
12986 grep -v '^ *+' conftest.er1 >conftest.err
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } && {
12991 test -z "$ac_c_werror_flag" ||
12992 test ! -s conftest.err
12993 } && test -s conftest.$ac_objext; then
12994 ac_header_compiler=yes
12996 echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12999 ac_header_compiler=no
13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13004 echo "${ECHO_T}$ac_header_compiler" >&6; }
13006 # Is the header present?
13007 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13008 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13009 cat >conftest.$ac_ext <<_ACEOF
13012 cat confdefs.h >>conftest.$ac_ext
13013 cat >>conftest.$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 #include <gphoto2-camera.h>
13017 if { (ac_try="$ac_cpp conftest.$ac_ext"
13018 case "(($ac_try" in
13019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13020 *) ac_try_echo
=$ac_try;;
13022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } >/dev
/null
&& {
13030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13031 test ! -s conftest.err
13033 ac_header_preproc
=yes
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.
$ac_ext >&5
13038 ac_header_preproc
=no
13041 rm -f conftest.err conftest.
$ac_ext
13042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13043 echo "${ECHO_T}$ac_header_preproc" >&6; }
13045 # So? What about this header?
13046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13048 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13049 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13050 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13051 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13052 ac_header_preproc
=yes
13055 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13056 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13057 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13058 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13059 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13060 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13061 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13062 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13064 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13066 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13068 ## ------------------------------------ ##
13069 ## Report this to wine-devel@winehq.org ##
13070 ## ------------------------------------ ##
13072 ) |
sed "s/^/$as_me: WARNING: /" >&2
13075 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13076 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13077 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13080 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
13082 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13083 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13086 if test $ac_cv_header_gphoto2_camera_h = yes; then
13087 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13088 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13089 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13090 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 ac_check_lib_save_LIBS
=$LIBS
13093 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
13094 cat >conftest.
$ac_ext <<_ACEOF
13097 cat confdefs.h
>>conftest.
$ac_ext
13098 cat >>conftest.
$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13101 /* Override any GCC internal prototype to avoid an error.
13102 Use char because int might match the return type of a GCC
13103 builtin and then its argument prototype would still apply. */
13107 char gp_camera_new ();
13111 return gp_camera_new ();
13116 rm -f conftest.
$ac_objext conftest
$ac_exeext
13117 if { (ac_try
="$ac_link"
13118 case "(($ac_try" in
13119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13120 *) ac_try_echo=$ac_try;;
13122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13123 (eval "$ac_link") 2>conftest.er1
13125 grep -v '^ *+' conftest.er1 >conftest.err
13127 cat conftest.err >&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } && {
13130 test -z "$ac_c_werror_flag" ||
13131 test ! -s conftest.err
13132 } && test -s conftest$ac_exeext &&
13133 $as_test_x conftest$ac_exeext; then
13134 ac_cv_lib_gphoto2_gp_camera_new=yes
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.$ac_ext >&5
13139 ac_cv_lib_gphoto2_gp_camera_new=no
13142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13143 conftest$ac_exeext conftest.$ac_ext
13144 LIBS=$ac_check_lib_save_LIBS
13146 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13147 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13148 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13150 cat >>confdefs.h <<\_ACEOF
13151 #define HAVE_GPHOTO2 1
13154 GPHOTO2LIBS="$ac_gphoto2_libs"
13156 GPHOTO2INCL="$ac_gphoto2_incl"
13163 CPPFLAGS="$ac_save_CPPFLAGS"
13165 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13166 case "x$with_gphoto" in
13167 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13169 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13170 This is an error since --with-gphoto was requested." >&5
13171 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13172 This is an error since --with-gphoto was requested." >&2;}
13173 { (exit 1); exit 1; }; } ;;
13181 if test "$ac_cv_header_resolv_h" = "yes"
13183 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13184 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13185 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 ac_check_lib_save_LIBS=$LIBS
13189 LIBS="-lresolv $LIBS"
13190 cat >conftest.$ac_ext <<_ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13207 return res_query ();
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (ac_try="$ac_link"
13214 case "(($ac_try" in
13215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13216 *) ac_try_echo
=$ac_try;;
13218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13219 (eval "$ac_link") 2>conftest.er1
13221 grep -v '^ *+' conftest.er1
>conftest.err
13223 cat conftest.err
>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); } && {
13226 test -z "$ac_c_werror_flag" ||
13227 test ! -s conftest.err
13228 } && test -s conftest
$ac_exeext &&
13229 $as_test_x conftest
$ac_exeext; then
13230 ac_cv_lib_resolv_res_query
=yes
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.
$ac_ext >&5
13235 ac_cv_lib_resolv_res_query
=no
13238 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13239 conftest
$ac_exeext conftest.
$ac_ext
13240 LIBS
=$ac_check_lib_save_LIBS
13242 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13243 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13244 if test $ac_cv_lib_resolv_res_query = yes; then
13246 cat >>confdefs.h
<<\_ACEOF
13247 #define HAVE_RESOLV 1
13250 RESOLVLIBS
="-lresolv"
13257 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13259 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13260 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13261 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 ac_check_lib_save_LIBS
=$LIBS
13265 LIBS
="-llcms $LIBS"
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13273 /* Override any GCC internal prototype to avoid an error.
13274 Use char because int might match the return type of a GCC
13275 builtin and then its argument prototype would still apply. */
13279 char cmsOpenProfileFromFile ();
13283 return cmsOpenProfileFromFile ();
13288 rm -f conftest.
$ac_objext conftest
$ac_exeext
13289 if { (ac_try
="$ac_link"
13290 case "(($ac_try" in
13291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_link") 2>conftest.er1
13297 grep -v '^ *+' conftest.er1 >conftest.err
13299 cat conftest.err >&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); } && {
13302 test -z "$ac_c_werror_flag" ||
13303 test ! -s conftest.err
13304 } && test -s conftest$ac_exeext &&
13305 $as_test_x conftest$ac_exeext; then
13306 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13308 echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.$ac_ext >&5
13311 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13315 conftest$ac_exeext conftest.$ac_ext
13316 LIBS=$ac_check_lib_save_LIBS
13318 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13319 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13320 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13322 cat >>confdefs.h <<\_ACEOF
13323 #define HAVE_LCMS 1
13330 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13331 case "x$with_cms" in
13332 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13334 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13335 This is an error since --with-cms was requested." >&5
13336 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13337 This is an error since --with-cms was requested." >&2;}
13338 { (exit 1); exit 1; }; } ;;
13345 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13347 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13348 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13349 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 ac_check_lib_save_LIBS=$LIBS
13353 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13354 cat >conftest.$ac_ext <<_ACEOF
13357 cat confdefs.h >>conftest.$ac_ext
13358 cat >>conftest.$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13367 char ldap_initialize ();
13371 return ldap_initialize ();
13376 rm -f conftest.$ac_objext conftest$ac_exeext
13377 if { (ac_try="$ac_link"
13378 case "(($ac_try" in
13379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13380 *) ac_try_echo
=$ac_try;;
13382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13383 (eval "$ac_link") 2>conftest.er1
13385 grep -v '^ *+' conftest.er1
>conftest.err
13387 cat conftest.err
>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && {
13390 test -z "$ac_c_werror_flag" ||
13391 test ! -s conftest.err
13392 } && test -s conftest
$ac_exeext &&
13393 $as_test_x conftest
$ac_exeext; then
13394 ac_cv_lib_ldap_r_ldap_initialize
=yes
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.
$ac_ext >&5
13399 ac_cv_lib_ldap_r_ldap_initialize
=no
13402 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13403 conftest
$ac_exeext conftest.
$ac_ext
13404 LIBS
=$ac_check_lib_save_LIBS
13406 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13407 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13408 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13409 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13410 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13411 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 ac_check_lib_save_LIBS
=$LIBS
13415 LIBS
="-llber $LIBPTHREAD $LIBS"
13416 cat >conftest.
$ac_ext <<_ACEOF
13419 cat confdefs.h
>>conftest.
$ac_ext
13420 cat >>conftest.
$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13433 return ber_init ();
13438 rm -f conftest.
$ac_objext conftest
$ac_exeext
13439 if { (ac_try
="$ac_link"
13440 case "(($ac_try" in
13441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_link") 2>conftest.er1
13447 grep -v '^ *+' conftest.er1 >conftest.err
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest$ac_exeext &&
13455 $as_test_x conftest$ac_exeext; then
13456 ac_cv_lib_lber_ber_init=yes
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_lib_lber_ber_init=no
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_lib_save_LIBS
13468 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13469 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13470 if test $ac_cv_lib_lber_ber_init = yes; then
13472 cat >>confdefs.h <<\_ACEOF
13473 #define HAVE_LDAP 1
13476 LDAPLIBS="-lldap_r -llber"
13481 ac_wine_check_funcs_save_LIBS="$LIBS"
13482 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13492 ldap_count_references \
13493 ldap_first_reference \
13494 ldap_next_reference \
13495 ldap_parse_reference \
13496 ldap_parse_sort_control \
13497 ldap_parse_sortresponse_control \
13498 ldap_parse_vlv_control \
13499 ldap_parse_vlvresponse_control
13501 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 cat >conftest.$ac_ext <<_ACEOF
13510 cat confdefs.h >>conftest.$ac_ext
13511 cat >>conftest.$ac_ext <<_ACEOF
13512 /* end confdefs.h. */
13513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13515 #define $ac_func innocuous_$ac_func
13517 /* System header to define __stub macros and hopefully few prototypes,
13518 which can conflict with char $ac_func (); below.
13519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13520 <limits.h> exists even on freestanding compilers. */
13523 # include <limits.h>
13525 # include <assert.h>
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13537 /* The GNU C library defines this for functions which it implements
13538 to always fail with ENOSYS. Some functions are actually named
13539 something starting with __ and the normal name is an alias. */
13540 #if defined __stub_$ac_func || defined __stub___$ac_func
13547 return $ac_func ();
13552 rm -f conftest.$ac_objext conftest$ac_exeext
13553 if { (ac_try="$ac_link"
13554 case "(($ac_try" in
13555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13556 *) ac_try_echo
=$ac_try;;
13558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13559 (eval "$ac_link") 2>conftest.er1
13561 grep -v '^ *+' conftest.er1
>conftest.err
13563 cat conftest.err
>&5
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); } && {
13566 test -z "$ac_c_werror_flag" ||
13567 test ! -s conftest.err
13568 } && test -s conftest
$ac_exeext &&
13569 $as_test_x conftest
$ac_exeext; then
13570 eval "$as_ac_var=yes"
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 eval "$as_ac_var=no"
13578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13579 conftest
$ac_exeext conftest.
$ac_ext
13581 ac_res
=`eval echo '${'$as_ac_var'}'`
13582 { echo "$as_me:$LINENO: result: $ac_res" >&5
13583 echo "${ECHO_T}$ac_res" >&6; }
13584 if test `eval echo '${'$as_ac_var'}'` = yes; then
13585 cat >>confdefs.h
<<_ACEOF
13586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13592 LIBS
="$ac_wine_check_funcs_save_LIBS"
13594 if test "x$LDAPLIBS" = "x"; then
13595 case "x$with_ldap" in
13596 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13598 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13599 This is an error since --with-ldap was requested." >&5
13600 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13601 This is an error since --with-ldap was requested." >&2;}
13602 { (exit 1); exit 1; }; } ;;
13607 for ac_prog
in freetype-config freetype2-config
13609 # Extract the first word of "$ac_prog", so it can be a program name with args.
13610 set dummy
$ac_prog; ac_word
=$2
13611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13613 if test "${ac_cv_prog_ft_devel+set}" = set; then
13614 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 if test -n "$ft_devel"; then
13617 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13620 for as_dir
in $PATH
13623 test -z "$as_dir" && as_dir
=.
13624 for ac_exec_ext
in '' $ac_executable_extensions; do
13625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13626 ac_cv_prog_ft_devel
="$ac_prog"
13627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13636 ft_devel
=$ac_cv_prog_ft_devel
13637 if test -n "$ft_devel"; then
13638 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13639 echo "${ECHO_T}$ft_devel" >&6; }
13641 { echo "$as_me:$LINENO: result: no" >&5
13642 echo "${ECHO_T}no" >&6; }
13646 test -n "$ft_devel" && break
13648 test -n "$ft_devel" || ft_devel
="false"
13650 if test "$ft_devel" != "false"
13652 ac_freetype_libs
=`$ft_devel --libs`
13653 ac_freetype_incl
=`$ft_devel --cflags`
13654 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13655 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13656 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 ac_check_soname_save_LIBS
=$LIBS
13660 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13661 cat >conftest.
$ac_ext <<_ACEOF
13664 cat confdefs.h
>>conftest.
$ac_ext
13665 cat >>conftest.
$ac_ext <<_ACEOF
13666 /* end confdefs.h. */
13668 /* Override any GCC internal prototype to avoid an error.
13669 Use char because int might match the return type of a GCC
13670 builtin and then its argument prototype would still apply. */
13674 char FT_Init_FreeType ();
13678 return FT_Init_FreeType ();
13683 rm -f conftest.
$ac_objext conftest
$ac_exeext
13684 if { (ac_try
="$ac_link"
13685 case "(($ac_try" in
13686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13687 *) ac_try_echo=$ac_try;;
13689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13690 (eval "$ac_link") 2>conftest.er1
13692 grep -v '^ *+' conftest.er1 >conftest.err
13694 cat conftest.err >&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } && {
13697 test -z "$ac_c_werror_flag" ||
13698 test ! -s conftest.err
13699 } && test -s conftest$ac_exeext &&
13700 $as_test_x conftest$ac_exeext; then
13703 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'` ;;
13704 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_soname_save_LIBS
13717 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13718 { echo "$as_me:$LINENO: result: not found" >&5
13719 echo "${ECHO_T}not found" >&6; }
13722 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13723 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13725 cat >>confdefs.h <<_ACEOF
13726 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13732 if test "$ft_lib" = "yes"
13734 ac_save_CPPFLAGS="$CPPFLAGS"
13735 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13748 for ac_header in ft2build.h \
13749 freetype/freetype.h \
13750 freetype/ftglyph.h \
13751 freetype/fttypes.h \
13752 freetype/tttables.h \
13753 freetype/ftnames.h \
13754 freetype/ftsnames.h \
13755 freetype/ttnameid.h \
13756 freetype/ftoutln.h \
13757 freetype/ftwinfnt.h \
13758 freetype/ftmodapi.h \
13759 freetype/internal/sfnt.h
13761 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 cat >conftest.$ac_ext <<_ACEOF
13770 cat confdefs.h >>conftest.$ac_ext
13771 cat >>conftest.$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 #ifdef HAVE_FT2BUILD_H
13774 # include <ft2build.h>
13777 #include <$ac_header>
13779 rm -f conftest.$ac_objext
13780 if { (ac_try="$ac_compile"
13781 case "(($ac_try" in
13782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13783 *) ac_try_echo
=$ac_try;;
13785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13786 (eval "$ac_compile") 2>conftest.er1
13788 grep -v '^ *+' conftest.er1
>conftest.err
13790 cat conftest.err
>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } && {
13793 test -z "$ac_c_werror_flag" ||
13794 test ! -s conftest.err
13795 } && test -s conftest.
$ac_objext; then
13796 eval "$as_ac_Header=yes"
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.
$ac_ext >&5
13801 eval "$as_ac_Header=no"
13804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13806 ac_res
=`eval echo '${'$as_ac_Header'}'`
13807 { echo "$as_me:$LINENO: result: $ac_res" >&5
13808 echo "${ECHO_T}$ac_res" >&6; }
13809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13810 cat >>confdefs.h
<<_ACEOF
13811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13818 cat >conftest.
$ac_ext <<_ACEOF
13821 cat confdefs.h
>>conftest.
$ac_ext
13822 cat >>conftest.
$ac_ext <<_ACEOF
13823 /* end confdefs.h. */
13824 #include <ft2build.h>
13825 #include <freetype/fttrigon.h>
13827 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13828 case "(($ac_try" in
13829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13830 *) ac_try_echo=$ac_try;;
13832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13835 grep -v '^ *+' conftest.er1 >conftest.err
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } >/dev/null && {
13840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13841 test ! -s conftest.err
13844 cat >>confdefs.h <<\_ACEOF
13845 #define HAVE_FREETYPE_FTTRIGON_H 1
13848 wine_cv_fttrigon=yes
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.$ac_ext >&5
13853 wine_cv_fttrigon=no
13856 rm -f conftest.err conftest.$ac_ext
13857 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13858 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13859 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 cat >conftest.$ac_ext <<_ACEOF
13865 cat confdefs.h >>conftest.$ac_ext
13866 cat >>conftest.$ac_ext <<_ACEOF
13867 /* end confdefs.h. */
13868 #include <freetype/ftmodapi.h>
13870 typedef FT_TrueTypeEngineType ac__type_new_;
13874 if ((ac__type_new_ *) 0)
13876 if (sizeof (ac__type_new_))
13882 rm -f conftest.$ac_objext
13883 if { (ac_try="$ac_compile"
13884 case "(($ac_try" in
13885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13886 *) ac_try_echo
=$ac_try;;
13888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13889 (eval "$ac_compile") 2>conftest.er1
13891 grep -v '^ *+' conftest.er1
>conftest.err
13893 cat conftest.err
>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } && {
13896 test -z "$ac_c_werror_flag" ||
13897 test ! -s conftest.err
13898 } && test -s conftest.
$ac_objext; then
13899 ac_cv_type_FT_TrueTypeEngineType
=yes
13901 echo "$as_me: failed program was:" >&5
13902 sed 's/^/| /' conftest.
$ac_ext >&5
13904 ac_cv_type_FT_TrueTypeEngineType
=no
13907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13909 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13910 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13911 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13913 cat >>confdefs.h
<<_ACEOF
13914 #define HAVE_FT_TRUETYPEENGINETYPE 1
13920 ac_save_CFLAGS
="$CFLAGS"
13921 CFLAGS
="$CFLAGS $ac_freetype_libs"
13923 for ac_func
in FT_Load_Sfnt_Table
13925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13926 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13928 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 cat >conftest.
$ac_ext <<_ACEOF
13934 cat confdefs.h
>>conftest.
$ac_ext
13935 cat >>conftest.
$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13939 #define $ac_func innocuous_$ac_func
13941 /* System header to define __stub macros and hopefully few prototypes,
13942 which can conflict with char $ac_func (); below.
13943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13944 <limits.h> exists even on freestanding compilers. */
13947 # include <limits.h>
13949 # include <assert.h>
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13961 /* The GNU C library defines this for functions which it implements
13962 to always fail with ENOSYS. Some functions are actually named
13963 something starting with __ and the normal name is an alias. */
13964 #if defined __stub_$ac_func || defined __stub___$ac_func
13971 return $ac_func ();
13976 rm -f conftest.
$ac_objext conftest
$ac_exeext
13977 if { (ac_try
="$ac_link"
13978 case "(($ac_try" in
13979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13980 *) ac_try_echo=$ac_try;;
13982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13983 (eval "$ac_link") 2>conftest.er1
13985 grep -v '^ *+' conftest.er1 >conftest.err
13987 cat conftest.err >&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } && {
13990 test -z "$ac_c_werror_flag" ||
13991 test ! -s conftest.err
13992 } && test -s conftest$ac_exeext &&
13993 $as_test_x conftest$ac_exeext; then
13994 eval "$as_ac_var=yes"
13996 echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.$ac_ext >&5
13999 eval "$as_ac_var=no"
14002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14003 conftest$ac_exeext conftest.$ac_ext
14005 ac_res=`eval echo '${'$as_ac_var'}'`
14006 { echo "$as_me:$LINENO: result: $ac_res" >&5
14007 echo "${ECHO_T}$ac_res" >&6; }
14008 if test `eval echo '${'$as_ac_var'}'` = yes; then
14009 cat >>confdefs.h <<_ACEOF
14010 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14016 CFLAGS="$ac_save_CFLAGS"
14017 CPPFLAGS="$ac_save_CPPFLAGS"
14018 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14021 cat >>confdefs.h <<\_ACEOF
14022 #define HAVE_FREETYPE 1
14025 FREETYPELIBS="$ac_freetype_libs"
14027 FREETYPEINCL="$ac_freetype_incl"
14033 if test "$FONTFORGE" = "false"
14035 wine_warnings="$wine_warnings|FontForge is missing.
14036 Fonts will not be built. Dialog text may be invisible or unaligned."
14037 elif test "x$FREETYPELIBS" = "x"
14039 wine_warnings="$wine_warnings|FreeType development files not found.
14040 Fonts will not be built. Dialog text may be invisible or unaligned."
14042 FONTSSUBDIRS="fonts"
14046 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14047 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14048 if test "${ac_cv_c_ppdev+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 cat >conftest.$ac_ext <<_ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057 #include <linux/ppdev.h>
14061 ioctl (1,PPCLAIM,0)
14066 rm -f conftest.$ac_objext
14067 if { (ac_try="$ac_compile"
14068 case "(($ac_try" in
14069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14070 *) ac_try_echo
=$ac_try;;
14072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14073 (eval "$ac_compile") 2>conftest.er1
14075 grep -v '^ *+' conftest.er1
>conftest.err
14077 cat conftest.err
>&5
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); } && {
14080 test -z "$ac_c_werror_flag" ||
14081 test ! -s conftest.err
14082 } && test -s conftest.
$ac_objext; then
14083 ac_cv_c_ppdev
="yes"
14085 echo "$as_me: failed program was:" >&5
14086 sed 's/^/| /' conftest.
$ac_ext >&5
14091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14093 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14094 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14095 if test "$ac_cv_c_ppdev" = "yes"
14098 cat >>confdefs.h
<<\_ACEOF
14099 #define HAVE_PPDEV 1
14104 { echo "$as_me:$LINENO: checking for va_copy" >&5
14105 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14106 if test "${ac_cv_c_va_copy+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14109 cat >conftest.
$ac_ext <<_ACEOF
14112 cat confdefs.h
>>conftest.
$ac_ext
14113 cat >>conftest.
$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14115 #include <stdarg.h>
14119 va_list ap1, ap2; va_copy(ap1,ap2);
14124 rm -f conftest.
$ac_objext conftest
$ac_exeext
14125 if { (ac_try
="$ac_link"
14126 case "(($ac_try" in
14127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14128 *) ac_try_echo=$ac_try;;
14130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14131 (eval "$ac_link") 2>conftest.er1
14133 grep -v '^ *+' conftest.er1 >conftest.err
14135 cat conftest.err >&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } && {
14138 test -z "$ac_c_werror_flag" ||
14139 test ! -s conftest.err
14140 } && test -s conftest$ac_exeext &&
14141 $as_test_x conftest$ac_exeext; then
14142 ac_cv_c_va_copy="yes"
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14147 ac_cv_c_va_copy="no"
14150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14151 conftest$ac_exeext conftest.$ac_ext
14154 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14155 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14156 if test "$ac_cv_c_va_copy" = "yes"
14159 cat >>confdefs.h <<\_ACEOF
14160 #define HAVE_VA_COPY 1
14164 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14165 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14166 if test "${ac_cv_c___va_copy+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14169 cat >conftest.$ac_ext <<_ACEOF
14172 cat confdefs.h >>conftest.$ac_ext
14173 cat >>conftest.$ac_ext <<_ACEOF
14174 /* end confdefs.h. */
14175 #include <stdarg.h>
14179 va_list ap1, ap2; __va_copy(ap1,ap2);
14184 rm -f conftest.$ac_objext conftest$ac_exeext
14185 if { (ac_try="$ac_link"
14186 case "(($ac_try" in
14187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14188 *) ac_try_echo
=$ac_try;;
14190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14191 (eval "$ac_link") 2>conftest.er1
14193 grep -v '^ *+' conftest.er1
>conftest.err
14195 cat conftest.err
>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } && {
14198 test -z "$ac_c_werror_flag" ||
14199 test ! -s conftest.err
14200 } && test -s conftest
$ac_exeext &&
14201 $as_test_x conftest
$ac_exeext; then
14202 ac_cv_c___va_copy
="yes"
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.
$ac_ext >&5
14207 ac_cv_c___va_copy
="no"
14210 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14211 conftest
$ac_exeext conftest.
$ac_ext
14214 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14215 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14216 if test "$ac_cv_c___va_copy" = "yes"
14219 cat >>confdefs.h
<<\_ACEOF
14220 #define HAVE___VA_COPY 1
14225 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14226 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14227 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 cat >conftest.
$ac_ext <<_ACEOF
14233 cat confdefs.h
>>conftest.
$ac_ext
14234 cat >>conftest.
$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236 #include <setjmp.h>
14241 sigsetjmp( buf, 1 );
14242 siglongjmp( buf, 1 );
14247 rm -f conftest.
$ac_objext conftest
$ac_exeext
14248 if { (ac_try
="$ac_link"
14249 case "(($ac_try" in
14250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14251 *) ac_try_echo=$ac_try;;
14253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14254 (eval "$ac_link") 2>conftest.er1
14256 grep -v '^ *+' conftest.er1 >conftest.err
14258 cat conftest.err >&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } && {
14261 test -z "$ac_c_werror_flag" ||
14262 test ! -s conftest.err
14263 } && test -s conftest$ac_exeext &&
14264 $as_test_x conftest$ac_exeext; then
14265 ac_cv_c_sigsetjmp="yes"
14267 echo "$as_me: failed program was:" >&5
14268 sed 's/^/| /' conftest.$ac_ext >&5
14270 ac_cv_c_sigsetjmp="no"
14273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14274 conftest$ac_exeext conftest.$ac_ext
14277 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14278 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14279 if test "$ac_cv_c_sigsetjmp" = "yes"
14282 cat >>confdefs.h <<\_ACEOF
14283 #define HAVE_SIGSETJMP 1
14288 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14289 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14290 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 cat >conftest.$ac_ext <<_ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 #define _GNU_SOURCE
14300 #include <pthread.h>
14302 typedef pthread_rwlock_t ac__type_new_;
14306 if ((ac__type_new_ *) 0)
14308 if (sizeof (ac__type_new_))
14314 rm -f conftest.$ac_objext
14315 if { (ac_try="$ac_compile"
14316 case "(($ac_try" in
14317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14318 *) ac_try_echo
=$ac_try;;
14320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14321 (eval "$ac_compile") 2>conftest.er1
14323 grep -v '^ *+' conftest.er1
>conftest.err
14325 cat conftest.err
>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } && {
14328 test -z "$ac_c_werror_flag" ||
14329 test ! -s conftest.err
14330 } && test -s conftest.
$ac_objext; then
14331 ac_cv_type_pthread_rwlock_t
=yes
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.
$ac_ext >&5
14336 ac_cv_type_pthread_rwlock_t
=no
14339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14341 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14342 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14343 if test $ac_cv_type_pthread_rwlock_t = yes; then
14345 cat >>confdefs.h
<<_ACEOF
14346 #define HAVE_PTHREAD_RWLOCK_T 1
14351 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14352 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14353 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 cat >conftest.
$ac_ext <<_ACEOF
14359 cat confdefs.h
>>conftest.
$ac_ext
14360 cat >>conftest.
$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362 #define _GNU_SOURCE
14363 #include <pthread.h>
14365 typedef pthread_rwlockattr_t ac__type_new_;
14369 if ((ac__type_new_ *) 0)
14371 if (sizeof (ac__type_new_))
14377 rm -f conftest.
$ac_objext
14378 if { (ac_try
="$ac_compile"
14379 case "(($ac_try" in
14380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14384 (eval "$ac_compile") 2>conftest.er1
14386 grep -v '^ *+' conftest.er1 >conftest.err
14388 cat conftest.err >&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } && {
14391 test -z "$ac_c_werror_flag" ||
14392 test ! -s conftest.err
14393 } && test -s conftest.$ac_objext; then
14394 ac_cv_type_pthread_rwlockattr_t=yes
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14399 ac_cv_type_pthread_rwlockattr_t=no
14402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14404 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14405 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14406 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14408 cat >>confdefs.h <<_ACEOF
14409 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14416 ac_wine_check_funcs_save_LIBS="$LIBS"
14417 LIBS="$LIBS $LIBPTHREAD"
14423 pthread_attr_get_np \
14424 pthread_getattr_np \
14425 pthread_get_stackaddr_np \
14426 pthread_get_stacksize_np
14428 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14429 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14431 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 cat >conftest.$ac_ext <<_ACEOF
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14442 #define $ac_func innocuous_$ac_func
14444 /* System header to define __stub macros and hopefully few prototypes,
14445 which can conflict with char $ac_func (); below.
14446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14447 <limits.h> exists even on freestanding compilers. */
14450 # include <limits.h>
14452 # include <assert.h>
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14464 /* The GNU C library defines this for functions which it implements
14465 to always fail with ENOSYS. Some functions are actually named
14466 something starting with __ and the normal name is an alias. */
14467 #if defined __stub_$ac_func || defined __stub___$ac_func
14474 return $ac_func ();
14479 rm -f conftest.$ac_objext conftest$ac_exeext
14480 if { (ac_try="$ac_link"
14481 case "(($ac_try" in
14482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14483 *) ac_try_echo
=$ac_try;;
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_link") 2>conftest.er1
14488 grep -v '^ *+' conftest.er1
>conftest.err
14490 cat conftest.err
>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } && {
14493 test -z "$ac_c_werror_flag" ||
14494 test ! -s conftest.err
14495 } && test -s conftest
$ac_exeext &&
14496 $as_test_x conftest
$ac_exeext; then
14497 eval "$as_ac_var=yes"
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.
$ac_ext >&5
14502 eval "$as_ac_var=no"
14505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14506 conftest
$ac_exeext conftest.
$ac_ext
14508 ac_res
=`eval echo '${'$as_ac_var'}'`
14509 { echo "$as_me:$LINENO: result: $ac_res" >&5
14510 echo "${ECHO_T}$ac_res" >&6; }
14511 if test `eval echo '${'$as_ac_var'}'` = yes; then
14512 cat >>confdefs.h
<<_ACEOF
14513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14519 LIBS
="$ac_wine_check_funcs_save_LIBS"
14521 # Extract the first word of "esd-config", so it can be a program name with args.
14522 set dummy esd-config
; ac_word
=$2
14523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14525 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14534 for as_dir
in $PATH
14537 test -z "$as_dir" && as_dir
=.
14538 for ac_exec_ext
in '' $ac_executable_extensions; do
14539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14540 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14551 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14552 if test -n "$ESDCONFIG"; then
14553 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14554 echo "${ECHO_T}$ESDCONFIG" >&6; }
14556 { echo "$as_me:$LINENO: result: no" >&5
14557 echo "${ECHO_T}no" >&6; }
14561 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14564 for i
in `$ESDCONFIG --cflags`
14567 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14570 ESD_LIBS
=`$ESDCONFIG --libs`
14571 save_CFLAGS
="$CFLAGS"
14572 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14573 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14574 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14575 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14576 echo $ECHO_N "(cached) $ECHO_C" >&6
14578 ac_check_lib_save_LIBS
=$LIBS
14580 cat >conftest.
$ac_ext <<_ACEOF
14583 cat confdefs.h
>>conftest.
$ac_ext
14584 cat >>conftest.
$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14593 char esd_open_sound ();
14597 return esd_open_sound ();
14602 rm -f conftest.
$ac_objext conftest
$ac_exeext
14603 if { (ac_try
="$ac_link"
14604 case "(($ac_try" in
14605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14606 *) ac_try_echo=$ac_try;;
14608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14609 (eval "$ac_link") 2>conftest.er1
14611 grep -v '^ *+' conftest.er1 >conftest.err
14613 cat conftest.err >&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } && {
14616 test -z "$ac_c_werror_flag" ||
14617 test ! -s conftest.err
14618 } && test -s conftest$ac_exeext &&
14619 $as_test_x conftest$ac_exeext; then
14620 ac_cv_lib_esd_esd_open_sound=yes
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14625 ac_cv_lib_esd_esd_open_sound=no
14628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14629 conftest$ac_exeext conftest.$ac_ext
14630 LIBS=$ac_check_lib_save_LIBS
14632 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14633 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14634 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14637 ESDINCL=$ESD_CFLAGS
14640 cat >>confdefs.h <<\_ACEOF
14646 CFLAGS="$save_CFLAGS"
14651 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14653 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14654 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14655 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 ac_check_lib_save_LIBS=$LIBS
14659 LIBS="-lasound $LIBS"
14660 cat >conftest.$ac_ext <<_ACEOF
14663 cat confdefs.h >>conftest.$ac_ext
14664 cat >>conftest.$ac_ext <<_ACEOF
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14673 char snd_pcm_hw_params_get_access ();
14677 return snd_pcm_hw_params_get_access ();
14682 rm -f conftest.$ac_objext conftest$ac_exeext
14683 if { (ac_try="$ac_link"
14684 case "(($ac_try" in
14685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14686 *) ac_try_echo
=$ac_try;;
14688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14689 (eval "$ac_link") 2>conftest.er1
14691 grep -v '^ *+' conftest.er1
>conftest.err
14693 cat conftest.err
>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } && {
14696 test -z "$ac_c_werror_flag" ||
14697 test ! -s conftest.err
14698 } && test -s conftest
$ac_exeext &&
14699 $as_test_x conftest
$ac_exeext; then
14700 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.
$ac_ext >&5
14705 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14709 conftest
$ac_exeext conftest.
$ac_ext
14710 LIBS
=$ac_check_lib_save_LIBS
14712 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14713 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14714 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14715 cat >conftest.
$ac_ext <<_ACEOF
14718 cat confdefs.h
>>conftest.
$ac_ext
14719 cat >>conftest.
$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 #ifdef HAVE_ALSA_ASOUNDLIB_H
14722 #include <alsa/asoundlib.h>
14723 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14724 #include <sys/asoundlib.h>
14729 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14734 rm -f conftest.
$ac_objext
14735 if { (ac_try
="$ac_compile"
14736 case "(($ac_try" in
14737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14738 *) ac_try_echo=$ac_try;;
14740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14741 (eval "$ac_compile") 2>conftest.er1
14743 grep -v '^ *+' conftest.er1 >conftest.err
14745 cat conftest.err >&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } && {
14748 test -z "$ac_c_werror_flag" ||
14749 test ! -s conftest.err
14750 } && test -s conftest.$ac_objext; then
14752 cat >>confdefs.h <<\_ACEOF
14753 #define HAVE_ALSA 1
14756 ALSALIBS="-lasound"
14758 echo "$as_me: failed program was:" >&5
14759 sed 's/^/| /' conftest.$ac_ext >&5
14764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14771 if test "$ac_cv_header_libaudioio_h" = "yes"
14773 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14774 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14775 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 ac_check_lib_save_LIBS=$LIBS
14779 LIBS="-laudioio $LIBS"
14780 cat >conftest.$ac_ext <<_ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14793 char AudioIOGetVersion ();
14797 return AudioIOGetVersion ();
14802 rm -f conftest.$ac_objext conftest$ac_exeext
14803 if { (ac_try="$ac_link"
14804 case "(($ac_try" in
14805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14806 *) ac_try_echo
=$ac_try;;
14808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14809 (eval "$ac_link") 2>conftest.er1
14811 grep -v '^ *+' conftest.er1
>conftest.err
14813 cat conftest.err
>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); } && {
14816 test -z "$ac_c_werror_flag" ||
14817 test ! -s conftest.err
14818 } && test -s conftest
$ac_exeext &&
14819 $as_test_x conftest
$ac_exeext; then
14820 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 ac_cv_lib_audioio_AudioIOGetVersion
=no
14828 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14829 conftest
$ac_exeext conftest.
$ac_ext
14830 LIBS
=$ac_check_lib_save_LIBS
14832 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14833 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14834 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14835 AUDIOIOLIBS
="-laudioio"
14837 cat >>confdefs.h
<<\_ACEOF
14838 #define HAVE_LIBAUDIOIO 1
14846 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14848 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14849 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14850 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 ac_check_soname_save_LIBS
=$LIBS
14854 LIBS
="-lcapi20 $LIBS"
14855 cat >conftest.
$ac_ext <<_ACEOF
14858 cat confdefs.h
>>conftest.
$ac_ext
14859 cat >>conftest.
$ac_ext <<_ACEOF
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14868 char capi20_register ();
14872 return capi20_register ();
14877 rm -f conftest.
$ac_objext conftest
$ac_exeext
14878 if { (ac_try
="$ac_link"
14879 case "(($ac_try" in
14880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14881 *) ac_try_echo=$ac_try;;
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14884 (eval "$ac_link") 2>conftest.er1
14886 grep -v '^ *+' conftest.er1 >conftest.err
14888 cat conftest.err >&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } && {
14891 test -z "$ac_c_werror_flag" ||
14892 test ! -s conftest.err
14893 } && test -s conftest$ac_exeext &&
14894 $as_test_x conftest$ac_exeext; then
14897 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'` ;;
14898 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14908 conftest$ac_exeext conftest.$ac_ext
14909 LIBS=$ac_check_soname_save_LIBS
14911 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14912 { echo "$as_me:$LINENO: result: not found" >&5
14913 echo "${ECHO_T}not found" >&6; }
14916 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14917 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14919 cat >>confdefs.h <<_ACEOF
14920 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14927 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14928 case "x$with_capi" in
14929 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14931 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14932 This is an error since --with-capi was requested." >&5
14933 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14934 This is an error since --with-capi was requested." >&2;}
14935 { (exit 1); exit 1; }; } ;;
14940 if test "$ac_cv_header_cups_cups_h" = "yes"
14942 { echo "$as_me:$LINENO: checking for -lcups" >&5
14943 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14944 if test "${ac_cv_lib_soname_cups+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 ac_check_soname_save_LIBS=$LIBS
14948 LIBS="-lcups $LIBS"
14949 cat >conftest.$ac_ext <<_ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14962 char cupsGetDefault ();
14966 return cupsGetDefault ();
14971 rm -f conftest.$ac_objext conftest$ac_exeext
14972 if { (ac_try="$ac_link"
14973 case "(($ac_try" in
14974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14975 *) ac_try_echo
=$ac_try;;
14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14978 (eval "$ac_link") 2>conftest.er1
14980 grep -v '^ *+' conftest.er1
>conftest.err
14982 cat conftest.err
>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } && {
14985 test -z "$ac_c_werror_flag" ||
14986 test ! -s conftest.err
14987 } && test -s conftest
$ac_exeext &&
14988 $as_test_x conftest
$ac_exeext; then
14991 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'` ;;
14992 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.
$ac_ext >&5
15001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15002 conftest
$ac_exeext conftest.
$ac_ext
15003 LIBS
=$ac_check_soname_save_LIBS
15005 if test "x$ac_cv_lib_soname_cups" = "x"; then
15006 { echo "$as_me:$LINENO: result: not found" >&5
15007 echo "${ECHO_T}not found" >&6; }
15010 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15011 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15013 cat >>confdefs.h
<<_ACEOF
15014 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15021 if test "x$ac_cv_lib_soname_cups" = "x"; then
15022 case "x$with_cups" in
15023 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15025 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15026 This is an error since --with-cups was requested." >&5
15027 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15028 This is an error since --with-cups was requested." >&2;}
15029 { (exit 1); exit 1; }; } ;;
15034 if test "$ac_cv_header_jack_jack_h" = "yes"
15036 { echo "$as_me:$LINENO: checking for -ljack" >&5
15037 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15038 if test "${ac_cv_lib_soname_jack+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 ac_check_soname_save_LIBS
=$LIBS
15042 LIBS
="-ljack $LIBS"
15043 cat >conftest.
$ac_ext <<_ACEOF
15046 cat confdefs.h
>>conftest.
$ac_ext
15047 cat >>conftest.
$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15056 char jack_client_new ();
15060 return jack_client_new ();
15065 rm -f conftest.
$ac_objext conftest
$ac_exeext
15066 if { (ac_try
="$ac_link"
15067 case "(($ac_try" in
15068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_link") 2>conftest.er1
15074 grep -v '^ *+' conftest.er1 >conftest.err
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } && {
15079 test -z "$ac_c_werror_flag" ||
15080 test ! -s conftest.err
15081 } && test -s conftest$ac_exeext &&
15082 $as_test_x conftest$ac_exeext; then
15085 dylib) ac_cv_lib_soname_jack=`otool
-L conftest
$ac_exeext |
grep "libjack\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15086 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.$ac_ext >&5
15095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_soname_save_LIBS
15099 if test "x$ac_cv_lib_soname_jack" = "x"; then
15100 { echo "$as_me:$LINENO: result: not found" >&5
15101 echo "${ECHO_T}not found" >&6; }
15104 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15105 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15107 cat >>confdefs.h <<_ACEOF
15108 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15116 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15118 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15119 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15120 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 ac_check_soname_save_LIBS=$LIBS
15124 LIBS="-lfontconfig $LIBS"
15125 cat >conftest.$ac_ext <<_ACEOF
15128 cat confdefs.h >>conftest.$ac_ext
15129 cat >>conftest.$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15132 /* Override any GCC internal prototype to avoid an error.
15133 Use char because int might match the return type of a GCC
15134 builtin and then its argument prototype would still apply. */
15147 rm -f conftest.$ac_objext conftest$ac_exeext
15148 if { (ac_try="$ac_link"
15149 case "(($ac_try" in
15150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15151 *) ac_try_echo
=$ac_try;;
15153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15154 (eval "$ac_link") 2>conftest.er1
15156 grep -v '^ *+' conftest.er1
>conftest.err
15158 cat conftest.err
>&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); } && {
15161 test -z "$ac_c_werror_flag" ||
15162 test ! -s conftest.err
15163 } && test -s conftest
$ac_exeext &&
15164 $as_test_x conftest
$ac_exeext; then
15167 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'` ;;
15168 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.
$ac_ext >&5
15177 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15178 conftest
$ac_exeext conftest.
$ac_ext
15179 LIBS
=$ac_check_soname_save_LIBS
15181 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15182 { echo "$as_me:$LINENO: result: not found" >&5
15183 echo "${ECHO_T}not found" >&6; }
15186 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15187 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15189 cat >>confdefs.h
<<_ACEOF
15190 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15196 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15198 ac_save_CPPFLAGS
="$CPPFLAGS"
15199 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15200 $as_unset ac_cv_header_fontconfig_fontconfig_h
15202 for ac_header
in fontconfig
/fontconfig.h
15204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15205 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15206 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15208 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15209 echo $ECHO_N "(cached) $ECHO_C" >&6
15211 ac_res
=`eval echo '${'$as_ac_Header'}'`
15212 { echo "$as_me:$LINENO: result: $ac_res" >&5
15213 echo "${ECHO_T}$ac_res" >&6; }
15215 # Is the header compilable?
15216 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15218 cat >conftest.
$ac_ext <<_ACEOF
15221 cat confdefs.h
>>conftest.
$ac_ext
15222 cat >>conftest.
$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15224 $ac_includes_default
15225 #include <$ac_header>
15227 rm -f conftest.
$ac_objext
15228 if { (ac_try
="$ac_compile"
15229 case "(($ac_try" in
15230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15231 *) ac_try_echo=$ac_try;;
15233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15234 (eval "$ac_compile") 2>conftest.er1
15236 grep -v '^ *+' conftest.er1 >conftest.err
15238 cat conftest.err >&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } && {
15241 test -z "$ac_c_werror_flag" ||
15242 test ! -s conftest.err
15243 } && test -s conftest.$ac_objext; then
15244 ac_header_compiler=yes
15246 echo "$as_me: failed program was:" >&5
15247 sed 's/^/| /' conftest.$ac_ext >&5
15249 ac_header_compiler=no
15252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15254 echo "${ECHO_T}$ac_header_compiler" >&6; }
15256 # Is the header present?
15257 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15259 cat >conftest.$ac_ext <<_ACEOF
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265 #include <$ac_header>
15267 if { (ac_try="$ac_cpp conftest.$ac_ext"
15268 case "(($ac_try" in
15269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15270 *) ac_try_echo
=$ac_try;;
15272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15275 grep -v '^ *+' conftest.er1
>conftest.err
15277 cat conftest.err
>&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } >/dev
/null
&& {
15280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15281 test ! -s conftest.err
15283 ac_header_preproc
=yes
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.
$ac_ext >&5
15288 ac_header_preproc
=no
15291 rm -f conftest.err conftest.
$ac_ext
15292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15293 echo "${ECHO_T}$ac_header_preproc" >&6; }
15295 # So? What about this header?
15296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15302 ac_header_preproc
=yes
15305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15318 ## ------------------------------------ ##
15319 ## Report this to wine-devel@winehq.org ##
15320 ## ------------------------------------ ##
15322 ) |
sed "s/^/$as_me: WARNING: /" >&2
15325 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15327 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 eval "$as_ac_Header=\$ac_header_preproc"
15332 ac_res
=`eval echo '${'$as_ac_Header'}'`
15333 { echo "$as_me:$LINENO: result: $ac_res" >&5
15334 echo "${ECHO_T}$ac_res" >&6; }
15337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15338 cat >>confdefs.h
<<_ACEOF
15339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15346 CPPFLAGS
="$ac_save_CPPFLAGS"
15347 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15349 FONTCONFIGINCL
="$X_CFLAGS"
15351 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15352 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15353 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15354 echo $ECHO_N "(cached) $ECHO_C" >&6
15356 ac_check_soname_save_LIBS
=$LIBS
15357 LIBS
="-lfontconfig $X_LIBS $LIBS"
15358 cat >conftest.
$ac_ext <<_ACEOF
15361 cat confdefs.h
>>conftest.
$ac_ext
15362 cat >>conftest.
$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15380 rm -f conftest.
$ac_objext conftest
$ac_exeext
15381 if { (ac_try
="$ac_link"
15382 case "(($ac_try" in
15383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15384 *) ac_try_echo=$ac_try;;
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_link") 2>conftest.er1
15389 grep -v '^ *+' conftest.er1 >conftest.err
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && {
15394 test -z "$ac_c_werror_flag" ||
15395 test ! -s conftest.err
15396 } && test -s conftest$ac_exeext &&
15397 $as_test_x conftest$ac_exeext; then
15400 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'` ;;
15401 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15411 conftest$ac_exeext conftest.$ac_ext
15412 LIBS=$ac_check_soname_save_LIBS
15414 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15415 { echo "$as_me:$LINENO: result: not found" >&5
15416 echo "${ECHO_T}not found" >&6; }
15419 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15420 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15422 cat >>confdefs.h <<_ACEOF
15423 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15431 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15432 case "x$with_fontconfig" in
15433 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15435 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15436 This is an error since --with-fontconfig was requested." >&5
15437 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15438 This is an error since --with-fontconfig was requested." >&2;}
15439 { (exit 1); exit 1; }; } ;;
15444 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15446 { echo "$as_me:$LINENO: checking for -lssl" >&5
15447 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15448 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15451 ac_check_soname_save_LIBS=$LIBS
15453 cat >conftest.$ac_ext <<_ACEOF
15456 cat confdefs.h >>conftest.$ac_ext
15457 cat >>conftest.$ac_ext <<_ACEOF
15458 /* end confdefs.h. */
15460 /* Override any GCC internal prototype to avoid an error.
15461 Use char because int might match the return type of a GCC
15462 builtin and then its argument prototype would still apply. */
15466 char SSL_library_init ();
15470 return SSL_library_init ();
15475 rm -f conftest.$ac_objext conftest$ac_exeext
15476 if { (ac_try="$ac_link"
15477 case "(($ac_try" in
15478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15479 *) ac_try_echo
=$ac_try;;
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_link") 2>conftest.er1
15484 grep -v '^ *+' conftest.er1
>conftest.err
15486 cat conftest.err
>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest
$ac_exeext &&
15492 $as_test_x conftest
$ac_exeext; then
15495 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'` ;;
15496 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.
$ac_ext >&5
15505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15506 conftest
$ac_exeext conftest.
$ac_ext
15507 LIBS
=$ac_check_soname_save_LIBS
15509 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15510 { echo "$as_me:$LINENO: result: not found" >&5
15511 echo "${ECHO_T}not found" >&6; }
15514 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15515 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15517 cat >>confdefs.h
<<_ACEOF
15518 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15524 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15525 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15526 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 ac_check_soname_save_LIBS
=$LIBS
15530 LIBS
="-lcrypto $LIBS"
15531 cat >conftest.
$ac_ext <<_ACEOF
15534 cat confdefs.h
>>conftest.
$ac_ext
15535 cat >>conftest.
$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15544 char BIO_new_socket ();
15548 return BIO_new_socket ();
15553 rm -f conftest.
$ac_objext conftest
$ac_exeext
15554 if { (ac_try
="$ac_link"
15555 case "(($ac_try" in
15556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_link") 2>conftest.er1
15562 grep -v '^ *+' conftest.er1 >conftest.err
15564 cat conftest.err >&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } && {
15567 test -z "$ac_c_werror_flag" ||
15568 test ! -s conftest.err
15569 } && test -s conftest$ac_exeext &&
15570 $as_test_x conftest$ac_exeext; then
15573 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'` ;;
15574 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.$ac_ext >&5
15583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15584 conftest$ac_exeext conftest.$ac_ext
15585 LIBS=$ac_check_soname_save_LIBS
15587 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15588 { echo "$as_me:$LINENO: result: not found" >&5
15589 echo "${ECHO_T}not found" >&6; }
15592 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15593 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15595 cat >>confdefs.h <<_ACEOF
15596 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15603 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15604 case "x$with_openssl" in
15605 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15607 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15608 This is an error since --with-openssl was requested." >&5
15609 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15610 This is an error since --with-openssl was requested." >&2;}
15611 { (exit 1); exit 1; }; } ;;
15616 if test "$ac_cv_header_jpeglib_h" = "yes"
15618 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15619 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15620 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 ac_check_soname_save_LIBS=$LIBS
15624 LIBS="-ljpeg $LIBS"
15625 cat >conftest.$ac_ext <<_ACEOF
15628 cat confdefs.h >>conftest.$ac_ext
15629 cat >>conftest.$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15632 /* Override any GCC internal prototype to avoid an error.
15633 Use char because int might match the return type of a GCC
15634 builtin and then its argument prototype would still apply. */
15638 char jpeg_start_decompress ();
15642 return jpeg_start_decompress ();
15647 rm -f conftest.$ac_objext conftest$ac_exeext
15648 if { (ac_try="$ac_link"
15649 case "(($ac_try" in
15650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15651 *) ac_try_echo
=$ac_try;;
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_link") 2>conftest.er1
15656 grep -v '^ *+' conftest.er1
>conftest.err
15658 cat conftest.err
>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest
$ac_exeext &&
15664 $as_test_x conftest
$ac_exeext; then
15667 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'` ;;
15668 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.
$ac_ext >&5
15677 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15678 conftest
$ac_exeext conftest.
$ac_ext
15679 LIBS
=$ac_check_soname_save_LIBS
15681 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15682 { echo "$as_me:$LINENO: result: not found" >&5
15683 echo "${ECHO_T}not found" >&6; }
15686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15687 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15689 cat >>confdefs.h
<<_ACEOF
15690 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15697 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15698 case "x$with_jpeg" in
15699 x
) wine_notices
="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15701 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15702 This is an error since --with-jpeg was requested." >&5
15703 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15704 This is an error since --with-jpeg was requested." >&2;}
15705 { (exit 1); exit 1; }; } ;;
15710 if test "$ac_cv_header_png_h" = "yes"
15712 { echo "$as_me:$LINENO: checking for -lpng" >&5
15713 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15714 if test "${ac_cv_lib_soname_png+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15717 ac_check_soname_save_LIBS
=$LIBS
15719 cat >conftest.
$ac_ext <<_ACEOF
15722 cat confdefs.h
>>conftest.
$ac_ext
15723 cat >>conftest.
$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15732 char png_create_read_struct ();
15736 return png_create_read_struct ();
15741 rm -f conftest.
$ac_objext conftest
$ac_exeext
15742 if { (ac_try
="$ac_link"
15743 case "(($ac_try" in
15744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15745 *) ac_try_echo=$ac_try;;
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15748 (eval "$ac_link") 2>conftest.er1
15750 grep -v '^ *+' conftest.er1 >conftest.err
15752 cat conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && {
15755 test -z "$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 } && test -s conftest$ac_exeext &&
15758 $as_test_x conftest$ac_exeext; then
15761 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'` ;;
15762 *) 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'` ;;
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15772 conftest$ac_exeext conftest.$ac_ext
15773 LIBS=$ac_check_soname_save_LIBS
15775 if test "x$ac_cv_lib_soname_png" = "x"; then
15776 { echo "$as_me:$LINENO: result: not found" >&5
15777 echo "${ECHO_T}not found" >&6; }
15780 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15781 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15783 cat >>confdefs.h <<_ACEOF
15784 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15791 if test "x$ac_cv_lib_soname_png" = "x"; then
15792 case "x$with_png" in
15793 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15795 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15796 This is an error since --with-png was requested." >&5
15797 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15798 This is an error since --with-png was requested." >&2;}
15799 { (exit 1); exit 1; }; } ;;
15804 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15805 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15806 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 ac_check_soname_save_LIBS=$LIBS
15810 LIBS="-lodbc $LIBS"
15811 cat >conftest.$ac_ext <<_ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15824 char SQLConnect ();
15828 return SQLConnect ();
15833 rm -f conftest.$ac_objext conftest$ac_exeext
15834 if { (ac_try="$ac_link"
15835 case "(($ac_try" in
15836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15837 *) ac_try_echo
=$ac_try;;
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_link") 2>conftest.er1
15842 grep -v '^ *+' conftest.er1
>conftest.err
15844 cat conftest.err
>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest
$ac_exeext &&
15850 $as_test_x conftest
$ac_exeext; then
15853 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'` ;;
15854 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.
$ac_ext >&5
15863 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15864 conftest
$ac_exeext conftest.
$ac_ext
15865 LIBS
=$ac_check_soname_save_LIBS
15867 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15868 { echo "$as_me:$LINENO: result: not found" >&5
15869 echo "${ECHO_T}not found" >&6; }
15870 cat >>confdefs.h
<<_ACEOF
15871 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15875 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15876 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15878 cat >>confdefs.h
<<_ACEOF
15879 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15886 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15887 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15888 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15889 "$ac_cv_header_soundcard_h" != "yes" -a \
15890 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15892 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15898 if test "x${GCC}" = "xyes"
15900 EXTRACFLAGS
="-Wall -pipe"
15902 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15903 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15904 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 if test "$cross_compiling" = yes; then
15908 ac_cv_c_gcc_strength_bug
="yes"
15910 cat >conftest.
$ac_ext <<_ACEOF
15913 cat confdefs.h
>>conftest.
$ac_ext
15914 cat >>conftest.
$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 int L[4] = {0,1,2,3};
15920 static int Array[3];
15921 unsigned int B = 3;
15923 for(i=0; i<B; i++) Array[i] = i - 3;
15924 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15926 exit( Array[1] != -2 || L[2] != 3)
15931 rm -f conftest
$ac_exeext
15932 if { (ac_try
="$ac_link"
15933 case "(($ac_try" in
15934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_link") 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15942 { (case "(($ac_try" in
15943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15944 *) ac_try_echo
=$ac_try;;
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_try") 2>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; }; then
15951 ac_cv_c_gcc_strength_bug
="no"
15953 echo "$as_me: program exited with status $ac_status" >&5
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.
$ac_ext >&5
15957 ( exit $ac_status )
15958 ac_cv_c_gcc_strength_bug
="yes"
15960 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15965 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15966 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15967 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15969 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15973 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15974 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15975 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 ac_wine_try_cflags_saved
=$CFLAGS
15979 CFLAGS
="$CFLAGS -fshort-wchar"
15980 cat >conftest.
$ac_ext <<_ACEOF
15983 cat confdefs.h
>>conftest.
$ac_ext
15984 cat >>conftest.
$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15995 rm -f conftest.
$ac_objext conftest
$ac_exeext
15996 if { (ac_try
="$ac_link"
15997 case "(($ac_try" in
15998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15999 *) ac_try_echo=$ac_try;;
16001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16002 (eval "$ac_link") 2>conftest.er1
16004 grep -v '^ *+' conftest.er1 >conftest.err
16006 cat conftest.err >&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } && {
16009 test -z "$ac_c_werror_flag" ||
16010 test ! -s conftest.err
16011 } && test -s conftest$ac_exeext &&
16012 $as_test_x conftest$ac_exeext; then
16013 ac_cv_cflags__fshort_wchar=yes
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16018 ac_cv_cflags__fshort_wchar=no
16021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16022 conftest$ac_exeext conftest.$ac_ext
16023 CFLAGS=$ac_wine_try_cflags_saved
16025 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16026 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16027 if test $ac_cv_cflags__fshort_wchar = yes; then
16029 cat >>confdefs.h <<\_ACEOF
16030 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16035 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16036 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16037 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 ac_wine_try_cflags_saved=$CFLAGS
16041 CFLAGS="$CFLAGS -fno-strict-aliasing"
16042 cat >conftest.$ac_ext <<_ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16057 rm -f conftest.$ac_objext conftest$ac_exeext
16058 if { (ac_try="$ac_link"
16059 case "(($ac_try" in
16060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16061 *) ac_try_echo
=$ac_try;;
16063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16064 (eval "$ac_link") 2>conftest.er1
16066 grep -v '^ *+' conftest.er1
>conftest.err
16068 cat conftest.err
>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } && {
16071 test -z "$ac_c_werror_flag" ||
16072 test ! -s conftest.err
16073 } && test -s conftest
$ac_exeext &&
16074 $as_test_x conftest
$ac_exeext; then
16075 ac_cv_cflags__fno_strict_aliasing
=yes
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.
$ac_ext >&5
16080 ac_cv_cflags__fno_strict_aliasing
=no
16083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16084 conftest
$ac_exeext conftest.
$ac_ext
16085 CFLAGS
=$ac_wine_try_cflags_saved
16087 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16088 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16089 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16090 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
16093 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16094 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16095 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16096 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 ac_wine_try_cflags_saved
=$CFLAGS
16099 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
16100 cat >conftest.
$ac_ext <<_ACEOF
16103 cat confdefs.h
>>conftest.
$ac_ext
16104 cat >>conftest.
$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16115 rm -f conftest.
$ac_objext conftest
$ac_exeext
16116 if { (ac_try
="$ac_link"
16117 case "(($ac_try" in
16118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16119 *) ac_try_echo=$ac_try;;
16121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16122 (eval "$ac_link") 2>conftest.er1
16124 grep -v '^ *+' conftest.er1 >conftest.err
16126 cat conftest.err >&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); } && {
16129 test -z "$ac_c_werror_flag" ||
16130 test ! -s conftest.err
16131 } && test -s conftest$ac_exeext &&
16132 $as_test_x conftest$ac_exeext; then
16133 ac_cv_cflags__Wdeclaration_after_statement=yes
16135 echo "$as_me: failed program was:" >&5
16136 sed 's/^/| /' conftest.$ac_ext >&5
16138 ac_cv_cflags__Wdeclaration_after_statement=no
16141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16142 conftest$ac_exeext conftest.$ac_ext
16143 CFLAGS=$ac_wine_try_cflags_saved
16145 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16146 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16147 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16148 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16151 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16152 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16153 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 ac_wine_try_cflags_saved=$CFLAGS
16157 CFLAGS="$CFLAGS -Wwrite-strings"
16158 cat >conftest.$ac_ext <<_ACEOF
16161 cat confdefs.h >>conftest.$ac_ext
16162 cat >>conftest.$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16173 rm -f conftest.$ac_objext conftest$ac_exeext
16174 if { (ac_try="$ac_link"
16175 case "(($ac_try" in
16176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16177 *) ac_try_echo
=$ac_try;;
16179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16180 (eval "$ac_link") 2>conftest.er1
16182 grep -v '^ *+' conftest.er1
>conftest.err
16184 cat conftest.err
>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } && {
16187 test -z "$ac_c_werror_flag" ||
16188 test ! -s conftest.err
16189 } && test -s conftest
$ac_exeext &&
16190 $as_test_x conftest
$ac_exeext; then
16191 ac_cv_cflags__Wwrite_strings
=yes
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.
$ac_ext >&5
16196 ac_cv_cflags__Wwrite_strings
=no
16199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16200 conftest
$ac_exeext conftest.
$ac_ext
16201 CFLAGS
=$ac_wine_try_cflags_saved
16203 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16204 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16205 if test $ac_cv_cflags__Wwrite_strings = yes; then
16206 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16209 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16210 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16211 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16212 echo $ECHO_N "(cached) $ECHO_C" >&6
16214 ac_wine_try_cflags_saved
=$CFLAGS
16215 CFLAGS
="$CFLAGS -Wtype-limits"
16216 cat >conftest.
$ac_ext <<_ACEOF
16219 cat confdefs.h
>>conftest.
$ac_ext
16220 cat >>conftest.
$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16231 rm -f conftest.
$ac_objext conftest
$ac_exeext
16232 if { (ac_try
="$ac_link"
16233 case "(($ac_try" in
16234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_link") 2>conftest.er1
16240 grep -v '^ *+' conftest.er1 >conftest.err
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest$ac_exeext &&
16248 $as_test_x conftest$ac_exeext; then
16249 ac_cv_cflags__Wtype_limits=yes
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16254 ac_cv_cflags__Wtype_limits=no
16257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16258 conftest$ac_exeext conftest.$ac_ext
16259 CFLAGS=$ac_wine_try_cflags_saved
16261 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16262 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16263 if test $ac_cv_cflags__Wtype_limits = yes; then
16264 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16268 saved_CFLAGS="$CFLAGS"
16269 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16270 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16271 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16272 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16275 cat >conftest.$ac_ext <<_ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16281 #include <string.h>
16290 rm -f conftest.$ac_objext
16291 if { (ac_try="$ac_compile"
16292 case "(($ac_try" in
16293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16294 *) ac_try_echo
=$ac_try;;
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_compile") 2>conftest.er1
16299 grep -v '^ *+' conftest.er1
>conftest.err
16301 cat conftest.err
>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } && {
16304 test -z "$ac_c_werror_flag" ||
16305 test ! -s conftest.err
16306 } && test -s conftest.
$ac_objext; then
16307 ac_cv_c_string_h_warnings
=no
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.
$ac_ext >&5
16312 ac_cv_c_string_h_warnings
=yes
16315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16317 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16318 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16319 CFLAGS
="$saved_CFLAGS"
16320 if test "$ac_cv_c_string_h_warnings" = "no"
16322 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16327 saved_CFLAGS
="$CFLAGS"
16328 CFLAGS
="$CFLAGS -Werror"
16329 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16330 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16331 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16332 echo $ECHO_N "(cached) $ECHO_C" >&6
16334 cat >conftest.
$ac_ext <<_ACEOF
16337 cat confdefs.h
>>conftest.
$ac_ext
16338 cat >>conftest.
$ac_ext <<_ACEOF
16339 /* end confdefs.h. */
16344 int iswlower(unsigned short);
16349 rm -f conftest.
$ac_objext
16350 if { (ac_try
="$ac_compile"
16351 case "(($ac_try" in
16352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16353 *) ac_try_echo=$ac_try;;
16355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16356 (eval "$ac_compile") 2>conftest.er1
16358 grep -v '^ *+' conftest.er1 >conftest.err
16360 cat conftest.err >&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); } && {
16363 test -z "$ac_c_werror_flag" ||
16364 test ! -s conftest.err
16365 } && test -s conftest.$ac_objext; then
16366 ac_cv_c_builtin_wchar_ctype=no
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16371 ac_cv_c_builtin_wchar_ctype=yes
16374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16377 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16378 CFLAGS="$saved_CFLAGS"
16379 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16381 BUILTINFLAG="-fno-builtin"
16386 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16387 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16388 if test "${ac_cv_asm_func_def+set}" = set; then
16389 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 cat >conftest.$ac_ext <<_ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16401 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16406 rm -f conftest.$ac_objext conftest$ac_exeext
16407 if { (ac_try="$ac_link"
16408 case "(($ac_try" in
16409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16410 *) ac_try_echo
=$ac_try;;
16412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16413 (eval "$ac_link") 2>conftest.er1
16415 grep -v '^ *+' conftest.er1
>conftest.err
16417 cat conftest.err
>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); } && {
16420 test -z "$ac_c_werror_flag" ||
16421 test ! -s conftest.err
16422 } && test -s conftest
$ac_exeext &&
16423 $as_test_x conftest
$ac_exeext; then
16424 ac_cv_asm_func_def
=".def"
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.
$ac_ext >&5
16429 cat >conftest.
$ac_ext <<_ACEOF
16432 cat confdefs.h
>>conftest.
$ac_ext
16433 cat >>conftest.
$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16439 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16444 rm -f conftest.
$ac_objext conftest
$ac_exeext
16445 if { (ac_try
="$ac_link"
16446 case "(($ac_try" in
16447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_link") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1 >conftest.err
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest$ac_exeext &&
16461 $as_test_x conftest$ac_exeext; then
16462 ac_cv_asm_func_def=".type @function"
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.$ac_ext >&5
16467 cat >conftest.$ac_ext <<_ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16477 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16482 rm -f conftest.$ac_objext conftest$ac_exeext
16483 if { (ac_try="$ac_link"
16484 case "(($ac_try" in
16485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16486 *) ac_try_echo
=$ac_try;;
16488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16489 (eval "$ac_link") 2>conftest.er1
16491 grep -v '^ *+' conftest.er1
>conftest.err
16493 cat conftest.err
>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } && {
16496 test -z "$ac_c_werror_flag" ||
16497 test ! -s conftest.err
16498 } && test -s conftest
$ac_exeext &&
16499 $as_test_x conftest
$ac_exeext; then
16500 ac_cv_asm_func_def
=".type 2"
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.
$ac_ext >&5
16505 ac_cv_asm_func_def
="unknown"
16508 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16509 conftest
$ac_exeext conftest.
$ac_ext
16512 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16513 conftest
$ac_exeext conftest.
$ac_ext
16516 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16517 conftest
$ac_exeext conftest.
$ac_ext
16519 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16520 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16524 case "$ac_cv_asm_func_def" in
16526 cat >>confdefs.h
<<\_ACEOF
16527 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16531 cat >>confdefs.h
<<\_ACEOF
16532 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16536 cat >>confdefs.h
<<\_ACEOF
16537 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16541 cat >>confdefs.h
<<\_ACEOF
16542 #define __ASM_FUNC(name) ""
16548 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16549 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16550 if test "${ac_cv_c_extern_prefix+set}" = set; then
16551 echo $ECHO_N "(cached) $ECHO_C" >&6
16553 cat >conftest.
$ac_ext <<_ACEOF
16556 cat confdefs.h
>>conftest.
$ac_ext
16557 cat >>conftest.
$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16559 extern int ac_test;
16563 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16568 rm -f conftest.
$ac_objext conftest
$ac_exeext
16569 if { (ac_try
="$ac_link"
16570 case "(($ac_try" in
16571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16572 *) ac_try_echo=$ac_try;;
16574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16575 (eval "$ac_link") 2>conftest.er1
16577 grep -v '^ *+' conftest.er1 >conftest.err
16579 cat conftest.err >&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } && {
16582 test -z "$ac_c_werror_flag" ||
16583 test ! -s conftest.err
16584 } && test -s conftest$ac_exeext &&
16585 $as_test_x conftest$ac_exeext; then
16586 ac_cv_c_extern_prefix="yes"
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16591 ac_cv_c_extern_prefix="no"
16594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16595 conftest$ac_exeext conftest.$ac_ext
16597 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16598 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16602 if test "$ac_cv_c_extern_prefix" = "yes"
16604 cat >>confdefs.h <<\_ACEOF
16605 #define __ASM_NAME(name) "_" name
16609 cat >>confdefs.h <<\_ACEOF
16610 #define __ASM_NAME(name) name
16620 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16624 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16626 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16630 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16638 SOCKETLIBS="-lws2_32"
16643 MAIN_BINARY="wine-pthread"
16647 linux* | k*bsd*-gnu)
16648 MAIN_BINARY="wine-glibc"
16650 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16653 MAIN_BINARY="wine-freebsd"
16655 EXTRA_BINARIES="wine-pthread"
16803 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 cat >conftest.$ac_ext <<_ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16817 #define $ac_func innocuous_$ac_func
16819 /* System header to define __stub macros and hopefully few prototypes,
16820 which can conflict with char $ac_func (); below.
16821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16822 <limits.h> exists even on freestanding compilers. */
16825 # include <limits.h>
16827 # include <assert.h>
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16839 /* The GNU C library defines this for functions which it implements
16840 to always fail with ENOSYS. Some functions are actually named
16841 something starting with __ and the normal name is an alias. */
16842 #if defined __stub_$ac_func || defined __stub___$ac_func
16849 return $ac_func ();
16854 rm -f conftest.$ac_objext conftest$ac_exeext
16855 if { (ac_try="$ac_link"
16856 case "(($ac_try" in
16857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16858 *) ac_try_echo
=$ac_try;;
16860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16861 (eval "$ac_link") 2>conftest.er1
16863 grep -v '^ *+' conftest.er1
>conftest.err
16865 cat conftest.err
>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } && {
16868 test -z "$ac_c_werror_flag" ||
16869 test ! -s conftest.err
16870 } && test -s conftest
$ac_exeext &&
16871 $as_test_x conftest
$ac_exeext; then
16872 eval "$as_ac_var=yes"
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.
$ac_ext >&5
16877 eval "$as_ac_var=no"
16880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16881 conftest
$ac_exeext conftest.
$ac_ext
16883 ac_res
=`eval echo '${'$as_ac_var'}'`
16884 { echo "$as_me:$LINENO: result: $ac_res" >&5
16885 echo "${ECHO_T}$ac_res" >&6; }
16886 if test `eval echo '${'$as_ac_var'}'` = yes; then
16887 cat >>confdefs.h
<<_ACEOF
16888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16895 if test "$ac_cv_func_dlopen" = no
16897 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16898 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16899 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 ac_check_lib_save_LIBS
=$LIBS
16904 cat >conftest.
$ac_ext <<_ACEOF
16907 cat confdefs.h
>>conftest.
$ac_ext
16908 cat >>conftest.
$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16911 /* Override any GCC internal prototype to avoid an error.
16912 Use char because int might match the return type of a GCC
16913 builtin and then its argument prototype would still apply. */
16926 rm -f conftest.
$ac_objext conftest
$ac_exeext
16927 if { (ac_try
="$ac_link"
16928 case "(($ac_try" in
16929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_link") 2>conftest.er1
16935 grep -v '^ *+' conftest.er1 >conftest.err
16937 cat conftest.err >&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } && {
16940 test -z "$ac_c_werror_flag" ||
16941 test ! -s conftest.err
16942 } && test -s conftest$ac_exeext &&
16943 $as_test_x conftest$ac_exeext; then
16944 ac_cv_lib_dl_dlopen=yes
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16949 ac_cv_lib_dl_dlopen=no
16952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16953 conftest$ac_exeext conftest.$ac_ext
16954 LIBS=$ac_check_lib_save_LIBS
16956 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16957 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16958 if test $ac_cv_lib_dl_dlopen = yes; then
16959 cat >>confdefs.h <<\_ACEOF
16960 #define HAVE_DLOPEN 1
16967 ac_wine_check_funcs_save_LIBS="$LIBS"
16968 LIBS="$LIBS $LIBDL"
16970 for ac_func in dladdr
16972 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16973 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 cat >conftest.$ac_ext <<_ACEOF
16981 cat confdefs.h >>conftest.$ac_ext
16982 cat >>conftest.$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16986 #define $ac_func innocuous_$ac_func
16988 /* System header to define __stub macros and hopefully few prototypes,
16989 which can conflict with char $ac_func (); below.
16990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16991 <limits.h> exists even on freestanding compilers. */
16994 # include <limits.h>
16996 # include <assert.h>
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17008 /* The GNU C library defines this for functions which it implements
17009 to always fail with ENOSYS. Some functions are actually named
17010 something starting with __ and the normal name is an alias. */
17011 #if defined __stub_$ac_func || defined __stub___$ac_func
17018 return $ac_func ();
17023 rm -f conftest.$ac_objext conftest$ac_exeext
17024 if { (ac_try="$ac_link"
17025 case "(($ac_try" in
17026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17027 *) ac_try_echo
=$ac_try;;
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_link") 2>conftest.er1
17032 grep -v '^ *+' conftest.er1
>conftest.err
17034 cat conftest.err
>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_c_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest
$ac_exeext &&
17040 $as_test_x conftest
$ac_exeext; then
17041 eval "$as_ac_var=yes"
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.
$ac_ext >&5
17046 eval "$as_ac_var=no"
17049 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17050 conftest
$ac_exeext conftest.
$ac_ext
17052 ac_res
=`eval echo '${'$as_ac_var'}'`
17053 { echo "$as_me:$LINENO: result: $ac_res" >&5
17054 echo "${ECHO_T}$ac_res" >&6; }
17055 if test `eval echo '${'$as_ac_var'}'` = yes; then
17056 cat >>confdefs.h
<<_ACEOF
17057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17063 LIBS
="$ac_wine_check_funcs_save_LIBS"
17065 if test "$ac_cv_func_poll" = no
17067 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17068 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17069 if test "${ac_cv_lib_poll_poll+set}" = set; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 ac_check_lib_save_LIBS
=$LIBS
17073 LIBS
="-lpoll $LIBS"
17074 cat >conftest.
$ac_ext <<_ACEOF
17077 cat confdefs.h
>>conftest.
$ac_ext
17078 cat >>conftest.
$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17081 /* Override any GCC internal prototype to avoid an error.
17082 Use char because int might match the return type of a GCC
17083 builtin and then its argument prototype would still apply. */
17096 rm -f conftest.
$ac_objext conftest
$ac_exeext
17097 if { (ac_try
="$ac_link"
17098 case "(($ac_try" in
17099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17100 *) ac_try_echo=$ac_try;;
17102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17103 (eval "$ac_link") 2>conftest.er1
17105 grep -v '^ *+' conftest.er1 >conftest.err
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } && {
17110 test -z "$ac_c_werror_flag" ||
17111 test ! -s conftest.err
17112 } && test -s conftest$ac_exeext &&
17113 $as_test_x conftest$ac_exeext; then
17114 ac_cv_lib_poll_poll=yes
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17119 ac_cv_lib_poll_poll=no
17122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17123 conftest$ac_exeext conftest.$ac_ext
17124 LIBS=$ac_check_lib_save_LIBS
17126 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17127 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17128 if test $ac_cv_lib_poll_poll = yes; then
17129 cat >>confdefs.h <<\_ACEOF
17130 #define HAVE_POLL 1
17138 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17139 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17140 if test "${ac_cv_search_gethostbyname+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17143 ac_func_search_save_LIBS=$LIBS
17144 cat >conftest.$ac_ext <<_ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17151 /* Override any GCC internal prototype to avoid an error.
17152 Use char because int might match the return type of a GCC
17153 builtin and then its argument prototype would still apply. */
17157 char gethostbyname ();
17161 return gethostbyname ();
17166 for ac_lib in '' nsl; do
17167 if test -z "$ac_lib"; then
17168 ac_res="none required"
17171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17173 rm -f conftest.$ac_objext conftest$ac_exeext
17174 if { (ac_try="$ac_link"
17175 case "(($ac_try" in
17176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17177 *) ac_try_echo
=$ac_try;;
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_link") 2>conftest.er1
17182 grep -v '^ *+' conftest.er1
>conftest.err
17184 cat conftest.err
>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest
$ac_exeext &&
17190 $as_test_x conftest
$ac_exeext; then
17191 ac_cv_search_gethostbyname
=$ac_res
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.
$ac_ext >&5
17199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17201 if test "${ac_cv_search_gethostbyname+set}" = set; then
17205 if test "${ac_cv_search_gethostbyname+set}" = set; then
17208 ac_cv_search_gethostbyname
=no
17210 rm conftest.
$ac_ext
17211 LIBS
=$ac_func_search_save_LIBS
17213 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17214 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17215 ac_res
=$ac_cv_search_gethostbyname
17216 if test "$ac_res" != no
; then
17217 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17222 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17223 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17224 if test "${ac_cv_search_connect+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 ac_func_search_save_LIBS
=$LIBS
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17235 /* Override any GCC internal prototype to avoid an error.
17236 Use char because int might match the return type of a GCC
17237 builtin and then its argument prototype would still apply. */
17250 for ac_lib
in '' socket
; do
17251 if test -z "$ac_lib"; then
17252 ac_res
="none required"
17255 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17257 rm -f conftest.
$ac_objext conftest
$ac_exeext
17258 if { (ac_try
="$ac_link"
17259 case "(($ac_try" in
17260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_link") 2>conftest.er1
17266 grep -v '^ *+' conftest.er1 >conftest.err
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } && {
17271 test -z "$ac_c_werror_flag" ||
17272 test ! -s conftest.err
17273 } && test -s conftest$ac_exeext &&
17274 $as_test_x conftest$ac_exeext; then
17275 ac_cv_search_connect=$ac_res
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17285 if test "${ac_cv_search_connect+set}" = set; then
17289 if test "${ac_cv_search_connect+set}" = set; then
17292 ac_cv_search_connect=no
17294 rm conftest.$ac_ext
17295 LIBS=$ac_func_search_save_LIBS
17297 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17298 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17299 ac_res=$ac_cv_search_connect
17300 if test "$ac_res" != no; then
17301 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17306 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17307 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17308 if test "${ac_cv_search_inet_aton+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 ac_func_search_save_LIBS=$LIBS
17312 cat >conftest.$ac_ext <<_ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17319 /* Override any GCC internal prototype to avoid an error.
17320 Use char because int might match the return type of a GCC
17321 builtin and then its argument prototype would still apply. */
17329 return inet_aton ();
17334 for ac_lib in '' resolv; do
17335 if test -z "$ac_lib"; then
17336 ac_res="none required"
17339 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17341 rm -f conftest.$ac_objext conftest$ac_exeext
17342 if { (ac_try="$ac_link"
17343 case "(($ac_try" in
17344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17345 *) ac_try_echo
=$ac_try;;
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_link") 2>conftest.er1
17350 grep -v '^ *+' conftest.er1
>conftest.err
17352 cat conftest.err
>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } && {
17355 test -z "$ac_c_werror_flag" ||
17356 test ! -s conftest.err
17357 } && test -s conftest
$ac_exeext &&
17358 $as_test_x conftest
$ac_exeext; then
17359 ac_cv_search_inet_aton
=$ac_res
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.
$ac_ext >&5
17367 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17369 if test "${ac_cv_search_inet_aton+set}" = set; then
17373 if test "${ac_cv_search_inet_aton+set}" = set; then
17376 ac_cv_search_inet_aton
=no
17378 rm conftest.
$ac_ext
17379 LIBS
=$ac_func_search_save_LIBS
17381 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17382 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17383 ac_res
=$ac_cv_search_inet_aton
17384 if test "$ac_res" != no
; then
17385 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17410 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17412 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 cat >conftest.
$ac_ext <<_ACEOF
17418 cat confdefs.h
>>conftest.
$ac_ext
17419 cat >>conftest.
$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17423 #define $ac_func innocuous_$ac_func
17425 /* System header to define __stub macros and hopefully few prototypes,
17426 which can conflict with char $ac_func (); below.
17427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17428 <limits.h> exists even on freestanding compilers. */
17431 # include <limits.h>
17433 # include <assert.h>
17438 /* Override any GCC internal prototype to avoid an error.
17439 Use char because int might match the return type of a GCC
17440 builtin and then its argument prototype would still apply. */
17445 /* The GNU C library defines this for functions which it implements
17446 to always fail with ENOSYS. Some functions are actually named
17447 something starting with __ and the normal name is an alias. */
17448 #if defined __stub_$ac_func || defined __stub___$ac_func
17455 return $ac_func ();
17460 rm -f conftest.
$ac_objext conftest
$ac_exeext
17461 if { (ac_try
="$ac_link"
17462 case "(($ac_try" in
17463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17464 *) ac_try_echo=$ac_try;;
17466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17467 (eval "$ac_link") 2>conftest.er1
17469 grep -v '^ *+' conftest.er1 >conftest.err
17471 cat conftest.err >&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); } && {
17474 test -z "$ac_c_werror_flag" ||
17475 test ! -s conftest.err
17476 } && test -s conftest$ac_exeext &&
17477 $as_test_x conftest$ac_exeext; then
17478 eval "$as_ac_var=yes"
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17483 eval "$as_ac_var=no"
17486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17487 conftest$ac_exeext conftest.$ac_ext
17489 ac_res=`eval echo '${'$as_ac_var'}'`
17490 { echo "$as_me:$LINENO: result: $ac_res" >&5
17491 echo "${ECHO_T}$ac_res" >&6; }
17492 if test `eval echo '${'$as_ac_var'}'` = yes; then
17493 cat >>confdefs.h <<_ACEOF
17494 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17502 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17503 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17504 if test "${ac_cv_c_const+set}" = set; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 cat >conftest.$ac_ext <<_ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17517 /* FIXME: Include the comments suggested by Paul. */
17518 #ifndef __cplusplus
17519 /* Ultrix mips cc rejects this. */
17520 typedef int charset[2];
17522 /* SunOS 4.1.1 cc rejects this. */
17523 char const *const *pcpcc;
17525 /* NEC SVR4.0.2 mips cc rejects this. */
17526 struct point {int x, y;};
17527 static struct point const zero = {0,0};
17528 /* AIX XL C 1.02.0.0 rejects this.
17529 It does not let you subtract one const X* pointer from another in
17530 an arm of an if-expression whose if-part is not a constant
17532 const char *g = "string";
17533 pcpcc = &g + (g ? g-g : 0);
17534 /* HPUX 7.0 cc rejects these. */
17536 ppc = (char**) pcpcc;
17537 pcpcc = (char const *const *) ppc;
17538 { /* SCO 3.2v4 cc rejects this. */
17540 char const *s = 0 ? (char *) 0 : (char const *) 0;
17545 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17546 int x[] = {25, 17};
17547 const int *foo = &x[0];
17550 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17551 typedef const int *iptr;
17555 { /* AIX XL C 1.02.0.0 rejects this saying
17556 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17557 struct s { int j; const int *ap[3]; };
17558 struct s *b; b->j = 5;
17560 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17561 const int foo = 10;
17562 if (!foo) return 0;
17564 return !cs[0] && !zero.x;
17571 rm -f conftest.$ac_objext
17572 if { (ac_try="$ac_compile"
17573 case "(($ac_try" in
17574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17575 *) ac_try_echo
=$ac_try;;
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_compile") 2>conftest.er1
17580 grep -v '^ *+' conftest.er1
>conftest.err
17582 cat conftest.err
>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } && {
17585 test -z "$ac_c_werror_flag" ||
17586 test ! -s conftest.err
17587 } && test -s conftest.
$ac_objext; then
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.
$ac_ext >&5
17596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17598 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17599 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17600 if test $ac_cv_c_const = no
; then
17602 cat >>confdefs.h
<<\_ACEOF
17608 { echo "$as_me:$LINENO: checking for inline" >&5
17609 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17610 if test "${ac_cv_c_inline+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 for ac_kw
in inline __inline__ __inline
; do
17615 cat >conftest.
$ac_ext <<_ACEOF
17618 cat confdefs.h
>>conftest.
$ac_ext
17619 cat >>conftest.
$ac_ext <<_ACEOF
17620 /* end confdefs.h. */
17621 #ifndef __cplusplus
17623 static $ac_kw foo_t static_foo () {return 0; }
17624 $ac_kw foo_t foo () {return 0; }
17628 rm -f conftest.
$ac_objext
17629 if { (ac_try
="$ac_compile"
17630 case "(($ac_try" in
17631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17632 *) ac_try_echo=$ac_try;;
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_compile") 2>conftest.er1
17637 grep -v '^ *+' conftest.er1 >conftest.err
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } && {
17642 test -z "$ac_c_werror_flag" ||
17643 test ! -s conftest.err
17644 } && test -s conftest.$ac_objext; then
17645 ac_cv_c_inline=$ac_kw
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.$ac_ext >&5
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654 test "$ac_cv_c_inline" != no && break
17658 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17659 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17662 case $ac_cv_c_inline in
17665 case $ac_cv_c_inline in
17667 *) ac_val=$ac_cv_c_inline;;
17669 cat >>confdefs.h <<_ACEOF
17670 #ifndef __cplusplus
17671 #define inline $ac_val
17677 { echo "$as_me:$LINENO: checking for mode_t" >&5
17678 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17679 if test "${ac_cv_type_mode_t+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 cat >conftest.$ac_ext <<_ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 $ac_includes_default
17689 typedef mode_t ac__type_new_;
17693 if ((ac__type_new_ *) 0)
17695 if (sizeof (ac__type_new_))
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17705 *) ac_try_echo
=$ac_try;;
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17710 grep -v '^ *+' conftest.er1
>conftest.err
17712 cat conftest.err
>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.
$ac_objext; then
17718 ac_cv_type_mode_t
=yes
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.
$ac_ext >&5
17723 ac_cv_type_mode_t
=no
17726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17728 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17729 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17730 if test $ac_cv_type_mode_t = yes; then
17732 cat >>confdefs.h
<<_ACEOF
17733 #define HAVE_MODE_T 1
17738 { echo "$as_me:$LINENO: checking for off_t" >&5
17739 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17740 if test "${ac_cv_type_off_t+set}" = set; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17743 cat >conftest.
$ac_ext <<_ACEOF
17746 cat confdefs.h
>>conftest.
$ac_ext
17747 cat >>conftest.
$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17750 typedef off_t ac__type_new_;
17754 if ((ac__type_new_ *) 0)
17756 if (sizeof (ac__type_new_))
17762 rm -f conftest.
$ac_objext
17763 if { (ac_try
="$ac_compile"
17764 case "(($ac_try" in
17765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17766 *) ac_try_echo=$ac_try;;
17768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17769 (eval "$ac_compile") 2>conftest.er1
17771 grep -v '^ *+' conftest.er1 >conftest.err
17773 cat conftest.err >&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); } && {
17776 test -z "$ac_c_werror_flag" ||
17777 test ! -s conftest.err
17778 } && test -s conftest.$ac_objext; then
17779 ac_cv_type_off_t=yes
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.$ac_ext >&5
17784 ac_cv_type_off_t=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17790 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17791 if test $ac_cv_type_off_t = yes; then
17793 cat >>confdefs.h <<_ACEOF
17794 #define HAVE_OFF_T 1
17799 { echo "$as_me:$LINENO: checking for pid_t" >&5
17800 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17801 if test "${ac_cv_type_pid_t+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 cat >conftest.$ac_ext <<_ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810 $ac_includes_default
17811 typedef pid_t ac__type_new_;
17815 if ((ac__type_new_ *) 0)
17817 if (sizeof (ac__type_new_))
17823 rm -f conftest.$ac_objext
17824 if { (ac_try="$ac_compile"
17825 case "(($ac_try" in
17826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17827 *) ac_try_echo
=$ac_try;;
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_compile") 2>conftest.er1
17832 grep -v '^ *+' conftest.er1
>conftest.err
17834 cat conftest.err
>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } && {
17837 test -z "$ac_c_werror_flag" ||
17838 test ! -s conftest.err
17839 } && test -s conftest.
$ac_objext; then
17840 ac_cv_type_pid_t
=yes
17842 echo "$as_me: failed program was:" >&5
17843 sed 's/^/| /' conftest.
$ac_ext >&5
17845 ac_cv_type_pid_t
=no
17848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17850 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17851 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17852 if test $ac_cv_type_pid_t = yes; then
17854 cat >>confdefs.h
<<_ACEOF
17855 #define HAVE_PID_T 1
17860 { echo "$as_me:$LINENO: checking for size_t" >&5
17861 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17862 if test "${ac_cv_type_size_t+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 cat >conftest.
$ac_ext <<_ACEOF
17868 cat confdefs.h
>>conftest.
$ac_ext
17869 cat >>conftest.
$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 $ac_includes_default
17872 typedef size_t ac__type_new_;
17876 if ((ac__type_new_ *) 0)
17878 if (sizeof (ac__type_new_))
17884 rm -f conftest.
$ac_objext
17885 if { (ac_try
="$ac_compile"
17886 case "(($ac_try" in
17887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_compile") 2>conftest.er1
17893 grep -v '^ *+' conftest.er1 >conftest.err
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_c_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest.$ac_objext; then
17901 ac_cv_type_size_t=yes
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.$ac_ext >&5
17906 ac_cv_type_size_t=no
17909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17912 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17913 if test $ac_cv_type_size_t = yes; then
17915 cat >>confdefs.h <<_ACEOF
17916 #define HAVE_SIZE_T 1
17921 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17922 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17923 if test "${ac_cv_type_ssize_t+set}" = set; then
17924 echo $ECHO_N "(cached) $ECHO_C" >&6
17926 cat >conftest.$ac_ext <<_ACEOF
17929 cat confdefs.h >>conftest.$ac_ext
17930 cat >>conftest.$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 $ac_includes_default
17933 typedef ssize_t ac__type_new_;
17937 if ((ac__type_new_ *) 0)
17939 if (sizeof (ac__type_new_))
17945 rm -f conftest.$ac_objext
17946 if { (ac_try="$ac_compile"
17947 case "(($ac_try" in
17948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17949 *) ac_try_echo
=$ac_try;;
17951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17952 (eval "$ac_compile") 2>conftest.er1
17954 grep -v '^ *+' conftest.er1
>conftest.err
17956 cat conftest.err
>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } && {
17959 test -z "$ac_c_werror_flag" ||
17960 test ! -s conftest.err
17961 } && test -s conftest.
$ac_objext; then
17962 ac_cv_type_ssize_t
=yes
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.
$ac_ext >&5
17967 ac_cv_type_ssize_t
=no
17970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17972 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17973 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17974 if test $ac_cv_type_ssize_t = yes; then
17976 cat >>confdefs.h
<<_ACEOF
17977 #define HAVE_SSIZE_T 1
17982 { echo "$as_me:$LINENO: checking for long long" >&5
17983 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17984 if test "${ac_cv_type_long_long+set}" = set; then
17985 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 $ac_includes_default
17994 typedef long long ac__type_new_;
17998 if ((ac__type_new_ *) 0)
18000 if (sizeof (ac__type_new_))
18006 rm -f conftest.
$ac_objext
18007 if { (ac_try
="$ac_compile"
18008 case "(($ac_try" in
18009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18010 *) ac_try_echo=$ac_try;;
18012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18013 (eval "$ac_compile") 2>conftest.er1
18015 grep -v '^ *+' conftest.er1 >conftest.err
18017 cat conftest.err >&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } && {
18020 test -z "$ac_c_werror_flag" ||
18021 test ! -s conftest.err
18022 } && test -s conftest.$ac_objext; then
18023 ac_cv_type_long_long=yes
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.$ac_ext >&5
18028 ac_cv_type_long_long=no
18031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18033 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18034 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18035 if test $ac_cv_type_long_long = yes; then
18037 cat >>confdefs.h <<_ACEOF
18038 #define HAVE_LONG_LONG 1
18043 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18044 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18045 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 cat >conftest.$ac_ext <<_ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 $ac_includes_default
18055 typedef fsblkcnt_t ac__type_new_;
18059 if ((ac__type_new_ *) 0)
18061 if (sizeof (ac__type_new_))
18067 rm -f conftest.$ac_objext
18068 if { (ac_try="$ac_compile"
18069 case "(($ac_try" in
18070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18071 *) ac_try_echo
=$ac_try;;
18073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18074 (eval "$ac_compile") 2>conftest.er1
18076 grep -v '^ *+' conftest.er1
>conftest.err
18078 cat conftest.err
>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } && {
18081 test -z "$ac_c_werror_flag" ||
18082 test ! -s conftest.err
18083 } && test -s conftest.
$ac_objext; then
18084 ac_cv_type_fsblkcnt_t
=yes
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.
$ac_ext >&5
18089 ac_cv_type_fsblkcnt_t
=no
18092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18094 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18095 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18096 if test $ac_cv_type_fsblkcnt_t = yes; then
18098 cat >>confdefs.h
<<_ACEOF
18099 #define HAVE_FSBLKCNT_T 1
18104 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18105 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18106 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 cat >conftest.
$ac_ext <<_ACEOF
18112 cat confdefs.h
>>conftest.
$ac_ext
18113 cat >>conftest.
$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 $ac_includes_default
18116 typedef fsfilcnt_t ac__type_new_;
18120 if ((ac__type_new_ *) 0)
18122 if (sizeof (ac__type_new_))
18128 rm -f conftest.
$ac_objext
18129 if { (ac_try
="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18137 grep -v '^ *+' conftest.er1 >conftest.err
18139 cat conftest.err >&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_c_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.$ac_objext; then
18145 ac_cv_type_fsfilcnt_t=yes
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 ac_cv_type_fsfilcnt_t=no
18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18156 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18157 if test $ac_cv_type_fsfilcnt_t = yes; then
18159 cat >>confdefs.h <<_ACEOF
18160 #define HAVE_FSFILCNT_T 1
18166 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18167 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18168 if test "${ac_cv_type_sigset_t+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 cat >conftest.$ac_ext <<_ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177 #include <signal.h>
18179 typedef sigset_t ac__type_new_;
18183 if ((ac__type_new_ *) 0)
18185 if (sizeof (ac__type_new_))
18191 rm -f conftest.$ac_objext
18192 if { (ac_try="$ac_compile"
18193 case "(($ac_try" in
18194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18195 *) ac_try_echo
=$ac_try;;
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_compile") 2>conftest.er1
18200 grep -v '^ *+' conftest.er1
>conftest.err
18202 cat conftest.err
>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } && {
18205 test -z "$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18207 } && test -s conftest.
$ac_objext; then
18208 ac_cv_type_sigset_t
=yes
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.
$ac_ext >&5
18213 ac_cv_type_sigset_t
=no
18216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18218 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18219 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18220 if test $ac_cv_type_sigset_t = yes; then
18222 cat >>confdefs.h
<<_ACEOF
18223 #define HAVE_SIGSET_T 1
18229 { echo "$as_me:$LINENO: checking for request_sense" >&5
18230 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18231 if test "${ac_cv_type_request_sense+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 cat >conftest.
$ac_ext <<_ACEOF
18237 cat confdefs.h
>>conftest.
$ac_ext
18238 cat >>conftest.
$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <linux/cdrom.h>
18242 typedef request_sense ac__type_new_;
18246 if ((ac__type_new_ *) 0)
18248 if (sizeof (ac__type_new_))
18254 rm -f conftest.
$ac_objext
18255 if { (ac_try
="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18263 grep -v '^ *+' conftest.er1 >conftest.err
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.$ac_objext; then
18271 ac_cv_type_request_sense=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18276 ac_cv_type_request_sense=no
18279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18282 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18283 if test $ac_cv_type_request_sense = yes; then
18285 cat >>confdefs.h <<_ACEOF
18286 #define HAVE_REQUEST_SENSE 1
18293 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18294 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18295 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 cat >conftest.$ac_ext <<_ACEOF
18301 cat confdefs.h >>conftest.$ac_ext
18302 cat >>conftest.$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304 #ifdef HAVE_LINUX_INPUT_H
18305 #include <linux/input.h>
18311 static struct ff_effect ac_aggr;
18312 if (ac_aggr.direction)
18318 rm -f conftest.$ac_objext
18319 if { (ac_try="$ac_compile"
18320 case "(($ac_try" in
18321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18322 *) ac_try_echo
=$ac_try;;
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compile") 2>conftest.er1
18327 grep -v '^ *+' conftest.er1
>conftest.err
18329 cat conftest.err
>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && {
18332 test -z "$ac_c_werror_flag" ||
18333 test ! -s conftest.err
18334 } && test -s conftest.
$ac_objext; then
18335 ac_cv_member_struct_ff_effect_direction
=yes
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 cat >conftest.
$ac_ext <<_ACEOF
18343 cat confdefs.h
>>conftest.
$ac_ext
18344 cat >>conftest.
$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 #ifdef HAVE_LINUX_INPUT_H
18347 #include <linux/input.h>
18353 static struct ff_effect ac_aggr;
18354 if (sizeof ac_aggr.direction)
18360 rm -f conftest.
$ac_objext
18361 if { (ac_try
="$ac_compile"
18362 case "(($ac_try" in
18363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18364 *) ac_try_echo=$ac_try;;
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_compile") 2>conftest.er1
18369 grep -v '^ *+' conftest.er1 >conftest.err
18371 cat conftest.err >&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } && {
18374 test -z "$ac_c_werror_flag" ||
18375 test ! -s conftest.err
18376 } && test -s conftest.$ac_objext; then
18377 ac_cv_member_struct_ff_effect_direction=yes
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18382 ac_cv_member_struct_ff_effect_direction=no
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18391 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18392 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18394 cat >>confdefs.h <<_ACEOF
18395 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18402 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18403 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18404 if test "${wine_cv_have_sigaddset+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18407 cat >conftest.$ac_ext <<_ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18413 #include <signal.h>
18417 sigset_t set; sigaddset(&set,SIGTERM);
18422 rm -f conftest.$ac_objext conftest$ac_exeext
18423 if { (ac_try="$ac_link"
18424 case "(($ac_try" in
18425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18426 *) ac_try_echo
=$ac_try;;
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_link") 2>conftest.er1
18431 grep -v '^ *+' conftest.er1
>conftest.err
18433 cat conftest.err
>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } && {
18436 test -z "$ac_c_werror_flag" ||
18437 test ! -s conftest.err
18438 } && test -s conftest
$ac_exeext &&
18439 $as_test_x conftest
$ac_exeext; then
18440 wine_cv_have_sigaddset
=yes
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.
$ac_ext >&5
18445 wine_cv_have_sigaddset
=no
18448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18449 conftest
$ac_exeext conftest.
$ac_ext
18451 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18452 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18453 if test "$wine_cv_have_sigaddset" = "yes"
18456 cat >>confdefs.h
<<\_ACEOF
18457 #define HAVE_SIGADDSET 1
18463 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18464 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18465 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 cat >conftest.
$ac_ext <<_ACEOF
18471 cat confdefs.h
>>conftest.
$ac_ext
18472 cat >>conftest.
$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18481 struct hostent *result;
18488 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18489 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18495 rm -f conftest.
$ac_objext conftest
$ac_exeext
18496 if { (ac_try
="$ac_link"
18497 case "(($ac_try" in
18498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_link") 2>conftest.er1
18504 grep -v '^ *+' conftest.er1 >conftest.err
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest$ac_exeext &&
18512 $as_test_x conftest$ac_exeext; then
18513 wine_cv_linux_gethostbyname_r_6=yes
18515 echo "$as_me: failed program was:" >&5
18516 sed 's/^/| /' conftest.$ac_ext >&5
18518 wine_cv_linux_gethostbyname_r_6=no
18522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18523 conftest$ac_exeext conftest.$ac_ext
18526 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18527 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18528 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18531 cat >>confdefs.h <<\_ACEOF
18532 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18537 if test "$ac_cv_header_linux_joystick_h" = "yes"
18539 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18540 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18541 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18542 echo $ECHO_N "(cached) $ECHO_C" >&6
18544 cat >conftest.$ac_ext <<_ACEOF
18547 cat confdefs.h >>conftest.$ac_ext
18548 cat >>conftest.$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18551 #include <sys/ioctl.h>
18552 #include <sys/types.h>
18553 #include <linux/joystick.h>
18555 struct js_event blub;
18556 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18557 #error "no 2.2 header"
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18572 *) ac_try_echo
=$ac_try;;
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18577 grep -v '^ *+' conftest.er1
>conftest.err
18579 cat conftest.err
>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.
$ac_objext; then
18585 wine_cv_linux_joystick_22_api
=yes
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.
$ac_ext >&5
18590 wine_cv_linux_joystick_22_api
=no
18593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18596 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18597 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18598 if test "$wine_cv_linux_joystick_22_api" = "yes"
18601 cat >>confdefs.h
<<\_ACEOF
18602 #define HAVE_LINUX_22_JOYSTICK_API 1
18609 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18610 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18611 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 cat >conftest.
$ac_ext <<_ACEOF
18617 cat confdefs.h
>>conftest.
$ac_ext
18618 cat >>conftest.
$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 #include <sys/types.h>
18621 #ifdef HAVE_SYS_PARAM_H
18622 # include <sys/param.h>
18624 #ifdef HAVE_SYS_MOUNT_H
18625 # include <sys/mount.h>
18627 #ifdef HAVE_SYS_VFS_H
18628 # include <sys/vfs.h>
18630 #ifdef HAVE_SYS_STATFS_H
18631 # include <sys/statfs.h>
18637 static struct statfs ac_aggr;
18638 if (ac_aggr.f_bfree)
18644 rm -f conftest.
$ac_objext
18645 if { (ac_try
="$ac_compile"
18646 case "(($ac_try" in
18647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18648 *) ac_try_echo=$ac_try;;
18650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18651 (eval "$ac_compile") 2>conftest.er1
18653 grep -v '^ *+' conftest.er1 >conftest.err
18655 cat conftest.err >&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } && {
18658 test -z "$ac_c_werror_flag" ||
18659 test ! -s conftest.err
18660 } && test -s conftest.$ac_objext; then
18661 ac_cv_member_struct_statfs_f_bfree=yes
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18666 cat >conftest.$ac_ext <<_ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 #include <sys/types.h>
18673 #ifdef HAVE_SYS_PARAM_H
18674 # include <sys/param.h>
18676 #ifdef HAVE_SYS_MOUNT_H
18677 # include <sys/mount.h>
18679 #ifdef HAVE_SYS_VFS_H
18680 # include <sys/vfs.h>
18682 #ifdef HAVE_SYS_STATFS_H
18683 # include <sys/statfs.h>
18689 static struct statfs ac_aggr;
18690 if (sizeof ac_aggr.f_bfree)
18696 rm -f conftest.$ac_objext
18697 if { (ac_try="$ac_compile"
18698 case "(($ac_try" in
18699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18700 *) ac_try_echo
=$ac_try;;
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_compile") 2>conftest.er1
18705 grep -v '^ *+' conftest.er1
>conftest.err
18707 cat conftest.err
>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } && {
18710 test -z "$ac_c_werror_flag" ||
18711 test ! -s conftest.err
18712 } && test -s conftest.
$ac_objext; then
18713 ac_cv_member_struct_statfs_f_bfree
=yes
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.
$ac_ext >&5
18718 ac_cv_member_struct_statfs_f_bfree
=no
18721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18726 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18727 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18728 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18730 cat >>confdefs.h
<<_ACEOF
18731 #define HAVE_STRUCT_STATFS_F_BFREE 1
18736 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18737 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18738 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 cat >conftest.
$ac_ext <<_ACEOF
18744 cat confdefs.h
>>conftest.
$ac_ext
18745 cat >>conftest.
$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <sys/types.h>
18748 #ifdef HAVE_SYS_PARAM_H
18749 # include <sys/param.h>
18751 #ifdef HAVE_SYS_MOUNT_H
18752 # include <sys/mount.h>
18754 #ifdef HAVE_SYS_VFS_H
18755 # include <sys/vfs.h>
18757 #ifdef HAVE_SYS_STATFS_H
18758 # include <sys/statfs.h>
18764 static struct statfs ac_aggr;
18765 if (ac_aggr.f_bavail)
18771 rm -f conftest.
$ac_objext
18772 if { (ac_try
="$ac_compile"
18773 case "(($ac_try" in
18774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_compile") 2>conftest.er1
18780 grep -v '^ *+' conftest.er1 >conftest.err
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } && {
18785 test -z "$ac_c_werror_flag" ||
18786 test ! -s conftest.err
18787 } && test -s conftest.$ac_objext; then
18788 ac_cv_member_struct_statfs_f_bavail=yes
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18793 cat >conftest.$ac_ext <<_ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 #include <sys/types.h>
18800 #ifdef HAVE_SYS_PARAM_H
18801 # include <sys/param.h>
18803 #ifdef HAVE_SYS_MOUNT_H
18804 # include <sys/mount.h>
18806 #ifdef HAVE_SYS_VFS_H
18807 # include <sys/vfs.h>
18809 #ifdef HAVE_SYS_STATFS_H
18810 # include <sys/statfs.h>
18816 static struct statfs ac_aggr;
18817 if (sizeof ac_aggr.f_bavail)
18823 rm -f conftest.$ac_objext
18824 if { (ac_try="$ac_compile"
18825 case "(($ac_try" in
18826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18827 *) ac_try_echo
=$ac_try;;
18829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18830 (eval "$ac_compile") 2>conftest.er1
18832 grep -v '^ *+' conftest.er1
>conftest.err
18834 cat conftest.err
>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); } && {
18837 test -z "$ac_c_werror_flag" ||
18838 test ! -s conftest.err
18839 } && test -s conftest.
$ac_objext; then
18840 ac_cv_member_struct_statfs_f_bavail
=yes
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.
$ac_ext >&5
18845 ac_cv_member_struct_statfs_f_bavail
=no
18848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18853 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18854 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18855 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18857 cat >>confdefs.h
<<_ACEOF
18858 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18863 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18864 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18865 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 cat >conftest.
$ac_ext <<_ACEOF
18871 cat confdefs.h
>>conftest.
$ac_ext
18872 cat >>conftest.
$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18874 #include <sys/types.h>
18875 #ifdef HAVE_SYS_PARAM_H
18876 # include <sys/param.h>
18878 #ifdef HAVE_SYS_MOUNT_H
18879 # include <sys/mount.h>
18881 #ifdef HAVE_SYS_VFS_H
18882 # include <sys/vfs.h>
18884 #ifdef HAVE_SYS_STATFS_H
18885 # include <sys/statfs.h>
18891 static struct statfs ac_aggr;
18892 if (ac_aggr.f_frsize)
18898 rm -f conftest.
$ac_objext
18899 if { (ac_try
="$ac_compile"
18900 case "(($ac_try" in
18901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_compile") 2>conftest.er1
18907 grep -v '^ *+' conftest.er1 >conftest.err
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } && {
18912 test -z "$ac_c_werror_flag" ||
18913 test ! -s conftest.err
18914 } && test -s conftest.$ac_objext; then
18915 ac_cv_member_struct_statfs_f_frsize=yes
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18920 cat >conftest.$ac_ext <<_ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 #include <sys/types.h>
18927 #ifdef HAVE_SYS_PARAM_H
18928 # include <sys/param.h>
18930 #ifdef HAVE_SYS_MOUNT_H
18931 # include <sys/mount.h>
18933 #ifdef HAVE_SYS_VFS_H
18934 # include <sys/vfs.h>
18936 #ifdef HAVE_SYS_STATFS_H
18937 # include <sys/statfs.h>
18943 static struct statfs ac_aggr;
18944 if (sizeof ac_aggr.f_frsize)
18950 rm -f conftest.$ac_objext
18951 if { (ac_try="$ac_compile"
18952 case "(($ac_try" in
18953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18954 *) ac_try_echo
=$ac_try;;
18956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18957 (eval "$ac_compile") 2>conftest.er1
18959 grep -v '^ *+' conftest.er1
>conftest.err
18961 cat conftest.err
>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } && {
18964 test -z "$ac_c_werror_flag" ||
18965 test ! -s conftest.err
18966 } && test -s conftest.
$ac_objext; then
18967 ac_cv_member_struct_statfs_f_frsize
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_cv_member_struct_statfs_f_frsize
=no
18975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18980 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18981 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18982 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18984 cat >>confdefs.h
<<_ACEOF
18985 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18990 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18991 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18992 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 cat >conftest.
$ac_ext <<_ACEOF
18998 cat confdefs.h
>>conftest.
$ac_ext
18999 cat >>conftest.
$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <sys/types.h>
19002 #ifdef HAVE_SYS_PARAM_H
19003 # include <sys/param.h>
19005 #ifdef HAVE_SYS_MOUNT_H
19006 # include <sys/mount.h>
19008 #ifdef HAVE_SYS_VFS_H
19009 # include <sys/vfs.h>
19011 #ifdef HAVE_SYS_STATFS_H
19012 # include <sys/statfs.h>
19018 static struct statfs ac_aggr;
19019 if (ac_aggr.f_ffree)
19025 rm -f conftest.
$ac_objext
19026 if { (ac_try
="$ac_compile"
19027 case "(($ac_try" in
19028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19029 *) ac_try_echo=$ac_try;;
19031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19032 (eval "$ac_compile") 2>conftest.er1
19034 grep -v '^ *+' conftest.er1 >conftest.err
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } && {
19039 test -z "$ac_c_werror_flag" ||
19040 test ! -s conftest.err
19041 } && test -s conftest.$ac_objext; then
19042 ac_cv_member_struct_statfs_f_ffree=yes
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19047 cat >conftest.$ac_ext <<_ACEOF
19050 cat confdefs.h >>conftest.$ac_ext
19051 cat >>conftest.$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 #include <sys/types.h>
19054 #ifdef HAVE_SYS_PARAM_H
19055 # include <sys/param.h>
19057 #ifdef HAVE_SYS_MOUNT_H
19058 # include <sys/mount.h>
19060 #ifdef HAVE_SYS_VFS_H
19061 # include <sys/vfs.h>
19063 #ifdef HAVE_SYS_STATFS_H
19064 # include <sys/statfs.h>
19070 static struct statfs ac_aggr;
19071 if (sizeof ac_aggr.f_ffree)
19077 rm -f conftest.$ac_objext
19078 if { (ac_try="$ac_compile"
19079 case "(($ac_try" in
19080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19081 *) ac_try_echo
=$ac_try;;
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_compile") 2>conftest.er1
19086 grep -v '^ *+' conftest.er1
>conftest.err
19088 cat conftest.err
>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); } && {
19091 test -z "$ac_c_werror_flag" ||
19092 test ! -s conftest.err
19093 } && test -s conftest.
$ac_objext; then
19094 ac_cv_member_struct_statfs_f_ffree
=yes
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.
$ac_ext >&5
19099 ac_cv_member_struct_statfs_f_ffree
=no
19102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19107 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19108 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19109 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19111 cat >>confdefs.h
<<_ACEOF
19112 #define HAVE_STRUCT_STATFS_F_FFREE 1
19117 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19118 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19119 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 cat >conftest.
$ac_ext <<_ACEOF
19125 cat confdefs.h
>>conftest.
$ac_ext
19126 cat >>conftest.
$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <sys/types.h>
19129 #ifdef HAVE_SYS_PARAM_H
19130 # include <sys/param.h>
19132 #ifdef HAVE_SYS_MOUNT_H
19133 # include <sys/mount.h>
19135 #ifdef HAVE_SYS_VFS_H
19136 # include <sys/vfs.h>
19138 #ifdef HAVE_SYS_STATFS_H
19139 # include <sys/statfs.h>
19145 static struct statfs ac_aggr;
19146 if (ac_aggr.f_favail)
19152 rm -f conftest.
$ac_objext
19153 if { (ac_try
="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19161 grep -v '^ *+' conftest.er1 >conftest.err
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 ac_cv_member_struct_statfs_f_favail=yes
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19174 cat >conftest.$ac_ext <<_ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 #include <sys/types.h>
19181 #ifdef HAVE_SYS_PARAM_H
19182 # include <sys/param.h>
19184 #ifdef HAVE_SYS_MOUNT_H
19185 # include <sys/mount.h>
19187 #ifdef HAVE_SYS_VFS_H
19188 # include <sys/vfs.h>
19190 #ifdef HAVE_SYS_STATFS_H
19191 # include <sys/statfs.h>
19197 static struct statfs ac_aggr;
19198 if (sizeof ac_aggr.f_favail)
19204 rm -f conftest.$ac_objext
19205 if { (ac_try="$ac_compile"
19206 case "(($ac_try" in
19207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19208 *) ac_try_echo
=$ac_try;;
19210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19211 (eval "$ac_compile") 2>conftest.er1
19213 grep -v '^ *+' conftest.er1
>conftest.err
19215 cat conftest.err
>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } && {
19218 test -z "$ac_c_werror_flag" ||
19219 test ! -s conftest.err
19220 } && test -s conftest.
$ac_objext; then
19221 ac_cv_member_struct_statfs_f_favail
=yes
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.
$ac_ext >&5
19226 ac_cv_member_struct_statfs_f_favail
=no
19229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19234 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19235 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19236 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19238 cat >>confdefs.h
<<_ACEOF
19239 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19244 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19245 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19246 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19247 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 cat >conftest.
$ac_ext <<_ACEOF
19252 cat confdefs.h
>>conftest.
$ac_ext
19253 cat >>conftest.
$ac_ext <<_ACEOF
19254 /* end confdefs.h. */
19255 #include <sys/types.h>
19256 #ifdef HAVE_SYS_PARAM_H
19257 # include <sys/param.h>
19259 #ifdef HAVE_SYS_MOUNT_H
19260 # include <sys/mount.h>
19262 #ifdef HAVE_SYS_VFS_H
19263 # include <sys/vfs.h>
19265 #ifdef HAVE_SYS_STATFS_H
19266 # include <sys/statfs.h>
19272 static struct statfs ac_aggr;
19273 if (ac_aggr.f_namelen)
19279 rm -f conftest.
$ac_objext
19280 if { (ac_try
="$ac_compile"
19281 case "(($ac_try" in
19282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19283 *) ac_try_echo=$ac_try;;
19285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19286 (eval "$ac_compile") 2>conftest.er1
19288 grep -v '^ *+' conftest.er1 >conftest.err
19290 cat conftest.err >&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } && {
19293 test -z "$ac_c_werror_flag" ||
19294 test ! -s conftest.err
19295 } && test -s conftest.$ac_objext; then
19296 ac_cv_member_struct_statfs_f_namelen=yes
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.$ac_ext >&5
19301 cat >conftest.$ac_ext <<_ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 #include <sys/types.h>
19308 #ifdef HAVE_SYS_PARAM_H
19309 # include <sys/param.h>
19311 #ifdef HAVE_SYS_MOUNT_H
19312 # include <sys/mount.h>
19314 #ifdef HAVE_SYS_VFS_H
19315 # include <sys/vfs.h>
19317 #ifdef HAVE_SYS_STATFS_H
19318 # include <sys/statfs.h>
19324 static struct statfs ac_aggr;
19325 if (sizeof ac_aggr.f_namelen)
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19335 *) ac_try_echo
=$ac_try;;
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19340 grep -v '^ *+' conftest.er1
>conftest.err
19342 cat conftest.err
>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_c_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.
$ac_objext; then
19348 ac_cv_member_struct_statfs_f_namelen
=yes
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.
$ac_ext >&5
19353 ac_cv_member_struct_statfs_f_namelen
=no
19356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19362 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19363 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19365 cat >>confdefs.h
<<_ACEOF
19366 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19373 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19374 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19375 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 cat >conftest.
$ac_ext <<_ACEOF
19381 cat confdefs.h
>>conftest.
$ac_ext
19382 cat >>conftest.
$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19384 #ifdef HAVE_SYS_STATVFS_H
19385 #include <sys/statvfs.h>
19391 static struct statvfs ac_aggr;
19392 if (ac_aggr.f_blocks)
19398 rm -f conftest.
$ac_objext
19399 if { (ac_try
="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19407 grep -v '^ *+' conftest.er1 >conftest.err
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.$ac_objext; then
19415 ac_cv_member_struct_statvfs_f_blocks=yes
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 cat >conftest.$ac_ext <<_ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #ifdef HAVE_SYS_STATVFS_H
19427 #include <sys/statvfs.h>
19433 static struct statvfs ac_aggr;
19434 if (sizeof ac_aggr.f_blocks)
19440 rm -f conftest.$ac_objext
19441 if { (ac_try="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19444 *) ac_try_echo
=$ac_try;;
19446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19449 grep -v '^ *+' conftest.er1
>conftest.err
19451 cat conftest.err
>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.
$ac_objext; then
19457 ac_cv_member_struct_statvfs_f_blocks
=yes
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.
$ac_ext >&5
19462 ac_cv_member_struct_statvfs_f_blocks
=no
19465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19470 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19471 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19472 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19474 cat >>confdefs.h
<<_ACEOF
19475 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19482 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19483 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19484 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_SOCKET_H
19495 # include <sys/socket.h>
19497 #ifdef HAVE_SYS_UN_H
19498 # include <sys/un.h>
19504 static struct msghdr ac_aggr;
19505 if (ac_aggr.msg_accrights)
19511 rm -f conftest.
$ac_objext
19512 if { (ac_try
="$ac_compile"
19513 case "(($ac_try" in
19514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_compile") 2>conftest.er1
19520 grep -v '^ *+' conftest.er1 >conftest.err
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } && {
19525 test -z "$ac_c_werror_flag" ||
19526 test ! -s conftest.err
19527 } && test -s conftest.$ac_objext; then
19528 ac_cv_member_struct_msghdr_msg_accrights=yes
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 cat >conftest.$ac_ext <<_ACEOF
19536 cat confdefs.h >>conftest.$ac_ext
19537 cat >>conftest.$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 #include <sys/types.h>
19540 #ifdef HAVE_SYS_SOCKET_H
19541 # include <sys/socket.h>
19543 #ifdef HAVE_SYS_UN_H
19544 # include <sys/un.h>
19550 static struct msghdr ac_aggr;
19551 if (sizeof ac_aggr.msg_accrights)
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19561 *) ac_try_echo
=$ac_try;;
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1
>conftest.err
19568 cat conftest.err
>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.
$ac_objext; then
19574 ac_cv_member_struct_msghdr_msg_accrights
=yes
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.
$ac_ext >&5
19579 ac_cv_member_struct_msghdr_msg_accrights
=no
19582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19587 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19588 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19589 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19591 cat >>confdefs.h
<<_ACEOF
19592 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19597 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19598 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19599 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #include <sys/types.h>
19609 #ifdef HAVE_SYS_SOCKET_H
19610 # include <sys/socket.h>
19612 #ifdef HAVE_SYS_UN_H
19613 # include <sys/un.h>
19619 static struct sockaddr ac_aggr;
19620 if (ac_aggr.sa_len)
19626 rm -f conftest.
$ac_objext
19627 if { (ac_try
="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_sockaddr_sa_len=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 cat >conftest.$ac_ext <<_ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #include <sys/types.h>
19655 #ifdef HAVE_SYS_SOCKET_H
19656 # include <sys/socket.h>
19658 #ifdef HAVE_SYS_UN_H
19659 # include <sys/un.h>
19665 static struct sockaddr ac_aggr;
19666 if (sizeof ac_aggr.sa_len)
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19676 *) ac_try_echo
=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19681 grep -v '^ *+' conftest.er1
>conftest.err
19683 cat conftest.err
>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.
$ac_objext; then
19689 ac_cv_member_struct_sockaddr_sa_len
=yes
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.
$ac_ext >&5
19694 ac_cv_member_struct_sockaddr_sa_len
=no
19697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19703 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19704 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19706 cat >>confdefs.h
<<_ACEOF
19707 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19712 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19713 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19714 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 cat >conftest.
$ac_ext <<_ACEOF
19720 cat confdefs.h
>>conftest.
$ac_ext
19721 cat >>conftest.
$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #include <sys/types.h>
19724 #ifdef HAVE_SYS_SOCKET_H
19725 # include <sys/socket.h>
19727 #ifdef HAVE_SYS_UN_H
19728 # include <sys/un.h>
19734 static struct sockaddr_un ac_aggr;
19735 if (ac_aggr.sun_len)
19741 rm -f conftest.
$ac_objext
19742 if { (ac_try
="$ac_compile"
19743 case "(($ac_try" in
19744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19745 *) ac_try_echo=$ac_try;;
19747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19748 (eval "$ac_compile") 2>conftest.er1
19750 grep -v '^ *+' conftest.er1 >conftest.err
19752 cat conftest.err >&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); } && {
19755 test -z "$ac_c_werror_flag" ||
19756 test ! -s conftest.err
19757 } && test -s conftest.$ac_objext; then
19758 ac_cv_member_struct_sockaddr_un_sun_len=yes
19760 echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.$ac_ext >&5
19763 cat >conftest.$ac_ext <<_ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769 #include <sys/types.h>
19770 #ifdef HAVE_SYS_SOCKET_H
19771 # include <sys/socket.h>
19773 #ifdef HAVE_SYS_UN_H
19774 # include <sys/un.h>
19780 static struct sockaddr_un ac_aggr;
19781 if (sizeof ac_aggr.sun_len)
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19791 *) ac_try_echo
=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19796 grep -v '^ *+' conftest.er1
>conftest.err
19798 cat conftest.err
>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.
$ac_objext; then
19804 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.
$ac_ext >&5
19809 ac_cv_member_struct_sockaddr_un_sun_len
=no
19812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19817 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19818 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19819 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19821 cat >>confdefs.h
<<_ACEOF
19822 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19829 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19830 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19831 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 cat >conftest.
$ac_ext <<_ACEOF
19837 cat confdefs.h
>>conftest.
$ac_ext
19838 cat >>conftest.
$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #include <sys/types.h>
19841 #ifdef HAVE_SCSI_SG_H
19842 #include <scsi/sg.h>
19848 static scsireq_t ac_aggr;
19855 rm -f conftest.
$ac_objext
19856 if { (ac_try
="$ac_compile"
19857 case "(($ac_try" in
19858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19862 (eval "$ac_compile") 2>conftest.er1
19864 grep -v '^ *+' conftest.er1 >conftest.err
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } && {
19869 test -z "$ac_c_werror_flag" ||
19870 test ! -s conftest.err
19871 } && test -s conftest.$ac_objext; then
19872 ac_cv_member_scsireq_t_cmd=yes
19874 echo "$as_me: failed program was:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19877 cat >conftest.$ac_ext <<_ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 #include <sys/types.h>
19884 #ifdef HAVE_SCSI_SG_H
19885 #include <scsi/sg.h>
19891 static scsireq_t ac_aggr;
19892 if (sizeof ac_aggr.cmd)
19898 rm -f conftest.$ac_objext
19899 if { (ac_try="$ac_compile"
19900 case "(($ac_try" in
19901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19902 *) ac_try_echo
=$ac_try;;
19904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19905 (eval "$ac_compile") 2>conftest.er1
19907 grep -v '^ *+' conftest.er1
>conftest.err
19909 cat conftest.err
>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } && {
19912 test -z "$ac_c_werror_flag" ||
19913 test ! -s conftest.err
19914 } && test -s conftest.
$ac_objext; then
19915 ac_cv_member_scsireq_t_cmd
=yes
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.
$ac_ext >&5
19920 ac_cv_member_scsireq_t_cmd
=no
19923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19928 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19929 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19930 if test $ac_cv_member_scsireq_t_cmd = yes; then
19932 cat >>confdefs.h
<<_ACEOF
19933 #define HAVE_SCSIREQ_T_CMD 1
19938 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19939 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19940 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 cat >conftest.
$ac_ext <<_ACEOF
19946 cat confdefs.h
>>conftest.
$ac_ext
19947 cat >>conftest.
$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 #include <sys/types.h>
19950 #ifdef HAVE_SCSI_SG_H
19951 #include <scsi/sg.h>
19957 static sg_io_hdr_t ac_aggr;
19958 if (ac_aggr.interface_id)
19964 rm -f conftest.
$ac_objext
19965 if { (ac_try
="$ac_compile"
19966 case "(($ac_try" in
19967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19968 *) ac_try_echo=$ac_try;;
19970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19971 (eval "$ac_compile") 2>conftest.er1
19973 grep -v '^ *+' conftest.er1 >conftest.err
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } && {
19978 test -z "$ac_c_werror_flag" ||
19979 test ! -s conftest.err
19980 } && test -s conftest.$ac_objext; then
19981 ac_cv_member_sg_io_hdr_t_interface_id=yes
19983 echo "$as_me: failed program was:" >&5
19984 sed 's/^/| /' conftest.$ac_ext >&5
19986 cat >conftest.$ac_ext <<_ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 #include <sys/types.h>
19993 #ifdef HAVE_SCSI_SG_H
19994 #include <scsi/sg.h>
20000 static sg_io_hdr_t ac_aggr;
20001 if (sizeof ac_aggr.interface_id)
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20011 *) ac_try_echo
=$ac_try;;
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20016 grep -v '^ *+' conftest.er1
>conftest.err
20018 cat conftest.err
>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.
$ac_objext; then
20024 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.
$ac_ext >&5
20029 ac_cv_member_sg_io_hdr_t_interface_id
=no
20032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20038 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20039 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20041 cat >>confdefs.h
<<_ACEOF
20042 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20049 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20050 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 cat >conftest.
$ac_ext <<_ACEOF
20057 cat confdefs.h
>>conftest.
$ac_ext
20058 cat >>conftest.
$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <signal.h>
20065 static siginfo_t ac_aggr;
20072 rm -f conftest.
$ac_objext
20073 if { (ac_try
="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20081 grep -v '^ *+' conftest.er1 >conftest.err
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } && {
20086 test -z "$ac_c_werror_flag" ||
20087 test ! -s conftest.err
20088 } && test -s conftest.$ac_objext; then
20089 ac_cv_member_siginfo_t_si_fd=yes
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 cat >conftest.$ac_ext <<_ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 #include <signal.h>
20105 static siginfo_t ac_aggr;
20106 if (sizeof ac_aggr.si_fd)
20112 rm -f conftest.$ac_objext
20113 if { (ac_try="$ac_compile"
20114 case "(($ac_try" in
20115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20116 *) ac_try_echo
=$ac_try;;
20118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20119 (eval "$ac_compile") 2>conftest.er1
20121 grep -v '^ *+' conftest.er1
>conftest.err
20123 cat conftest.err
>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } && {
20126 test -z "$ac_c_werror_flag" ||
20127 test ! -s conftest.err
20128 } && test -s conftest.
$ac_objext; then
20129 ac_cv_member_siginfo_t_si_fd
=yes
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.
$ac_ext >&5
20134 ac_cv_member_siginfo_t_si_fd
=no
20137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20142 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20143 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20144 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20146 cat >>confdefs.h
<<_ACEOF
20147 #define HAVE_SIGINFO_T_SI_FD 1
20154 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20155 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20156 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20157 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 cat >conftest.
$ac_ext <<_ACEOF
20162 cat confdefs.h
>>conftest.
$ac_ext
20163 cat >>conftest.
$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 #include <sys/types.h>
20166 #ifdef HAVE_SYS_MTIO_H
20167 #include <sys/mtio.h>
20173 static struct mtget ac_aggr;
20174 if (ac_aggr.mt_blksiz)
20180 rm -f conftest.
$ac_objext
20181 if { (ac_try
="$ac_compile"
20182 case "(($ac_try" in
20183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_compile") 2>conftest.er1
20189 grep -v '^ *+' conftest.er1 >conftest.err
20191 cat conftest.err >&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } && {
20194 test -z "$ac_c_werror_flag" ||
20195 test ! -s conftest.err
20196 } && test -s conftest.$ac_objext; then
20197 ac_cv_member_struct_mtget_mt_blksiz=yes
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20202 cat >conftest.$ac_ext <<_ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 #include <sys/types.h>
20209 #ifdef HAVE_SYS_MTIO_H
20210 #include <sys/mtio.h>
20216 static struct mtget ac_aggr;
20217 if (sizeof ac_aggr.mt_blksiz)
20223 rm -f conftest.$ac_objext
20224 if { (ac_try="$ac_compile"
20225 case "(($ac_try" in
20226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20227 *) ac_try_echo
=$ac_try;;
20229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20230 (eval "$ac_compile") 2>conftest.er1
20232 grep -v '^ *+' conftest.er1
>conftest.err
20234 cat conftest.err
>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } && {
20237 test -z "$ac_c_werror_flag" ||
20238 test ! -s conftest.err
20239 } && test -s conftest.
$ac_objext; then
20240 ac_cv_member_struct_mtget_mt_blksiz
=yes
20242 echo "$as_me: failed program was:" >&5
20243 sed 's/^/| /' conftest.
$ac_ext >&5
20245 ac_cv_member_struct_mtget_mt_blksiz
=no
20248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20253 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20254 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20255 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20257 cat >>confdefs.h
<<_ACEOF
20258 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20263 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20264 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20265 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 cat >conftest.
$ac_ext <<_ACEOF
20271 cat confdefs.h
>>conftest.
$ac_ext
20272 cat >>conftest.
$ac_ext <<_ACEOF
20273 /* end confdefs.h. */
20274 #include <sys/types.h>
20275 #ifdef HAVE_SYS_MTIO_H
20276 #include <sys/mtio.h>
20282 static struct mtget ac_aggr;
20283 if (ac_aggr.mt_gstat)
20289 rm -f conftest.
$ac_objext
20290 if { (ac_try
="$ac_compile"
20291 case "(($ac_try" in
20292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_compile") 2>conftest.er1
20298 grep -v '^ *+' conftest.er1 >conftest.err
20300 cat conftest.err >&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } && {
20303 test -z "$ac_c_werror_flag" ||
20304 test ! -s conftest.err
20305 } && test -s conftest.$ac_objext; then
20306 ac_cv_member_struct_mtget_mt_gstat=yes
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20311 cat >conftest.$ac_ext <<_ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 #include <sys/types.h>
20318 #ifdef HAVE_SYS_MTIO_H
20319 #include <sys/mtio.h>
20325 static struct mtget ac_aggr;
20326 if (sizeof ac_aggr.mt_gstat)
20332 rm -f conftest.$ac_objext
20333 if { (ac_try="$ac_compile"
20334 case "(($ac_try" in
20335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20336 *) ac_try_echo
=$ac_try;;
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_compile") 2>conftest.er1
20341 grep -v '^ *+' conftest.er1
>conftest.err
20343 cat conftest.err
>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && {
20346 test -z "$ac_c_werror_flag" ||
20347 test ! -s conftest.err
20348 } && test -s conftest.
$ac_objext; then
20349 ac_cv_member_struct_mtget_mt_gstat
=yes
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.
$ac_ext >&5
20354 ac_cv_member_struct_mtget_mt_gstat
=no
20357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20362 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20363 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20364 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20366 cat >>confdefs.h
<<_ACEOF
20367 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20372 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20373 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20374 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 cat >conftest.
$ac_ext <<_ACEOF
20380 cat confdefs.h
>>conftest.
$ac_ext
20381 cat >>conftest.
$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 #include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20391 static struct mtget ac_aggr;
20392 if (ac_aggr.mt_blkno)
20398 rm -f conftest.
$ac_objext
20399 if { (ac_try
="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20407 grep -v '^ *+' conftest.er1 >conftest.err
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.$ac_objext; then
20415 ac_cv_member_struct_mtget_mt_blkno=yes
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20420 cat >conftest.$ac_ext <<_ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #include <sys/types.h>
20427 #ifdef HAVE_SYS_MTIO_H
20428 #include <sys/mtio.h>
20434 static struct mtget ac_aggr;
20435 if (sizeof ac_aggr.mt_blkno)
20441 rm -f conftest.$ac_objext
20442 if { (ac_try="$ac_compile"
20443 case "(($ac_try" in
20444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20445 *) ac_try_echo
=$ac_try;;
20447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20448 (eval "$ac_compile") 2>conftest.er1
20450 grep -v '^ *+' conftest.er1
>conftest.err
20452 cat conftest.err
>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } && {
20455 test -z "$ac_c_werror_flag" ||
20456 test ! -s conftest.err
20457 } && test -s conftest.
$ac_objext; then
20458 ac_cv_member_struct_mtget_mt_blkno
=yes
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.
$ac_ext >&5
20463 ac_cv_member_struct_mtget_mt_blkno
=no
20466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20472 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20473 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20475 cat >>confdefs.h
<<_ACEOF
20476 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20483 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20484 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20485 if test "${ac_cv_member_struct_option_name+set}" = set; then
20486 echo $ECHO_N "(cached) $ECHO_C" >&6
20488 cat >conftest.
$ac_ext <<_ACEOF
20491 cat confdefs.h
>>conftest.
$ac_ext
20492 cat >>conftest.
$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 #ifdef HAVE_GETOPT_H
20495 #include <getopt.h>
20501 static struct option ac_aggr;
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_struct_option_name=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 #ifdef HAVE_GETOPT_H
20537 #include <getopt.h>
20543 static struct option ac_aggr;
20544 if (sizeof ac_aggr.name)
20550 rm -f conftest.$ac_objext
20551 if { (ac_try="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20554 *) ac_try_echo
=$ac_try;;
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20559 grep -v '^ *+' conftest.er1
>conftest.err
20561 cat conftest.err
>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest.
$ac_objext; then
20567 ac_cv_member_struct_option_name
=yes
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.
$ac_ext >&5
20572 ac_cv_member_struct_option_name
=no
20575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20581 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20582 if test $ac_cv_member_struct_option_name = yes; then
20584 cat >>confdefs.h
<<_ACEOF
20585 #define HAVE_STRUCT_OPTION_NAME 1
20592 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20593 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20594 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20597 cat >conftest.
$ac_ext <<_ACEOF
20600 cat confdefs.h
>>conftest.
$ac_ext
20601 cat >>conftest.
$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20607 static struct stat ac_aggr;
20608 if (ac_aggr.st_blocks)
20614 rm -f conftest.
$ac_objext
20615 if { (ac_try
="$ac_compile"
20616 case "(($ac_try" in
20617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20618 *) ac_try_echo=$ac_try;;
20620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20621 (eval "$ac_compile") 2>conftest.er1
20623 grep -v '^ *+' conftest.er1 >conftest.err
20625 cat conftest.err >&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } && {
20628 test -z "$ac_c_werror_flag" ||
20629 test ! -s conftest.err
20630 } && test -s conftest.$ac_objext; then
20631 ac_cv_member_struct_stat_st_blocks=yes
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20636 cat >conftest.$ac_ext <<_ACEOF
20639 cat confdefs.h >>conftest.$ac_ext
20640 cat >>conftest.$ac_ext <<_ACEOF
20641 /* end confdefs.h. */
20642 $ac_includes_default
20646 static struct stat ac_aggr;
20647 if (sizeof ac_aggr.st_blocks)
20653 rm -f conftest.$ac_objext
20654 if { (ac_try="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20657 *) ac_try_echo
=$ac_try;;
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20662 grep -v '^ *+' conftest.er1
>conftest.err
20664 cat conftest.err
>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.
$ac_objext; then
20670 ac_cv_member_struct_stat_st_blocks
=yes
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.
$ac_ext >&5
20675 ac_cv_member_struct_stat_st_blocks
=no
20678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20684 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20685 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20687 cat >>confdefs.h
<<_ACEOF
20688 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20695 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20696 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20697 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20700 cat >conftest.
$ac_ext <<_ACEOF
20703 cat confdefs.h
>>conftest.
$ac_ext
20704 cat >>conftest.
$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 #ifdef HAVE_SYS_TYPES_H
20707 #include <sys/types.h>
20709 #ifdef HAVE_NETINET_IN_H
20710 #include <netinet/in.h>
20716 static struct sockaddr_in6 ac_aggr;
20717 if (ac_aggr.sin6_scope_id)
20723 rm -f conftest.
$ac_objext
20724 if { (ac_try
="$ac_compile"
20725 case "(($ac_try" in
20726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20727 *) ac_try_echo=$ac_try;;
20729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20730 (eval "$ac_compile") 2>conftest.er1
20732 grep -v '^ *+' conftest.er1 >conftest.err
20734 cat conftest.err >&5
20735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736 (exit $ac_status); } && {
20737 test -z "$ac_c_werror_flag" ||
20738 test ! -s conftest.err
20739 } && test -s conftest.$ac_objext; then
20740 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20742 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.$ac_ext >&5
20745 cat >conftest.$ac_ext <<_ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 #ifdef HAVE_SYS_TYPES_H
20752 #include <sys/types.h>
20754 #ifdef HAVE_NETINET_IN_H
20755 #include <netinet/in.h>
20761 static struct sockaddr_in6 ac_aggr;
20762 if (sizeof ac_aggr.sin6_scope_id)
20768 rm -f conftest.$ac_objext
20769 if { (ac_try="$ac_compile"
20770 case "(($ac_try" in
20771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20772 *) ac_try_echo
=$ac_try;;
20774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775 (eval "$ac_compile") 2>conftest.er1
20777 grep -v '^ *+' conftest.er1
>conftest.err
20779 cat conftest.err
>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } && {
20782 test -z "$ac_c_werror_flag" ||
20783 test ! -s conftest.err
20784 } && test -s conftest.
$ac_objext; then
20785 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.
$ac_ext >&5
20790 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20799 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20800 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20802 cat >>confdefs.h
<<_ACEOF
20803 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20810 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20811 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20812 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20813 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 cat >conftest.
$ac_ext <<_ACEOF
20818 cat confdefs.h
>>conftest.
$ac_ext
20819 cat >>conftest.
$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 #ifdef HAVE_SYS_TYPES_H
20822 #include <sys/types.h>
20824 #ifdef HAVE_NETINET_IN_H
20825 # include <netinet/in.h>
20827 #ifdef HAVE_ARPA_NAMESER_H
20828 # include <arpa/nameser.h>
20834 static ns_msg ac_aggr;
20835 if (ac_aggr._msg_ptr)
20841 rm -f conftest.
$ac_objext
20842 if { (ac_try
="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20850 grep -v '^ *+' conftest.er1 >conftest.err
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20858 ac_cv_member_ns_msg__msg_ptr=yes
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 cat >conftest.$ac_ext <<_ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 #ifdef HAVE_SYS_TYPES_H
20870 #include <sys/types.h>
20872 #ifdef HAVE_NETINET_IN_H
20873 # include <netinet/in.h>
20875 #ifdef HAVE_ARPA_NAMESER_H
20876 # include <arpa/nameser.h>
20882 static ns_msg ac_aggr;
20883 if (sizeof ac_aggr._msg_ptr)
20889 rm -f conftest.$ac_objext
20890 if { (ac_try="$ac_compile"
20891 case "(($ac_try" in
20892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20893 *) ac_try_echo
=$ac_try;;
20895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20896 (eval "$ac_compile") 2>conftest.er1
20898 grep -v '^ *+' conftest.er1
>conftest.err
20900 cat conftest.err
>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } && {
20903 test -z "$ac_c_werror_flag" ||
20904 test ! -s conftest.err
20905 } && test -s conftest.
$ac_objext; then
20906 ac_cv_member_ns_msg__msg_ptr
=yes
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.
$ac_ext >&5
20911 ac_cv_member_ns_msg__msg_ptr
=no
20914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20919 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20920 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20921 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20923 cat >>confdefs.h
<<_ACEOF
20924 #define HAVE_NS_MSG__MSG_PTR 1
20931 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20932 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20933 if test "${ac_cv_have_timezone+set}" = set; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20936 cat >conftest.
$ac_ext <<_ACEOF
20939 cat confdefs.h
>>conftest.
$ac_ext
20940 cat >>conftest.
$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20951 rm -f conftest.
$ac_objext conftest
$ac_exeext
20952 if { (ac_try
="$ac_link"
20953 case "(($ac_try" in
20954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>conftest.er1
20960 grep -v '^ *+' conftest.er1 >conftest.err
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest$ac_exeext &&
20968 $as_test_x conftest$ac_exeext; then
20969 ac_cv_have_timezone="yes"
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 ac_cv_have_timezone="no"
20977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20978 conftest$ac_exeext conftest.$ac_ext
20980 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20981 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20982 if test "$ac_cv_have_timezone" = "yes"
20985 cat >>confdefs.h <<\_ACEOF
20986 #define HAVE_TIMEZONE 1
20990 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20991 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20992 if test "${ac_cv_have_daylight+set}" = set; then
20993 echo $ECHO_N "(cached) $ECHO_C" >&6
20995 cat >conftest.$ac_ext <<_ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21010 rm -f conftest.$ac_objext conftest$ac_exeext
21011 if { (ac_try="$ac_link"
21012 case "(($ac_try" in
21013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21014 *) ac_try_echo
=$ac_try;;
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_link") 2>conftest.er1
21019 grep -v '^ *+' conftest.er1
>conftest.err
21021 cat conftest.err
>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest
$ac_exeext &&
21027 $as_test_x conftest
$ac_exeext; then
21028 ac_cv_have_daylight
="yes"
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.
$ac_ext >&5
21033 ac_cv_have_daylight
="no"
21036 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21037 conftest
$ac_exeext conftest.
$ac_ext
21039 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21040 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21041 if test "$ac_cv_have_daylight" = "yes"
21044 cat >>confdefs.h
<<\_ACEOF
21045 #define HAVE_DAYLIGHT 1
21052 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21053 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21054 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21057 cat >conftest.
$ac_ext <<_ACEOF
21060 cat confdefs.h
>>conftest.
$ac_ext
21061 cat >>conftest.
$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21068 $EGREP "yes" >/dev
/null
2>&1; then
21069 ac_cv_cpp_def___i386__
=yes
21071 ac_cv_cpp_def___i386__
=no
21076 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21077 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21078 if test $ac_cv_cpp_def___i386__ = yes; then
21079 CFLAGS
="$CFLAGS -D__i386__"
21080 LINTFLAGS
="$LINTFLAGS -D__i386__"
21083 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21084 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21085 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21088 cat >conftest.
$ac_ext <<_ACEOF
21091 cat confdefs.h
>>conftest.
$ac_ext
21092 cat >>conftest.
$ac_ext <<_ACEOF
21093 /* end confdefs.h. */
21098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21099 $EGREP "yes" >/dev
/null
2>&1; then
21100 ac_cv_cpp_def___x86_64__
=yes
21102 ac_cv_cpp_def___x86_64__
=no
21107 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21108 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21109 if test $ac_cv_cpp_def___x86_64__ = yes; then
21110 CFLAGS
="$CFLAGS -D__x86_64__"
21111 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21114 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21115 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21116 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21117 echo $ECHO_N "(cached) $ECHO_C" >&6
21119 cat >conftest.
$ac_ext <<_ACEOF
21122 cat confdefs.h
>>conftest.
$ac_ext
21123 cat >>conftest.
$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21130 $EGREP "yes" >/dev
/null
2>&1; then
21131 ac_cv_cpp_def___ALPHA__
=yes
21133 ac_cv_cpp_def___ALPHA__
=no
21138 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21139 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21140 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21141 CFLAGS
="$CFLAGS -D__ALPHA__"
21142 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21145 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21146 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21147 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 cat >conftest.
$ac_ext <<_ACEOF
21153 cat confdefs.h
>>conftest.
$ac_ext
21154 cat >>conftest.
$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21161 $EGREP "yes" >/dev
/null
2>&1; then
21162 ac_cv_cpp_def___sparc__
=yes
21164 ac_cv_cpp_def___sparc__
=no
21169 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21170 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21171 if test $ac_cv_cpp_def___sparc__ = yes; then
21172 CFLAGS
="$CFLAGS -D__sparc__"
21173 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21176 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21177 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21178 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21179 echo $ECHO_N "(cached) $ECHO_C" >&6
21181 cat >conftest.
$ac_ext <<_ACEOF
21184 cat confdefs.h
>>conftest.
$ac_ext
21185 cat >>conftest.
$ac_ext <<_ACEOF
21186 /* end confdefs.h. */
21187 #ifndef __powerpc__
21191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21192 $EGREP "yes" >/dev
/null
2>&1; then
21193 ac_cv_cpp_def___powerpc__
=yes
21195 ac_cv_cpp_def___powerpc__
=no
21200 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21201 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21202 if test $ac_cv_cpp_def___powerpc__ = yes; then
21203 CFLAGS
="$CFLAGS -D__powerpc__"
21204 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21209 case $host_vendor in
21210 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21211 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21212 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 cat >conftest.
$ac_ext <<_ACEOF
21218 cat confdefs.h
>>conftest.
$ac_ext
21219 cat >>conftest.
$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21226 $EGREP "yes" >/dev
/null
2>&1; then
21227 ac_cv_cpp_def___sun__
=yes
21229 ac_cv_cpp_def___sun__
=no
21234 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21235 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21236 if test $ac_cv_cpp_def___sun__ = yes; then
21237 CFLAGS
="$CFLAGS -D__sun__"
21238 LINTFLAGS
="$LINTFLAGS -D__sun__"
21244 DEPENDENCIES
="### Dependencies:
21249 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21251 \$(OBJS): \$(IDL_GEN_HEADERS)
21252 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21253 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21254 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21260 ac_config_commands
="$ac_config_commands include/stamp-h"
21263 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21265 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21267 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21269 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21271 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21273 ac_config_commands
="$ac_config_commands include/wine"
21276 MAKE_RULES
=Make.rules
21279 MAKE_DLL_RULES
=dlls
/Makedll.rules
21282 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21285 MAKE_TEST_RULES
=dlls
/Maketest.rules
21288 MAKE_PROG_RULES
=programs
/Makeprog.rules
21291 ac_config_files
="$ac_config_files Make.rules"
21293 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21295 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21297 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21299 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21301 ac_config_files
="$ac_config_files Makefile"
21303 ac_config_files
="$ac_config_files dlls/Makefile"
21305 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21307 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21309 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21311 ac_config_files
="$ac_config_files dlls/adsiid/Makefile"
21313 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21315 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21317 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21319 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21321 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21323 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21325 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21327 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21329 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21331 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21333 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21335 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21337 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21339 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21341 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21343 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21345 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21347 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21349 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21351 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21353 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21355 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21357 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21359 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21361 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21363 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21365 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21367 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21369 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
21371 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
21373 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
21375 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
21377 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
21379 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
21381 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
21383 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
21385 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
21387 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
21389 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
21391 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
21393 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
21395 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
21397 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
21399 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
21401 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
21403 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
21405 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
21407 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
21409 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
21411 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
21413 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
21415 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
21417 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
21419 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
21421 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
21423 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
21425 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
21427 ac_config_files
="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21429 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
21431 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
21433 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
21435 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
21437 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
21439 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
21441 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
21443 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
21445 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
21447 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
21449 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
21451 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
21453 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
21455 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
21457 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
21459 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
21461 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
21463 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
21465 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
21467 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
21469 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
21471 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
21473 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
21475 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
21477 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
21479 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
21481 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
21483 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
21485 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
21487 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
21489 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
21491 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
21493 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
21495 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
21497 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
21499 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
21501 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
21503 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
21505 ac_config_files
="$ac_config_files dlls/fusion/Makefile"
21507 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
21509 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
21511 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
21513 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
21515 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
21517 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
21519 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
21521 ac_config_files
="$ac_config_files dlls/hal/Makefile"
21523 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
21525 ac_config_files
="$ac_config_files dlls/hid/Makefile"
21527 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
21529 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
21531 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
21533 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
21535 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
21537 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21539 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
21541 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
21543 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
21545 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
21547 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
21549 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
21551 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
21553 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
21555 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
21557 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
21559 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
21561 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
21563 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
21565 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
21567 ac_config_files
="$ac_config_files dlls/itss/Makefile"
21569 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
21571 ac_config_files
="$ac_config_files dlls/jscript/Makefile"
21573 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
21575 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
21577 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
21579 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
21581 ac_config_files
="$ac_config_files dlls/localui/Makefile"
21583 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
21585 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
21587 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
21589 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
21591 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
21593 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
21595 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
21597 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
21599 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
21601 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
21603 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
21605 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
21607 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21609 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
21611 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
21613 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
21615 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
21617 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
21619 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
21621 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
21623 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
21625 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
21627 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
21629 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
21631 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
21633 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
21635 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
21637 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
21639 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
21641 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
21643 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
21645 ac_config_files
="$ac_config_files dlls/msi/Makefile"
21647 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
21649 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
21651 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
21653 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
21655 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
21657 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
21659 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
21661 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
21663 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
21665 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
21667 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
21669 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
21671 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
21673 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
21675 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
21677 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
21679 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
21681 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
21683 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
21685 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
21687 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
21689 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
21691 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
21693 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
21695 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
21697 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
21699 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
21701 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
21703 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21705 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
21707 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
21709 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
21711 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
21713 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
21715 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
21717 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
21719 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
21721 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
21723 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
21725 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
21727 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
21729 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
21731 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
21733 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
21735 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
21737 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
21739 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
21741 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
21743 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
21745 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
21747 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21749 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
21751 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21753 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21755 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21757 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21759 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
21761 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
21763 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21765 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
21767 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21769 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21771 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21773 ac_config_files
="$ac_config_files dlls/query/Makefile"
21775 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21777 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21779 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21781 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21783 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21785 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21787 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21789 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21791 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21793 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
21795 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21797 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21799 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21801 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
21803 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21805 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21807 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21809 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21811 ac_config_files
="$ac_config_files dlls/security/Makefile"
21813 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21815 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21817 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21819 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21821 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21823 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21825 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21827 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21829 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21831 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21833 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21835 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21837 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21839 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21841 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21843 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
21845 ac_config_files
="$ac_config_files dlls/slc/Makefile"
21847 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21849 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21851 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
21853 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21855 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21857 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21859 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21861 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21863 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21865 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21867 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21869 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21871 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21873 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21875 ac_config_files
="$ac_config_files dlls/url/Makefile"
21877 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21879 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21881 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21883 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21885 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21887 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21889 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21891 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21893 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21895 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21897 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21899 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21901 ac_config_files
="$ac_config_files dlls/version/Makefile"
21903 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21905 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21907 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21909 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21911 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21913 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21915 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21917 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21919 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21921 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21923 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21925 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21927 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21929 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21931 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21933 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21935 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21937 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21939 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21941 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21943 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21945 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21947 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21949 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21951 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21953 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21955 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21957 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21959 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21961 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21963 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21965 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21967 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21969 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21971 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21973 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21975 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
21977 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21979 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21981 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21983 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21985 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21987 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21989 ac_config_files
="$ac_config_files documentation/Makefile"
21991 ac_config_files
="$ac_config_files fonts/Makefile"
21993 ac_config_files
="$ac_config_files include/Makefile"
21995 ac_config_files
="$ac_config_files libs/Makefile"
21997 ac_config_files
="$ac_config_files libs/port/Makefile"
21999 ac_config_files
="$ac_config_files libs/wine/Makefile"
22001 ac_config_files
="$ac_config_files libs/wpp/Makefile"
22003 ac_config_files
="$ac_config_files loader/Makefile"
22005 ac_config_files
="$ac_config_files programs/Makefile"
22007 ac_config_files
="$ac_config_files programs/clock/Makefile"
22009 ac_config_files
="$ac_config_files programs/cmd/Makefile"
22011 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
22013 ac_config_files
="$ac_config_files programs/control/Makefile"
22015 ac_config_files
="$ac_config_files programs/eject/Makefile"
22017 ac_config_files
="$ac_config_files programs/expand/Makefile"
22019 ac_config_files
="$ac_config_files programs/explorer/Makefile"
22021 ac_config_files
="$ac_config_files programs/hh/Makefile"
22023 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
22025 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
22027 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
22029 ac_config_files
="$ac_config_files programs/net/Makefile"
22031 ac_config_files
="$ac_config_files programs/notepad/Makefile"
22033 ac_config_files
="$ac_config_files programs/oleview/Makefile"
22035 ac_config_files
="$ac_config_files programs/progman/Makefile"
22037 ac_config_files
="$ac_config_files programs/reg/Makefile"
22039 ac_config_files
="$ac_config_files programs/regedit/Makefile"
22041 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
22043 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
22045 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
22047 ac_config_files
="$ac_config_files programs/secedit/Makefile"
22049 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
22051 ac_config_files
="$ac_config_files programs/start/Makefile"
22053 ac_config_files
="$ac_config_files programs/svchost/Makefile"
22055 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
22057 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
22059 ac_config_files
="$ac_config_files programs/view/Makefile"
22061 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
22063 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
22065 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
22067 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
22069 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
22071 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
22073 ac_config_files
="$ac_config_files programs/winefile/Makefile"
22075 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
22077 ac_config_files
="$ac_config_files programs/winemine/Makefile"
22079 ac_config_files
="$ac_config_files programs/winepath/Makefile"
22081 ac_config_files
="$ac_config_files programs/winetest/Makefile"
22083 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
22085 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
22087 ac_config_files
="$ac_config_files programs/winver/Makefile"
22089 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
22091 ac_config_files
="$ac_config_files programs/write/Makefile"
22093 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
22095 ac_config_files
="$ac_config_files server/Makefile"
22097 ac_config_files
="$ac_config_files tools/Makefile"
22099 ac_config_files
="$ac_config_files tools/widl/Makefile"
22101 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
22103 ac_config_files
="$ac_config_files tools/winedump/Makefile"
22105 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
22107 ac_config_files
="$ac_config_files tools/wmc/Makefile"
22109 ac_config_files
="$ac_config_files tools/wrc/Makefile"
22112 cat >confcache
<<\_ACEOF
22113 # This file is a shell script that caches the results of configure
22114 # tests run on this system so they can be shared between configure
22115 # scripts and configure runs, see configure's option --config-cache.
22116 # It is not useful on other systems. If it contains results you don't
22117 # want to keep, you may remove or edit it.
22119 # config.status only pays attention to the cache file if you give it
22120 # the --recheck option to rerun configure.
22122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22124 # following values.
22128 # The following way of writing the cache mishandles newlines in values,
22129 # but we know of no workaround that is simple, portable, and efficient.
22130 # So, we kill variables containing newlines.
22131 # Ultrix sh set writes to stderr and can't be redirected directly,
22132 # and sets the high bit in the cache file unless we assign to the vars.
22134 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22135 eval ac_val
=\$
$ac_var
22139 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22140 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22143 _ | IFS | as_nl
) ;; #(
22144 *) $as_unset $ac_var ;;
22150 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22151 *${as_nl}ac_space
=\
*)
22152 # `set' does not quote correctly, so add quotes (double-quote
22153 # substitution turns \\\\ into \\, and sed turns \\ into \).
22156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22159 # `set' quotes correctly as required by POSIX, so do not add quotes.
22160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22169 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22171 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22173 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22174 if test -w "$cache_file"; then
22175 test "x$cache_file" != "x/dev/null" &&
22176 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22177 echo "$as_me: updating cache $cache_file" >&6;}
22178 cat confcache
>$cache_file
22180 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22181 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22186 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22187 # Let make expand exec_prefix.
22188 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22190 DEFS
=-DHAVE_CONFIG_H
22194 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22195 # 1. Remove the extension, and $U if already installed.
22196 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22197 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22198 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22199 # will be set to the directory where LIBOBJS objects are built.
22200 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22201 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22203 LIBOBJS
=$ac_libobjs
22205 LTLIBOBJS
=$ac_ltlibobjs
22209 : ${CONFIG_STATUS=./config.status}
22210 ac_clean_files_save
=$ac_clean_files
22211 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22212 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22213 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22214 cat >$CONFIG_STATUS <<_ACEOF
22216 # Generated by $as_me.
22217 # Run this file to recreate the current configuration.
22218 # Compiler output produced by configure, useful for debugging
22219 # configure, is in config.log if it exists.
22222 ac_cs_recheck=false
22224 SHELL=\${CONFIG_SHELL-$SHELL}
22227 cat >>$CONFIG_STATUS <<\_ACEOF
22228 ## --------------------- ##
22229 ## M4sh Initialization. ##
22230 ## --------------------- ##
22232 # Be more Bourne compatible
22233 DUALCASE
=1; export DUALCASE
# for MKS sh
22234 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22237 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22238 # is contrary to our usage. Disable this feature.
22239 alias -g '${1+"$@"}'='"$@"'
22240 setopt NO_GLOB_SUBST
22242 case `(set -o) 2>/dev/null` in
22243 *posix
*) set -o posix
;;
22252 # Avoid depending upon Character Ranges.
22253 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22254 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22255 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22256 as_cr_digits
='0123456789'
22257 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22259 # The user is always right.
22260 if test "${PATH_SEPARATOR+set}" != set; then
22261 echo "#! /bin/sh" >conf$$.sh
22262 echo "exit 0" >>conf$$.sh
22264 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22272 # Support unset when possible.
22273 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22281 # We need space, tab and new line, in precisely that order. Quoting is
22282 # there to prevent editors from complaining about space-tab.
22283 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22284 # splitting by setting IFS to empty value.)
22289 # Find who we are. Look in the path if we contain no directory separator.
22291 *[\\/]* ) as_myself
=$0 ;;
22292 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22293 for as_dir
in $PATH
22296 test -z "$as_dir" && as_dir
=.
22297 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22303 # We did not find ourselves, most probably we were run as `sh COMMAND'
22304 # in which case we are not to be found in the path.
22305 if test "x$as_myself" = x
; then
22308 if test ! -f "$as_myself"; then
22309 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22310 { (exit 1); exit 1; }
22313 # Work around bugs in pre-3.0 UWIN ksh.
22314 for as_var
in ENV MAIL MAILPATH
22315 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22323 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22324 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22325 LC_TELEPHONE LC_TIME
22327 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22328 eval $as_var=C
; export $as_var
22330 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22334 # Required to use basename.
22335 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22336 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22342 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22343 as_basename
=basename
22349 # Name of the executable.
22350 as_me
=`$as_basename -- "$0" ||
22351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22352 X"$0" : 'X\(//\)$' \| \
22353 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22355 sed '/^.*\/\([^/][^/]*\)\/*$/{
22374 as_lineno_1
=$LINENO
22375 as_lineno_2
=$LINENO
22376 test "x$as_lineno_1" != "x$as_lineno_2" &&
22377 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22379 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22380 # uniformly replaced by the line number. The first 'sed' inserts a
22381 # line-number line after each line using $LINENO; the second 'sed'
22382 # does the real work. The second script uses 'N' to pair each
22383 # line-number line with the line containing $LINENO, and appends
22384 # trailing '-' during substitution so that $LINENO is not a special
22385 # case at line end.
22386 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22387 # scripts with optimization help from Paolo Bonzini. Blame Lee
22388 # E. McMahon (1931-1989) for sed's syntax. :-)
22400 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22403 ' >$as_me.lineno
&&
22404 chmod +x
"$as_me.lineno" ||
22405 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22406 { (exit 1); exit 1; }; }
22408 # Don't try to exec as it changes $[0], causing all sort of problems
22409 # (the dirname of $[0] is not the place where we might find the
22410 # original and so on. Autoconf is especially sensitive to this).
22411 .
"./$as_me.lineno"
22412 # Exit status is that of the last command.
22417 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22423 ECHO_C
= ECHO_N
= ECHO_T
=
22424 case `echo -n x` in
22426 case `echo 'x\c'` in
22427 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22434 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22435 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22441 rm -f conf$$ conf$$.exe conf$$.
file
22442 if test -d conf$$.dir
; then
22443 rm -f conf$$.dir
/conf$$.
file
22449 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22451 # ... but there are two gotchas:
22452 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22453 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22454 # In both cases, we have to default to `cp -p'.
22455 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22457 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22462 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22463 rmdir conf$$.dir
2>/dev
/null
22465 if mkdir
-p .
2>/dev
/null
; then
22468 test -d .
/-p && rmdir .
/-p
22472 if test -x / >/dev
/null
2>&1; then
22473 as_test_x
='test -x'
22475 if ls -dL / >/dev
/null
2>&1; then
22482 if test -d "$1"; then
22488 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22489 ???[sx]*):;;*)false;;esac;fi
22493 as_executable_p
=$as_test_x
22495 # Sed expression to map a string onto a valid CPP name.
22496 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22498 # Sed expression to map a string onto a valid variable name.
22499 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22504 # Save the log message, to keep $[0] and so on meaningful, and to
22505 # report actual input values of CONFIG_FILES etc. instead of their
22506 # values after options handling.
22508 This file was extended by Wine $as_me 0.9.58, which was
22509 generated by GNU Autoconf 2.61. Invocation command line was
22511 CONFIG_FILES = $CONFIG_FILES
22512 CONFIG_HEADERS = $CONFIG_HEADERS
22513 CONFIG_LINKS = $CONFIG_LINKS
22514 CONFIG_COMMANDS = $CONFIG_COMMANDS
22517 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22522 cat >>$CONFIG_STATUS <<_ACEOF
22523 # Files that config.status was made for.
22524 config_files="$ac_config_files"
22525 config_headers="$ac_config_headers"
22526 config_commands="$ac_config_commands"
22530 cat >>$CONFIG_STATUS <<\_ACEOF
22532 \`$as_me' instantiates files from templates according to the
22533 current configuration.
22535 Usage: $0 [OPTIONS] [FILE]...
22537 -h, --help print this help, then exit
22538 -V, --version print version number and configuration settings, then exit
22539 -q, --quiet do not print progress messages
22540 -d, --debug don't remove temporary files
22541 --recheck update $as_me by reconfiguring in the same conditions
22542 --file=FILE[:TEMPLATE]
22543 instantiate the configuration file FILE
22544 --header=FILE[:TEMPLATE]
22545 instantiate the configuration header FILE
22547 Configuration files:
22550 Configuration headers:
22553 Configuration commands:
22556 Report bugs to <bug-autoconf@gnu.org>."
22559 cat >>$CONFIG_STATUS <<_ACEOF
22561 Wine config.status 0.9.58
22562 configured by $0, generated by GNU Autoconf 2.61,
22563 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22565 Copyright (C) 2006 Free Software Foundation, Inc.
22566 This config.status script is free software; the Free Software Foundation
22567 gives unlimited permission to copy, distribute and modify it."
22574 cat >>$CONFIG_STATUS <<\_ACEOF
22575 # If no file are specified by the user, then we need to provide default
22576 # value. By we need to know if files were specified by the user.
22582 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22583 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22594 # Handling of the options.
22595 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22597 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22598 echo "$ac_cs_version"; exit ;;
22599 --debug |
--debu |
--deb |
--de |
--d |
-d )
22601 --file |
--fil |
--fi |
--f )
22603 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22604 ac_need_defaults
=false
;;
22605 --header |
--heade |
--head |
--hea )
22607 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22608 ac_need_defaults
=false
;;
22610 # Conflict between --help and --header
22611 { echo "$as_me: error: ambiguous option: $1
22612 Try \`$0 --help' for more information." >&2
22613 { (exit 1); exit 1; }; };;
22614 --help |
--hel |
-h )
22615 echo "$ac_cs_usage"; exit ;;
22616 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22617 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22620 # This is an error.
22621 -*) { echo "$as_me: error: unrecognized option: $1
22622 Try \`$0 --help' for more information." >&2
22623 { (exit 1); exit 1; }; } ;;
22625 *) ac_config_targets
="$ac_config_targets $1"
22626 ac_need_defaults
=false
;;
22632 ac_configure_extra_args
=
22634 if $ac_cs_silent; then
22636 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22640 cat >>$CONFIG_STATUS <<_ACEOF
22641 if \$ac_cs_recheck; then
22642 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22643 CONFIG_SHELL=$SHELL
22644 export CONFIG_SHELL
22645 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22649 cat >>$CONFIG_STATUS <<\_ACEOF
22653 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22654 ## Running $as_me. ##
22660 cat >>$CONFIG_STATUS <<_ACEOF
22663 cat >>$CONFIG_STATUS <<\_ACEOF
22665 # Handling of arguments.
22666 for ac_config_target
in $ac_config_targets
22668 case $ac_config_target in
22669 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22670 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22671 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22672 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22673 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22674 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22675 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22676 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22677 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22678 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22679 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22680 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22681 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22682 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22683 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22684 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22685 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22686 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22687 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22688 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22689 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22690 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22691 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22692 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22693 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22694 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22695 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22696 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22697 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22698 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22699 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22700 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22701 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22702 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22703 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22704 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22705 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22706 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22707 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22708 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22709 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22710 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22711 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22712 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22713 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22714 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22715 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22716 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22717 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22718 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22719 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22720 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22721 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22722 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22723 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22724 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22725 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22726 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22727 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22728 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22729 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22730 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22731 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22732 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22733 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22734 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22735 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22736 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22737 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22738 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22739 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22740 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22741 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22742 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22743 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22744 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22745 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22746 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22747 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22748 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22749 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22750 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22751 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22752 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22753 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22754 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22755 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22756 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22757 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22758 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22759 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22760 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22761 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22762 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22763 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22764 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22765 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22766 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22767 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22768 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22769 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22770 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22771 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22772 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22773 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22774 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22775 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22776 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22777 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22778 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22779 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22780 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22781 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22782 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22783 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22784 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
22785 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22786 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22787 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22788 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22789 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22790 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22791 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22792 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22793 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22794 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22795 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22796 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22797 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22798 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22799 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22800 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22801 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22802 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22803 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22804 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22805 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22806 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22807 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22808 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22809 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
22810 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22811 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22812 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22813 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22814 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
22815 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22816 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22817 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
22818 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22819 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22820 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22821 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22822 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22823 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22824 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22825 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22826 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22827 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22828 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22829 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22830 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22831 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22832 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22833 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22834 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22835 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22836 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22837 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22838 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22839 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22840 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22841 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22842 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22843 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22844 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22845 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22846 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22847 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22848 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22849 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22850 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22851 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22852 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22853 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22854 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22855 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22856 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22857 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22858 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22859 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22860 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22861 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22862 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22863 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22864 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22865 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22866 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22867 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22868 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22869 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22870 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22871 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22872 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22873 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22874 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22875 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22876 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22877 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22878 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22879 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22880 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22881 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22882 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22883 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22884 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22885 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22886 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22887 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22888 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22889 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22890 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22891 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22892 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22893 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22894 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22895 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22896 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22897 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22898 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22899 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22900 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22901 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22902 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22903 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22904 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22905 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22906 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
22907 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22908 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22909 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22910 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22911 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
22912 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22913 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22914 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22915 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22916 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22917 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22918 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22919 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22920 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22921 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22922 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22923 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22924 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22925 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22926 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22927 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22928 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22929 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22930 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22931 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22932 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22933 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22934 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22935 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22936 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22937 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22938 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22939 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22940 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22941 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22942 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22943 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22944 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22945 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22946 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22947 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22948 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22949 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22950 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22951 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22952 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22953 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22954 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
22955 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22956 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22957 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
22958 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22959 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22960 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22961 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22962 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22963 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22964 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22965 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22966 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22967 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22968 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22969 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22970 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22971 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22972 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22973 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22974 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22975 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22976 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22977 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22978 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22979 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22980 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22981 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22982 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22983 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22984 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22985 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22986 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22987 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22988 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22989 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22990 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22991 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22992 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22993 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22994 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22995 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22996 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22997 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22998 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22999 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23000 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23001 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23002 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23003 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23004 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23005 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23006 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23007 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23008 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23009 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23010 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23011 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23012 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23013 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23014 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23015 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23016 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23017 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23018 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23019 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23020 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23021 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23022 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23023 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23024 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23025 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23026 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23027 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23028 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23029 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23030 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23031 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23032 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23033 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23034 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23035 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23036 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23037 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23038 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23039 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23040 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23041 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23042 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23043 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23044 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23045 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23046 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23047 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23048 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23049 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23050 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23051 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23052 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23053 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23054 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23055 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23056 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23057 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23058 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23059 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23060 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23061 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23062 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23063 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23064 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23065 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23066 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23067 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23068 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23069 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23070 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23071 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23072 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23073 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23074 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
23075 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23076 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23077 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23078 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23079 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23080 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23081 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23082 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23083 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23084 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23085 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23086 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23088 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23089 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23090 { (exit 1); exit 1; }; };;
23095 # If the user did not use the arguments to specify the items to instantiate,
23096 # then the envvar interface is used. Set only those that are not.
23097 # We use the long form for the default assignment because of an extremely
23098 # bizarre bug on SunOS 4.1.3.
23099 if $ac_need_defaults; then
23100 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23101 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23102 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23105 # Have a temporary directory for convenience. Make it in the build tree
23106 # simply because there is no reason against having it here, and in addition,
23107 # creating and moving files from /tmp can sometimes cause problems.
23108 # Hook for its removal unless debugging.
23109 # Note that there is a small window in which the directory will not be cleaned:
23110 # after its creation but before its name has been assigned to `$tmp'.
23114 trap 'exit_status=$?
23115 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23117 trap '{ (exit 1); exit 1; }' 1 2 13 15
23119 # Create a (secure) tmp directory for tmp files.
23122 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23123 test -n "$tmp" && test -d "$tmp"
23126 tmp
=.
/conf$$
-$RANDOM
23127 (umask 077 && mkdir
"$tmp")
23130 echo "$me: cannot create a temporary directory in ." >&2
23131 { (exit 1); exit 1; }
23135 # Set up the sed scripts for CONFIG_FILES section.
23138 # No need to generate the scripts if there are no CONFIG_FILES.
23139 # This happens for instance when ./config.status config.h
23140 if test -n "$CONFIG_FILES"; then
23144 # Create sed commands to just substitute file output variables.
23146 # Remaining file output variables are in a fragment that also has non-file
23152 for ac_last_try
in false false false false false
:; do
23153 cat >conf$
$subs.
sed <<_ACEOF
23154 SHELL!$SHELL$ac_delim
23155 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23156 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23157 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23158 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23159 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23160 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23161 exec_prefix!$exec_prefix$ac_delim
23162 prefix!$prefix$ac_delim
23163 program_transform_name!$program_transform_name$ac_delim
23164 bindir!$bindir$ac_delim
23165 sbindir!$sbindir$ac_delim
23166 libexecdir!$libexecdir$ac_delim
23167 datarootdir!$datarootdir$ac_delim
23168 datadir!$datadir$ac_delim
23169 sysconfdir!$sysconfdir$ac_delim
23170 sharedstatedir!$sharedstatedir$ac_delim
23171 localstatedir!$localstatedir$ac_delim
23172 includedir!$includedir$ac_delim
23173 oldincludedir!$oldincludedir$ac_delim
23174 docdir!$docdir$ac_delim
23175 infodir!$infodir$ac_delim
23176 htmldir!$htmldir$ac_delim
23177 dvidir!$dvidir$ac_delim
23178 pdfdir!$pdfdir$ac_delim
23179 psdir!$psdir$ac_delim
23180 libdir!$libdir$ac_delim
23181 localedir!$localedir$ac_delim
23182 mandir!$mandir$ac_delim
23183 DEFS!$DEFS$ac_delim
23184 ECHO_C!$ECHO_C$ac_delim
23185 ECHO_N!$ECHO_N$ac_delim
23186 ECHO_T!$ECHO_T$ac_delim
23187 LIBS!$LIBS$ac_delim
23188 build_alias!$build_alias$ac_delim
23189 host_alias!$host_alias$ac_delim
23190 target_alias!$target_alias$ac_delim
23191 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23192 build!$build$ac_delim
23193 build_cpu!$build_cpu$ac_delim
23194 build_vendor!$build_vendor$ac_delim
23195 build_os!$build_os$ac_delim
23196 host!$host$ac_delim
23197 host_cpu!$host_cpu$ac_delim
23198 host_vendor!$host_vendor$ac_delim
23199 host_os!$host_os$ac_delim
23200 WIN16_FILES!$WIN16_FILES$ac_delim
23201 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23202 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23203 WINETEST!$WINETEST$ac_delim
23204 SET_MAKE!$SET_MAKE$ac_delim
23206 CFLAGS!$CFLAGS$ac_delim
23207 LDFLAGS!$LDFLAGS$ac_delim
23208 CPPFLAGS!$CPPFLAGS$ac_delim
23209 ac_ct_CC!$ac_ct_CC$ac_delim
23210 EXEEXT!$EXEEXT$ac_delim
23211 OBJEXT!$OBJEXT$ac_delim
23213 CXXFLAGS!$CXXFLAGS$ac_delim
23214 ac_ct_CXX!$ac_ct_CXX$ac_delim
23215 CPPBIN!$CPPBIN$ac_delim
23216 TOOLSDIR!$TOOLSDIR$ac_delim
23217 XMKMF!$XMKMF$ac_delim
23219 X_CFLAGS!$X_CFLAGS$ac_delim
23220 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23221 X_LIBS!$X_LIBS$ac_delim
23222 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23223 FLEX!$FLEX$ac_delim
23224 BISON!$BISON$ac_delim
23226 ac_ct_AS!$ac_ct_AS$ac_delim
23229 ARFLAGS!$ARFLAGS$ac_delim
23230 RANLIB!$RANLIB$ac_delim
23231 STRIP!$STRIP$ac_delim
23232 WINDRES!$WINDRES$ac_delim
23233 LN_S!$LN_S$ac_delim
23235 GREP!$GREP$ac_delim
23238 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23240 elif $ac_last_try; then
23241 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23242 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23243 { (exit 1); exit 1; }; }
23245 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23249 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23250 if test -n "$ac_eof"; then
23251 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23252 ac_eof
=`expr $ac_eof + 1`
23255 cat >>$CONFIG_STATUS <<_ACEOF
23256 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23258 /^[ ]*@MAKE_RULES@[ ]*$/{
23262 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23266 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23267 r $MAKE_IMPLIB_RULES
23270 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23274 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23280 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23281 s/^/s,@/; s/!/@,|#_!!_#|/
23284 s/'"$ac_delim"'$/,g/; t
23286 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23287 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23288 rm -f conf$
$subs.
sed
23289 cat >>$CONFIG_STATUS <<_ACEOF
23295 for ac_last_try
in false false false false false
:; do
23296 cat >conf$
$subs.
sed <<_ACEOF
23297 EGREP!$EGREP$ac_delim
23298 LDCONFIG!$LDCONFIG$ac_delim
23299 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23300 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23301 INSTALL_DATA!$INSTALL_DATA$ac_delim
23302 LINT!$LINT$ac_delim
23303 LINTFLAGS!$LINTFLAGS$ac_delim
23304 FONTFORGE!$FONTFORGE$ac_delim
23305 PKG_CONFIG!$PKG_CONFIG$ac_delim
23306 RSVG!$RSVG$ac_delim
23307 ICOTOOL!$ICOTOOL$ac_delim
23308 PRELINK!$PRELINK$ac_delim
23309 LIBPTHREAD!$LIBPTHREAD$ac_delim
23310 XLIB!$XLIB$ac_delim
23311 XFILES!$XFILES$ac_delim
23312 OPENGLFILES!$OPENGLFILES$ac_delim
23313 GLU32FILES!$GLU32FILES$ac_delim
23314 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23315 QUARTZFILES!$QUARTZFILES$ac_delim
23316 DLLEXT!$DLLEXT$ac_delim
23317 DLLFLAGS!$DLLFLAGS$ac_delim
23318 LDSHARED!$LDSHARED$ac_delim
23319 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23320 LIBEXT!$LIBEXT$ac_delim
23321 IMPLIBEXT!$IMPLIBEXT$ac_delim
23322 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23323 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23325 DLLTOOL!$DLLTOOL$ac_delim
23326 DLLWRAP!$DLLWRAP$ac_delim
23327 MINGWAR!$MINGWAR$ac_delim
23328 SECURITYLIB!$SECURITYLIB$ac_delim
23329 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23330 IOKITLIB!$IOKITLIB$ac_delim
23331 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23332 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23333 COREAUDIO!$COREAUDIO$ac_delim
23334 CARBONLIB!$CARBONLIB$ac_delim
23335 CROSSTEST!$CROSSTEST$ac_delim
23336 CROSSCC!$CROSSCC$ac_delim
23337 CROSSWINDRES!$CROSSWINDRES$ac_delim
23338 NASLIBS!$NASLIBS$ac_delim
23339 XML2LIBS!$XML2LIBS$ac_delim
23340 XML2INCL!$XML2INCL$ac_delim
23341 XSLTLIBS!$XSLTLIBS$ac_delim
23342 XSLTINCL!$XSLTINCL$ac_delim
23343 HALINCL!$HALINCL$ac_delim
23344 sane_devel!$sane_devel$ac_delim
23345 SANEINCL!$SANEINCL$ac_delim
23346 gphoto2_devel!$gphoto2_devel$ac_delim
23347 gphoto2port_devel!$gphoto2port_devel$ac_delim
23348 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23349 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23350 RESOLVLIBS!$RESOLVLIBS$ac_delim
23351 LCMSLIBS!$LCMSLIBS$ac_delim
23352 LDAPLIBS!$LDAPLIBS$ac_delim
23353 ft_devel!$ft_devel$ac_delim
23354 FREETYPELIBS!$FREETYPELIBS$ac_delim
23355 FREETYPEINCL!$FREETYPEINCL$ac_delim
23356 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23357 ESDCONFIG!$ESDCONFIG$ac_delim
23358 ESDLIBS!$ESDLIBS$ac_delim
23359 ESDINCL!$ESDINCL$ac_delim
23360 ALSALIBS!$ALSALIBS$ac_delim
23361 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23362 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23363 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23364 BUILTINFLAG!$BUILTINFLAG$ac_delim
23365 LDPATH!$LDPATH$ac_delim
23366 CRTLIBS!$CRTLIBS$ac_delim
23367 SOCKETLIBS!$SOCKETLIBS$ac_delim
23368 MAIN_BINARY!$MAIN_BINARY$ac_delim
23369 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23370 LIBDL!$LIBDL$ac_delim
23371 LIBPOLL!$LIBPOLL$ac_delim
23372 DEPENDENCIES!$DEPENDENCIES$ac_delim
23373 LIBOBJS!$LIBOBJS$ac_delim
23374 LTLIBOBJS!$LTLIBOBJS$ac_delim
23377 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23379 elif $ac_last_try; then
23380 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23381 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23382 { (exit 1); exit 1; }; }
23384 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23388 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23389 if test -n "$ac_eof"; then
23390 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23391 ac_eof
=`expr $ac_eof + 1`
23394 cat >>$CONFIG_STATUS <<_ACEOF
23395 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23399 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23400 s/^/s,@/; s/!/@,|#_!!_#|/
23403 s/'"$ac_delim"'$/,g/; t
23405 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23406 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23407 rm -f conf$
$subs.
sed
23408 cat >>$CONFIG_STATUS <<_ACEOF
23415 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23416 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23417 # trailing colons and then remove the whole line if VPATH becomes empty
23418 # (actually we leave an empty line to preserve line numbers).
23419 if test "x$srcdir" = x.
; then
23420 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23421 s/:*\$(srcdir):*/:/
23422 s/:*\${srcdir}:*/:/
23424 s/^\([^=]*=[ ]*\):*/\1/
23430 cat >>$CONFIG_STATUS <<\_ACEOF
23431 fi # test -n "$CONFIG_FILES"
23434 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23437 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23439 case $ac_mode$ac_tag in
23441 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23442 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23443 { (exit 1); exit 1; }; };;
23444 :[FH
]-) ac_tag
=-:-;;
23445 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23462 -) ac_f
="$tmp/stdin";;
23463 *) # Look for the file first in the build tree, then in the source tree
23464 # (if the path is not absolute). The absolute path cannot be DOS-style,
23465 # because $ac_f cannot contain `:'.
23469 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23471 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23472 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23473 { (exit 1); exit 1; }; };;
23475 ac_file_inputs
="$ac_file_inputs $ac_f"
23478 # Let's still pretend it is `configure' which instantiates (i.e., don't
23479 # use $as_me), people would be surprised to read:
23480 # /* config.h. Generated by config.status. */
23481 configure_input
="Generated from "`IFS=:
23482 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23483 if test x
"$ac_file" != x-
; then
23484 configure_input
="$ac_file. $configure_input"
23485 { echo "$as_me:$LINENO: creating $ac_file" >&5
23486 echo "$as_me: creating $ac_file" >&6;}
23490 *:-:* |
*:-) cat >"$tmp/stdin";;
23495 ac_dir
=`$as_dirname -- "$ac_file" ||
23496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23497 X"$ac_file" : 'X\(//\)[^/]' \| \
23498 X"$ac_file" : 'X\(//\)$' \| \
23499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23505 /^X\(\/\/\)[^/].*/{
23520 -*) as_dir
=.
/$as_dir;;
23522 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23526 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23527 *) as_qdir
=$as_dir;;
23529 as_dirs
="'$as_qdir' $as_dirs"
23530 as_dir
=`$as_dirname -- "$as_dir" ||
23531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23532 X"$as_dir" : 'X\(//\)[^/]' \| \
23533 X"$as_dir" : 'X\(//\)$' \| \
23534 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23540 /^X\(\/\/\)[^/].*/{
23553 test -d "$as_dir" && break
23555 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23556 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23557 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23558 { (exit 1); exit 1; }; }; }
23562 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23564 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23565 # A ".." for each directory in $ac_dir_suffix.
23566 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23567 case $ac_top_builddir_sub in
23568 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23569 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23572 ac_abs_top_builddir
=$ac_pwd
23573 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23574 # for backward compatibility:
23575 ac_top_builddir
=$ac_top_build_prefix
23578 .
) # We are building in place.
23580 ac_top_srcdir
=$ac_top_builddir_sub
23581 ac_abs_top_srcdir
=$ac_pwd ;;
23582 [\\/]* | ?
:[\\/]* ) # Absolute name.
23583 ac_srcdir
=$srcdir$ac_dir_suffix;
23584 ac_top_srcdir
=$srcdir
23585 ac_abs_top_srcdir
=$srcdir ;;
23586 *) # Relative name.
23587 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23588 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23589 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23591 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23601 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23602 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23606 cat >>$CONFIG_STATUS <<\_ACEOF
23607 # If the template does not know about datarootdir, expand it.
23608 # FIXME: This hack should be removed a few years after 2.60.
23609 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23611 case `sed -n '/datarootdir/ {
23620 ' $ac_file_inputs` in
23621 *datarootdir
*) ac_datarootdir_seen
=yes;;
23622 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23623 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23624 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23626 cat >>$CONFIG_STATUS <<_ACEOF
23627 ac_datarootdir_hack='
23628 s&@datadir@&$datadir&g
23629 s&@docdir@&$docdir&g
23630 s&@infodir@&$infodir&g
23631 s&@localedir@&$localedir&g
23632 s&@mandir@&$mandir&g
23633 s&\\\${datarootdir}&$datarootdir&g' ;;
23637 # Neutralize VPATH when `$srcdir' = `.'.
23638 # Shell code in configure.ac might set extrasub.
23639 # FIXME: do we really want to maintain this feature?
23640 cat >>$CONFIG_STATUS <<_ACEOF
23644 cat >>$CONFIG_STATUS <<\_ACEOF
23646 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23647 s
&@configure_input@
&$configure_input&;t t
23648 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23649 s
&@srcdir@
&$ac_srcdir&;t t
23650 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23651 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23652 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23653 s
&@builddir@
&$ac_builddir&;t t
23654 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23655 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23656 s
&@INSTALL@
&$ac_INSTALL&;t t
23657 $ac_datarootdir_hack
23658 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23660 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23661 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23662 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23663 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23664 which seems to be undefined. Please make sure it is defined." >&5
23665 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23666 which seems to be undefined. Please make sure it is defined." >&2;}
23670 -) cat "$tmp/out"; rm -f "$tmp/out";;
23671 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23680 # Transform confdefs.h into a sed script `conftest.defines', that
23681 # substitutes the proper values into config.h.in to produce config.h.
23682 rm -f conftest.defines conftest.
tail
23683 # First, append a space to every undef/define line, to ease matching.
23684 echo 's/$/ /' >conftest.defines
23685 # Then, protect against being on the right side of a sed subst, or in
23686 # an unquoted here document, in config.status. If some macros were
23687 # called several times there might be several #defines for the same
23688 # symbol, which is useless. But do not sort them, since the last
23689 # AC_DEFINE must be honored.
23690 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23691 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23692 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23693 # PARAMS is the parameter list in the macro definition--in most cases, it's
23694 # just an empty string.
23695 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23696 ac_dB
='\\)[ (].*,\\1define\\2'
23704 s/^[ ]*#[ ]*define[ ][ ]*//
23709 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23710 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23711 ' >>conftest.defines
23713 # Remove the space that was appended to ease matching.
23714 # Then replace #undef with comments. This is necessary, for
23715 # example, in the case of _POSIX_SOURCE, which is predefined and required
23716 # on some systems where configure will not decide to define it.
23717 # (The regexp can be short, since the line contains either #define or #undef.)
23719 s,^[ #]*u.*,/* & */,' >>conftest.defines
23721 # Break up conftest.defines:
23722 ac_max_sed_lines
=50
23724 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23725 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23726 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23728 ac_in
='$ac_file_inputs'
23729 ac_out
='"$tmp/out1"'
23730 ac_nxt
='"$tmp/out2"'
23734 # Write a here document:
23735 cat >>$CONFIG_STATUS <<_ACEOF
23736 # First, check the format of the line:
23737 cat >"\$tmp/defines.sed" <<\\CEOF
23738 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23739 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23743 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23745 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23746 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23747 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23748 grep . conftest.
tail >/dev
/null ||
break
23749 rm -f conftest.defines
23750 mv conftest.
tail conftest.defines
23752 rm -f conftest.defines conftest.
tail
23754 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23755 cat >>$CONFIG_STATUS <<\_ACEOF
23756 if test x
"$ac_file" != x-
; then
23757 echo "/* $configure_input */" >"$tmp/config.h"
23758 cat "$ac_result" >>"$tmp/config.h"
23759 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23760 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23761 echo "$as_me: $ac_file is unchanged" >&6;}
23764 mv "$tmp/config.h" $ac_file
23767 echo "/* $configure_input */"
23773 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23774 echo "$as_me: executing $ac_file commands" >&6;}
23779 case $ac_file$ac_mode in
23780 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23781 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23782 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
23783 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23784 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
23785 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23786 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
23787 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23788 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
23789 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23790 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
23791 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
23792 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23798 { (exit 0); exit 0; }
23800 chmod +x
$CONFIG_STATUS
23801 ac_clean_files
=$ac_clean_files_save
23804 # configure is writing to config.log, and then calls config.status.
23805 # config.status does its own redirection, appending to config.log.
23806 # Unfortunately, on DOS this fails, as config.log is still kept open
23807 # by configure, so config.status won't be able to write to it; its
23808 # output is simply discarded. So we exec the FD to /dev/null,
23809 # effectively closing config.log, so it can be properly (re)opened and
23810 # appended to by config.status. When coming back to configure, we
23811 # need to make the FD available again.
23812 if test "$no_create" != yes; then
23814 ac_config_status_args
=
23815 test "$silent" = yes &&
23816 ac_config_status_args
="$ac_config_status_args --quiet"
23818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23821 # would make configure fail if this is the last instruction.
23822 $ac_cs_success ||
{ (exit 1); exit 1; }
23826 if test "$no_create" = "yes"
23833 if test "x$wine_notices != "x
; then
23835 for msg
in $wine_notices; do
23836 if test -n "$msg"; then
23837 { echo "$as_me:$LINENO: $msg" >&5
23838 echo "$as_me: $msg" >&6;}
23842 for msg
in $wine_warnings; do
23843 if test -n "$msg"; then
23845 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23846 echo "$as_me: WARNING: $msg" >&2;}
23852 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.