2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.37.
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.37'
578 PACKAGE_STRING
='Wine 0.9.37'
579 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
581 ac_unique_file
="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
773 ac_subst_files
='MAKE_RULES
778 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name
=s
,x
,x
,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir
='${exec_prefix}/bin'
820 sbindir
='${exec_prefix}/sbin'
821 libexecdir
='${exec_prefix}/libexec'
822 datarootdir
='${prefix}/share'
823 datadir
='${datarootdir}'
824 sysconfdir
='${prefix}/etc'
825 sharedstatedir
='${prefix}/com'
826 localstatedir
='${prefix}/var'
827 includedir
='${prefix}/include'
828 oldincludedir
='/usr/include'
829 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir
='${datarootdir}/info'
835 libdir
='${exec_prefix}/lib'
836 localedir
='${datarootdir}/locale'
837 mandir
='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\
$ac_option
851 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_
$ac_feature=no
;;
902 -docdir |
--docdir |
--docdi |
--doc |
--do)
904 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
907 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
909 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
912 -enable-* |
--enable-*)
913 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_
$ac_feature=\
$ac_optarg ;;
921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
923 |
--exec |
--exe |
--ex)
924 ac_prev
=exec_prefix
;;
925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
927 |
--exec=* |
--exe=* |
--ex=*)
928 exec_prefix
=$ac_optarg ;;
930 -gas |
--gas |
--ga |
--g)
931 # Obsolete; use --with-gas.
934 -help |
--help |
--hel |
--he |
-h)
936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
937 ac_init_help
=recursive
;;
938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
939 ac_init_help
=short
;;
941 -host |
--host |
--hos |
--ho)
942 ac_prev
=host_alias
;;
943 -host=* |
--host=* |
--hos=* |
--ho=*)
944 host_alias
=$ac_optarg ;;
946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
950 htmldir
=$ac_optarg ;;
952 -includedir |
--includedir |
--includedi |
--included |
--include \
953 |
--includ |
--inclu |
--incl |
--inc)
954 ac_prev
=includedir
;;
955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
957 includedir
=$ac_optarg ;;
959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
962 infodir
=$ac_optarg ;;
964 -libdir |
--libdir |
--libdi |
--libd)
966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
970 |
--libexe |
--libex |
--libe)
971 ac_prev
=libexecdir
;;
972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
973 |
--libexe=* |
--libex=* |
--libe=*)
974 libexecdir
=$ac_optarg ;;
976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
979 localedir
=$ac_optarg ;;
981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
983 ac_prev
=localstatedir
;;
984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
986 localstatedir
=$ac_optarg ;;
988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
994 # Obsolete; use --without-fp.
997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
998 |
--no-cr |
--no-c |
-n)
1001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1007 |
--oldin |
--oldi |
--old |
--ol |
--o)
1008 ac_prev
=oldincludedir
;;
1009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1012 oldincludedir
=$ac_optarg ;;
1014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1017 prefix
=$ac_optarg ;;
1019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1020 |
--program-pre |
--program-pr |
--program-p)
1021 ac_prev
=program_prefix
;;
1022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1024 program_prefix
=$ac_optarg ;;
1026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1027 |
--program-suf |
--program-su |
--program-s)
1028 ac_prev
=program_suffix
;;
1029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1031 program_suffix
=$ac_optarg ;;
1033 -program-transform-name |
--program-transform-name \
1034 |
--program-transform-nam |
--program-transform-na \
1035 |
--program-transform-n |
--program-transform- \
1036 |
--program-transform |
--program-transfor \
1037 |
--program-transfo |
--program-transf \
1038 |
--program-trans |
--program-tran \
1039 |
--progr-tra |
--program-tr |
--program-t)
1040 ac_prev
=program_transform_name
;;
1041 -program-transform-name=* |
--program-transform-name=* \
1042 |
--program-transform-nam=* |
--program-transform-na=* \
1043 |
--program-transform-n=* |
--program-transform-=* \
1044 |
--program-transform=* |
--program-transfor=* \
1045 |
--program-transfo=* |
--program-transf=* \
1046 |
--program-trans=* |
--program-tran=* \
1047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1048 program_transform_name
=$ac_optarg ;;
1050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1053 pdfdir
=$ac_optarg ;;
1055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1064 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1066 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1068 sbindir
=$ac_optarg ;;
1070 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1071 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1072 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1074 ac_prev
=sharedstatedir
;;
1075 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1076 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1077 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1079 sharedstatedir
=$ac_optarg ;;
1081 -site |
--site |
--sit)
1083 -site=* |
--site=* |
--sit=*)
1086 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1088 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1089 srcdir
=$ac_optarg ;;
1091 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1092 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1093 ac_prev
=sysconfdir
;;
1094 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1095 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1096 sysconfdir
=$ac_optarg ;;
1098 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1099 ac_prev
=target_alias
;;
1100 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1101 target_alias
=$ac_optarg ;;
1103 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1106 -version |
--version |
--versio |
--versi |
--vers |
-V)
1107 ac_init_version
=: ;;
1110 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_
$ac_package=\
$ac_optarg ;;
1118 -without-* |
--without-*)
1119 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_
$ac_package=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1151 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val
=\$
$ac_var
1184 [\\/$
]* | ?
:[\\/]* ) continue;;
1185 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures Wine 0.9.37 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --x-includes=DIR X include files are
in DIR
1352 --x-libraries=DIR X library files are
in DIR
1355 --build=BUILD configure
for building on BUILD
[guessed
]
1356 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive
) echo "Configuration of Wine 0.9.37:";;
1367 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1368 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1372 --disable-tests do not build the testsuites
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to
help
1395 it to
find libraries and programs with nonstandard names
/locations.
1397 Report bugs to
<wine-devel@winehq.org
>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1405 test -d "$ac_dir" ||
continue
1409 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1411 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1416 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir
=$ac_pwd
1420 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir
=$ac_top_build_prefix
1425 .
) # We are building in place.
1427 ac_top_srcdir
=$ac_top_builddir_sub
1428 ac_abs_top_srcdir
=$ac_pwd ;;
1429 [\\/]* | ?
:[\\/]* ) # Absolute name.
1430 ac_srcdir
=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir
=$srcdir
1432 ac_abs_top_srcdir
=$srcdir ;;
1434 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure
0.9.37
1459 generated by GNU Autoconf
2.61
1461 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1463 This configure
script is free software
; the Free Software Foundation
1464 gives unlimited permission to copy
, distribute and modify it.
1468 cat >config.log
<<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.37, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next
=false
1539 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1541 |
-silent |
--silent |
--silen |
--sile |
--sil)
1544 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true
; then
1551 ac_must_keep_next
=false
# Got value, back to normal.
1554 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1555 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1556 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1557 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next
=true
;;
1565 ac_configure_args
="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1571 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var
in $ac_subst_files
1645 eval ac_val
=\$
$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal
in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest
* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h
<<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h
<<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x
"$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE
; then
1712 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x
"$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1736 *) .
"./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted
=false
1748 for ac_var
in $ac_precious_vars; do
1749 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1750 eval ac_new_set
=\
$ac_env_${ac_var}_set
1751 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1752 eval ac_new_val
=\
$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted
=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted
=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted
=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg
=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp
='$CPP $CPPFLAGS'
1820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1826 ac_config_headers
="$ac_config_headers include/config.h"
1829 for ac_dir
in tools
"$srcdir"/tools
; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh
="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh
="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh
="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval
=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval
=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval
=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval
=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval
=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 ac_build_alias
=$build_alias
1902 test "x$ac_build_alias" = x
&&
1903 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x
&&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1923 ac_save_IFS
=$IFS; IFS
='-'
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1933 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test "x$host_alias" = x
; then
1942 ac_cv_host
=$ac_cv_build
1944 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1960 ac_save_IFS
=$IFS; IFS
='-'
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1970 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1975 if test "x$enable_win64" != "xyes"
1977 test -n "$CC" || CC
="gcc -m32"
1978 test -n "$LD" || LD
="ld -m elf_i386"
1979 test -n "$AS" || AS
="as --32"
1987 if test "x$enable_win16" != "xno"
1994 WIN16_FILES
="\$(WIN16_FILES)"
1996 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1998 if test "x$enable_win16" != "xyes"
2004 if test "x$enable_tests" == "xno"
2011 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2019 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2020 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2021 You need to run 'make distclean' in the source tree first." >&5
2022 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&2;}
2024 { (exit 1); exit 1; }; }
2029 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2030 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2031 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 cat >conftest.
make <<\_ACEOF
2038 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2043 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2045 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2049 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2050 { echo "$as_me:$LINENO: result: yes" >&5
2051 echo "${ECHO_T}yes" >&6; }
2054 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6; }
2056 SET_MAKE
="MAKE=${MAKE-make}"
2060 ac_cpp
='$CPP $CPPFLAGS'
2061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2066 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC
="$CC" # Let the user override the test.
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir
=.
2080 for ac_exec_ext
in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2103 if test -z "$ac_cv_prog_CC"; then
2105 # Extract the first word of "gcc", so it can be a program name with args.
2106 set dummy gcc
; ac_word
=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -n "$ac_ct_CC"; then
2113 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 for ac_exec_ext
in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_ac_ct_CC
="gcc"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6; }
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2141 if test "x$ac_ct_CC" = x
; then
2144 case $cross_compiling:$ac_tool_warned in
2146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&5
2149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150 whose name does not start with the host triplet. If you think this
2151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152 ac_tool_warned
=yes ;;
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC
="$CC" # Let the user override the test.
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 for ac_exec_ext
in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 if test -n "$CC"; then
2191 { echo "$as_me:$LINENO: result: $CC" >&5
2192 echo "${ECHO_T}$CC" >&6; }
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc
; ac_word
=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC
="$CC" # Let the user override the test.
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected
=yes
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy
$ac_cv_prog_CC
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2241 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2247 if test -n "$CC"; then
2248 { echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6; }
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog
in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC
="$CC" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 if test -n "$CC"; then
2290 { echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6; }
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$CC" && break
2301 if test -z "$CC"; then
2303 for ac_prog
in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy
$ac_prog; ac_word
=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC
="$ac_prog"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2335 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2342 test -n "$ac_ct_CC" && break
2345 if test "x$ac_ct_CC" = x
; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned
=yes ;;
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO: checking for C compiler version" >&5
2373 ac_compiler
=`set X $ac_compile; echo $2`
2374 { (ac_try
="$ac_compiler --version >&5"
2376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler --version >&5") 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (ac_try="$ac_compiler -v >&5"
2386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2387 *) ac_try_echo
=$ac_try;;
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_compiler -v >&5") 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2394 { (ac_try
="$ac_compiler -V >&5"
2396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_compiler -V >&5") 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }
2405 cat >conftest.$ac_ext <<_ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2420 ac_clean_files_save=$ac_clean_files
2421 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2422 # Try to create an executable without -o first, disregard a.out.
2423 # It will help us diagnose broken compilers, and finding out an intuition
2425 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2426 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2427 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2429 # List of possible output files, starting from the most likely.
2430 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2431 # only as a last resort. b.out is created by i960 compilers.
2432 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2434 # The IRIX 6 linker writes into existing files which may not be
2435 # executable, retaining their permissions. Remove them first so a
2436 # subsequent execution test works.
2438 for ac_file in $ac_files
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2447 if { (ac_try="$ac_link_default"
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_link_default") 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2462 for ac_file
in $ac_files ''
2464 test -f "$ac_file" ||
continue
2466 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2469 # We found the default executable, but exeext='' is most
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2475 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2487 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2493 { echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6; }
2495 if test -z "$ac_file"; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2499 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2500 See \`config.log' for more details." >&5
2501 echo "$as_me: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&2;}
2503 { (exit 77); exit 77; }; }
2506 ac_exeext
=$ac_cv_exeext
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2511 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2512 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2513 # If not cross compiling, check that we can run a simple program.
2514 if test "$cross_compiling" != yes; then
2515 if { ac_try
='./$ac_file'
2516 { (case "(($ac_try" in
2517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2521 (eval "$ac_try") 2>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2527 if test "$cross_compiling" = maybe; then
2530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2531 If you meant to cross compile, use \`--host'.
2532 See \`config.log' for more details.
" >&5
2533 echo "$as_me: error
: cannot run C compiled programs.
2534 If you meant to cross compile
, use \
`--host'.
2535 See \`config.log
' for more details." >&2;}
2536 { (exit 1); exit 1; }; }
2540 { echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6; }
2543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2544 ac_clean_files=$ac_clean_files_save
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2549 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2550 echo "${ECHO_T}$cross_compiling" >&6; }
2552 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2554 if { (ac_try="$ac_link"
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560 (eval "$ac_link") 2>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2565 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2566 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2568 for ac_file
in conftest.exe conftest conftest.
*; do
2569 test -f "$ac_file" ||
continue
2571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest
$ac_cv_exeext
2586 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2587 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2589 rm -f conftest.
$ac_ext
2590 EXEEXT
=$ac_cv_exeext
2592 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2593 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2594 if test "${ac_cv_objext+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 cat >conftest.
$ac_ext <<_ACEOF
2600 cat confdefs.h
>>conftest.
$ac_ext
2601 cat >>conftest.
$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2612 rm -f conftest.o conftest.obj
2613 if { (ac_try
="$ac_compile"
2615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_compile") 2>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; then
2623 for ac_file in conftest.o conftest.obj conftest.*; do
2624 test -f "$ac_file" || continue;
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2636 See \`config.log
' for more details." >&5
2637 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details.
" >&2;}
2639 { (exit 1); exit 1; }; }
2642 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2644 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2645 echo "${ECHO_T}$ac_cv_objext" >&6; }
2646 OBJEXT=$ac_cv_objext
2648 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2649 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2650 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2651 echo $ECHO_N "(cached
) $ECHO_C" >&6
2653 cat >conftest.$ac_ext <<_ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2671 rm -f conftest.$ac_objext
2672 if { (ac_try="$ac_compile"
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2680 grep -v '^ *+' conftest.er1 >conftest.err
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2684 (exit $ac_status); } && {
2685 test -z "$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then
2690 echo "$as_me: failed program was
:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2700 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2701 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2702 GCC=`test $ac_compiler_gnu = yes && echo yes`
2703 ac_test_CFLAGS=${CFLAGS+set}
2704 ac_save_CFLAGS=$CFLAGS
2705 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2706 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2707 if test "${ac_cv_prog_cc_g+set}" = set; then
2708 echo $ECHO_N "(cached
) $ECHO_C" >&6
2710 ac_save_c_werror_flag=$ac_c_werror_flag
2711 ac_c_werror_flag=yes
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2738 grep -v '^ *+' conftest.er1 >conftest.err
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2748 echo "$as_me: failed program was
:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2752 cat >conftest.$ac_ext <<_ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2776 grep -v '^ *+' conftest.er1 >conftest.err
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2780 (exit $ac_status); } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then
2786 echo "$as_me: failed program was
:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_c_werror_flag=$ac_save_c_werror_flag
2791 cat >conftest.$ac_ext <<_ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2806 rm -f conftest.$ac_objext
2807 if { (ac_try="$ac_compile"
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_compile") 2>conftest.er1
2815 grep -v '^ *+' conftest.er1 >conftest.err
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2819 (exit $ac_status); } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then
2825 echo "$as_me: failed program was
:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2842 if test "$ac_test_CFLAGS" = set; then
2843 CFLAGS=$ac_save_CFLAGS
2844 elif test $ac_cv_prog_cc_g = yes; then
2845 if test "$GCC" = yes; then
2851 if test "$GCC" = yes; then
2857 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2858 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2859 if test "${ac_cv_prog_cc_c89+set}" = set; then
2860 echo $ECHO_N "(cached
) $ECHO_C" >&6
2862 ac_cv_prog_cc_c89=no
2864 cat >conftest.$ac_ext <<_ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2872 #include <sys/types.h>
2873 #include <sys/stat.h>
2874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2875 struct buf { int x; };
2876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2877 static char *e (p, i)
2883 static char *f (char * (*g) (char **, int), char **p, ...)
2888 s = g (p, va_arg (v,int));
2893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2894 function prototypes and stuff, but not '\xHH' hex character constants.
2895 These don't provoke an error unfortunately, instead are silently treated
2896 as 'x'. The following induces an error, until -std is added to get
2897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2898 array size at least. It's necessary to write '\x00'==0 to get something
2899 that's true only with -std. */
2900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2903 inside strings and character constants. */
2905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2907 int test (int i, double x);
2908 struct s1 {int (*f) (int a);};
2909 struct s2 {int (*f) (double a);};
2910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2924 CC="$ac_save_CC $ac_arg"
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2934 grep -v '^ *+' conftest.er1 >conftest.err
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then
2942 ac_cv_prog_cc_c89=$ac_arg
2944 echo "$as_me: failed program was
:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2950 rm -f core conftest.err conftest.$ac_objext
2951 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2953 rm -f conftest.$ac_ext
2958 case "x
$ac_cv_prog_cc_c89" in
2960 { echo "$as_me:$LINENO: result
: none needed
" >&5
2961 echo "${ECHO_T}none needed
" >&6; } ;;
2963 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2964 echo "${ECHO_T}unsupported
" >&6; } ;;
2966 CC="$CC $ac_cv_prog_cc_c89"
2967 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2968 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 ac_cpp='$CXXCPP $CPPFLAGS'
2980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2983 if test -z "$CXX"; then
2984 if test -n "$CCC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2993 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2994 if test "${ac_cv_prog_CXX+set}" = set; then
2995 echo $ECHO_N "(cached
) $ECHO_C" >&6
2997 if test -n "$CXX"; then
2998 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3018 if test -n "$CXX"; then
3019 { echo "$as_me:$LINENO: result
: $CXX" >&5
3020 echo "${ECHO_T}$CXX" >&6; }
3022 { echo "$as_me:$LINENO: result
: no
" >&5
3023 echo "${ECHO_T}no
" >&6; }
3027 test -n "$CXX" && break
3030 if test -z "$CXX"; then
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy $ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3038 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3039 echo $ECHO_N "(cached
) $ECHO_C" >&6
3041 if test -n "$ac_ct_CXX"; then
3042 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CXX="$ac_prog"
3052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3062 if test -n "$ac_ct_CXX"; then
3063 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3064 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3066 { echo "$as_me:$LINENO: result
: no
" >&5
3067 echo "${ECHO_T}no
" >&6; }
3071 test -n "$ac_ct_CXX" && break
3074 if test "x
$ac_ct_CXX" = x; then
3077 case $cross_compiling:$ac_tool_warned in
3079 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3080 whose name does not start with the
host triplet. If you think this
3081 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3082 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3083 whose name does not start with the
host triplet. If you think this
3084 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3085 ac_tool_warned=yes ;;
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3095 ac_compiler=`set X $ac_compile; echo $2`
3096 { (ac_try="$ac_compiler --version >&5"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler --version >&5") 2>&5
3104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3105 (exit $ac_status); }
3106 { (ac_try="$ac_compiler -v >&5"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compiler -v >&5") 2>&5
3114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3115 (exit $ac_status); }
3116 { (ac_try="$ac_compiler -V >&5"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compiler -V >&5") 2>&5
3124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3125 (exit $ac_status); }
3127 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3128 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3129 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3130 echo $ECHO_N "(cached
) $ECHO_C" >&6
3132 cat >conftest.$ac_ext <<_ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^ *+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_cxx_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3169 echo "$as_me: failed program was
:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3179 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3180 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3181 GXX=`test $ac_compiler_gnu = yes && echo yes`
3182 ac_test_CXXFLAGS=${CXXFLAGS+set}
3183 ac_save_CXXFLAGS=$CXXFLAGS
3184 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3185 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3186 if test "${ac_cv_prog_cxx_g+set}" = set; then
3187 echo $ECHO_N "(cached
) $ECHO_C" >&6
3189 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3190 ac_cxx_werror_flag=yes
3193 cat >conftest.$ac_ext <<_ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3208 rm -f conftest.$ac_objext
3209 if { (ac_try="$ac_compile"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_compile") 2>conftest.er1
3217 grep -v '^ *+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_cxx_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then
3225 ac_cv_prog_cxx_g=yes
3227 echo "$as_me: failed program was
:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_compile") 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3259 (exit $ac_status); } && {
3260 test -z "$ac_cxx_werror_flag" ||
3261 test ! -s conftest.err
3262 } && test -s conftest.$ac_objext; then
3265 echo "$as_me: failed program was
:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3270 cat >conftest.$ac_ext <<_ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3285 rm -f conftest.$ac_objext
3286 if { (ac_try="$ac_compile"
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3294 grep -v '^ *+' conftest.er1 >conftest.err
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_cxx_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cxx_g=yes
3304 echo "$as_me: failed program was
:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3319 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3320 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3321 if test "$ac_test_CXXFLAGS" = set; then
3322 CXXFLAGS=$ac_save_CXXFLAGS
3323 elif test $ac_cv_prog_cxx_g = yes; then
3324 if test "$GXX" = yes; then
3330 if test "$GXX" = yes; then
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3345 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3347 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3348 echo $ECHO_N "(cached
) $ECHO_C" >&6
3350 if test -n "$CPPBIN"; then
3351 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3370 CPPBIN=$ac_cv_prog_CPPBIN
3371 if test -n "$CPPBIN"; then
3372 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3373 echo "${ECHO_T}$CPPBIN" >&6; }
3375 { echo "$as_me:$LINENO: result
: no
" >&5
3376 echo "${ECHO_T}no
" >&6; }
3381 if test -z "$ac_cv_prog_CPPBIN"; then
3382 ac_ct_CPPBIN=$CPPBIN
3383 # Extract the first word of "cpp
", so it can be a program name with args.
3384 set dummy cpp; ac_word=$2
3385 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3387 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3388 echo $ECHO_N "(cached
) $ECHO_C" >&6
3390 if test -n "$ac_ct_CPPBIN"; then
3391 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3410 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3411 if test -n "$ac_ct_CPPBIN"; then
3412 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3413 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3415 { echo "$as_me:$LINENO: result
: no
" >&5
3416 echo "${ECHO_T}no
" >&6; }
3419 if test "x
$ac_ct_CPPBIN" = x; then
3422 case $cross_compiling:$ac_tool_warned in
3424 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3425 whose name does not start with the
host triplet. If you think this
3426 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3427 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3428 whose name does not start with the
host triplet. If you think this
3429 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3430 ac_tool_warned=yes ;;
3432 CPPBIN=$ac_ct_CPPBIN
3435 CPPBIN="$ac_cv_prog_CPPBIN"
3439 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3440 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3441 if test "${wine_cv_toolsdir+set}" = set; then
3442 echo $ECHO_N "(cached
) $ECHO_C" >&6
3444 if test -z "$with_wine_tools"; then
3445 if test "$cross_compiling" = "yes"; then
3446 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3447 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3448 { (exit 1); exit 1; }; }
3450 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3452 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3453 case $with_wine_tools in
3454 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3455 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3458 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3459 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3460 { (exit 1); exit 1; }; }
3463 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3464 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3465 TOOLSDIR=$wine_cv_toolsdir
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3475 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3476 # On Suns, sometimes $CPP names a directory.
3477 if test -n "$CPP" && test -d "$CPP"; then
3480 if test -z "$CPP"; then
3481 if test "${ac_cv_prog_CPP+set}" = set; then
3482 echo $ECHO_N "(cached
) $ECHO_C" >&6
3484 # Double quotes because CPP needs to be expanded
3485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3488 for ac_c_preproc_warn_flag in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error
" is here to catch this case.
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3503 # include <limits.h>
3505 # include <assert.h>
3509 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3517 grep -v '^ *+' conftest.er1 >conftest.err
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3521 (exit $ac_status); } >/dev/null && {
3522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3527 echo "$as_me: failed program was
:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3530 # Broken: fails on valid input.
3534 rm -f conftest.err conftest.$ac_ext
3536 # OK, works on sane cases. Now check whether nonexistent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3546 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3554 grep -v '^ *+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3562 # Broken: success on invalid input.
3565 echo "$as_me: failed program was
:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3573 rm -f conftest.err conftest.$ac_ext
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.$ac_ext
3578 if $ac_preproc_ok; then
3590 { echo "$as_me:$LINENO: result
: $CPP" >&5
3591 echo "${ECHO_T}$CPP" >&6; }
3593 for ac_c_preproc_warn_flag in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error
" is here to catch this case.
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3608 # include <limits.h>
3610 # include <assert.h>
3614 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3620 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3622 grep -v '^ *+' conftest.er1 >conftest.err
3624 cat conftest.err >&5
3625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3626 (exit $ac_status); } >/dev/null && {
3627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3628 test ! -s conftest.err
3632 echo "$as_me: failed program was
:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3635 # Broken: fails on valid input.
3639 rm -f conftest.err conftest.$ac_ext
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat >conftest.$ac_ext <<_ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3649 #include <ac_nonexistent.h>
3651 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3663 (exit $ac_status); } >/dev/null && {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3667 # Broken: success on invalid input.
3670 echo "$as_me: failed program was
:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Passes both tests.
3678 rm -f conftest.err conftest.$ac_ext
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.err conftest.$ac_ext
3683 if $ac_preproc_ok; then
3686 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3687 See \
`config.log' for more details." >&5
3688 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log
' for more details." >&2;}
3690 { (exit 1); exit 1; }; }
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3696 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 { echo "$as_me:$LINENO: checking for X" >&5
3701 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3704 # Check whether --with-x was given.
3705 if test "${with_x+set}" = set; then
3709 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3710 if test "x$with_x" = xno; then
3711 # The user explicitly disabled X.
3714 case $x_includes,$x_libraries in #(
3715 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3716 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3717 { (exit 1); exit 1; }; };; #(
3718 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 # One or both of the vars are not set, and there is no cached value.
3722 ac_x_includes=no ac_x_libraries=no
3723 rm -f -r conftest.dir
3724 if mkdir conftest.dir; then
3726 cat >Imakefile <<'_ACEOF'
3728 @echo incroot='${INCROOT}'
3730 @echo usrlibdir='${USRLIBDIR}'
3732 @echo libdir='${LIBDIR}'
3734 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3736 for ac_var in incroot usrlibdir libdir; do
3737 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3739 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3740 for ac_extension in a so sl; do
3741 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3742 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3743 ac_im_usrlibdir=$ac_im_libdir; break
3746 # Screen out bogus values from the imake configuration. They are
3747 # bogus both because they are the default anyway, and because
3748 # using them would break gcc on systems where it needs fixed includes.
3749 case $ac_im_incroot in
3750 /usr/include) ac_x_includes= ;;
3751 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3753 case $ac_im_usrlibdir in
3755 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3759 rm -f -r conftest.dir
3762 # Standard set of common directories for X headers.
3763 # Check X11 before X11Rn because it is often a symlink to the current release.
3775 /usr
/local
/X11
/include
3776 /usr
/local
/X11R
6/include
3777 /usr
/local
/X11R
5/include
3778 /usr
/local
/X11R
4/include
3780 /usr
/local
/include
/X11
3781 /usr
/local
/include
/X11R6
3782 /usr
/local
/include
/X11R5
3783 /usr
/local
/include
/X11R4
3787 /usr
/XFree86
/include
/X11
3791 /usr
/unsupported
/include
3793 /usr
/local
/x11r
5/include
3794 /usr
/lpp
/Xamples
/include
3796 /usr
/openwin
/include
3797 /usr
/openwin
/share
/include
'
3799 if test "$ac_x_includes" = no; then
3800 # Guess where to find include files, by looking for Xlib.h.
3801 # First, try using that file with no special directory specified.
3802 cat >conftest.$ac_ext <<_ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <X11/Xlib.h>
3810 if { (ac_try="$ac_cpp conftest.$ac_ext"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3818 grep -v '^
*+' conftest.er1 >conftest.err
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } >/dev/null && {
3823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3826 # We can compile using X headers with no special include directory.
3829 echo "$as_me: failed program was:" >&5
3830 sed 's
/^
/|
/' conftest.$ac_ext >&5
3832 for ac_dir in $ac_x_header_dirs; do
3833 if test -r "$ac_dir/X11/Xlib.h"; then
3834 ac_x_includes=$ac_dir
3840 rm -f conftest.err conftest.$ac_ext
3841 fi # $ac_x_includes = no
3843 if test "$ac_x_libraries" = no; then
3844 # Check for the libraries.
3845 # See if we find them without any special options.
3846 # Don't add to
$LIBS permanently.
3849 cat >conftest.
$ac_ext <<_ACEOF
3852 cat confdefs.h
>>conftest.
$ac_ext
3853 cat >>conftest.
$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <X11/Xlib.h>
3864 rm -f conftest.
$ac_objext conftest
$ac_exeext
3865 if { (ac_try
="$ac_link"
3867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_link") 2>conftest.er1
3873 grep -v '^ *+' conftest.er1 >conftest.err
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } && {
3878 test -z "$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 } && test -s conftest$ac_exeext &&
3881 $as_test_x conftest$ac_exeext; then
3883 # We can link X programs with no special library path.
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3890 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3892 # Don't even attempt the hair of trying to link an X program!
3893 for ac_extension in a so sl; do
3894 if test -r "$ac_dir/libX11.$ac_extension"; then
3895 ac_x_libraries=$ac_dir
3902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3903 conftest$ac_exeext conftest.$ac_ext
3904 fi # $ac_x_libraries = no
3906 case $ac_x_includes,$ac_x_libraries in #(
3908 # Didn't find X, or a directory has "'" in its name.
3909 ac_cv_have_x="have_x=no";; #(
3911 # Record where we found X for the cache.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$ac_x_includes'\
3914 ac_x_libraries='$ac_x_libraries'"
3920 eval "$ac_cv_have_x"
3923 if test "$have_x" != yes; then
3924 { echo "$as_me:$LINENO: result: $have_x" >&5
3925 echo "${ECHO_T}$have_x" >&6; }
3928 # If each of the values was on the command line, it overrides each guess.
3929 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3930 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3931 # Update the cache value to reflect the command line values.
3932 ac_cv_have_x="have_x=yes\
3933 ac_x_includes='$x_includes'\
3934 ac_x_libraries='$x_libraries'"
3935 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3936 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3939 if test "$no_x" = yes; then
3940 # Not all programs may use this symbol, but it does not hurt to define it.
3942 cat >>confdefs.h <<\_ACEOF
3943 #define X_DISPLAY_MISSING 1
3946 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3948 if test -n "$x_includes"; then
3949 X_CFLAGS="$X_CFLAGS -I$x_includes"
3952 # It would also be nice to do this for all -L options, not just this one.
3953 if test -n "$x_libraries"; then
3954 X_LIBS="$X_LIBS -L$x_libraries"
3955 # For Solaris; some versions of Sun CC require a space after -R and
3956 # others require no space. Words are not sufficient . . . .
3957 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3958 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3959 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3960 ac_xsave_c_werror_flag=$ac_c_werror_flag
3961 ac_c_werror_flag=yes
3962 cat >conftest.$ac_ext <<_ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3977 rm -f conftest.$ac_objext conftest$ac_exeext
3978 if { (ac_try="$ac_link"
3980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3981 *) ac_try_echo
=$ac_try;;
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_link") 2>conftest.er1
3986 grep -v '^ *+' conftest.er1
>conftest.err
3988 cat conftest.err
>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && {
3991 test -z "$ac_c_werror_flag" ||
3992 test ! -s conftest.err
3993 } && test -s conftest
$ac_exeext &&
3994 $as_test_x conftest
$ac_exeext; then
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 X_LIBS
="$X_LIBS -R$x_libraries"
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.
$ac_ext >&5
4002 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4003 cat >conftest.
$ac_ext <<_ACEOF
4006 cat confdefs.h
>>conftest.
$ac_ext
4007 cat >>conftest.
$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4018 rm -f conftest.
$ac_objext conftest
$ac_exeext
4019 if { (ac_try
="$ac_link"
4021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4027 grep -v '^ *+' conftest.er1 >conftest.err
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } && {
4032 test -z "$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4034 } && test -s conftest$ac_exeext &&
4035 $as_test_x conftest$ac_exeext; then
4036 { echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6; }
4038 X_LIBS="$X_LIBS -R $x_libraries"
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { echo "$as_me:$LINENO: result: neither works" >&5
4044 echo "${ECHO_T}neither works" >&6; }
4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4048 conftest$ac_exeext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4052 conftest$ac_exeext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_xsave_c_werror_flag
4057 # Check for system-dependent libraries X programs must link with.
4058 # Do this before checking for the system-independent R6 libraries
4059 # (-lICE), since we may need -lsocket or whatever for X linking.
4061 if test "$ISC" = yes; then
4062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4064 # Martyn Johnson says this is needed for Ultrix, if the X
4065 # libraries were built with DECnet support. And Karl Berry says
4066 # the Alpha needs dnet_stub (dnet does not exist).
4067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4068 cat >conftest.$ac_ext <<_ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4081 char XOpenDisplay ();
4085 return XOpenDisplay ();
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (ac_try="$ac_link"
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_link") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest
$ac_exeext &&
4107 $as_test_x conftest
$ac_exeext; then
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4113 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 ac_check_lib_save_LIBS
=$LIBS
4120 cat >conftest.
$ac_ext <<_ACEOF
4123 cat confdefs.h
>>conftest.
$ac_ext
4124 cat >>conftest.
$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any GCC internal prototype to avoid an error.
4128 Use char because int might match the return type of a GCC
4129 builtin and then its argument prototype would still apply. */
4137 return dnet_ntoa ();
4142 rm -f conftest.
$ac_objext conftest
$ac_exeext
4143 if { (ac_try
="$ac_link"
4145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_link") 2>conftest.er1
4151 grep -v '^ *+' conftest.er1 >conftest.err
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && {
4156 test -z "$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 } && test -s conftest$ac_exeext &&
4159 $as_test_x conftest$ac_exeext; then
4160 ac_cv_lib_dnet_dnet_ntoa=yes
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 ac_cv_lib_dnet_dnet_ntoa=no
4168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4169 conftest$ac_exeext conftest.$ac_ext
4170 LIBS=$ac_check_lib_save_LIBS
4172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4173 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4174 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4175 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4178 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4179 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4180 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4181 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 ac_check_lib_save_LIBS=$LIBS
4185 LIBS="-ldnet_stub $LIBS"
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4193 /* Override any GCC internal prototype to avoid an error.
4194 Use char because int might match the return type of a GCC
4195 builtin and then its argument prototype would still apply. */
4203 return dnet_ntoa ();
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (ac_try="$ac_link"
4211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4212 *) ac_try_echo
=$ac_try;;
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } && {
4222 test -z "$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4224 } && test -s conftest
$ac_exeext &&
4225 $as_test_x conftest
$ac_exeext; then
4226 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.
$ac_ext >&5
4231 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4235 conftest
$ac_exeext conftest.
$ac_ext
4236 LIBS
=$ac_check_lib_save_LIBS
4238 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4239 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4240 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4241 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4248 conftest
$ac_exeext conftest.
$ac_ext
4249 LIBS
="$ac_xsave_LIBS"
4251 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4252 # to get the SysV transport functions.
4253 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4255 # The nsl library prevents programs from opening the X display
4256 # on Irix 5.2, according to T.E. Dickey.
4257 # The functions gethostbyname, getservbyname, and inet_addr are
4258 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4259 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4260 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4261 if test "${ac_cv_func_gethostbyname+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 cat >conftest.
$ac_ext <<_ACEOF
4267 cat confdefs.h
>>conftest.
$ac_ext
4268 cat >>conftest.
$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4270 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4272 #define gethostbyname innocuous_gethostbyname
4274 /* System header to define __stub macros and hopefully few prototypes,
4275 which can conflict with char gethostbyname (); below.
4276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 <limits.h> exists even on freestanding compilers. */
4280 # include <limits.h>
4282 # include <assert.h>
4285 #undef gethostbyname
4287 /* Override any GCC internal prototype to avoid an error.
4288 Use char because int might match the return type of a GCC
4289 builtin and then its argument prototype would still apply. */
4293 char gethostbyname ();
4294 /* The GNU C library defines this for functions which it implements
4295 to always fail with ENOSYS. Some functions are actually named
4296 something starting with __ and the normal name is an alias. */
4297 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4304 return gethostbyname ();
4309 rm -f conftest.
$ac_objext conftest
$ac_exeext
4310 if { (ac_try
="$ac_link"
4312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_link") 2>conftest.er1
4318 grep -v '^ *+' conftest.er1 >conftest.err
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_c_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest$ac_exeext &&
4326 $as_test_x conftest$ac_exeext; then
4327 ac_cv_func_gethostbyname=yes
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 ac_cv_func_gethostbyname=no
4335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4336 conftest$ac_exeext conftest.$ac_ext
4338 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4339 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4341 if test $ac_cv_func_gethostbyname = no; then
4342 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4343 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4344 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 ac_check_lib_save_LIBS=$LIBS
4349 cat >conftest.$ac_ext <<_ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4356 /* Override any GCC internal prototype to avoid an error.
4357 Use char because int might match the return type of a GCC
4358 builtin and then its argument prototype would still apply. */
4362 char gethostbyname ();
4366 return gethostbyname ();
4371 rm -f conftest.$ac_objext conftest$ac_exeext
4372 if { (ac_try="$ac_link"
4374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4375 *) ac_try_echo
=$ac_try;;
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_link") 2>conftest.er1
4380 grep -v '^ *+' conftest.er1
>conftest.err
4382 cat conftest.err
>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && {
4385 test -z "$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4387 } && test -s conftest
$ac_exeext &&
4388 $as_test_x conftest
$ac_exeext; then
4389 ac_cv_lib_nsl_gethostbyname
=yes
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.
$ac_ext >&5
4394 ac_cv_lib_nsl_gethostbyname
=no
4397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4398 conftest
$ac_exeext conftest.
$ac_ext
4399 LIBS
=$ac_check_lib_save_LIBS
4401 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4402 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4403 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4407 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4408 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4409 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4410 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 ac_check_lib_save_LIBS
=$LIBS
4415 cat >conftest.
$ac_ext <<_ACEOF
4418 cat confdefs.h
>>conftest.
$ac_ext
4419 cat >>conftest.
$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4422 /* Override any GCC internal prototype to avoid an error.
4423 Use char because int might match the return type of a GCC
4424 builtin and then its argument prototype would still apply. */
4428 char gethostbyname ();
4432 return gethostbyname ();
4437 rm -f conftest.
$ac_objext conftest
$ac_exeext
4438 if { (ac_try
="$ac_link"
4440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4444 (eval "$ac_link") 2>conftest.er1
4446 grep -v '^ *+' conftest.er1 >conftest.err
4448 cat conftest.err >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } && {
4451 test -z "$ac_c_werror_flag" ||
4452 test ! -s conftest.err
4453 } && test -s conftest$ac_exeext &&
4454 $as_test_x conftest$ac_exeext; then
4455 ac_cv_lib_bsd_gethostbyname=yes
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_cv_lib_bsd_gethostbyname=no
4463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4464 conftest$ac_exeext conftest.$ac_ext
4465 LIBS=$ac_check_lib_save_LIBS
4467 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4468 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4469 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4477 # socket/setsockopt and other routines are undefined under SCO ODT
4478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4479 # on later versions), says Simon Leinen: it contains gethostby*
4480 # variants that don't use the name server (or something). -lsocket
4481 # must be given before -lnsl if both are needed. We assume that
4482 # if connect needs -lnsl, so does gethostbyname.
4483 { echo "$as_me:$LINENO: checking for connect" >&5
4484 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_connect+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.$ac_ext <<_ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define connect innocuous_connect
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char connect (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4504 # include <limits.h>
4506 # include <assert.h>
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_connect || defined __stub___connect
4533 rm -f conftest.$ac_objext conftest$ac_exeext
4534 if { (ac_try="$ac_link"
4536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4537 *) ac_try_echo
=$ac_try;;
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1
>conftest.err
4544 cat conftest.err
>&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest
$ac_exeext &&
4550 $as_test_x conftest
$ac_exeext; then
4551 ac_cv_func_connect
=yes
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.
$ac_ext >&5
4556 ac_cv_func_connect
=no
4559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4560 conftest
$ac_exeext conftest.
$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4563 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4565 if test $ac_cv_func_connect = no
; then
4566 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4567 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_socket_connect+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 ac_check_lib_save_LIBS
=$LIBS
4572 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4573 cat >conftest.
$ac_ext <<_ACEOF
4576 cat confdefs.h
>>conftest.
$ac_ext
4577 cat >>conftest.
$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4595 rm -f conftest.
$ac_objext conftest
$ac_exeext
4596 if { (ac_try
="$ac_link"
4598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1 >conftest.err
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest$ac_exeext &&
4612 $as_test_x conftest$ac_exeext; then
4613 ac_cv_lib_socket_connect=yes
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_socket_connect=no
4621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622 conftest$ac_exeext conftest.$ac_ext
4623 LIBS=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4626 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4627 if test $ac_cv_lib_socket_connect = yes; then
4628 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4633 # Guillermo Gomez says -lposix is necessary on A/UX.
4634 { echo "$as_me:$LINENO: checking for remove" >&5
4635 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4636 if test "${ac_cv_func_remove+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 cat >conftest.$ac_ext <<_ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4647 #define remove innocuous_remove
4649 /* System header to define __stub macros and hopefully few prototypes,
4650 which can conflict with char remove (); below.
4651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 <limits.h> exists even on freestanding compilers. */
4655 # include <limits.h>
4657 # include <assert.h>
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4669 /* The GNU C library defines this for functions which it implements
4670 to always fail with ENOSYS. Some functions are actually named
4671 something starting with __ and the normal name is an alias. */
4672 #if defined __stub_remove || defined __stub___remove
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (ac_try="$ac_link"
4687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4688 *) ac_try_echo
=$ac_try;;
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_link") 2>conftest.er1
4693 grep -v '^ *+' conftest.er1
>conftest.err
4695 cat conftest.err
>&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest
$ac_exeext &&
4701 $as_test_x conftest
$ac_exeext; then
4702 ac_cv_func_remove
=yes
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.
$ac_ext >&5
4707 ac_cv_func_remove
=no
4710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4711 conftest
$ac_exeext conftest.
$ac_ext
4713 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4714 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4716 if test $ac_cv_func_remove = no
; then
4717 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4718 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4719 if test "${ac_cv_lib_posix_remove+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 ac_check_lib_save_LIBS
=$LIBS
4723 LIBS
="-lposix $LIBS"
4724 cat >conftest.
$ac_ext <<_ACEOF
4727 cat confdefs.h
>>conftest.
$ac_ext
4728 cat >>conftest.
$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4746 rm -f conftest.
$ac_objext conftest
$ac_exeext
4747 if { (ac_try
="$ac_link"
4749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_lib_posix_remove=yes
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_lib_posix_remove=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4774 LIBS=$ac_check_lib_save_LIBS
4776 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4778 if test $ac_cv_lib_posix_remove = yes; then
4779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4785 { echo "$as_me:$LINENO: checking for shmat" >&5
4786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4787 if test "${ac_cv_func_shmat+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4798 #define shmat innocuous_shmat
4800 /* System header to define __stub macros and hopefully few prototypes,
4801 which can conflict with char shmat (); below.
4802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4803 <limits.h> exists even on freestanding compilers. */
4806 # include <limits.h>
4808 # include <assert.h>
4813 /* Override any GCC internal prototype to avoid an error.
4814 Use char because int might match the return type of a GCC
4815 builtin and then its argument prototype would still apply. */
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined __stub_shmat || defined __stub___shmat
4835 rm -f conftest.$ac_objext conftest$ac_exeext
4836 if { (ac_try="$ac_link"
4838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4839 *) ac_try_echo
=$ac_try;;
4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4844 grep -v '^ *+' conftest.er1
>conftest.err
4846 cat conftest.err
>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } && {
4849 test -z "$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4851 } && test -s conftest
$ac_exeext &&
4852 $as_test_x conftest
$ac_exeext; then
4853 ac_cv_func_shmat
=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4862 conftest
$ac_exeext conftest.
$ac_ext
4864 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4865 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4867 if test $ac_cv_func_shmat = no
; then
4868 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4869 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4870 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 ac_check_lib_save_LIBS
=$LIBS
4875 cat >conftest.
$ac_ext <<_ACEOF
4878 cat confdefs.h
>>conftest.
$ac_ext
4879 cat >>conftest.
$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4897 rm -f conftest.
$ac_objext conftest
$ac_exeext
4898 if { (ac_try
="$ac_link"
4900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4906 grep -v '^ *+' conftest.er1 >conftest.err
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_lib_ipc_shmat=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_lib_ipc_shmat=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4925 LIBS=$ac_check_lib_save_LIBS
4927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4928 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4929 if test $ac_cv_lib_ipc_shmat = yes; then
4930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4936 # Check for libraries that X11R6 Xt/Xaw programs need.
4937 ac_save_LDFLAGS=$LDFLAGS
4938 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4939 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4940 # check for ICE first), but we must link in the order -lSM -lICE or
4941 # we get undefined symbols. So assume we have SM if we have ICE.
4942 # These have to be linked with before -lX11, unlike the other
4943 # libraries we check for below, so use a different variable.
4944 # John Interrante, Karl Berry
4945 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4946 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4947 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 ac_check_lib_save_LIBS=$LIBS
4951 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4952 cat >conftest.$ac_ext <<_ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4959 /* Override any GCC internal prototype to avoid an error.
4960 Use char because int might match the return type of a GCC
4961 builtin and then its argument prototype would still apply. */
4965 char IceConnectionNumber ();
4969 return IceConnectionNumber ();
4974 rm -f conftest.$ac_objext conftest$ac_exeext
4975 if { (ac_try="$ac_link"
4977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4978 *) ac_try_echo
=$ac_try;;
4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981 (eval "$ac_link") 2>conftest.er1
4983 grep -v '^ *+' conftest.er1
>conftest.err
4985 cat conftest.err
>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && {
4988 test -z "$ac_c_werror_flag" ||
4989 test ! -s conftest.err
4990 } && test -s conftest
$ac_exeext &&
4991 $as_test_x conftest
$ac_exeext; then
4992 ac_cv_lib_ICE_IceConnectionNumber
=yes
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
4997 ac_cv_lib_ICE_IceConnectionNumber
=no
5000 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5001 conftest
$ac_exeext conftest.
$ac_ext
5002 LIBS
=$ac_check_lib_save_LIBS
5004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5005 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5006 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5007 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5010 LDFLAGS
=$ac_save_LDFLAGS
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy
$ac_prog; ac_word
=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_prog_FLEX+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 if test -n "$FLEX"; then
5025 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir
=.
5032 for ac_exec_ext
in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_FLEX
="$ac_prog"
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 FLEX
=$ac_cv_prog_FLEX
5045 if test -n "$FLEX"; then
5046 { echo "$as_me:$LINENO: result: $FLEX" >&5
5047 echo "${ECHO_T}$FLEX" >&6; }
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5054 test -n "$FLEX" && break
5056 test -n "$FLEX" || FLEX
="none"
5058 if test "$FLEX" = "none"
5060 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5061 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5062 { (exit 1); exit 1; }; }
5065 for ac_prog
in bison
5067 # Extract the first word of "$ac_prog", so it can be a program name with args.
5068 set dummy
$ac_prog; ac_word
=$2
5069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5071 if test "${ac_cv_prog_BISON+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 if test -n "$BISON"; then
5075 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir
=.
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_BISON
="$ac_prog"
5085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 BISON
=$ac_cv_prog_BISON
5095 if test -n "$BISON"; then
5096 { echo "$as_me:$LINENO: result: $BISON" >&5
5097 echo "${ECHO_T}$BISON" >&6; }
5099 { echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6; }
5104 test -n "$BISON" && break
5106 test -n "$BISON" || BISON
="none"
5108 if test "$BISON" = "none"
5110 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5111 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5112 { (exit 1); exit 1; }; }
5115 if test -n "$ac_tool_prefix"; then
5116 for ac_prog
in gas as
5118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122 if test "${ac_cv_prog_AS+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 if test -n "$AS"; then
5126 ac_cv_prog_AS
="$AS" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 if test -n "$AS"; then
5147 { echo "$as_me:$LINENO: result: $AS" >&5
5148 echo "${ECHO_T}$AS" >&6; }
5150 { echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6; }
5155 test -n "$AS" && break
5158 if test -z "$AS"; then
5160 for ac_prog
in gas as
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy
$ac_prog; ac_word
=$2
5164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5166 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 if test -n "$ac_ct_AS"; then
5170 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5176 test -z "$as_dir" && as_dir
=.
5177 for ac_exec_ext
in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_ac_ct_AS
="$ac_prog"
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5190 if test -n "$ac_ct_AS"; then
5191 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5192 echo "${ECHO_T}$ac_ct_AS" >&6; }
5194 { echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6; }
5199 test -n "$ac_ct_AS" && break
5202 if test "x$ac_ct_AS" = x
; then
5205 case $cross_compiling:$ac_tool_warned in
5207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5208 whose name does not start with the host triplet. If you think this
5209 configuration is useful to you, please write to autoconf@gnu.org." >&5
5210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5211 whose name does not start with the host triplet. If you think this
5212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5213 ac_tool_warned
=yes ;;
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5221 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5224 if test "${ac_cv_prog_LD+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$LD"; then
5228 ac_cv_prog_LD
="$LD" # Let the user override the test.
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 if test -n "$LD"; then
5249 { echo "$as_me:$LINENO: result: $LD" >&5
5250 echo "${ECHO_T}$LD" >&6; }
5252 { echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; }
5258 if test -z "$ac_cv_prog_LD"; then
5260 # Extract the first word of "ld", so it can be a program name with args.
5261 set dummy ld
; ac_word
=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 if test -n "$ac_ct_LD"; then
5268 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir
=.
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_ac_ct_LD
="ld"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5288 if test -n "$ac_ct_LD"; then
5289 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5290 echo "${ECHO_T}$ac_ct_LD" >&6; }
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5296 if test "x$ac_ct_LD" = x
; then
5299 case $cross_compiling:$ac_tool_warned in
5301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5302 whose name does not start with the host triplet. If you think this
5303 configuration is useful to you, please write to autoconf@gnu.org." >&5
5304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5305 whose name does not start with the host triplet. If you think this
5306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5307 ac_tool_warned
=yes ;;
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5317 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5320 if test "${ac_cv_prog_AR+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR
="$AR" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 if test -n "$AR"; then
5345 { echo "$as_me:$LINENO: result: $AR" >&5
5346 echo "${ECHO_T}$AR" >&6; }
5348 { echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6; }
5354 if test -z "$ac_cv_prog_AR"; then
5356 # Extract the first word of "ar", so it can be a program name with args.
5357 set dummy
ar; ac_word
=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR
="ar"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5386 echo "${ECHO_T}$ac_ct_AR" >&6; }
5388 { echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6; }
5392 if test "x$ac_ct_AR" = x
; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned
=yes ;;
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5413 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5416 if test "${ac_cv_prog_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 if test -n "$RANLIB"; then
5420 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 RANLIB
=$ac_cv_prog_RANLIB
5440 if test -n "$RANLIB"; then
5441 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5442 echo "${ECHO_T}$RANLIB" >&6; }
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 if test -z "$ac_cv_prog_RANLIB"; then
5451 ac_ct_RANLIB
=$RANLIB
5452 # Extract the first word of "ranlib", so it can be a program name with args.
5453 set dummy ranlib
; ac_word
=$2
5454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 if test -n "$ac_ct_RANLIB"; then
5460 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir
=.
5467 for ac_exec_ext
in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5480 if test -n "$ac_ct_RANLIB"; then
5481 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5482 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5484 { echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6; }
5488 if test "x$ac_ct_RANLIB" = x
; then
5491 case $cross_compiling:$ac_tool_warned in
5493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&5
5496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5497 whose name does not start with the host triplet. If you think this
5498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5499 ac_tool_warned
=yes ;;
5501 RANLIB
=$ac_ct_RANLIB
5504 RANLIB
="$ac_cv_prog_RANLIB"
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5512 if test "${ac_cv_prog_STRIP+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir
=.
5523 for ac_exec_ext
in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 STRIP
=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { echo "$as_me:$LINENO: result: $STRIP" >&5
5538 echo "${ECHO_T}$STRIP" >&6; }
5540 { echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip
; ac_word
=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_STRIP
="strip"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5578 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5580 { echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6; }
5584 if test "x$ac_ct_STRIP" = x
; then
5587 case $cross_compiling:$ac_tool_warned in
5589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&5
5592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5593 whose name does not start with the host triplet. If you think this
5594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5595 ac_tool_warned
=yes ;;
5600 STRIP
="$ac_cv_prog_STRIP"
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5605 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5608 if test "${ac_cv_prog_WINDRES+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 if test -n "$WINDRES"; then
5612 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 WINDRES
=$ac_cv_prog_WINDRES
5632 if test -n "$WINDRES"; then
5633 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5634 echo "${ECHO_T}$WINDRES" >&6; }
5636 { echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6; }
5642 if test -z "$ac_cv_prog_WINDRES"; then
5643 ac_ct_WINDRES
=$WINDRES
5644 # Extract the first word of "windres", so it can be a program name with args.
5645 set dummy windres
; ac_word
=$2
5646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$ac_ct_WINDRES"; then
5652 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_ac_ct_WINDRES
="windres"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5672 if test -n "$ac_ct_WINDRES"; then
5673 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5674 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5680 if test "x$ac_ct_WINDRES" = x
; then
5683 case $cross_compiling:$ac_tool_warned in
5685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&5
5688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5691 ac_tool_warned
=yes ;;
5693 WINDRES
=$ac_ct_WINDRES
5696 WINDRES
="$ac_cv_prog_WINDRES"
5699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5702 if test "$LN_S" = "ln -s"; then
5703 { echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6; }
5706 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5707 echo "${ECHO_T}no, using $LN_S" >&6; }
5710 { echo "$as_me:$LINENO: checking whether ln works" >&5
5711 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5712 rm -f conf$$ conf$$.
file
5714 if ln conf$$.
file conf$$
2>/dev
/null
; then
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6; }
5722 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5723 echo "${ECHO_T}no, using $LN" >&6; }
5725 rm -f conf$$ conf$$.
file
5726 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5727 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5728 if test "${ac_cv_path_GREP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 # Extract the first word of "grep ggrep" to use in msg output
5732 if test -z "$GREP"; then
5733 set dummy
grep ggrep
; ac_prog_name
=$2
5734 if test "${ac_cv_path_GREP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 ac_path_GREP_found
=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5743 test -z "$as_dir" && as_dir
=.
5744 for ac_prog
in grep ggrep
; do
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5748 # Check for GNU ac_path_GREP and select it if it is found.
5749 # Check for GNU $ac_path_GREP
5750 case `"$ac_path_GREP" --version 2>&1` in
5752 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5755 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 echo 'GREP' >> "conftest.nl"
5762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5763 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5764 ac_count
=`expr $ac_count + 1`
5765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_GREP
="$ac_path_GREP"
5768 ac_path_GREP_max
=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5773 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5777 $ac_path_GREP_found && break 3
5787 GREP
="$ac_cv_path_GREP"
5788 if test -z "$GREP"; then
5789 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5790 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5791 { (exit 1); exit 1; }; }
5795 ac_cv_path_GREP
=$GREP
5800 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5801 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5802 GREP
="$ac_cv_path_GREP"
5805 { echo "$as_me:$LINENO: checking for egrep" >&5
5806 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5807 if test "${ac_cv_path_EGREP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5811 then ac_cv_path_EGREP
="$GREP -E"
5813 # Extract the first word of "egrep" to use in msg output
5814 if test -z "$EGREP"; then
5815 set dummy
egrep; ac_prog_name
=$2
5816 if test "${ac_cv_path_EGREP+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 ac_path_EGREP_found
=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5822 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5825 test -z "$as_dir" && as_dir
=.
5826 for ac_prog
in egrep; do
5827 for ac_exec_ext
in '' $ac_executable_extensions; do
5828 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5829 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5830 # Check for GNU ac_path_EGREP and select it if it is found.
5831 # Check for GNU $ac_path_EGREP
5832 case `"$ac_path_EGREP" --version 2>&1` in
5834 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5837 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 echo 'EGREP' >> "conftest.nl"
5844 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5845 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5846 ac_count
=`expr $ac_count + 1`
5847 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_EGREP
="$ac_path_EGREP"
5850 ac_path_EGREP_max
=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5855 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5859 $ac_path_EGREP_found && break 3
5869 EGREP
="$ac_cv_path_EGREP"
5870 if test -z "$EGREP"; then
5871 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5872 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5873 { (exit 1); exit 1; }; }
5877 ac_cv_path_EGREP
=$EGREP
5883 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5884 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5885 EGREP
="$ac_cv_path_EGREP"
5888 # Extract the first word of "ldconfig", so it can be a program name with args.
5889 set dummy ldconfig
; ac_word
=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5901 for as_dir
in /sbin
/usr
/sbin
$PATH
5904 test -z "$as_dir" && as_dir
=.
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5919 LDCONFIG
=$ac_cv_path_LDCONFIG
5920 if test -n "$LDCONFIG"; then
5921 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5922 echo "${ECHO_T}$LDCONFIG" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 # Find a good install program. We prefer a C program (faster),
5930 # so one script is as good as another. But avoid the broken or
5931 # incompatible versions:
5932 # SysV /etc/install, /usr/sbin/install
5933 # SunOS /usr/etc/install
5934 # IRIX /sbin/install
5936 # AmigaOS /C/install, which installs bootblocks on floppy discs
5937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5940 # OS/2's system install, which has a completely different semantic
5941 # ./install, which can be erroneously created by make from ./install.sh.
5942 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5944 if test -z "$INSTALL"; then
5945 if test "${ac_cv_path_install+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir
=.
5953 # Account for people who put trailing slashes in PATH elements.
5955 .
/ | .
// |
/cC
/* | \
5956 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5957 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5960 # OSF1 and SCO ODT 3.0 have their own names for install.
5961 # Don't use installbsd from OSF since it installs stuff as root
5963 for ac_prog
in ginstall scoinst
install; do
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5966 if test $ac_prog = install &&
5967 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5968 # AIX install. It has an incompatible calling convention.
5970 elif test $ac_prog = install &&
5971 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5972 # program-specific install script used by HP pwplus--don't use.
5975 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5988 if test "${ac_cv_path_install+set}" = set; then
5989 INSTALL
=$ac_cv_path_install
5991 # As a last resort, use the slow shell script. Don't cache a
5992 # value for INSTALL within a source directory, because that will
5993 # break other packages using the cache if that directory is
5994 # removed, or if the value is a relative name.
5995 INSTALL
=$ac_install_sh
5998 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5999 echo "${ECHO_T}$INSTALL" >&6; }
6001 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6002 # It thinks the first close brace ends the variable substitution.
6003 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6005 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6007 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6010 [\\/$
]* | ?
:[\\/]* ) ;;
6011 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6014 for ac_prog
in lclint lint
6016 # Extract the first word of "$ac_prog", so it can be a program name with args.
6017 set dummy
$ac_prog; ac_word
=$2
6018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6020 if test "${ac_cv_prog_LINT+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 if test -n "$LINT"; then
6024 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir
=.
6031 for ac_exec_ext
in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_LINT
="$ac_prog"
6034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 LINT
=$ac_cv_prog_LINT
6044 if test -n "$LINT"; then
6045 { echo "$as_me:$LINENO: result: $LINT" >&5
6046 echo "${ECHO_T}$LINT" >&6; }
6048 { echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6; }
6053 test -n "$LINT" && break
6056 if test "$LINT" = "lint"
6058 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6063 for ac_prog
in fontforge
6065 # Extract the first word of "$ac_prog", so it can be a program name with args.
6066 set dummy
$ac_prog; ac_word
=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 if test -n "$FONTFORGE"; then
6073 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6079 test -z "$as_dir" && as_dir
=.
6080 for ac_exec_ext
in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_FONTFORGE
="$ac_prog"
6083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 FONTFORGE
=$ac_cv_prog_FONTFORGE
6093 if test -n "$FONTFORGE"; then
6094 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6095 echo "${ECHO_T}$FONTFORGE" >&6; }
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6102 test -n "$FONTFORGE" && break
6104 test -n "$FONTFORGE" || FONTFORGE
="false"
6106 for ac_prog
in pkg-config
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy
$ac_prog; ac_word
=$2
6110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6112 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 if test -n "$PKG_CONFIG"; then
6116 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir
=.
6123 for ac_exec_ext
in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6136 if test -n "$PKG_CONFIG"; then
6137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 test -n "$PKG_CONFIG" && break
6147 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6152 # Extract the first word of "prelink", so it can be a program name with args.
6153 set dummy prelink
; ac_word
=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_path_PRELINK+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6165 for as_dir
in /sbin
/usr
/sbin
$PATH
6168 test -z "$as_dir" && as_dir
=.
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6183 PRELINK
=$ac_cv_path_PRELINK
6184 if test -n "$PRELINK"; then
6185 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6186 echo "${ECHO_T}$PRELINK" >&6; }
6188 { echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6; }
6198 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6199 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6200 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 ac_check_lib_save_LIBS
=$LIBS
6205 cat >conftest.
$ac_ext <<_ACEOF
6208 cat confdefs.h
>>conftest.
$ac_ext
6209 cat >>conftest.
$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any GCC internal prototype to avoid an error.
6213 Use char because int might match the return type of a GCC
6214 builtin and then its argument prototype would still apply. */
6218 char i386_set_ldt ();
6222 return i386_set_ldt ();
6227 rm -f conftest.
$ac_objext conftest
$ac_exeext
6228 if { (ac_try
="$ac_link"
6230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_link") 2>conftest.er1
6236 grep -v '^ *+' conftest.er1 >conftest.err
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } && {
6241 test -z "$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6243 } && test -s conftest$ac_exeext &&
6244 $as_test_x conftest$ac_exeext; then
6245 ac_cv_lib_i386_i386_set_ldt=yes
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 ac_cv_lib_i386_i386_set_ldt=no
6253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254 conftest$ac_exeext conftest.$ac_ext
6255 LIBS=$ac_check_lib_save_LIBS
6257 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6258 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6259 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_LIBI386 1
6269 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6270 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6271 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 ac_check_lib_save_LIBS=$LIBS
6275 LIBS="-lossaudio $LIBS"
6276 cat >conftest.$ac_ext <<_ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6293 return _oss_ioctl ();
6298 rm -f conftest.$ac_objext conftest$ac_exeext
6299 if { (ac_try="$ac_link"
6301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6302 *) ac_try_echo
=$ac_try;;
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_link") 2>conftest.er1
6307 grep -v '^ *+' conftest.er1
>conftest.err
6309 cat conftest.err
>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest
$ac_exeext &&
6315 $as_test_x conftest
$ac_exeext; then
6316 ac_cv_lib_ossaudio__oss_ioctl
=yes
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.
$ac_ext >&5
6321 ac_cv_lib_ossaudio__oss_ioctl
=no
6324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6325 conftest
$ac_exeext conftest.
$ac_ext
6326 LIBS
=$ac_check_lib_save_LIBS
6328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6329 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6330 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6331 cat >>confdefs.h
<<_ACEOF
6332 #define HAVE_LIBOSSAUDIO 1
6335 LIBS
="-lossaudio $LIBS"
6340 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6341 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 ac_check_lib_save_LIBS
=$LIBS
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6360 char _xpg4_setrunelocale ();
6364 return _xpg4_setrunelocale ();
6369 rm -f conftest.
$ac_objext conftest
$ac_exeext
6370 if { (ac_try
="$ac_link"
6372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6378 grep -v '^ *+' conftest.er1 >conftest.err
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6400 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6401 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6402 cat >>confdefs.h <<_ACEOF
6403 #define HAVE_LIBXPG4 1
6410 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6411 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6412 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 ac_check_lib_save_LIBS=$LIBS
6416 LIBS="-lpthread $LIBS"
6417 cat >conftest.$ac_ext <<_ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6424 /* Override any GCC internal prototype to avoid an error.
6425 Use char because int might match the return type of a GCC
6426 builtin and then its argument prototype would still apply. */
6430 char pthread_create ();
6434 return pthread_create ();
6439 rm -f conftest.$ac_objext conftest$ac_exeext
6440 if { (ac_try="$ac_link"
6442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6443 *) ac_try_echo
=$ac_try;;
6445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6446 (eval "$ac_link") 2>conftest.er1
6448 grep -v '^ *+' conftest.er1
>conftest.err
6450 cat conftest.err
>&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } && {
6453 test -z "$ac_c_werror_flag" ||
6454 test ! -s conftest.err
6455 } && test -s conftest
$ac_exeext &&
6456 $as_test_x conftest
$ac_exeext; then
6457 ac_cv_lib_pthread_pthread_create
=yes
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.
$ac_ext >&5
6462 ac_cv_lib_pthread_pthread_create
=no
6465 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6466 conftest
$ac_exeext conftest.
$ac_ext
6467 LIBS
=$ac_check_lib_save_LIBS
6469 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6470 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6471 if test $ac_cv_lib_pthread_pthread_create = yes; then
6472 LIBPTHREAD
="-lpthread"
6491 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6492 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6493 if test "${ac_cv_header_stdc+set}" = set; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 cat >conftest.
$ac_ext <<_ACEOF
6499 cat confdefs.h
>>conftest.
$ac_ext
6500 cat >>conftest.
$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6515 rm -f conftest.
$ac_objext
6516 if { (ac_try
="$ac_compile"
6518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6519 *) ac_try_echo=$ac_try;;
6521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6522 (eval "$ac_compile") 2>conftest.er1
6524 grep -v '^ *+' conftest.er1 >conftest.err
6526 cat conftest.err >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } && {
6529 test -z "$ac_c_werror_flag" ||
6530 test ! -s conftest.err
6531 } && test -s conftest.$ac_objext; then
6532 ac_cv_header_stdc=yes
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_header_stdc=no
6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6542 if test $ac_cv_header_stdc = yes; then
6543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "memchr" >/dev/null 2>&1; then
6557 ac_cv_header_stdc=no
6563 if test $ac_cv_header_stdc = yes; then
6564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565 cat >conftest.$ac_ext <<_ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "free" >/dev/null 2>&1; then
6578 ac_cv_header_stdc=no
6584 if test $ac_cv_header_stdc = yes; then
6585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586 if test "$cross_compiling" = yes; then
6589 cat >conftest.$ac_ext <<_ACEOF
6592 cat confdefs.h >>conftest.$ac_ext
6593 cat >>conftest.$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6597 #if ((' ' & 0x0FF) == 0x020)
6598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6601 # define ISLOWER(c) \
6602 (('a' <= (c) && (c) <= 'i') \
6603 || ('j' <= (c) && (c) <= 'r') \
6604 || ('s' <= (c) && (c) <= 'z'))
6605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6613 for (i = 0; i < 256; i++)
6614 if (XOR (islower (i), ISLOWER (i))
6615 || toupper (i) != TOUPPER (i))
6620 rm -f conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6624 *) ac_try_echo
=$ac_try;;
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6631 { (case "(($ac_try" in
6632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6633 *) ac_try_echo=$ac_try;;
6635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6636 (eval "$ac_try") 2>&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6642 echo "$as_me: program exited with status $ac_status" >&5
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6647 ac_cv_header_stdc=no
6649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6655 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6656 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6657 if test $ac_cv_header_stdc = yes; then
6659 cat >>confdefs.h <<\_ACEOF
6660 #define STDC_HEADERS 1
6665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6676 inttypes.h stdint.h unistd.h
6678 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 cat >conftest.$ac_ext <<_ACEOF
6687 cat confdefs.h >>conftest.$ac_ext
6688 cat >>conftest.$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6690 $ac_includes_default
6692 #include <$ac_header>
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6698 *) ac_try_echo
=$ac_try;;
6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6703 grep -v '^ *+' conftest.er1
>conftest.err
6705 cat conftest.err
>&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && {
6708 test -z "$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6710 } && test -s conftest.
$ac_objext; then
6711 eval "$as_ac_Header=yes"
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.
$ac_ext >&5
6716 eval "$as_ac_Header=no"
6719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6721 ac_res
=`eval echo '${'$as_ac_Header'}'`
6722 { echo "$as_me:$LINENO: result: $ac_res" >&5
6723 echo "${ECHO_T}$ac_res" >&6; }
6724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6725 cat >>confdefs.h
<<_ACEOF
6726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6844 AudioUnit
/AudioUnit.h \
6846 CoreAudio
/CoreAudio.h \
6847 DiskArbitration
/DiskArbitration.h \
6860 fontconfig
/fontconfig.h \
6886 machine
/soundcard.h \
6891 netinet
/in_systm.h \
6955 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6959 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6962 ac_res
=`eval echo '${'$as_ac_Header'}'`
6963 { echo "$as_me:$LINENO: result: $ac_res" >&5
6964 echo "${ECHO_T}$ac_res" >&6; }
6966 # Is the header compilable?
6967 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6969 cat >conftest.
$ac_ext <<_ACEOF
6972 cat confdefs.h
>>conftest.
$ac_ext
6973 cat >>conftest.
$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6975 $ac_includes_default
6976 #include <$ac_header>
6978 rm -f conftest.
$ac_objext
6979 if { (ac_try
="$ac_compile"
6981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6982 *) ac_try_echo=$ac_try;;
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_compile") 2>conftest.er1
6987 grep -v '^ *+' conftest.er1 >conftest.err
6989 cat conftest.err >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); } && {
6992 test -z "$ac_c_werror_flag" ||
6993 test ! -s conftest.err
6994 } && test -s conftest.$ac_objext; then
6995 ac_header_compiler=yes
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7000 ac_header_compiler=no
7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7005 echo "${ECHO_T}$ac_header_compiler" >&6; }
7007 # Is the header present?
7008 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7010 cat >conftest.$ac_ext <<_ACEOF
7013 cat confdefs.h >>conftest.$ac_ext
7014 cat >>conftest.$ac_ext <<_ACEOF
7015 /* end confdefs.h. */
7016 #include <$ac_header>
7018 if { (ac_try="$ac_cpp conftest.$ac_ext"
7020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7021 *) ac_try_echo
=$ac_try;;
7023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7026 grep -v '^ *+' conftest.er1
>conftest.err
7028 cat conftest.err
>&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } >/dev
/null
&& {
7031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7032 test ! -s conftest.err
7034 ac_header_preproc
=yes
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.
$ac_ext >&5
7039 ac_header_preproc
=no
7042 rm -f conftest.err conftest.
$ac_ext
7043 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7044 echo "${ECHO_T}$ac_header_preproc" >&6; }
7046 # So? What about this header?
7047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7053 ac_header_preproc
=yes
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7069 ## ------------------------------------ ##
7070 ## Report this to wine-devel@winehq.org ##
7071 ## ------------------------------------ ##
7073 ) |
sed "s/^/$as_me: WARNING: /" >&2
7076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7078 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 eval "$as_ac_Header=\$ac_header_preproc"
7083 ac_res
=`eval echo '${'$as_ac_Header'}'`
7084 { echo "$as_me:$LINENO: result: $ac_res" >&5
7085 echo "${ECHO_T}$ac_res" >&6; }
7088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7089 cat >>confdefs.h
<<_ACEOF
7090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7097 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7098 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7099 if test "${ac_cv_header_stat_broken+set}" = set; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 cat >conftest.
$ac_ext <<_ACEOF
7105 cat confdefs.h
>>conftest.
$ac_ext
7106 cat >>conftest.
$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7108 #include <sys/types.h>
7109 #include <sys/stat.h>
7111 #if defined S_ISBLK && defined S_IFDIR
7112 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7115 #if defined S_ISBLK && defined S_IFCHR
7116 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7119 #if defined S_ISLNK && defined S_IFREG
7120 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7123 #if defined S_ISSOCK && defined S_IFREG
7124 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7128 rm -f conftest.
$ac_objext
7129 if { (ac_try
="$ac_compile"
7131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135 (eval "$ac_compile") 2>conftest.er1
7137 grep -v '^ *+' conftest.er1 >conftest.err
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } && {
7142 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest.$ac_objext; then
7145 ac_cv_header_stat_broken=no
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7150 ac_cv_header_stat_broken=yes
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7155 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7156 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7157 if test $ac_cv_header_stat_broken = yes; then
7159 cat >>confdefs.h <<\_ACEOF
7160 #define STAT_MACROS_BROKEN 1
7171 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7173 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <sys/types.h>
7186 #if HAVE_SYS_PARAM_H
7187 # include <sys/param.h>
7190 #include <$ac_header>
7192 rm -f conftest.$ac_objext
7193 if { (ac_try="$ac_compile"
7195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7196 *) ac_try_echo
=$ac_try;;
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_compile") 2>conftest.er1
7201 grep -v '^ *+' conftest.er1
>conftest.err
7203 cat conftest.err
>&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } && {
7206 test -z "$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 } && test -s conftest.
$ac_objext; then
7209 eval "$as_ac_Header=yes"
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.
$ac_ext >&5
7214 eval "$as_ac_Header=no"
7217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7219 ac_res
=`eval echo '${'$as_ac_Header'}'`
7220 { echo "$as_me:$LINENO: result: $ac_res" >&5
7221 echo "${ECHO_T}$ac_res" >&6; }
7222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7223 cat >>confdefs.h
<<_ACEOF
7224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7238 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
7240 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7243 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 cat >conftest.
$ac_ext <<_ACEOF
7249 cat confdefs.h
>>conftest.
$ac_ext
7250 cat >>conftest.
$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 #include <sys/types.h>
7253 #if HAVE_SYS_SOCKET_H
7254 # include <sys/socket.h>
7257 #include <$ac_header>
7259 rm -f conftest.
$ac_objext
7260 if { (ac_try
="$ac_compile"
7262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7263 *) ac_try_echo=$ac_try;;
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_compile") 2>conftest.er1
7268 grep -v '^ *+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then
7276 eval "$as_ac_Header=yes"
7278 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5
7281 eval "$as_ac_Header=no"
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7286 ac_res=`eval echo '${'$as_ac_Header'}'`
7287 { echo "$as_me:$LINENO: result: $ac_res" >&5
7288 echo "${ECHO_T}$ac_res" >&6; }
7289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7290 cat >>confdefs.h <<_ACEOF
7291 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7300 for ac_header in linux/ipx.h
7302 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 cat >conftest.$ac_ext <<_ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <sys/types.h>
7315 #ifdef HAVE_ASM_TYPES_H
7316 # include <asm/types.h>
7318 #if HAVE_SYS_SOCKET_H
7319 # include <sys/socket.h>
7322 #include <$ac_header>
7324 rm -f conftest.$ac_objext
7325 if { (ac_try="$ac_compile"
7327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7328 *) ac_try_echo
=$ac_try;;
7330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7331 (eval "$ac_compile") 2>conftest.er1
7333 grep -v '^ *+' conftest.er1
>conftest.err
7335 cat conftest.err
>&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); } && {
7338 test -z "$ac_c_werror_flag" ||
7339 test ! -s conftest.err
7340 } && test -s conftest.
$ac_objext; then
7341 eval "$as_ac_Header=yes"
7343 echo "$as_me: failed program was:" >&5
7344 sed 's/^/| /' conftest.
$ac_ext >&5
7346 eval "$as_ac_Header=no"
7349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7351 ac_res
=`eval echo '${'$as_ac_Header'}'`
7352 { echo "$as_me:$LINENO: result: $ac_res" >&5
7353 echo "${ECHO_T}$ac_res" >&6; }
7354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7355 cat >>confdefs.h
<<_ACEOF
7356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7365 for ac_header
in resolv.h
7367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7370 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7371 echo $ECHO_N "(cached) $ECHO_C" >&6
7373 cat >conftest.
$ac_ext <<_ACEOF
7376 cat confdefs.h
>>conftest.
$ac_ext
7377 cat >>conftest.
$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7379 #include <sys/types.h>
7380 #if HAVE_SYS_SOCKET_H
7381 # include <sys/socket.h>
7383 #if HAVE_NETINET_IN_H
7384 # include <netinet/in.h>
7386 #if HAVE_ARPA_NAMESER_H
7387 # include <arpa/nameser.h>
7390 #include <$ac_header>
7392 rm -f conftest.
$ac_objext
7393 if { (ac_try
="$ac_compile"
7395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7396 *) ac_try_echo=$ac_try;;
7398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7399 (eval "$ac_compile") 2>conftest.er1
7401 grep -v '^ *+' conftest.er1 >conftest.err
7403 cat conftest.err >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } && {
7406 test -z "$ac_c_werror_flag" ||
7407 test ! -s conftest.err
7408 } && test -s conftest.$ac_objext; then
7409 eval "$as_ac_Header=yes"
7411 echo "$as_me: failed program was:" >&5
7412 sed 's/^/| /' conftest.$ac_ext >&5
7414 eval "$as_ac_Header=no"
7417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7419 ac_res=`eval echo '${'$as_ac_Header'}'`
7420 { echo "$as_me:$LINENO: result: $ac_res" >&5
7421 echo "${ECHO_T}$ac_res" >&6; }
7422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7423 cat >>confdefs.h <<_ACEOF
7424 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7433 for ac_header in ucontext.h
7435 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7436 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7439 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 cat >conftest.$ac_ext <<_ACEOF
7444 cat confdefs.h >>conftest.$ac_ext
7445 cat >>conftest.$ac_ext <<_ACEOF
7446 /* end confdefs.h. */
7449 #include <$ac_header>
7451 rm -f conftest.$ac_objext
7452 if { (ac_try="$ac_compile"
7454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7455 *) ac_try_echo
=$ac_try;;
7457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7458 (eval "$ac_compile") 2>conftest.er1
7460 grep -v '^ *+' conftest.er1
>conftest.err
7462 cat conftest.err
>&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); } && {
7465 test -z "$ac_c_werror_flag" ||
7466 test ! -s conftest.err
7467 } && test -s conftest.
$ac_objext; then
7468 eval "$as_ac_Header=yes"
7470 echo "$as_me: failed program was:" >&5
7471 sed 's/^/| /' conftest.
$ac_ext >&5
7473 eval "$as_ac_Header=no"
7476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7478 ac_res
=`eval echo '${'$as_ac_Header'}'`
7479 { echo "$as_me:$LINENO: result: $ac_res" >&5
7480 echo "${ECHO_T}$ac_res" >&6; }
7481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7482 cat >>confdefs.h
<<_ACEOF
7483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7492 for ac_header
in pthread_np.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 #ifdef HAVE_PTHREAD_H
7507 #include <pthread.h>
7510 #include <$ac_header>
7512 rm -f conftest.
$ac_objext
7513 if { (ac_try
="$ac_compile"
7515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7516 *) ac_try_echo=$ac_try;;
7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7519 (eval "$ac_compile") 2>conftest.er1
7521 grep -v '^ *+' conftest.er1 >conftest.err
7523 cat conftest.err >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } && {
7526 test -z "$ac_c_werror_flag" ||
7527 test ! -s conftest.err
7528 } && test -s conftest.$ac_objext; then
7529 eval "$as_ac_Header=yes"
7531 echo "$as_me: failed program was:" >&5
7532 sed 's/^/| /' conftest.$ac_ext >&5
7534 eval "$as_ac_Header=no"
7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7539 ac_res=`eval echo '${'$as_ac_Header'}'`
7540 { echo "$as_me:$LINENO: result: $ac_res" >&5
7541 echo "${ECHO_T}$ac_res" >&6; }
7542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7543 cat >>confdefs.h <<_ACEOF
7544 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7553 for ac_header in linux/videodev.h
7555 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7556 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 cat >conftest.$ac_ext <<_ACEOF
7564 cat confdefs.h >>conftest.$ac_ext
7565 cat >>conftest.$ac_ext <<_ACEOF
7566 /* end confdefs.h. */
7567 #ifdef HAVE_SYS_TIME_H
7568 #include <sys/time.h>
7570 #include <sys/types.h>
7571 #ifdef HAVE_ASM_TYPES_H
7572 #include <asm/types.h>
7575 #include <$ac_header>
7577 rm -f conftest.$ac_objext
7578 if { (ac_try="$ac_compile"
7580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7581 *) ac_try_echo
=$ac_try;;
7583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584 (eval "$ac_compile") 2>conftest.er1
7586 grep -v '^ *+' conftest.er1
>conftest.err
7588 cat conftest.err
>&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } && {
7591 test -z "$ac_c_werror_flag" ||
7592 test ! -s conftest.err
7593 } && test -s conftest.
$ac_objext; then
7594 eval "$as_ac_Header=yes"
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.
$ac_ext >&5
7599 eval "$as_ac_Header=no"
7602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7604 ac_res
=`eval echo '${'$as_ac_Header'}'`
7605 { echo "$as_me:$LINENO: result: $ac_res" >&5
7606 echo "${ECHO_T}$ac_res" >&6; }
7607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7608 cat >>confdefs.h
<<_ACEOF
7609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 for ac_header
in linux
/capi.h
7620 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7623 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 cat >conftest.
$ac_ext <<_ACEOF
7629 cat confdefs.h
>>conftest.
$ac_ext
7630 cat >>conftest.
$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7634 #include <$ac_header>
7636 rm -f conftest.
$ac_objext
7637 if { (ac_try
="$ac_compile"
7639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7640 *) ac_try_echo=$ac_try;;
7642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7643 (eval "$ac_compile") 2>conftest.er1
7645 grep -v '^ *+' conftest.er1 >conftest.err
7647 cat conftest.err >&5
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); } && {
7650 test -z "$ac_c_werror_flag" ||
7651 test ! -s conftest.err
7652 } && test -s conftest.$ac_objext; then
7653 eval "$as_ac_Header=yes"
7655 echo "$as_me: failed program was:" >&5
7656 sed 's/^/| /' conftest.$ac_ext >&5
7658 eval "$as_ac_Header=no"
7661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7663 ac_res=`eval echo '${'$as_ac_Header'}'`
7664 { echo "$as_me:$LINENO: result: $ac_res" >&5
7665 echo "${ECHO_T}$ac_res" >&6; }
7666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7667 cat >>confdefs.h <<_ACEOF
7668 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7677 if test "$have_x" = "yes"
7680 ac_save_CPPFLAGS="$CPPFLAGS"
7681 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7694 for ac_header in X11/Xlib.h \
7697 X11/Xcursor/Xcursor.h \
7698 X11/extensions/shape.h \
7699 X11/extensions/XInput.h \
7700 X11/extensions/XShm.h \
7701 X11/extensions/Xinerama.h \
7702 X11/extensions/Xrandr.h \
7703 X11/extensions/Xrender.h \
7704 X11/extensions/xf86vmode.h
7706 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 cat >conftest.$ac_ext <<_ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7718 #ifdef HAVE_X11_XLIB_H
7719 # include <X11/Xlib.h>
7721 #ifdef HAVE_X11_XUTIL_H
7722 # include <X11/Xutil.h>
7725 #include <$ac_header>
7727 rm -f conftest.$ac_objext
7728 if { (ac_try="$ac_compile"
7730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7731 *) ac_try_echo
=$ac_try;;
7733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7734 (eval "$ac_compile") 2>conftest.er1
7736 grep -v '^ *+' conftest.er1
>conftest.err
7738 cat conftest.err
>&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); } && {
7741 test -z "$ac_c_werror_flag" ||
7742 test ! -s conftest.err
7743 } && test -s conftest.
$ac_objext; then
7744 eval "$as_ac_Header=yes"
7746 echo "$as_me: failed program was:" >&5
7747 sed 's/^/| /' conftest.
$ac_ext >&5
7749 eval "$as_ac_Header=no"
7752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7754 ac_res
=`eval echo '${'$as_ac_Header'}'`
7755 { echo "$as_me:$LINENO: result: $ac_res" >&5
7756 echo "${ECHO_T}$ac_res" >&6; }
7757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7758 cat >>confdefs.h
<<_ACEOF
7759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7767 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7769 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7770 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7771 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 ac_check_lib_save_LIBS
=$LIBS
7775 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7776 cat >conftest.
$ac_ext <<_ACEOF
7779 cat confdefs.h
>>conftest.
$ac_ext
7780 cat >>conftest.
$ac_ext <<_ACEOF
7781 /* end confdefs.h. */
7783 /* Override any GCC internal prototype to avoid an error.
7784 Use char because int might match the return type of a GCC
7785 builtin and then its argument prototype would still apply. */
7789 char XkbQueryExtension ();
7793 return XkbQueryExtension ();
7798 rm -f conftest.
$ac_objext conftest
$ac_exeext
7799 if { (ac_try
="$ac_link"
7801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_link") 2>conftest.er1
7807 grep -v '^ *+' conftest.er1 >conftest.err
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } && {
7812 test -z "$ac_c_werror_flag" ||
7813 test ! -s conftest.err
7814 } && test -s conftest$ac_exeext &&
7815 $as_test_x conftest$ac_exeext; then
7816 ac_cv_lib_X11_XkbQueryExtension=yes
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.$ac_ext >&5
7821 ac_cv_lib_X11_XkbQueryExtension=no
7824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7825 conftest$ac_exeext conftest.$ac_ext
7826 LIBS=$ac_check_lib_save_LIBS
7828 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7829 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7830 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7832 cat >>confdefs.h <<\_ACEOF
7840 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7842 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7843 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7844 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 ac_check_lib_save_LIBS=$LIBS
7848 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7849 cat >conftest.$ac_ext <<_ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7856 /* Override any GCC internal prototype to avoid an error.
7857 Use char because int might match the return type of a GCC
7858 builtin and then its argument prototype would still apply. */
7862 char XShmQueryExtension ();
7866 return XShmQueryExtension ();
7871 rm -f conftest.$ac_objext conftest$ac_exeext
7872 if { (ac_try="$ac_link"
7874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7875 *) ac_try_echo
=$ac_try;;
7877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7878 (eval "$ac_link") 2>conftest.er1
7880 grep -v '^ *+' conftest.er1
>conftest.err
7882 cat conftest.err
>&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); } && {
7885 test -z "$ac_c_werror_flag" ||
7886 test ! -s conftest.err
7887 } && test -s conftest
$ac_exeext &&
7888 $as_test_x conftest
$ac_exeext; then
7889 ac_cv_lib_Xext_XShmQueryExtension
=yes
7891 echo "$as_me: failed program was:" >&5
7892 sed 's/^/| /' conftest.
$ac_ext >&5
7894 ac_cv_lib_Xext_XShmQueryExtension
=no
7897 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7898 conftest
$ac_exeext conftest.
$ac_ext
7899 LIBS
=$ac_check_lib_save_LIBS
7901 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7902 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7903 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7905 cat >>confdefs.h
<<\_ACEOF
7906 #define HAVE_LIBXXSHM 1
7913 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7915 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7916 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7917 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7920 ac_check_lib_save_LIBS
=$LIBS
7921 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7922 cat >conftest.
$ac_ext <<_ACEOF
7925 cat confdefs.h
>>conftest.
$ac_ext
7926 cat >>conftest.
$ac_ext <<_ACEOF
7927 /* end confdefs.h. */
7929 /* Override any GCC internal prototype to avoid an error.
7930 Use char because int might match the return type of a GCC
7931 builtin and then its argument prototype would still apply. */
7935 char XShapeQueryExtension ();
7939 return XShapeQueryExtension ();
7944 rm -f conftest.
$ac_objext conftest
$ac_exeext
7945 if { (ac_try
="$ac_link"
7947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7948 *) ac_try_echo=$ac_try;;
7950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7951 (eval "$ac_link") 2>conftest.er1
7953 grep -v '^ *+' conftest.er1 >conftest.err
7955 cat conftest.err >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } && {
7958 test -z "$ac_c_werror_flag" ||
7959 test ! -s conftest.err
7960 } && test -s conftest$ac_exeext &&
7961 $as_test_x conftest$ac_exeext; then
7962 ac_cv_lib_Xext_XShapeQueryExtension=yes
7964 echo "$as_me: failed program was:" >&5
7965 sed 's/^/| /' conftest.$ac_ext >&5
7967 ac_cv_lib_Xext_XShapeQueryExtension=no
7970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7971 conftest$ac_exeext conftest.$ac_ext
7972 LIBS=$ac_check_lib_save_LIBS
7974 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7975 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7976 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7978 cat >>confdefs.h <<\_ACEOF
7979 #define HAVE_LIBXSHAPE 1
7986 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7988 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7989 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7990 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7991 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 ac_check_lib_save_LIBS=$LIBS
7994 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7995 cat >conftest.$ac_ext <<_ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8002 /* Override any GCC internal prototype to avoid an error.
8003 Use char because int might match the return type of a GCC
8004 builtin and then its argument prototype would still apply. */
8008 char XF86VidModeQueryExtension ();
8012 return XF86VidModeQueryExtension ();
8017 rm -f conftest.$ac_objext conftest$ac_exeext
8018 if { (ac_try="$ac_link"
8020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8021 *) ac_try_echo
=$ac_try;;
8023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8024 (eval "$ac_link") 2>conftest.er1
8026 grep -v '^ *+' conftest.er1
>conftest.err
8028 cat conftest.err
>&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } && {
8031 test -z "$ac_c_werror_flag" ||
8032 test ! -s conftest.err
8033 } && test -s conftest
$ac_exeext &&
8034 $as_test_x conftest
$ac_exeext; then
8035 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8037 echo "$as_me: failed program was:" >&5
8038 sed 's/^/| /' conftest.
$ac_ext >&5
8040 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8044 conftest
$ac_exeext conftest.
$ac_ext
8045 LIBS
=$ac_check_lib_save_LIBS
8047 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8048 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8049 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8051 cat >>confdefs.h
<<\_ACEOF
8052 #define HAVE_LIBXXF86VM 1
8055 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8061 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8063 cat >conftest.
$ac_ext <<_ACEOF
8066 cat confdefs.h
>>conftest.
$ac_ext
8067 cat >>conftest.
$ac_ext <<_ACEOF
8068 /* end confdefs.h. */
8069 #include <X11/Xlib.h>
8070 #include <X11/extensions/Xrandr.h>
8074 static typeof(XRRSetScreenConfigAndRate) * func;
8079 rm -f conftest.
$ac_objext
8080 if { (ac_try
="$ac_compile"
8082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8083 *) ac_try_echo=$ac_try;;
8085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8086 (eval "$ac_compile") 2>conftest.er1
8088 grep -v '^ *+' conftest.er1 >conftest.err
8090 cat conftest.err >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } && {
8093 test -z "$ac_c_werror_flag" ||
8094 test ! -s conftest.err
8095 } && test -s conftest.$ac_objext; then
8097 cat >>confdefs.h <<\_ACEOF
8098 #define HAVE_LIBXRANDR 1
8102 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.$ac_ext >&5
8108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8111 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8113 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8114 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8115 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 ac_check_lib_save_LIBS=$LIBS
8119 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8120 cat >conftest.$ac_ext <<_ACEOF
8123 cat confdefs.h >>conftest.$ac_ext
8124 cat >>conftest.$ac_ext <<_ACEOF
8125 /* end confdefs.h. */
8127 /* Override any GCC internal prototype to avoid an error.
8128 Use char because int might match the return type of a GCC
8129 builtin and then its argument prototype would still apply. */
8133 char XRenderSetPictureTransform ();
8137 return XRenderSetPictureTransform ();
8142 rm -f conftest.$ac_objext conftest$ac_exeext
8143 if { (ac_try="$ac_link"
8145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8146 *) ac_try_echo
=$ac_try;;
8148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8149 (eval "$ac_link") 2>conftest.er1
8151 grep -v '^ *+' conftest.er1
>conftest.err
8153 cat conftest.err
>&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); } && {
8156 test -z "$ac_c_werror_flag" ||
8157 test ! -s conftest.err
8158 } && test -s conftest
$ac_exeext &&
8159 $as_test_x conftest
$ac_exeext; then
8160 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8162 echo "$as_me: failed program was:" >&5
8163 sed 's/^/| /' conftest.
$ac_ext >&5
8165 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8168 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8169 conftest
$ac_exeext conftest.
$ac_ext
8170 LIBS
=$ac_check_lib_save_LIBS
8172 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8173 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8174 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8176 cat >>confdefs.h
<<\_ACEOF
8177 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8184 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8186 cat >conftest.
$ac_ext <<_ACEOF
8189 cat confdefs.h
>>conftest.
$ac_ext
8190 cat >>conftest.
$ac_ext <<_ACEOF
8191 /* end confdefs.h. */
8192 #include <X11/Xlib.h>
8193 #include <X11/extensions/Xinerama.h>
8197 static typeof(XineramaQueryScreens) * func;
8202 rm -f conftest.
$ac_objext
8203 if { (ac_try
="$ac_compile"
8205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8206 *) ac_try_echo=$ac_try;;
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_compile") 2>conftest.er1
8211 grep -v '^ *+' conftest.er1 >conftest.err
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && {
8216 test -z "$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8218 } && test -s conftest.$ac_objext; then
8220 cat >>confdefs.h <<\_ACEOF
8221 #define HAVE_LIBXINERAMA 1
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8235 if test "x$with_opengl" != "xno"
8241 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8243 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8247 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 cat >conftest.$ac_ext <<_ACEOF
8252 cat confdefs.h >>conftest.$ac_ext
8253 cat >>conftest.$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8255 #ifdef HAVE_GL_GLX_H
8256 # include <GL/glx.h>
8259 #include <$ac_header>
8261 rm -f conftest.$ac_objext
8262 if { (ac_try="$ac_compile"
8264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8265 *) ac_try_echo
=$ac_try;;
8267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8268 (eval "$ac_compile") 2>conftest.er1
8270 grep -v '^ *+' conftest.er1
>conftest.err
8272 cat conftest.err
>&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); } && {
8275 test -z "$ac_c_werror_flag" ||
8276 test ! -s conftest.err
8277 } && test -s conftest.
$ac_objext; then
8278 eval "$as_ac_Header=yes"
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.
$ac_ext >&5
8283 eval "$as_ac_Header=no"
8286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8288 ac_res
=`eval echo '${'$as_ac_Header'}'`
8289 { echo "$as_me:$LINENO: result: $ac_res" >&5
8290 echo "${ECHO_T}$ac_res" >&6; }
8291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8292 cat >>confdefs.h
<<_ACEOF
8293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8300 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8302 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8303 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8304 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 cat >conftest.
$ac_ext <<_ACEOF
8310 cat confdefs.h
>>conftest.
$ac_ext
8311 cat >>conftest.
$ac_ext <<_ACEOF
8312 /* end confdefs.h. */
8317 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8322 rm -f conftest.
$ac_objext
8323 if { (ac_try
="$ac_compile"
8325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8326 *) ac_try_echo=$ac_try;;
8328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8329 (eval "$ac_compile") 2>conftest.er1
8331 grep -v '^ *+' conftest.er1 >conftest.err
8333 cat conftest.err >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } && {
8336 test -z "$ac_c_werror_flag" ||
8337 test ! -s conftest.err
8338 } && test -s conftest.$ac_objext; then
8339 wine_cv_opengl_header_version_OK="yes"
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.$ac_ext >&5
8344 wine_cv_opengl_header_version_OK="no"
8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8351 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8352 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8354 if test "$wine_cv_opengl_header_version_OK" = "yes"
8356 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8357 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8358 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 ac_check_lib_save_LIBS=$LIBS
8362 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8363 cat >conftest.$ac_ext <<_ACEOF
8366 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8370 /* Override any GCC internal prototype to avoid an error.
8371 Use char because int might match the return type of a GCC
8372 builtin and then its argument prototype would still apply. */
8376 char glXCreateContext ();
8380 return glXCreateContext ();
8385 rm -f conftest.$ac_objext conftest$ac_exeext
8386 if { (ac_try="$ac_link"
8388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8389 *) ac_try_echo
=$ac_try;;
8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8392 (eval "$ac_link") 2>conftest.er1
8394 grep -v '^ *+' conftest.er1
>conftest.err
8396 cat conftest.err
>&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } && {
8399 test -z "$ac_c_werror_flag" ||
8400 test ! -s conftest.err
8401 } && test -s conftest
$ac_exeext &&
8402 $as_test_x conftest
$ac_exeext; then
8403 ac_cv_lib_GL_glXCreateContext
=yes
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.
$ac_ext >&5
8408 ac_cv_lib_GL_glXCreateContext
=no
8411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8412 conftest
$ac_exeext conftest.
$ac_ext
8413 LIBS
=$ac_check_lib_save_LIBS
8415 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8416 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8417 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8419 OPENGLFILES
='$(OPENGLFILES)'
8421 cat >>confdefs.h
<<\_ACEOF
8422 #define HAVE_OPENGL 1
8429 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8430 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8431 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 ac_check_lib_save_LIBS
=$LIBS
8435 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8437 cat >conftest.
$ac_ext <<_ACEOF
8440 cat confdefs.h
>>conftest.
$ac_ext
8441 cat >>conftest.
$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8444 /* Override any GCC internal prototype to avoid an error.
8445 Use char because int might match the return type of a GCC
8446 builtin and then its argument prototype would still apply. */
8454 return gluLookAt ();
8459 rm -f conftest.
$ac_objext conftest
$ac_exeext
8460 if { (ac_try
="$ac_link"
8462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_link") 2>conftest.er1
8468 grep -v '^ *+' conftest.er1 >conftest.err
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest$ac_exeext &&
8476 $as_test_x conftest$ac_exeext; then
8477 ac_cv_lib_GLU_gluLookAt=yes
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8482 ac_cv_lib_GLU_gluLookAt=no
8485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8486 conftest$ac_exeext conftest.$ac_ext
8487 LIBS=$ac_check_lib_save_LIBS
8489 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8490 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8491 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8492 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8493 GLU32FILES='$(GLU32FILES)'
8499 wine_cv_opengl_headers_found="no"
8505 for ac_header in audio/audiolib.h
8507 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 ac_res=`eval echo '${'$as_ac_Header'}'`
8515 { echo "$as_me:$LINENO: result: $ac_res" >&5
8516 echo "${ECHO_T}$ac_res" >&6; }
8518 # Is the header compilable?
8519 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8521 cat >conftest.$ac_ext <<_ACEOF
8524 cat confdefs.h >>conftest.$ac_ext
8525 cat >>conftest.$ac_ext <<_ACEOF
8526 /* end confdefs.h. */
8527 $ac_includes_default
8528 #include <$ac_header>
8530 rm -f conftest.$ac_objext
8531 if { (ac_try="$ac_compile"
8533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8534 *) ac_try_echo
=$ac_try;;
8536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8537 (eval "$ac_compile") 2>conftest.er1
8539 grep -v '^ *+' conftest.er1
>conftest.err
8541 cat conftest.err
>&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } && {
8544 test -z "$ac_c_werror_flag" ||
8545 test ! -s conftest.err
8546 } && test -s conftest.
$ac_objext; then
8547 ac_header_compiler
=yes
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.
$ac_ext >&5
8552 ac_header_compiler
=no
8555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8556 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8557 echo "${ECHO_T}$ac_header_compiler" >&6; }
8559 # Is the header present?
8560 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8562 cat >conftest.
$ac_ext <<_ACEOF
8565 cat confdefs.h
>>conftest.
$ac_ext
8566 cat >>conftest.
$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 #include <$ac_header>
8570 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8573 *) ac_try_echo=$ac_try;;
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8578 grep -v '^ *+' conftest.er1 >conftest.err
8580 cat conftest.err >&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } >/dev/null && {
8583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8586 ac_header_preproc=yes
8588 echo "$as_me: failed program was:" >&5
8589 sed 's/^/| /' conftest.$ac_ext >&5
8591 ac_header_preproc=no
8594 rm -f conftest.err conftest.$ac_ext
8595 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8596 echo "${ECHO_T}$ac_header_preproc" >&6; }
8598 # So? What about this header?
8599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8605 ac_header_preproc=yes
8608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8621 ## ------------------------------------ ##
8622 ## Report this to wine-devel@winehq.org ##
8623 ## ------------------------------------ ##
8625 ) | sed "s/^/$as_me: WARNING: /" >&2
8628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 eval "$as_ac_Header=\$ac_header_preproc"
8635 ac_res=`eval echo '${'$as_ac_Header'}'`
8636 { echo "$as_me:$LINENO: result: $ac_res" >&5
8637 echo "${ECHO_T}$ac_res" >&6; }
8640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8641 cat >>confdefs.h <<_ACEOF
8642 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8645 for ac_header in audio/soundlib.h
8647 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 cat >conftest.$ac_ext <<_ACEOF
8656 cat confdefs.h >>conftest.$ac_ext
8657 cat >>conftest.$ac_ext <<_ACEOF
8658 /* end confdefs.h. */
8659 #include <audio/audiolib.h>
8661 #include <$ac_header>
8663 rm -f conftest.$ac_objext
8664 if { (ac_try="$ac_compile"
8666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8667 *) ac_try_echo
=$ac_try;;
8669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8670 (eval "$ac_compile") 2>conftest.er1
8672 grep -v '^ *+' conftest.er1
>conftest.err
8674 cat conftest.err
>&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } && {
8677 test -z "$ac_c_werror_flag" ||
8678 test ! -s conftest.err
8679 } && test -s conftest.
$ac_objext; then
8680 eval "$as_ac_Header=yes"
8682 echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.
$ac_ext >&5
8685 eval "$as_ac_Header=no"
8688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8690 ac_res
=`eval echo '${'$as_ac_Header'}'`
8691 { echo "$as_me:$LINENO: result: $ac_res" >&5
8692 echo "${ECHO_T}$ac_res" >&6; }
8693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8694 cat >>confdefs.h
<<_ACEOF
8695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8702 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8703 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8704 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 ac_check_lib_save_LIBS
=$LIBS
8708 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8709 cat >conftest.
$ac_ext <<_ACEOF
8712 cat confdefs.h
>>conftest.
$ac_ext
8713 cat >>conftest.
$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8716 /* Override any GCC internal prototype to avoid an error.
8717 Use char because int might match the return type of a GCC
8718 builtin and then its argument prototype would still apply. */
8722 char AuCreateFlow ();
8726 return AuCreateFlow ();
8731 rm -f conftest.
$ac_objext conftest
$ac_exeext
8732 if { (ac_try
="$ac_link"
8734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8735 *) ac_try_echo=$ac_try;;
8737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8738 (eval "$ac_link") 2>conftest.er1
8740 grep -v '^ *+' conftest.er1 >conftest.err
8742 cat conftest.err >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); } && {
8745 test -z "$ac_c_werror_flag" ||
8746 test ! -s conftest.err
8747 } && test -s conftest$ac_exeext &&
8748 $as_test_x conftest$ac_exeext; then
8749 ac_cv_lib_audio_AuCreateFlow=yes
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8754 ac_cv_lib_audio_AuCreateFlow=no
8757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8758 conftest$ac_exeext conftest.$ac_ext
8759 LIBS=$ac_check_lib_save_LIBS
8761 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8762 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8763 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8765 cat >>confdefs.h <<\_ACEOF
8769 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8770 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8771 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8774 ac_check_lib_save_LIBS=$LIBS
8775 LIBS="-lXau $X_LIBS $LIBS"
8776 cat >conftest.$ac_ext <<_ACEOF
8779 cat confdefs.h >>conftest.$ac_ext
8780 cat >>conftest.$ac_ext <<_ACEOF
8781 /* end confdefs.h. */
8783 /* Override any GCC internal prototype to avoid an error.
8784 Use char because int might match the return type of a GCC
8785 builtin and then its argument prototype would still apply. */
8789 char XauGetBestAuthByAddr ();
8793 return XauGetBestAuthByAddr ();
8798 rm -f conftest.$ac_objext conftest$ac_exeext
8799 if { (ac_try="$ac_link"
8801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8802 *) ac_try_echo
=$ac_try;;
8804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8805 (eval "$ac_link") 2>conftest.er1
8807 grep -v '^ *+' conftest.er1
>conftest.err
8809 cat conftest.err
>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } && {
8812 test -z "$ac_c_werror_flag" ||
8813 test ! -s conftest.err
8814 } && test -s conftest
$ac_exeext &&
8815 $as_test_x conftest
$ac_exeext; then
8816 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.
$ac_ext >&5
8821 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8824 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8825 conftest
$ac_exeext conftest.
$ac_ext
8826 LIBS
=$ac_check_lib_save_LIBS
8828 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8829 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8830 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8831 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8833 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8844 CPPFLAGS
="$ac_save_CPPFLAGS"
8861 if test "$PKG_CONFIG" != "false"
8863 ac_save_CPPFLAGS
="$CPPFLAGS"
8864 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8865 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8866 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8868 for ac_header
in libxml
/parser.h
8870 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8871 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8872 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8874 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8875 echo $ECHO_N "(cached) $ECHO_C" >&6
8877 ac_res
=`eval echo '${'$as_ac_Header'}'`
8878 { echo "$as_me:$LINENO: result: $ac_res" >&5
8879 echo "${ECHO_T}$ac_res" >&6; }
8881 # Is the header compilable?
8882 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8884 cat >conftest.
$ac_ext <<_ACEOF
8887 cat confdefs.h
>>conftest.
$ac_ext
8888 cat >>conftest.
$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8890 $ac_includes_default
8891 #include <$ac_header>
8893 rm -f conftest.
$ac_objext
8894 if { (ac_try
="$ac_compile"
8896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_compile") 2>conftest.er1
8902 grep -v '^ *+' conftest.er1 >conftest.err
8904 cat conftest.err >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } && {
8907 test -z "$ac_c_werror_flag" ||
8908 test ! -s conftest.err
8909 } && test -s conftest.$ac_objext; then
8910 ac_header_compiler=yes
8912 echo "$as_me: failed program was:" >&5
8913 sed 's/^/| /' conftest.$ac_ext >&5
8915 ac_header_compiler=no
8918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8919 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8920 echo "${ECHO_T}$ac_header_compiler" >&6; }
8922 # Is the header present?
8923 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8925 cat >conftest.$ac_ext <<_ACEOF
8928 cat confdefs.h >>conftest.$ac_ext
8929 cat >>conftest.$ac_ext <<_ACEOF
8930 /* end confdefs.h. */
8931 #include <$ac_header>
8933 if { (ac_try="$ac_cpp conftest.$ac_ext"
8935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8936 *) ac_try_echo
=$ac_try;;
8938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8941 grep -v '^ *+' conftest.er1
>conftest.err
8943 cat conftest.err
>&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } >/dev
/null
&& {
8946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8947 test ! -s conftest.err
8949 ac_header_preproc
=yes
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.
$ac_ext >&5
8954 ac_header_preproc
=no
8957 rm -f conftest.err conftest.
$ac_ext
8958 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8959 echo "${ECHO_T}$ac_header_preproc" >&6; }
8961 # So? What about this header?
8962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8968 ac_header_preproc
=yes
8971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8984 ## ------------------------------------ ##
8985 ## Report this to wine-devel@winehq.org ##
8986 ## ------------------------------------ ##
8988 ) |
sed "s/^/$as_me: WARNING: /" >&2
8991 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8993 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 eval "$as_ac_Header=\$ac_header_preproc"
8998 ac_res
=`eval echo '${'$as_ac_Header'}'`
8999 { echo "$as_me:$LINENO: result: $ac_res" >&5
9000 echo "${ECHO_T}$ac_res" >&6; }
9003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9004 cat >>confdefs.h
<<_ACEOF
9005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9007 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9008 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9009 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9010 echo $ECHO_N "(cached) $ECHO_C" >&6
9012 ac_check_lib_save_LIBS
=$LIBS
9013 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9014 cat >conftest.
$ac_ext <<_ACEOF
9017 cat confdefs.h
>>conftest.
$ac_ext
9018 cat >>conftest.
$ac_ext <<_ACEOF
9019 /* end confdefs.h. */
9021 /* Override any GCC internal prototype to avoid an error.
9022 Use char because int might match the return type of a GCC
9023 builtin and then its argument prototype would still apply. */
9027 char xmlParseMemory ();
9031 return xmlParseMemory ();
9036 rm -f conftest.
$ac_objext conftest
$ac_exeext
9037 if { (ac_try
="$ac_link"
9039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9040 *) ac_try_echo=$ac_try;;
9042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9043 (eval "$ac_link") 2>conftest.er1
9045 grep -v '^ *+' conftest.er1 >conftest.err
9047 cat conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } && {
9050 test -z "$ac_c_werror_flag" ||
9051 test ! -s conftest.err
9052 } && test -s conftest$ac_exeext &&
9053 $as_test_x conftest$ac_exeext; then
9054 ac_cv_lib_xml2_xmlParseMemory=yes
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.$ac_ext >&5
9059 ac_cv_lib_xml2_xmlParseMemory=no
9062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS=$ac_check_lib_save_LIBS
9066 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9067 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9068 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9070 cat >>confdefs.h <<\_ACEOF
9071 #define HAVE_LIBXML2 1
9074 XML2LIBS="$ac_xml_libs"
9075 XML2INCL="$ac_xml_cflags"
9078 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9079 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9080 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 ac_check_lib_save_LIBS=$LIBS
9084 LIBS="-lxml2 $ac_xml_libs $LIBS"
9085 cat >conftest.$ac_ext <<_ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9098 char xmlReadMemory ();
9102 return xmlReadMemory ();
9107 rm -f conftest.$ac_objext conftest$ac_exeext
9108 if { (ac_try="$ac_link"
9110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9111 *) ac_try_echo
=$ac_try;;
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9114 (eval "$ac_link") 2>conftest.er1
9116 grep -v '^ *+' conftest.er1
>conftest.err
9118 cat conftest.err
>&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } && {
9121 test -z "$ac_c_werror_flag" ||
9122 test ! -s conftest.err
9123 } && test -s conftest
$ac_exeext &&
9124 $as_test_x conftest
$ac_exeext; then
9125 ac_cv_lib_xml2_xmlReadMemory
=yes
9127 echo "$as_me: failed program was:" >&5
9128 sed 's/^/| /' conftest.
$ac_ext >&5
9130 ac_cv_lib_xml2_xmlReadMemory
=no
9133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9134 conftest
$ac_exeext conftest.
$ac_ext
9135 LIBS
=$ac_check_lib_save_LIBS
9137 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9138 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9139 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9141 cat >>confdefs.h
<<\_ACEOF
9142 #define HAVE_XMLREADMEMORY 1
9147 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9148 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9149 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 ac_check_lib_save_LIBS
=$LIBS
9153 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9154 cat >conftest.
$ac_ext <<_ACEOF
9157 cat confdefs.h
>>conftest.
$ac_ext
9158 cat >>conftest.
$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9161 /* Override any GCC internal prototype to avoid an error.
9162 Use char because int might match the return type of a GCC
9163 builtin and then its argument prototype would still apply. */
9167 char xmlNewDocPI ();
9171 return xmlNewDocPI ();
9176 rm -f conftest.
$ac_objext conftest
$ac_exeext
9177 if { (ac_try
="$ac_link"
9179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9180 *) ac_try_echo=$ac_try;;
9182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9183 (eval "$ac_link") 2>conftest.er1
9185 grep -v '^ *+' conftest.er1 >conftest.err
9187 cat conftest.err >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } && {
9190 test -z "$ac_c_werror_flag" ||
9191 test ! -s conftest.err
9192 } && test -s conftest$ac_exeext &&
9193 $as_test_x conftest$ac_exeext; then
9194 ac_cv_lib_xml2_xmlNewDocPI=yes
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9199 ac_cv_lib_xml2_xmlNewDocPI=no
9202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_lib_save_LIBS
9206 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9207 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9208 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9210 cat >>confdefs.h <<\_ACEOF
9211 #define HAVE_XMLNEWDOCPI 1
9221 CPPFLAGS="$ac_save_CPPFLAGS"
9222 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
9223 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
9224 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9227 for ac_header in libxslt/pattern.h libxslt/transform.h
9229 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9230 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9235 cat >conftest.$ac_ext <<_ACEOF
9238 cat confdefs.h >>conftest.$ac_ext
9239 cat >>conftest.$ac_ext <<_ACEOF
9240 /* end confdefs.h. */
9241 #ifdef HAVE_LIBXSLT_PATTERN_H
9242 # include <libxslt/pattern.h>
9245 #include <$ac_header>
9247 rm -f conftest.$ac_objext
9248 if { (ac_try="$ac_compile"
9250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9251 *) ac_try_echo
=$ac_try;;
9253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9254 (eval "$ac_compile") 2>conftest.er1
9256 grep -v '^ *+' conftest.er1
>conftest.err
9258 cat conftest.err
>&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } && {
9261 test -z "$ac_c_werror_flag" ||
9262 test ! -s conftest.err
9263 } && test -s conftest.
$ac_objext; then
9264 eval "$as_ac_Header=yes"
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.
$ac_ext >&5
9269 eval "$as_ac_Header=no"
9272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9274 ac_res
=`eval echo '${'$as_ac_Header'}'`
9275 { echo "$as_me:$LINENO: result: $ac_res" >&5
9276 echo "${ECHO_T}$ac_res" >&6; }
9277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9278 cat >>confdefs.h
<<_ACEOF
9279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9281 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9282 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9283 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 ac_check_lib_save_LIBS
=$LIBS
9287 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9288 cat >conftest.
$ac_ext <<_ACEOF
9291 cat confdefs.h
>>conftest.
$ac_ext
9292 cat >>conftest.
$ac_ext <<_ACEOF
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9301 char xsltCompilePattern ();
9305 return xsltCompilePattern ();
9310 rm -f conftest.
$ac_objext conftest
$ac_exeext
9311 if { (ac_try
="$ac_link"
9313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9314 *) ac_try_echo=$ac_try;;
9316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9317 (eval "$ac_link") 2>conftest.er1
9319 grep -v '^ *+' conftest.er1 >conftest.err
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } && {
9324 test -z "$ac_c_werror_flag" ||
9325 test ! -s conftest.err
9326 } && test -s conftest$ac_exeext &&
9327 $as_test_x conftest$ac_exeext; then
9328 ac_cv_lib_xslt_xsltCompilePattern=yes
9330 echo "$as_me: failed program was:" >&5
9331 sed 's/^/| /' conftest.$ac_ext >&5
9333 ac_cv_lib_xslt_xsltCompilePattern=no
9336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9341 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9342 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9344 cat >>confdefs.h <<\_ACEOF
9345 #define HAVE_LIBXSLT 1
9348 XSLTLIBS="$ac_xslt_libs"
9349 XSLTINCL="$ac_xslt_cflags"
9357 CPPFLAGS="$ac_save_CPPFLAGS"
9362 if test "$PKG_CONFIG" != "false"
9364 ac_save_CPPFLAGS="$CPPFLAGS"
9365 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
9366 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
9367 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9370 for ac_header in dbus/dbus.h hal/libhal.h
9372 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9379 ac_res=`eval echo '${'$as_ac_Header'}'`
9380 { echo "$as_me:$LINENO: result: $ac_res" >&5
9381 echo "${ECHO_T}$ac_res" >&6; }
9383 # Is the header compilable?
9384 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9386 cat >conftest.$ac_ext <<_ACEOF
9389 cat confdefs.h >>conftest.$ac_ext
9390 cat >>conftest.$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9392 $ac_includes_default
9393 #include <$ac_header>
9395 rm -f conftest.$ac_objext
9396 if { (ac_try="$ac_compile"
9398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9399 *) ac_try_echo
=$ac_try;;
9401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402 (eval "$ac_compile") 2>conftest.er1
9404 grep -v '^ *+' conftest.er1
>conftest.err
9406 cat conftest.err
>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } && {
9409 test -z "$ac_c_werror_flag" ||
9410 test ! -s conftest.err
9411 } && test -s conftest.
$ac_objext; then
9412 ac_header_compiler
=yes
9414 echo "$as_me: failed program was:" >&5
9415 sed 's/^/| /' conftest.
$ac_ext >&5
9417 ac_header_compiler
=no
9420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9421 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9422 echo "${ECHO_T}$ac_header_compiler" >&6; }
9424 # Is the header present?
9425 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9427 cat >conftest.
$ac_ext <<_ACEOF
9430 cat confdefs.h
>>conftest.
$ac_ext
9431 cat >>conftest.
$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 #include <$ac_header>
9435 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9438 *) ac_try_echo=$ac_try;;
9440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9443 grep -v '^ *+' conftest.er1 >conftest.err
9445 cat conftest.err >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } >/dev/null && {
9448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9449 test ! -s conftest.err
9451 ac_header_preproc=yes
9453 echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.$ac_ext >&5
9456 ac_header_preproc=no
9459 rm -f conftest.err conftest.$ac_ext
9460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9461 echo "${ECHO_T}$ac_header_preproc" >&6; }
9463 # So? What about this header?
9464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9470 ac_header_preproc=yes
9473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9486 ## ------------------------------------ ##
9487 ## Report this to wine-devel@winehq.org ##
9488 ## ------------------------------------ ##
9490 ) | sed "s/^/$as_me: WARNING: /" >&2
9493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 eval "$as_ac_Header=\$ac_header_preproc"
9500 ac_res=`eval echo '${'$as_ac_Header'}'`
9501 { echo "$as_me:$LINENO: result: $ac_res" >&5
9502 echo "${ECHO_T}$ac_res" >&6; }
9505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9506 cat >>confdefs.h <<_ACEOF
9507 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9514 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9516 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9517 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9518 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9519 echo $ECHO_N "(cached) $ECHO_C" >&6
9521 ac_check_lib_save_LIBS=$LIBS
9523 cat >conftest.$ac_ext <<_ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9536 char libhal_ctx_new ();
9540 return libhal_ctx_new ();
9545 rm -f conftest.$ac_objext conftest$ac_exeext
9546 if { (ac_try="$ac_link"
9548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9549 *) ac_try_echo
=$ac_try;;
9551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9552 (eval "$ac_link") 2>conftest.er1
9554 grep -v '^ *+' conftest.er1
>conftest.err
9556 cat conftest.err
>&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); } && {
9559 test -z "$ac_c_werror_flag" ||
9560 test ! -s conftest.err
9561 } && test -s conftest
$ac_exeext &&
9562 $as_test_x conftest
$ac_exeext; then
9563 ac_cv_lib_hal_libhal_ctx_new
=yes
9565 echo "$as_me: failed program was:" >&5
9566 sed 's/^/| /' conftest.
$ac_ext >&5
9568 ac_cv_lib_hal_libhal_ctx_new
=no
9571 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9572 conftest
$ac_exeext conftest.
$ac_ext
9573 LIBS
=$ac_check_lib_save_LIBS
9575 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9576 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9577 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9578 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9579 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9580 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 ac_check_lib_save_LIBS
=$LIBS
9584 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9585 cat >conftest.
$ac_ext <<_ACEOF
9588 cat confdefs.h
>>conftest.
$ac_ext
9589 cat >>conftest.
$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9598 char dbus_connection_close ();
9602 return dbus_connection_close ();
9607 rm -f conftest.
$ac_objext conftest
$ac_exeext
9608 if { (ac_try
="$ac_link"
9610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9611 *) ac_try_echo=$ac_try;;
9613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9614 (eval "$ac_link") 2>conftest.er1
9616 grep -v '^ *+' conftest.er1 >conftest.err
9618 cat conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err
9623 } && test -s conftest$ac_exeext &&
9624 $as_test_x conftest$ac_exeext; then
9625 ac_cv_lib_dbus_1_dbus_connection_close=yes
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.$ac_ext >&5
9630 ac_cv_lib_dbus_1_dbus_connection_close=no
9633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9634 conftest$ac_exeext conftest.$ac_ext
9635 LIBS=$ac_check_lib_save_LIBS
9637 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9638 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9639 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9641 cat >>confdefs.h <<\_ACEOF
9642 #define HAVE_LIBHAL 1
9645 HALINCL="$ac_hal_cflags"
9651 CPPFLAGS="$ac_save_CPPFLAGS"
9655 if test "$ac_cv_header_ncurses_h" = "yes"
9657 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9658 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9659 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9660 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 ac_check_lib_save_LIBS=$LIBS
9663 LIBS="-lncurses $LIBS"
9664 cat >conftest.$ac_ext <<_ACEOF
9667 cat confdefs.h >>conftest.$ac_ext
9668 cat >>conftest.$ac_ext <<_ACEOF
9669 /* end confdefs.h. */
9671 /* Override any GCC internal prototype to avoid an error.
9672 Use char because int might match the return type of a GCC
9673 builtin and then its argument prototype would still apply. */
9686 rm -f conftest.$ac_objext conftest$ac_exeext
9687 if { (ac_try="$ac_link"
9689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9690 *) ac_try_echo
=$ac_try;;
9692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9693 (eval "$ac_link") 2>conftest.er1
9695 grep -v '^ *+' conftest.er1
>conftest.err
9697 cat conftest.err
>&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); } && {
9700 test -z "$ac_c_werror_flag" ||
9701 test ! -s conftest.err
9702 } && test -s conftest
$ac_exeext &&
9703 $as_test_x conftest
$ac_exeext; then
9704 ac_cv_lib_ncurses_waddch
=yes
9706 echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.
$ac_ext >&5
9709 ac_cv_lib_ncurses_waddch
=no
9712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9713 conftest
$ac_exeext conftest.
$ac_ext
9714 LIBS
=$ac_check_lib_save_LIBS
9716 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9717 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9718 if test $ac_cv_lib_ncurses_waddch = yes; then
9719 CURSESLIBS
="-lncurses"
9722 elif test "$ac_cv_header_curses_h" = "yes"
9724 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9725 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9726 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9729 ac_check_lib_save_LIBS
=$LIBS
9730 LIBS
="-lcurses $LIBS"
9731 cat >conftest.
$ac_ext <<_ACEOF
9734 cat confdefs.h
>>conftest.
$ac_ext
9735 cat >>conftest.
$ac_ext <<_ACEOF
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9753 rm -f conftest.
$ac_objext conftest
$ac_exeext
9754 if { (ac_try
="$ac_link"
9756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9757 *) ac_try_echo=$ac_try;;
9759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 (eval "$ac_link") 2>conftest.er1
9762 grep -v '^ *+' conftest.er1 >conftest.err
9764 cat conftest.err >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } && {
9767 test -z "$ac_c_werror_flag" ||
9768 test ! -s conftest.err
9769 } && test -s conftest$ac_exeext &&
9770 $as_test_x conftest$ac_exeext; then
9771 ac_cv_lib_curses_waddch=yes
9773 echo "$as_me: failed program was:" >&5
9774 sed 's/^/| /' conftest.$ac_ext >&5
9776 ac_cv_lib_curses_waddch=no
9779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_lib_save_LIBS
9783 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9784 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9785 if test $ac_cv_lib_curses_waddch = yes; then
9786 CURSESLIBS="-lcurses"
9790 ac_save_LIBS="$LIBS"
9791 LIBS="$LIBS $CURSESLIBS"
9793 for ac_func in mousemask
9795 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9799 echo $ECHO_N "(cached) $ECHO_C" >&6
9801 cat >conftest.$ac_ext <<_ACEOF
9804 cat confdefs.h >>conftest.$ac_ext
9805 cat >>conftest.$ac_ext <<_ACEOF
9806 /* end confdefs.h. */
9807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9809 #define $ac_func innocuous_$ac_func
9811 /* System header to define __stub macros and hopefully few prototypes,
9812 which can conflict with char $ac_func (); below.
9813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9814 <limits.h> exists even on freestanding compilers. */
9817 # include <limits.h>
9819 # include <assert.h>
9824 /* Override any GCC internal prototype to avoid an error.
9825 Use char because int might match the return type of a GCC
9826 builtin and then its argument prototype would still apply. */
9831 /* The GNU C library defines this for functions which it implements
9832 to always fail with ENOSYS. Some functions are actually named
9833 something starting with __ and the normal name is an alias. */
9834 #if defined __stub_$ac_func || defined __stub___$ac_func
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (ac_try="$ac_link"
9849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9850 *) ac_try_echo
=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9855 grep -v '^ *+' conftest.er1
>conftest.err
9857 cat conftest.err
>&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest
$ac_exeext &&
9863 $as_test_x conftest
$ac_exeext; then
9864 eval "$as_ac_var=yes"
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.
$ac_ext >&5
9869 eval "$as_ac_var=no"
9872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9873 conftest
$ac_exeext conftest.
$ac_ext
9875 ac_res
=`eval echo '${'$as_ac_var'}'`
9876 { echo "$as_me:$LINENO: result: $ac_res" >&5
9877 echo "${ECHO_T}$ac_res" >&6; }
9878 if test `eval echo '${'$as_ac_var'}'` = yes; then
9879 cat >>confdefs.h
<<_ACEOF
9880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9886 LIBS
="$ac_save_LIBS"
9888 # Extract the first word of "sane-config", so it can be a program name with args.
9889 set dummy sane-config
; ac_word
=$2
9890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9892 if test "${ac_cv_prog_sane_devel+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 if test -n "$sane_devel"; then
9896 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9902 test -z "$as_dir" && as_dir
=.
9903 for ac_exec_ext
in '' $ac_executable_extensions; do
9904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9905 ac_cv_prog_sane_devel
="sane-config"
9906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9913 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9916 sane_devel
=$ac_cv_prog_sane_devel
9917 if test -n "$sane_devel"; then
9918 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9919 echo "${ECHO_T}$sane_devel" >&6; }
9921 { echo "$as_me:$LINENO: result: no" >&5
9922 echo "${ECHO_T}no" >&6; }
9928 if test "$sane_devel" != "no"
9930 SANEINCL
="`$sane_devel --cflags`"
9931 ac_save_CPPFLAGS
="$CPPFLAGS"
9932 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9933 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9934 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9935 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9936 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9937 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9940 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9942 # Is the header compilable?
9943 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9944 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9945 cat >conftest.
$ac_ext <<_ACEOF
9948 cat confdefs.h
>>conftest.
$ac_ext
9949 cat >>conftest.
$ac_ext <<_ACEOF
9950 /* end confdefs.h. */
9951 $ac_includes_default
9952 #include <sane/sane.h>
9954 rm -f conftest.
$ac_objext
9955 if { (ac_try
="$ac_compile"
9957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9958 *) ac_try_echo=$ac_try;;
9960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9961 (eval "$ac_compile") 2>conftest.er1
9963 grep -v '^ *+' conftest.er1 >conftest.err
9965 cat conftest.err >&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); } && {
9968 test -z "$ac_c_werror_flag" ||
9969 test ! -s conftest.err
9970 } && test -s conftest.$ac_objext; then
9971 ac_header_compiler=yes
9973 echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.$ac_ext >&5
9976 ac_header_compiler=no
9979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9980 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9981 echo "${ECHO_T}$ac_header_compiler" >&6; }
9983 # Is the header present?
9984 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9985 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9986 cat >conftest.$ac_ext <<_ACEOF
9989 cat confdefs.h >>conftest.$ac_ext
9990 cat >>conftest.$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9992 #include <sane/sane.h>
9994 if { (ac_try="$ac_cpp conftest.$ac_ext"
9996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9997 *) ac_try_echo
=$ac_try;;
9999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10002 grep -v '^ *+' conftest.er1
>conftest.err
10004 cat conftest.err
>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } >/dev
/null
&& {
10007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10008 test ! -s conftest.err
10010 ac_header_preproc
=yes
10012 echo "$as_me: failed program was:" >&5
10013 sed 's/^/| /' conftest.
$ac_ext >&5
10015 ac_header_preproc
=no
10018 rm -f conftest.err conftest.
$ac_ext
10019 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10020 echo "${ECHO_T}$ac_header_preproc" >&6; }
10022 # So? What about this header?
10023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10025 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10026 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10027 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10028 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10029 ac_header_preproc
=yes
10032 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10033 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10034 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10035 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10036 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10037 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10038 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10039 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10040 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10041 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10043 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10045 ## ------------------------------------ ##
10046 ## Report this to wine-devel@winehq.org ##
10047 ## ------------------------------------ ##
10049 ) |
sed "s/^/$as_me: WARNING: /" >&2
10052 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10053 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10054 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 ac_cv_header_sane_sane_h
=$ac_header_preproc
10059 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10060 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10063 if test $ac_cv_header_sane_sane_h = yes; then
10065 cat >>confdefs.h
<<\_ACEOF
10066 #define HAVE_SANE 1
10074 CPPFLAGS
="$ac_save_CPPFLAGS"
10077 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10078 set dummy gphoto2-config
; ac_word
=$2
10079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10081 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10082 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 if test -n "$gphoto2_devel"; then
10085 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10088 for as_dir
in $PATH
10091 test -z "$as_dir" && as_dir
=.
10092 for ac_exec_ext
in '' $ac_executable_extensions; do
10093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10094 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10102 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10105 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10106 if test -n "$gphoto2_devel"; then
10107 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10108 echo "${ECHO_T}$gphoto2_devel" >&6; }
10110 { echo "$as_me:$LINENO: result: no" >&5
10111 echo "${ECHO_T}no" >&6; }
10115 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10116 set dummy gphoto2-port-config
; ac_word
=$2
10117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10119 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 if test -n "$gphoto2port_devel"; then
10123 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10126 for as_dir
in $PATH
10129 test -z "$as_dir" && as_dir
=.
10130 for ac_exec_ext
in '' $ac_executable_extensions; do
10131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10132 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10140 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10143 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10144 if test -n "$gphoto2port_devel"; then
10145 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10146 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10157 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10159 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10161 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10164 -L/usr
/lib|
-L/usr
/lib64
) ;;
10165 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
10168 ac_save_CPPFLAGS
="$CPPFLAGS"
10169 ac_save_LIBS
="$LIBS"
10170 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
10171 LIBS
="$LIBS $GPHOTO2LIBS"
10172 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10173 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10174 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10175 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10176 echo $ECHO_N "(cached) $ECHO_C" >&6
10178 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10179 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10181 # Is the header compilable?
10182 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10183 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10184 cat >conftest.
$ac_ext <<_ACEOF
10187 cat confdefs.h
>>conftest.
$ac_ext
10188 cat >>conftest.
$ac_ext <<_ACEOF
10189 /* end confdefs.h. */
10190 $ac_includes_default
10191 #include <gphoto2-camera.h>
10193 rm -f conftest.
$ac_objext
10194 if { (ac_try
="$ac_compile"
10195 case "(($ac_try" in
10196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10197 *) ac_try_echo=$ac_try;;
10199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10200 (eval "$ac_compile") 2>conftest.er1
10202 grep -v '^ *+' conftest.er1 >conftest.err
10204 cat conftest.err >&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } && {
10207 test -z "$ac_c_werror_flag" ||
10208 test ! -s conftest.err
10209 } && test -s conftest.$ac_objext; then
10210 ac_header_compiler=yes
10212 echo "$as_me: failed program was:" >&5
10213 sed 's/^/| /' conftest.$ac_ext >&5
10215 ac_header_compiler=no
10218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10219 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10220 echo "${ECHO_T}$ac_header_compiler" >&6; }
10222 # Is the header present?
10223 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10224 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10225 cat >conftest.$ac_ext <<_ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10231 #include <gphoto2-camera.h>
10233 if { (ac_try="$ac_cpp conftest.$ac_ext"
10234 case "(($ac_try" in
10235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10236 *) ac_try_echo
=$ac_try;;
10238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10241 grep -v '^ *+' conftest.er1
>conftest.err
10243 cat conftest.err
>&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); } >/dev
/null
&& {
10246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10247 test ! -s conftest.err
10249 ac_header_preproc
=yes
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.
$ac_ext >&5
10254 ac_header_preproc
=no
10257 rm -f conftest.err conftest.
$ac_ext
10258 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10259 echo "${ECHO_T}$ac_header_preproc" >&6; }
10261 # So? What about this header?
10262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10264 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10265 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10266 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10267 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10268 ac_header_preproc
=yes
10271 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10272 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10273 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10274 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10275 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10276 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10277 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10278 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10279 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10280 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10282 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10284 ## ------------------------------------ ##
10285 ## Report this to wine-devel@winehq.org ##
10286 ## ------------------------------------ ##
10288 ) |
sed "s/^/$as_me: WARNING: /" >&2
10291 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10292 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10293 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
10298 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10299 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10302 if test $ac_cv_header_gphoto2_camera_h = yes; then
10303 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10304 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10305 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 ac_check_lib_save_LIBS
=$LIBS
10309 LIBS
="-lgphoto2 $LIBS"
10310 cat >conftest.
$ac_ext <<_ACEOF
10313 cat confdefs.h
>>conftest.
$ac_ext
10314 cat >>conftest.
$ac_ext <<_ACEOF
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10323 char gp_camera_new ();
10327 return gp_camera_new ();
10332 rm -f conftest.
$ac_objext conftest
$ac_exeext
10333 if { (ac_try
="$ac_link"
10334 case "(($ac_try" in
10335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10336 *) ac_try_echo=$ac_try;;
10338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10339 (eval "$ac_link") 2>conftest.er1
10341 grep -v '^ *+' conftest.er1 >conftest.err
10343 cat conftest.err >&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } && {
10346 test -z "$ac_c_werror_flag" ||
10347 test ! -s conftest.err
10348 } && test -s conftest$ac_exeext &&
10349 $as_test_x conftest$ac_exeext; then
10350 ac_cv_lib_gphoto2_gp_camera_new=yes
10352 echo "$as_me: failed program was:" >&5
10353 sed 's/^/| /' conftest.$ac_ext >&5
10355 ac_cv_lib_gphoto2_gp_camera_new=no
10358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10359 conftest$ac_exeext conftest.$ac_ext
10360 LIBS=$ac_check_lib_save_LIBS
10362 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10363 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10364 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10366 cat >>confdefs.h <<\_ACEOF
10367 #define HAVE_GPHOTO2 1
10381 LIBS="$ac_save_LIBS"
10382 CPPFLAGS="$ac_save_CPPFLAGS"
10385 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10388 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
10389 if test -n "$ICU_LIB_DIR"
10391 icu_libs="-L$ICU_LIB_DIR $icu_libs"
10393 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
10394 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
10395 LIBS="$saved_libs $icu_libs"
10396 if test "$cross_compiling" = yes; then
10397 { echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6; }
10400 cat >conftest.$ac_ext <<_ACEOF
10403 cat confdefs.h >>conftest.$ac_ext
10404 cat >>conftest.$ac_ext <<_ACEOF
10405 /* end confdefs.h. */
10406 #include <unicode/ubidi.h>
10407 main () { ubidi_open(); return 0; }
10409 rm -f 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>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10420 { (case "(($ac_try" in
10421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10422 *) ac_try_echo=$ac_try;;
10424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10425 (eval "$ac_try") 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10430 cat >>confdefs.h <<\_ACEOF
10434 ICULIBS="$icu_libs"
10436 { echo "$as_me:$LINENO: result: yes" >&5
10437 echo "${ECHO_T}yes" >&6; }
10439 echo "$as_me: program exited with status $ac_status" >&5
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 ( exit $ac_status )
10444 { echo "$as_me:$LINENO: result: no" >&5
10445 echo "${ECHO_T}no" >&6; }
10447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10456 if test "$ac_cv_header_resolv_h" = "yes"
10458 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10459 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10460 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-lresolv $LIBS"
10465 cat >conftest.$ac_ext <<_ACEOF
10468 cat confdefs.h >>conftest.$ac_ext
10469 cat >>conftest.$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10482 return res_query ();
10487 rm -f conftest.$ac_objext conftest$ac_exeext
10488 if { (ac_try="$ac_link"
10489 case "(($ac_try" in
10490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10491 *) ac_try_echo
=$ac_try;;
10493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10494 (eval "$ac_link") 2>conftest.er1
10496 grep -v '^ *+' conftest.er1
>conftest.err
10498 cat conftest.err
>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); } && {
10501 test -z "$ac_c_werror_flag" ||
10502 test ! -s conftest.err
10503 } && test -s conftest
$ac_exeext &&
10504 $as_test_x conftest
$ac_exeext; then
10505 ac_cv_lib_resolv_res_query
=yes
10507 echo "$as_me: failed program was:" >&5
10508 sed 's/^/| /' conftest.
$ac_ext >&5
10510 ac_cv_lib_resolv_res_query
=no
10513 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10514 conftest
$ac_exeext conftest.
$ac_ext
10515 LIBS
=$ac_check_lib_save_LIBS
10517 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10518 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10519 if test $ac_cv_lib_resolv_res_query = yes; then
10521 cat >>confdefs.h
<<\_ACEOF
10522 #define HAVE_RESOLV 1
10525 RESOLVLIBS
="-lresolv"
10532 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10534 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10535 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10536 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10537 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 ac_check_lib_save_LIBS
=$LIBS
10540 LIBS
="-llcms $LIBS"
10541 cat >conftest.
$ac_ext <<_ACEOF
10544 cat confdefs.h
>>conftest.
$ac_ext
10545 cat >>conftest.
$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10554 char cmsOpenProfileFromFile ();
10558 return cmsOpenProfileFromFile ();
10563 rm -f conftest.
$ac_objext conftest
$ac_exeext
10564 if { (ac_try
="$ac_link"
10565 case "(($ac_try" in
10566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10567 *) ac_try_echo=$ac_try;;
10569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10570 (eval "$ac_link") 2>conftest.er1
10572 grep -v '^ *+' conftest.er1 >conftest.err
10574 cat conftest.err >&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); } && {
10577 test -z "$ac_c_werror_flag" ||
10578 test ! -s conftest.err
10579 } && test -s conftest$ac_exeext &&
10580 $as_test_x conftest$ac_exeext; then
10581 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10583 echo "$as_me: failed program was:" >&5
10584 sed 's/^/| /' conftest.$ac_ext >&5
10586 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_lib_save_LIBS
10593 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10594 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10595 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10597 cat >>confdefs.h <<\_ACEOF
10598 #define HAVE_LCMS 1
10608 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10610 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10611 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10612 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 ac_check_lib_save_LIBS=$LIBS
10616 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10617 cat >conftest.$ac_ext <<_ACEOF
10620 cat confdefs.h >>conftest.$ac_ext
10621 cat >>conftest.$ac_ext <<_ACEOF
10622 /* end confdefs.h. */
10624 /* Override any GCC internal prototype to avoid an error.
10625 Use char because int might match the return type of a GCC
10626 builtin and then its argument prototype would still apply. */
10630 char ldap_initialize ();
10634 return ldap_initialize ();
10639 rm -f conftest.$ac_objext conftest$ac_exeext
10640 if { (ac_try="$ac_link"
10641 case "(($ac_try" in
10642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10643 *) ac_try_echo
=$ac_try;;
10645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10646 (eval "$ac_link") 2>conftest.er1
10648 grep -v '^ *+' conftest.er1
>conftest.err
10650 cat conftest.err
>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } && {
10653 test -z "$ac_c_werror_flag" ||
10654 test ! -s conftest.err
10655 } && test -s conftest
$ac_exeext &&
10656 $as_test_x conftest
$ac_exeext; then
10657 ac_cv_lib_ldap_r_ldap_initialize
=yes
10659 echo "$as_me: failed program was:" >&5
10660 sed 's/^/| /' conftest.
$ac_ext >&5
10662 ac_cv_lib_ldap_r_ldap_initialize
=no
10665 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10666 conftest
$ac_exeext conftest.
$ac_ext
10667 LIBS
=$ac_check_lib_save_LIBS
10669 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10670 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10671 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10672 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10673 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10674 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10675 echo $ECHO_N "(cached) $ECHO_C" >&6
10677 ac_check_lib_save_LIBS
=$LIBS
10678 LIBS
="-llber $LIBPTHREAD $LIBS"
10679 cat >conftest.
$ac_ext <<_ACEOF
10682 cat confdefs.h
>>conftest.
$ac_ext
10683 cat >>conftest.
$ac_ext <<_ACEOF
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10696 return ber_init ();
10701 rm -f conftest.
$ac_objext conftest
$ac_exeext
10702 if { (ac_try
="$ac_link"
10703 case "(($ac_try" in
10704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10705 *) ac_try_echo=$ac_try;;
10707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10708 (eval "$ac_link") 2>conftest.er1
10710 grep -v '^ *+' conftest.er1 >conftest.err
10712 cat conftest.err >&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); } && {
10715 test -z "$ac_c_werror_flag" ||
10716 test ! -s conftest.err
10717 } && test -s conftest$ac_exeext &&
10718 $as_test_x conftest$ac_exeext; then
10719 ac_cv_lib_lber_ber_init=yes
10721 echo "$as_me: failed program was:" >&5
10722 sed 's/^/| /' conftest.$ac_ext >&5
10724 ac_cv_lib_lber_ber_init=no
10727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_lib_save_LIBS
10731 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10732 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10733 if test $ac_cv_lib_lber_ber_init = yes; then
10735 cat >>confdefs.h <<\_ACEOF
10736 #define HAVE_LDAP 1
10739 LDAPLIBS="-lldap_r -llber"
10744 ac_wine_check_funcs_save_LIBS="$LIBS"
10745 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10751 ldap_count_references \
10752 ldap_first_reference \
10753 ldap_next_reference \
10754 ldap_parse_reference
10756 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10757 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10759 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 cat >conftest.$ac_ext <<_ACEOF
10765 cat confdefs.h >>conftest.$ac_ext
10766 cat >>conftest.$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10770 #define $ac_func innocuous_$ac_func
10772 /* System header to define __stub macros and hopefully few prototypes,
10773 which can conflict with char $ac_func (); below.
10774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10775 <limits.h> exists even on freestanding compilers. */
10778 # include <limits.h>
10780 # include <assert.h>
10785 /* Override any GCC internal prototype to avoid an error.
10786 Use char because int might match the return type of a GCC
10787 builtin and then its argument prototype would still apply. */
10792 /* The GNU C library defines this for functions which it implements
10793 to always fail with ENOSYS. Some functions are actually named
10794 something starting with __ and the normal name is an alias. */
10795 #if defined __stub_$ac_func || defined __stub___$ac_func
10802 return $ac_func ();
10807 rm -f conftest.$ac_objext conftest$ac_exeext
10808 if { (ac_try="$ac_link"
10809 case "(($ac_try" in
10810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10811 *) ac_try_echo
=$ac_try;;
10813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10814 (eval "$ac_link") 2>conftest.er1
10816 grep -v '^ *+' conftest.er1
>conftest.err
10818 cat conftest.err
>&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); } && {
10821 test -z "$ac_c_werror_flag" ||
10822 test ! -s conftest.err
10823 } && test -s conftest
$ac_exeext &&
10824 $as_test_x conftest
$ac_exeext; then
10825 eval "$as_ac_var=yes"
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.
$ac_ext >&5
10830 eval "$as_ac_var=no"
10833 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10834 conftest
$ac_exeext conftest.
$ac_ext
10836 ac_res
=`eval echo '${'$as_ac_var'}'`
10837 { echo "$as_me:$LINENO: result: $ac_res" >&5
10838 echo "${ECHO_T}$ac_res" >&6; }
10839 if test `eval echo '${'$as_ac_var'}'` = yes; then
10840 cat >>confdefs.h
<<_ACEOF
10841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10847 LIBS
="$ac_wine_check_funcs_save_LIBS"
10854 # Extract the first word of "freetype-config", so it can be a program name with args.
10855 set dummy freetype-config
; ac_word
=$2
10856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10858 if test "${ac_cv_prog_ft_devel+set}" = set; then
10859 echo $ECHO_N "(cached) $ECHO_C" >&6
10861 if test -n "$ft_devel"; then
10862 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10865 for as_dir
in $PATH
10868 test -z "$as_dir" && as_dir
=.
10869 for ac_exec_ext
in '' $ac_executable_extensions; do
10870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10871 ac_cv_prog_ft_devel
="freetype-config"
10872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10879 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10882 ft_devel
=$ac_cv_prog_ft_devel
10883 if test -n "$ft_devel"; then
10884 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10885 echo "${ECHO_T}$ft_devel" >&6; }
10887 { echo "$as_me:$LINENO: result: no" >&5
10888 echo "${ECHO_T}no" >&6; }
10892 if test "$ft_devel" = "no"
10894 # Extract the first word of "freetype2-config", so it can be a program name with args.
10895 set dummy freetype2-config
; ac_word
=$2
10896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10898 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 if test -n "$ft_devel2"; then
10902 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10905 for as_dir
in $PATH
10908 test -z "$as_dir" && as_dir
=.
10909 for ac_exec_ext
in '' $ac_executable_extensions; do
10910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10911 ac_cv_prog_ft_devel2
="freetype2-config"
10912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10919 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10922 ft_devel2
=$ac_cv_prog_ft_devel2
10923 if test -n "$ft_devel2"; then
10924 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10925 echo "${ECHO_T}$ft_devel2" >&6; }
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10932 if test "$ft_devel2" = "freetype2-config"
10934 ft_devel
=$ft_devel2
10938 if test "$ft_devel" = "no"
10940 wine_cv_msg_freetype
=yes
10942 FREETYPELIBS
=`$ft_devel --libs`
10943 FREETYPEINCL
=`$ft_devel --cflags`
10944 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10945 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10946 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10947 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 ac_check_lib_save_LIBS
=$LIBS
10950 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
10951 cat >conftest.
$ac_ext <<_ACEOF
10954 cat confdefs.h
>>conftest.
$ac_ext
10955 cat >>conftest.
$ac_ext <<_ACEOF
10956 /* end confdefs.h. */
10958 /* Override any GCC internal prototype to avoid an error.
10959 Use char because int might match the return type of a GCC
10960 builtin and then its argument prototype would still apply. */
10964 char FT_Init_FreeType ();
10968 return FT_Init_FreeType ();
10973 rm -f conftest.
$ac_objext conftest
$ac_exeext
10974 if { (ac_try
="$ac_link"
10975 case "(($ac_try" in
10976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10977 *) ac_try_echo=$ac_try;;
10979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10980 (eval "$ac_link") 2>conftest.er1
10982 grep -v '^ *+' conftest.er1 >conftest.err
10984 cat conftest.err >&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } && {
10987 test -z "$ac_c_werror_flag" ||
10988 test ! -s conftest.err
10989 } && test -s conftest$ac_exeext &&
10990 $as_test_x conftest$ac_exeext; then
10991 ac_cv_lib_freetype_FT_Init_FreeType=yes
10993 echo "$as_me: failed program was:" >&5
10994 sed 's/^/| /' conftest.$ac_ext >&5
10996 ac_cv_lib_freetype_FT_Init_FreeType=no
10999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11004 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11005 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11011 if test "$ft_lib" = "no"
11013 wine_cv_msg_freetype=yes
11017 ac_save_CPPFLAGS="$CPPFLAGS"
11018 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11030 for ac_header in ft2build.h \
11031 freetype/freetype.h \
11032 freetype/ftglyph.h \
11033 freetype/tttables.h \
11034 freetype/ftnames.h \
11035 freetype/ftsnames.h \
11036 freetype/ttnameid.h \
11037 freetype/ftoutln.h \
11038 freetype/ftwinfnt.h \
11039 freetype/ftmodapi.h \
11040 freetype/internal/sfnt.h
11042 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11043 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11045 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 cat >conftest.$ac_ext <<_ACEOF
11051 cat confdefs.h >>conftest.$ac_ext
11052 cat >>conftest.$ac_ext <<_ACEOF
11053 /* end confdefs.h. */
11054 #if HAVE_FT2BUILD_H
11055 #include <ft2build.h>
11058 #include <$ac_header>
11060 rm -f conftest.$ac_objext
11061 if { (ac_try="$ac_compile"
11062 case "(($ac_try" in
11063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11064 *) ac_try_echo
=$ac_try;;
11066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11067 (eval "$ac_compile") 2>conftest.er1
11069 grep -v '^ *+' conftest.er1
>conftest.err
11071 cat conftest.err
>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } && {
11074 test -z "$ac_c_werror_flag" ||
11075 test ! -s conftest.err
11076 } && test -s conftest.
$ac_objext; then
11077 eval "$as_ac_Header=yes"
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.
$ac_ext >&5
11082 eval "$as_ac_Header=no"
11085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11087 ac_res
=`eval echo '${'$as_ac_Header'}'`
11088 { echo "$as_me:$LINENO: result: $ac_res" >&5
11089 echo "${ECHO_T}$ac_res" >&6; }
11090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11091 cat >>confdefs.h
<<_ACEOF
11092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11099 cat >conftest.
$ac_ext <<_ACEOF
11102 cat confdefs.h
>>conftest.
$ac_ext
11103 cat >>conftest.
$ac_ext <<_ACEOF
11104 /* end confdefs.h. */
11105 #include <ft2build.h>
11106 #include <freetype/fttrigon.h>
11108 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11109 case "(($ac_try" in
11110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11111 *) ac_try_echo=$ac_try;;
11113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11116 grep -v '^ *+' conftest.er1 >conftest.err
11118 cat conftest.err >&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } >/dev/null && {
11121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11122 test ! -s conftest.err
11125 cat >>confdefs.h <<\_ACEOF
11126 #define HAVE_FREETYPE_FTTRIGON_H 1
11129 wine_cv_fttrigon=yes
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11134 wine_cv_fttrigon=no
11137 rm -f conftest.err conftest.$ac_ext
11138 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11139 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11140 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11141 echo $ECHO_N "(cached) $ECHO_C" >&6
11143 cat >conftest.$ac_ext <<_ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11149 #include <freetype/ftmodapi.h>
11151 typedef FT_TrueTypeEngineType ac__type_new_;
11155 if ((ac__type_new_ *) 0)
11157 if (sizeof (ac__type_new_))
11163 rm -f conftest.$ac_objext
11164 if { (ac_try="$ac_compile"
11165 case "(($ac_try" in
11166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11167 *) ac_try_echo
=$ac_try;;
11169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11170 (eval "$ac_compile") 2>conftest.er1
11172 grep -v '^ *+' conftest.er1
>conftest.err
11174 cat conftest.err
>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); } && {
11177 test -z "$ac_c_werror_flag" ||
11178 test ! -s conftest.err
11179 } && test -s conftest.
$ac_objext; then
11180 ac_cv_type_FT_TrueTypeEngineType
=yes
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.
$ac_ext >&5
11185 ac_cv_type_FT_TrueTypeEngineType
=no
11188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11190 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11191 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11192 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11194 cat >>confdefs.h
<<_ACEOF
11195 #define HAVE_FT_TRUETYPEENGINETYPE 1
11201 ac_save_CFLAGS
="$CFLAGS"
11202 CFLAGS
="$CFLAGS $FREETYPELIBS"
11204 for ac_func
in FT_Load_Sfnt_Table
11206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11209 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11210 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 cat >conftest.
$ac_ext <<_ACEOF
11215 cat confdefs.h
>>conftest.
$ac_ext
11216 cat >>conftest.
$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11220 #define $ac_func innocuous_$ac_func
11222 /* System header to define __stub macros and hopefully few prototypes,
11223 which can conflict with char $ac_func (); below.
11224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11225 <limits.h> exists even on freestanding compilers. */
11228 # include <limits.h>
11230 # include <assert.h>
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11242 /* The GNU C library defines this for functions which it implements
11243 to always fail with ENOSYS. Some functions are actually named
11244 something starting with __ and the normal name is an alias. */
11245 #if defined __stub_$ac_func || defined __stub___$ac_func
11252 return $ac_func ();
11257 rm -f conftest.
$ac_objext conftest
$ac_exeext
11258 if { (ac_try
="$ac_link"
11259 case "(($ac_try" in
11260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11261 *) ac_try_echo=$ac_try;;
11263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11264 (eval "$ac_link") 2>conftest.er1
11266 grep -v '^ *+' conftest.er1 >conftest.err
11268 cat conftest.err >&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); } && {
11271 test -z "$ac_c_werror_flag" ||
11272 test ! -s conftest.err
11273 } && test -s conftest$ac_exeext &&
11274 $as_test_x conftest$ac_exeext; then
11275 eval "$as_ac_var=yes"
11277 echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.$ac_ext >&5
11280 eval "$as_ac_var=no"
11283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11284 conftest$ac_exeext conftest.$ac_ext
11286 ac_res=`eval echo '${'$as_ac_var'}'`
11287 { echo "$as_me:$LINENO: result: $ac_res" >&5
11288 echo "${ECHO_T}$ac_res" >&6; }
11289 if test `eval echo '${'$as_ac_var'}'` = yes; then
11290 cat >>confdefs.h <<_ACEOF
11291 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11297 CFLAGS="$ac_save_CFLAGS"
11298 CPPFLAGS="$ac_save_CPPFLAGS"
11299 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11302 cat >>confdefs.h <<\_ACEOF
11303 #define HAVE_FREETYPE 1
11306 wine_cv_msg_freetype=no
11310 wine_cv_msg_freetype=yes
11315 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11317 FONTSSUBDIRS="fonts"
11321 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11322 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11323 if test "${ac_cv_c_ppdev+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11326 cat >conftest.$ac_ext <<_ACEOF
11329 cat confdefs.h >>conftest.$ac_ext
11330 cat >>conftest.$ac_ext <<_ACEOF
11331 /* end confdefs.h. */
11332 #include <linux/ppdev.h>
11336 ioctl (1,PPCLAIM,0)
11341 rm -f conftest.$ac_objext
11342 if { (ac_try="$ac_compile"
11343 case "(($ac_try" in
11344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11345 *) ac_try_echo
=$ac_try;;
11347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11348 (eval "$ac_compile") 2>conftest.er1
11350 grep -v '^ *+' conftest.er1
>conftest.err
11352 cat conftest.err
>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } && {
11355 test -z "$ac_c_werror_flag" ||
11356 test ! -s conftest.err
11357 } && test -s conftest.
$ac_objext; then
11358 ac_cv_c_ppdev
="yes"
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.
$ac_ext >&5
11366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11369 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11370 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11371 if test "$ac_cv_c_ppdev" = "yes"
11374 cat >>confdefs.h
<<\_ACEOF
11375 #define HAVE_PPDEV 1
11380 { echo "$as_me:$LINENO: checking for va_copy" >&5
11381 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11382 if test "${ac_cv_c_va_copy+set}" = set; then
11383 echo $ECHO_N "(cached) $ECHO_C" >&6
11385 cat >conftest.
$ac_ext <<_ACEOF
11388 cat confdefs.h
>>conftest.
$ac_ext
11389 cat >>conftest.
$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 #include <stdarg.h>
11402 rm -f conftest.
$ac_objext conftest
$ac_exeext
11403 if { (ac_try
="$ac_link"
11404 case "(($ac_try" in
11405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11406 *) ac_try_echo=$ac_try;;
11408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11409 (eval "$ac_link") 2>conftest.er1
11411 grep -v '^ *+' conftest.er1 >conftest.err
11413 cat conftest.err >&5
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); } && {
11416 test -z "$ac_c_werror_flag" ||
11417 test ! -s conftest.err
11418 } && test -s conftest$ac_exeext &&
11419 $as_test_x conftest$ac_exeext; then
11420 ac_cv_c_va_copy="yes"
11422 echo "$as_me: failed program was:" >&5
11423 sed 's/^/| /' conftest.$ac_ext >&5
11425 ac_cv_c_va_copy="no"
11428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11429 conftest$ac_exeext conftest.$ac_ext
11432 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11433 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11434 if test "$ac_cv_c_va_copy" = "yes"
11437 cat >>confdefs.h <<\_ACEOF
11438 #define HAVE_VA_COPY 1
11442 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11443 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11444 if test "${ac_cv_c___va_copy+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 cat >conftest.$ac_ext <<_ACEOF
11450 cat confdefs.h >>conftest.$ac_ext
11451 cat >>conftest.$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 #include <stdarg.h>
11458 __va_copy(ap1,ap2);
11464 rm -f conftest.$ac_objext conftest$ac_exeext
11465 if { (ac_try="$ac_link"
11466 case "(($ac_try" in
11467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11468 *) ac_try_echo
=$ac_try;;
11470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11471 (eval "$ac_link") 2>conftest.er1
11473 grep -v '^ *+' conftest.er1
>conftest.err
11475 cat conftest.err
>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } && {
11478 test -z "$ac_c_werror_flag" ||
11479 test ! -s conftest.err
11480 } && test -s conftest
$ac_exeext &&
11481 $as_test_x conftest
$ac_exeext; then
11482 ac_cv_c___va_copy
="yes"
11484 echo "$as_me: failed program was:" >&5
11485 sed 's/^/| /' conftest.
$ac_ext >&5
11487 ac_cv_c___va_copy
="no"
11490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11491 conftest
$ac_exeext conftest.
$ac_ext
11494 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11495 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11496 if test "$ac_cv_c___va_copy" = "yes"
11499 cat >>confdefs.h
<<\_ACEOF
11500 #define HAVE___VA_COPY 1
11505 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11506 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11507 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 cat >conftest.
$ac_ext <<_ACEOF
11513 cat confdefs.h
>>conftest.
$ac_ext
11514 cat >>conftest.
$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11516 #include <setjmp.h>
11521 sigsetjmp( buf, 1 );
11522 siglongjmp( buf, 1 );
11527 rm -f conftest.
$ac_objext conftest
$ac_exeext
11528 if { (ac_try
="$ac_link"
11529 case "(($ac_try" in
11530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11531 *) ac_try_echo=$ac_try;;
11533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11534 (eval "$ac_link") 2>conftest.er1
11536 grep -v '^ *+' conftest.er1 >conftest.err
11538 cat conftest.err >&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } && {
11541 test -z "$ac_c_werror_flag" ||
11542 test ! -s conftest.err
11543 } && test -s conftest$ac_exeext &&
11544 $as_test_x conftest$ac_exeext; then
11545 ac_cv_c_sigsetjmp="yes"
11547 echo "$as_me: failed program was:" >&5
11548 sed 's/^/| /' conftest.$ac_ext >&5
11550 ac_cv_c_sigsetjmp="no"
11553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11554 conftest$ac_exeext conftest.$ac_ext
11557 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11558 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11559 if test "$ac_cv_c_sigsetjmp" = "yes"
11562 cat >>confdefs.h <<\_ACEOF
11563 #define HAVE_SIGSETJMP 1
11568 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11569 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11570 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 cat >conftest.$ac_ext <<_ACEOF
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11579 #define _GNU_SOURCE
11580 #include <pthread.h>
11582 typedef pthread_rwlock_t ac__type_new_;
11586 if ((ac__type_new_ *) 0)
11588 if (sizeof (ac__type_new_))
11594 rm -f conftest.$ac_objext
11595 if { (ac_try="$ac_compile"
11596 case "(($ac_try" in
11597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11598 *) ac_try_echo
=$ac_try;;
11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11601 (eval "$ac_compile") 2>conftest.er1
11603 grep -v '^ *+' conftest.er1
>conftest.err
11605 cat conftest.err
>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } && {
11608 test -z "$ac_c_werror_flag" ||
11609 test ! -s conftest.err
11610 } && test -s conftest.
$ac_objext; then
11611 ac_cv_type_pthread_rwlock_t
=yes
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.
$ac_ext >&5
11616 ac_cv_type_pthread_rwlock_t
=no
11619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11621 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11622 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11623 if test $ac_cv_type_pthread_rwlock_t = yes; then
11625 cat >>confdefs.h
<<_ACEOF
11626 #define HAVE_PTHREAD_RWLOCK_T 1
11631 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11632 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11633 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 cat >conftest.
$ac_ext <<_ACEOF
11639 cat confdefs.h
>>conftest.
$ac_ext
11640 cat >>conftest.
$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11642 #define _GNU_SOURCE
11643 #include <pthread.h>
11645 typedef pthread_rwlockattr_t ac__type_new_;
11649 if ((ac__type_new_ *) 0)
11651 if (sizeof (ac__type_new_))
11657 rm -f conftest.
$ac_objext
11658 if { (ac_try
="$ac_compile"
11659 case "(($ac_try" in
11660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11661 *) ac_try_echo=$ac_try;;
11663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11664 (eval "$ac_compile") 2>conftest.er1
11666 grep -v '^ *+' conftest.er1 >conftest.err
11668 cat conftest.err >&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); } && {
11671 test -z "$ac_c_werror_flag" ||
11672 test ! -s conftest.err
11673 } && test -s conftest.$ac_objext; then
11674 ac_cv_type_pthread_rwlockattr_t=yes
11676 echo "$as_me: failed program was:" >&5
11677 sed 's/^/| /' conftest.$ac_ext >&5
11679 ac_cv_type_pthread_rwlockattr_t=no
11682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11684 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11685 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11686 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11688 cat >>confdefs.h <<_ACEOF
11689 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11696 ac_wine_check_funcs_save_LIBS="$LIBS"
11697 LIBS="$LIBS $LIBPTHREAD"
11703 pthread_attr_get_np \
11704 pthread_getattr_np \
11705 pthread_get_stackaddr_np \
11706 pthread_get_stacksize_np
11708 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11709 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11711 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
11714 cat >conftest.$ac_ext <<_ACEOF
11717 cat confdefs.h >>conftest.$ac_ext
11718 cat >>conftest.$ac_ext <<_ACEOF
11719 /* end confdefs.h. */
11720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11722 #define $ac_func innocuous_$ac_func
11724 /* System header to define __stub macros and hopefully few prototypes,
11725 which can conflict with char $ac_func (); below.
11726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11727 <limits.h> exists even on freestanding compilers. */
11730 # include <limits.h>
11732 # include <assert.h>
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11744 /* The GNU C library defines this for functions which it implements
11745 to always fail with ENOSYS. Some functions are actually named
11746 something starting with __ and the normal name is an alias. */
11747 #if defined __stub_$ac_func || defined __stub___$ac_func
11754 return $ac_func ();
11759 rm -f conftest.$ac_objext conftest$ac_exeext
11760 if { (ac_try="$ac_link"
11761 case "(($ac_try" in
11762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11763 *) ac_try_echo
=$ac_try;;
11765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11766 (eval "$ac_link") 2>conftest.er1
11768 grep -v '^ *+' conftest.er1
>conftest.err
11770 cat conftest.err
>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } && {
11773 test -z "$ac_c_werror_flag" ||
11774 test ! -s conftest.err
11775 } && test -s conftest
$ac_exeext &&
11776 $as_test_x conftest
$ac_exeext; then
11777 eval "$as_ac_var=yes"
11779 echo "$as_me: failed program was:" >&5
11780 sed 's/^/| /' conftest.
$ac_ext >&5
11782 eval "$as_ac_var=no"
11785 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11786 conftest
$ac_exeext conftest.
$ac_ext
11788 ac_res
=`eval echo '${'$as_ac_var'}'`
11789 { echo "$as_me:$LINENO: result: $ac_res" >&5
11790 echo "${ECHO_T}$ac_res" >&6; }
11791 if test `eval echo '${'$as_ac_var'}'` = yes; then
11792 cat >>confdefs.h
<<_ACEOF
11793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11799 LIBS
="$ac_wine_check_funcs_save_LIBS"
11801 # Extract the first word of "esd-config", so it can be a program name with args.
11802 set dummy esd-config
; ac_word
=$2
11803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11805 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
11813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11814 for as_dir
in $PATH
11817 test -z "$as_dir" && as_dir
=.
11818 for ac_exec_ext
in '' $ac_executable_extensions; do
11819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11820 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11831 ESDCONFIG
=$ac_cv_path_ESDCONFIG
11832 if test -n "$ESDCONFIG"; then
11833 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11834 echo "${ECHO_T}$ESDCONFIG" >&6; }
11836 { echo "$as_me:$LINENO: result: no" >&5
11837 echo "${ECHO_T}no" >&6; }
11841 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
11844 for i
in `$ESDCONFIG --cflags`
11847 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
11850 ESD_LIBS
=`$ESDCONFIG --libs`
11851 save_CFLAGS
="$CFLAGS"
11852 CFLAGS
="$CFLAGS $ESD_CFLAGS"
11853 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11854 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11855 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 ac_check_lib_save_LIBS
=$LIBS
11860 cat >conftest.
$ac_ext <<_ACEOF
11863 cat confdefs.h
>>conftest.
$ac_ext
11864 cat >>conftest.
$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11873 char esd_open_sound ();
11877 return esd_open_sound ();
11882 rm -f conftest.
$ac_objext conftest
$ac_exeext
11883 if { (ac_try
="$ac_link"
11884 case "(($ac_try" in
11885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11886 *) ac_try_echo=$ac_try;;
11888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11889 (eval "$ac_link") 2>conftest.er1
11891 grep -v '^ *+' conftest.er1 >conftest.err
11893 cat conftest.err >&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } && {
11896 test -z "$ac_c_werror_flag" ||
11897 test ! -s conftest.err
11898 } && test -s conftest$ac_exeext &&
11899 $as_test_x conftest$ac_exeext; then
11900 ac_cv_lib_esd_esd_open_sound=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.$ac_ext >&5
11905 ac_cv_lib_esd_esd_open_sound=no
11908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11909 conftest$ac_exeext conftest.$ac_ext
11910 LIBS=$ac_check_lib_save_LIBS
11912 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11913 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11914 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11917 ESDINCL=$ESD_CFLAGS
11920 cat >>confdefs.h <<\_ACEOF
11926 CFLAGS="$save_CFLAGS"
11931 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11933 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11934 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11935 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 ac_check_lib_save_LIBS=$LIBS
11939 LIBS="-lasound $LIBS"
11940 cat >conftest.$ac_ext <<_ACEOF
11943 cat confdefs.h >>conftest.$ac_ext
11944 cat >>conftest.$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11953 char snd_pcm_hw_params_get_access ();
11957 return snd_pcm_hw_params_get_access ();
11962 rm -f conftest.$ac_objext conftest$ac_exeext
11963 if { (ac_try="$ac_link"
11964 case "(($ac_try" in
11965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11966 *) ac_try_echo
=$ac_try;;
11968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11969 (eval "$ac_link") 2>conftest.er1
11971 grep -v '^ *+' conftest.er1
>conftest.err
11973 cat conftest.err
>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } && {
11976 test -z "$ac_c_werror_flag" ||
11977 test ! -s conftest.err
11978 } && test -s conftest
$ac_exeext &&
11979 $as_test_x conftest
$ac_exeext; then
11980 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
11982 echo "$as_me: failed program was:" >&5
11983 sed 's/^/| /' conftest.
$ac_ext >&5
11985 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
11988 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11989 conftest
$ac_exeext conftest.
$ac_ext
11990 LIBS
=$ac_check_lib_save_LIBS
11992 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11993 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
11994 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11995 cat >conftest.
$ac_ext <<_ACEOF
11998 cat confdefs.h
>>conftest.
$ac_ext
11999 cat >>conftest.
$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12001 #ifdef HAVE_ALSA_ASOUNDLIB_H
12002 #include <alsa/asoundlib.h>
12003 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12004 #include <sys/asoundlib.h>
12009 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12014 rm -f conftest.
$ac_objext
12015 if { (ac_try
="$ac_compile"
12016 case "(($ac_try" in
12017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12018 *) ac_try_echo=$ac_try;;
12020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12021 (eval "$ac_compile") 2>conftest.er1
12023 grep -v '^ *+' conftest.er1 >conftest.err
12025 cat conftest.err >&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } && {
12028 test -z "$ac_c_werror_flag" ||
12029 test ! -s conftest.err
12030 } && test -s conftest.$ac_objext; then
12032 cat >>confdefs.h <<\_ACEOF
12033 #define HAVE_ALSA 1
12036 ALSALIBS="-lasound"
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.$ac_ext >&5
12044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12052 if test "$ac_cv_header_libaudioio_h" = "yes"
12054 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12055 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12056 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 ac_check_lib_save_LIBS=$LIBS
12060 LIBS="-laudioio $LIBS"
12061 cat >conftest.$ac_ext <<_ACEOF
12064 cat confdefs.h >>conftest.$ac_ext
12065 cat >>conftest.$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12074 char AudioIOGetVersion ();
12078 return AudioIOGetVersion ();
12083 rm -f conftest.$ac_objext conftest$ac_exeext
12084 if { (ac_try="$ac_link"
12085 case "(($ac_try" in
12086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12087 *) ac_try_echo
=$ac_try;;
12089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12090 (eval "$ac_link") 2>conftest.er1
12092 grep -v '^ *+' conftest.er1
>conftest.err
12094 cat conftest.err
>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } && {
12097 test -z "$ac_c_werror_flag" ||
12098 test ! -s conftest.err
12099 } && test -s conftest
$ac_exeext &&
12100 $as_test_x conftest
$ac_exeext; then
12101 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12103 echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.
$ac_ext >&5
12106 ac_cv_lib_audioio_AudioIOGetVersion
=no
12109 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12110 conftest
$ac_exeext conftest.
$ac_ext
12111 LIBS
=$ac_check_lib_save_LIBS
12113 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12114 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12115 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12116 AUDIOIOLIBS
="-laudioio"
12118 cat >>confdefs.h
<<\_ACEOF
12119 #define HAVE_LIBAUDIOIO 1
12127 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12129 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12130 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12131 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12132 echo $ECHO_N "(cached) $ECHO_C" >&6
12134 ac_check_lib_save_LIBS
=$LIBS
12135 LIBS
="-lcapi20 $LIBS"
12136 cat >conftest.
$ac_ext <<_ACEOF
12139 cat confdefs.h
>>conftest.
$ac_ext
12140 cat >>conftest.
$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12149 char capi20_register ();
12153 return capi20_register ();
12158 rm -f conftest.
$ac_objext conftest
$ac_exeext
12159 if { (ac_try
="$ac_link"
12160 case "(($ac_try" in
12161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_link") 2>conftest.er1
12167 grep -v '^ *+' conftest.er1 >conftest.err
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } && {
12172 test -z "$ac_c_werror_flag" ||
12173 test ! -s conftest.err
12174 } && test -s conftest$ac_exeext &&
12175 $as_test_x conftest$ac_exeext; then
12176 ac_cv_lib_capi20_capi20_register=yes
12178 echo "$as_me: failed program was:" >&5
12179 sed 's/^/| /' conftest.$ac_ext >&5
12181 ac_cv_lib_capi20_capi20_register=no
12184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12185 conftest$ac_exeext conftest.$ac_ext
12186 LIBS=$ac_check_lib_save_LIBS
12188 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12189 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12190 if test $ac_cv_lib_capi20_capi20_register = yes; then
12192 cat >>confdefs.h <<\_ACEOF
12193 #define HAVE_CAPI4LINUX 1
12203 if test "x${GCC}" = "xyes"
12205 EXTRACFLAGS="-Wall -pipe"
12207 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12208 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12209 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12210 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 if test "$cross_compiling" = yes; then
12213 ac_cv_c_gcc_strength_bug="yes"
12215 cat >conftest.$ac_ext <<_ACEOF
12218 cat confdefs.h >>conftest.$ac_ext
12219 cat >>conftest.$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12222 int L[4] = {0,1,2,3};
12224 static int Array[3];
12225 unsigned int B = 3;
12227 for(i=0; i<B; i++) Array[i] = i - 3;
12228 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12231 exit( Array[1] != -2 || L[2] != 3);
12234 rm -f conftest$ac_exeext
12235 if { (ac_try="$ac_link"
12236 case "(($ac_try" in
12237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12238 *) ac_try_echo
=$ac_try;;
12240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12241 (eval "$ac_link") 2>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12245 { (case "(($ac_try" in
12246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_try") 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; }; then
12254 ac_cv_c_gcc_strength_bug="no"
12256 echo "$as_me: program exited with status $ac_status" >&5
12257 echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.$ac_ext >&5
12260 ( exit $ac_status )
12261 ac_cv_c_gcc_strength_bug="yes"
12263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12268 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12269 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12270 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12272 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12276 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12277 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12278 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12279 echo $ECHO_N "(cached) $ECHO_C" >&6
12281 ac_wine_try_cflags_saved=$CFLAGS
12282 CFLAGS="$CFLAGS -fshort-wchar"
12283 cat >conftest.$ac_ext <<_ACEOF
12286 cat confdefs.h >>conftest.$ac_ext
12287 cat >>conftest.$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12298 rm -f conftest.$ac_objext conftest$ac_exeext
12299 if { (ac_try="$ac_link"
12300 case "(($ac_try" in
12301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12302 *) ac_try_echo
=$ac_try;;
12304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12305 (eval "$ac_link") 2>conftest.er1
12307 grep -v '^ *+' conftest.er1
>conftest.err
12309 cat conftest.err
>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } && {
12312 test -z "$ac_c_werror_flag" ||
12313 test ! -s conftest.err
12314 } && test -s conftest
$ac_exeext &&
12315 $as_test_x conftest
$ac_exeext; then
12316 ac_cv_cflags__fshort_wchar
=yes
12318 echo "$as_me: failed program was:" >&5
12319 sed 's/^/| /' conftest.
$ac_ext >&5
12321 ac_cv_cflags__fshort_wchar
=no
12324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12325 conftest
$ac_exeext conftest.
$ac_ext
12326 CFLAGS
=$ac_wine_try_cflags_saved
12328 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12329 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12330 if test $ac_cv_cflags__fshort_wchar = yes; then
12332 cat >>confdefs.h
<<\_ACEOF
12333 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12338 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12339 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12340 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 ac_wine_try_cflags_saved
=$CFLAGS
12344 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12345 cat >conftest.
$ac_ext <<_ACEOF
12348 cat confdefs.h
>>conftest.
$ac_ext
12349 cat >>conftest.
$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12360 rm -f conftest.
$ac_objext conftest
$ac_exeext
12361 if { (ac_try
="$ac_link"
12362 case "(($ac_try" in
12363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12364 *) ac_try_echo=$ac_try;;
12366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12367 (eval "$ac_link") 2>conftest.er1
12369 grep -v '^ *+' conftest.er1 >conftest.err
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } && {
12374 test -z "$ac_c_werror_flag" ||
12375 test ! -s conftest.err
12376 } && test -s conftest$ac_exeext &&
12377 $as_test_x conftest$ac_exeext; then
12378 ac_cv_cflags__fno_strict_aliasing=yes
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12383 ac_cv_cflags__fno_strict_aliasing=no
12386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12387 conftest$ac_exeext conftest.$ac_ext
12388 CFLAGS=$ac_wine_try_cflags_saved
12390 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12391 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12392 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12393 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12396 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12397 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12398 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12399 echo $ECHO_N "(cached) $ECHO_C" >&6
12401 ac_wine_try_cflags_saved=$CFLAGS
12402 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12403 cat >conftest.$ac_ext <<_ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12418 rm -f conftest.$ac_objext conftest$ac_exeext
12419 if { (ac_try="$ac_link"
12420 case "(($ac_try" in
12421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12422 *) ac_try_echo
=$ac_try;;
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_link") 2>conftest.er1
12427 grep -v '^ *+' conftest.er1
>conftest.err
12429 cat conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } && {
12432 test -z "$ac_c_werror_flag" ||
12433 test ! -s conftest.err
12434 } && test -s conftest
$ac_exeext &&
12435 $as_test_x conftest
$ac_exeext; then
12436 ac_cv_cflags__Wdeclaration_after_statement
=yes
12438 echo "$as_me: failed program was:" >&5
12439 sed 's/^/| /' conftest.
$ac_ext >&5
12441 ac_cv_cflags__Wdeclaration_after_statement
=no
12444 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12445 conftest
$ac_exeext conftest.
$ac_ext
12446 CFLAGS
=$ac_wine_try_cflags_saved
12448 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12449 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12450 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12451 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12454 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12455 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12456 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 ac_wine_try_cflags_saved
=$CFLAGS
12460 CFLAGS
="$CFLAGS -Wwrite-strings"
12461 cat >conftest.
$ac_ext <<_ACEOF
12464 cat confdefs.h
>>conftest.
$ac_ext
12465 cat >>conftest.
$ac_ext <<_ACEOF
12466 /* end confdefs.h. */
12476 rm -f conftest.
$ac_objext conftest
$ac_exeext
12477 if { (ac_try
="$ac_link"
12478 case "(($ac_try" in
12479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12480 *) ac_try_echo=$ac_try;;
12482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12483 (eval "$ac_link") 2>conftest.er1
12485 grep -v '^ *+' conftest.er1 >conftest.err
12487 cat conftest.err >&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } && {
12490 test -z "$ac_c_werror_flag" ||
12491 test ! -s conftest.err
12492 } && test -s conftest$ac_exeext &&
12493 $as_test_x conftest$ac_exeext; then
12494 ac_cv_cflags__Wwrite_strings=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5
12499 ac_cv_cflags__Wwrite_strings=no
12502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12503 conftest$ac_exeext conftest.$ac_ext
12504 CFLAGS=$ac_wine_try_cflags_saved
12506 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12507 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12508 if test $ac_cv_cflags__Wwrite_strings = yes; then
12509 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12513 saved_CFLAGS="$CFLAGS"
12514 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12515 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12516 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12517 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 cat >conftest.$ac_ext <<_ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12526 #include <string.h>
12535 rm -f conftest.$ac_objext
12536 if { (ac_try="$ac_compile"
12537 case "(($ac_try" in
12538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12539 *) ac_try_echo
=$ac_try;;
12541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12542 (eval "$ac_compile") 2>conftest.er1
12544 grep -v '^ *+' conftest.er1
>conftest.err
12546 cat conftest.err
>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); } && {
12549 test -z "$ac_c_werror_flag" ||
12550 test ! -s conftest.err
12551 } && test -s conftest.
$ac_objext; then
12552 ac_cv_c_string_h_warnings
=no
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_cv_c_string_h_warnings
=yes
12560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12562 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12563 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12564 CFLAGS
="$saved_CFLAGS"
12565 if test "$ac_cv_c_string_h_warnings" = "no"
12567 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12572 saved_CFLAGS
="$CFLAGS"
12573 CFLAGS
="$CFLAGS -Werror"
12574 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12575 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12576 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12577 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 cat >conftest.
$ac_ext <<_ACEOF
12582 cat confdefs.h
>>conftest.
$ac_ext
12583 cat >>conftest.
$ac_ext <<_ACEOF
12584 /* end confdefs.h. */
12589 int iswlower(unsigned short);
12594 rm -f conftest.
$ac_objext
12595 if { (ac_try
="$ac_compile"
12596 case "(($ac_try" in
12597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12598 *) ac_try_echo=$ac_try;;
12600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12601 (eval "$ac_compile") 2>conftest.er1
12603 grep -v '^ *+' conftest.er1 >conftest.err
12605 cat conftest.err >&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); } && {
12608 test -z "$ac_c_werror_flag" ||
12609 test ! -s conftest.err
12610 } && test -s conftest.$ac_objext; then
12611 ac_cv_c_builtin_wchar_ctype=no
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.$ac_ext >&5
12616 ac_cv_c_builtin_wchar_ctype=yes
12619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12621 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12622 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12623 CFLAGS="$saved_CFLAGS"
12624 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12626 BUILTINFLAG="-fno-builtin"
12631 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12632 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12633 if test "${ac_cv_asm_func_def+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 cat >conftest.$ac_ext <<_ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12642 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12652 rm -f conftest.$ac_objext conftest$ac_exeext
12653 if { (ac_try="$ac_link"
12654 case "(($ac_try" in
12655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12656 *) ac_try_echo
=$ac_try;;
12658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12659 (eval "$ac_link") 2>conftest.er1
12661 grep -v '^ *+' conftest.er1
>conftest.err
12663 cat conftest.err
>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } && {
12666 test -z "$ac_c_werror_flag" ||
12667 test ! -s conftest.err
12668 } && test -s conftest
$ac_exeext &&
12669 $as_test_x conftest
$ac_exeext; then
12670 ac_cv_asm_func_def
=".def"
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 cat >conftest.
$ac_ext <<_ACEOF
12678 cat confdefs.h
>>conftest.
$ac_ext
12679 cat >>conftest.
$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12691 rm -f conftest.
$ac_objext conftest
$ac_exeext
12692 if { (ac_try
="$ac_link"
12693 case "(($ac_try" in
12694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12695 *) ac_try_echo=$ac_try;;
12697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12698 (eval "$ac_link") 2>conftest.er1
12700 grep -v '^ *+' conftest.er1 >conftest.err
12702 cat conftest.err >&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } && {
12705 test -z "$ac_c_werror_flag" ||
12706 test ! -s conftest.err
12707 } && test -s conftest$ac_exeext &&
12708 $as_test_x conftest$ac_exeext; then
12709 ac_cv_asm_func_def=".type @function"
12711 echo "$as_me: failed program was:" >&5
12712 sed 's/^/| /' conftest.$ac_ext >&5
12714 cat >conftest.$ac_ext <<_ACEOF
12717 cat confdefs.h >>conftest.$ac_ext
12718 cat >>conftest.$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12720 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12730 rm -f conftest.$ac_objext conftest$ac_exeext
12731 if { (ac_try="$ac_link"
12732 case "(($ac_try" in
12733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12734 *) ac_try_echo
=$ac_try;;
12736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12737 (eval "$ac_link") 2>conftest.er1
12739 grep -v '^ *+' conftest.er1
>conftest.err
12741 cat conftest.err
>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } && {
12744 test -z "$ac_c_werror_flag" ||
12745 test ! -s conftest.err
12746 } && test -s conftest
$ac_exeext &&
12747 $as_test_x conftest
$ac_exeext; then
12748 ac_cv_asm_func_def
=".type 2"
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12753 ac_cv_asm_func_def
="unknown"
12756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12757 conftest
$ac_exeext conftest.
$ac_ext
12760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12761 conftest
$ac_exeext conftest.
$ac_ext
12764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12765 conftest
$ac_exeext conftest.
$ac_ext
12767 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12768 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12772 case "$ac_cv_asm_func_def" in
12774 cat >>confdefs.h
<<\_ACEOF
12775 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12779 cat >>confdefs.h
<<\_ACEOF
12780 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12784 cat >>confdefs.h
<<\_ACEOF
12785 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12789 cat >>confdefs.h
<<\_ACEOF
12790 #define __ASM_FUNC(name) ""
12796 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12797 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12798 if test "${ac_cv_c_extern_prefix+set}" = set; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 cat >conftest.
$ac_ext <<_ACEOF
12804 cat confdefs.h
>>conftest.
$ac_ext
12805 cat >>conftest.
$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12808 extern int ac_test;
12812 if (ac_test) return 1
12817 rm -f conftest.
$ac_objext conftest
$ac_exeext
12818 if { (ac_try
="$ac_link"
12819 case "(($ac_try" in
12820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12821 *) ac_try_echo=$ac_try;;
12823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12824 (eval "$ac_link") 2>conftest.er1
12826 grep -v '^ *+' conftest.er1 >conftest.err
12828 cat conftest.err >&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); } && {
12831 test -z "$ac_c_werror_flag" ||
12832 test ! -s conftest.err
12833 } && test -s conftest$ac_exeext &&
12834 $as_test_x conftest$ac_exeext; then
12835 ac_cv_c_extern_prefix="yes"
12837 echo "$as_me: failed program was:" >&5
12838 sed 's/^/| /' conftest.$ac_ext >&5
12840 ac_cv_c_extern_prefix="no"
12843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12844 conftest$ac_exeext conftest.$ac_ext
12846 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12847 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12851 if test "$ac_cv_c_extern_prefix" = "yes"
12853 cat >>confdefs.h <<\_ACEOF
12854 #define __ASM_NAME(name) "_" name
12858 cat >>confdefs.h <<\_ACEOF
12859 #define __ASM_NAME(name) name
12867 DLLFLAGS="-D_REENTRANT"
12882 if test -n "$ac_tool_prefix"; then
12883 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12884 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12887 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12888 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 if test -n "$DLLTOOL"; then
12891 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12894 for as_dir in $PATH
12897 test -z "$as_dir" && as_dir=.
12898 for ac_exec_ext in '' $ac_executable_extensions; do
12899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12900 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12910 DLLTOOL=$ac_cv_prog_DLLTOOL
12911 if test -n "$DLLTOOL"; then
12912 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12913 echo "${ECHO_T}$DLLTOOL" >&6; }
12915 { echo "$as_me:$LINENO: result: no" >&5
12916 echo "${ECHO_T}no" >&6; }
12921 if test -z "$ac_cv_prog_DLLTOOL"; then
12922 ac_ct_DLLTOOL=$DLLTOOL
12923 # Extract the first word of "dlltool", so it can be a program name with args.
12924 set dummy dlltool; ac_word=$2
12925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12927 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12928 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 if test -n "$ac_ct_DLLTOOL"; then
12931 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12934 for as_dir in $PATH
12937 test -z "$as_dir" && as_dir=.
12938 for ac_exec_ext in '' $ac_executable_extensions; do
12939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12940 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12950 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12951 if test -n "$ac_ct_DLLTOOL"; then
12952 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12953 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12955 { echo "$as_me:$LINENO: result: no" >&5
12956 echo "${ECHO_T}no" >&6; }
12959 if test "x$ac_ct_DLLTOOL" = x; then
12962 case $cross_compiling:$ac_tool_warned in
12964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12965 whose name does not start with the host triplet. If you think this
12966 configuration is useful to you, please write to autoconf@gnu.org." >&5
12967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12968 whose name does not start with the host triplet. If you think this
12969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12970 ac_tool_warned=yes ;;
12972 DLLTOOL=$ac_ct_DLLTOOL
12975 DLLTOOL="$ac_cv_prog_DLLTOOL"
12978 if test -n "$ac_tool_prefix"; then
12979 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12980 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12983 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 if test -n "$DLLWRAP"; then
12987 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12990 for as_dir in $PATH
12993 test -z "$as_dir" && as_dir=.
12994 for ac_exec_ext in '' $ac_executable_extensions; do
12995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12996 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
12997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13006 DLLWRAP=$ac_cv_prog_DLLWRAP
13007 if test -n "$DLLWRAP"; then
13008 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13009 echo "${ECHO_T}$DLLWRAP" >&6; }
13011 { echo "$as_me:$LINENO: result: no" >&5
13012 echo "${ECHO_T}no" >&6; }
13017 if test -z "$ac_cv_prog_DLLWRAP"; then
13018 ac_ct_DLLWRAP=$DLLWRAP
13019 # Extract the first word of "dllwrap", so it can be a program name with args.
13020 set dummy dllwrap; ac_word=$2
13021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13023 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 if test -n "$ac_ct_DLLWRAP"; then
13027 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13030 for as_dir in $PATH
13033 test -z "$as_dir" && as_dir=.
13034 for ac_exec_ext in '' $ac_executable_extensions; do
13035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13036 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13046 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13047 if test -n "$ac_ct_DLLWRAP"; then
13048 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13049 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13051 { echo "$as_me:$LINENO: result: no" >&5
13052 echo "${ECHO_T}no" >&6; }
13055 if test "x$ac_ct_DLLWRAP" = x; then
13058 case $cross_compiling:$ac_tool_warned in
13060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13061 whose name does not start with the host triplet. If you think this
13062 configuration is useful to you, please write to autoconf@gnu.org." >&5
13063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13064 whose name does not start with the host triplet. If you think this
13065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13066 ac_tool_warned=yes ;;
13068 DLLWRAP=$ac_ct_DLLWRAP
13071 DLLWRAP="$ac_cv_prog_DLLWRAP"
13074 if test -n "$ac_tool_prefix"; then
13075 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13076 set dummy ${ac_tool_prefix}ar; ac_word=$2
13077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13079 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 if test -n "$MINGWAR"; then
13083 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13086 for as_dir in $PATH
13089 test -z "$as_dir" && as_dir=.
13090 for ac_exec_ext in '' $ac_executable_extensions; do
13091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13092 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13102 MINGWAR=$ac_cv_prog_MINGWAR
13103 if test -n "$MINGWAR"; then
13104 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13105 echo "${ECHO_T}$MINGWAR" >&6; }
13107 { echo "$as_me:$LINENO: result: no" >&5
13108 echo "${ECHO_T}no" >&6; }
13113 if test -z "$ac_cv_prog_MINGWAR"; then
13114 ac_ct_MINGWAR=$MINGWAR
13115 # Extract the first word of "ar", so it can be a program name with args.
13116 set dummy ar; ac_word=$2
13117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13119 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 if test -n "$ac_ct_MINGWAR"; then
13123 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13126 for as_dir in $PATH
13129 test -z "$as_dir" && as_dir=.
13130 for ac_exec_ext in '' $ac_executable_extensions; do
13131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13132 ac_cv_prog_ac_ct_MINGWAR="ar"
13133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13142 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13143 if test -n "$ac_ct_MINGWAR"; then
13144 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13145 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13147 { echo "$as_me:$LINENO: result: no" >&5
13148 echo "${ECHO_T}no" >&6; }
13151 if test "x$ac_ct_MINGWAR" = x; then
13154 case $cross_compiling:$ac_tool_warned in
13156 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13157 whose name does not start with the host triplet. If you think this
13158 configuration is useful to you, please write to autoconf@gnu.org." >&5
13159 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13160 whose name does not start with the host triplet. If you think this
13161 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13162 ac_tool_warned=yes ;;
13164 MINGWAR=$ac_ct_MINGWAR
13167 MINGWAR="$ac_cv_prog_MINGWAR"
13170 if test "$DLLWRAP" = "false"; then
13182 DLLFLAGS="$DLLFLAGS -fPIC"
13183 LDDLLFLAGS="-bundle -multiply_defined suppress"
13184 LIBWINE_LDFLAGS="-multiply_defined suppress"
13185 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
13186 STRIP="$STRIP -u -r"
13187 COREFOUNDATIONLIB="-framework CoreFoundation"
13189 IOKITLIB="-framework IOKit -framework CoreFoundation"
13191 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13193 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13195 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13198 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13200 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13205 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13207 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13209 CARBONLIB="-framework Carbon"
13211 QUARTZFILES='$(QUARTZFILES)'
13215 DLLFLAGS="$DLLFLAGS -fPIC"
13217 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13218 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13219 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 ac_wine_try_cflags_saved=$CFLAGS
13223 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13224 cat >conftest.$ac_ext <<_ACEOF
13227 rm -f conftest.$ac_objext conftest$ac_exeext
13228 if { (ac_try="$ac_link"
13229 case "(($ac_try" in
13230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13231 *) ac_try_echo
=$ac_try;;
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_link") 2>conftest.er1
13236 grep -v '^ *+' conftest.er1
>conftest.err
13238 cat conftest.err
>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } && {
13241 test -z "$ac_c_werror_flag" ||
13242 test ! -s conftest.err
13243 } && test -s conftest
$ac_exeext &&
13244 $as_test_x conftest
$ac_exeext; then
13245 ac_cv_c_dll_gnuelf
="yes"
13247 echo "$as_me: failed program was:" >&5
13248 sed 's/^/| /' conftest.
$ac_ext >&5
13250 ac_cv_c_dll_gnuelf
="no"
13253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13254 conftest
$ac_exeext conftest.
$ac_ext
13255 CFLAGS
=$ac_wine_try_cflags_saved
13257 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13258 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13259 if test "$ac_cv_c_dll_gnuelf" = "yes"
13261 LDSHARED
="\$(CC) -shared"
13262 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13263 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13264 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13265 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13268 ac_wine_try_cflags_saved
=$CFLAGS
13269 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13270 cat >conftest.
$ac_ext <<_ACEOF
13273 cat confdefs.h
>>conftest.
$ac_ext
13274 cat >>conftest.
$ac_ext <<_ACEOF
13275 /* end confdefs.h. */
13285 rm -f conftest.
$ac_objext conftest
$ac_exeext
13286 if { (ac_try
="$ac_link"
13287 case "(($ac_try" in
13288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13289 *) ac_try_echo=$ac_try;;
13291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13292 (eval "$ac_link") 2>conftest.er1
13294 grep -v '^ *+' conftest.er1 >conftest.err
13296 cat conftest.err >&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } && {
13299 test -z "$ac_c_werror_flag" ||
13300 test ! -s conftest.err
13301 } && test -s conftest$ac_exeext &&
13302 $as_test_x conftest$ac_exeext; then
13303 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13305 echo "$as_me: failed program was:" >&5
13306 sed 's/^/| /' conftest.$ac_ext >&5
13308 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13312 conftest$ac_exeext conftest.$ac_ext
13313 CFLAGS=$ac_wine_try_cflags_saved
13315 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13316 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13317 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13318 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13320 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13321 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13322 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13323 echo $ECHO_N "(cached) $ECHO_C" >&6
13325 ac_wine_try_cflags_saved=$CFLAGS
13326 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13327 cat >conftest.$ac_ext <<_ACEOF
13330 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13342 rm -f conftest.$ac_objext conftest$ac_exeext
13343 if { (ac_try="$ac_link"
13344 case "(($ac_try" in
13345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13346 *) ac_try_echo
=$ac_try;;
13348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13349 (eval "$ac_link") 2>conftest.er1
13351 grep -v '^ *+' conftest.er1
>conftest.err
13353 cat conftest.err
>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } && {
13356 test -z "$ac_c_werror_flag" ||
13357 test ! -s conftest.err
13358 } && test -s conftest
$ac_exeext &&
13359 $as_test_x conftest
$ac_exeext; then
13360 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
13362 echo "$as_me: failed program was:" >&5
13363 sed 's/^/| /' conftest.
$ac_ext >&5
13365 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
13368 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13369 conftest
$ac_exeext conftest.
$ac_ext
13370 CFLAGS
=$ac_wine_try_cflags_saved
13372 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13373 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13374 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13375 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13381 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13382 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13383 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 ac_wine_try_cflags_saved
=$CFLAGS
13387 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13388 cat >conftest.
$ac_ext <<_ACEOF
13391 cat confdefs.h
>>conftest.
$ac_ext
13392 cat >>conftest.
$ac_ext <<_ACEOF
13393 /* end confdefs.h. */
13403 rm -f conftest.
$ac_objext conftest
$ac_exeext
13404 if { (ac_try
="$ac_link"
13405 case "(($ac_try" in
13406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13407 *) ac_try_echo=$ac_try;;
13409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13410 (eval "$ac_link") 2>conftest.er1
13412 grep -v '^ *+' conftest.er1 >conftest.err
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } && {
13417 test -z "$ac_c_werror_flag" ||
13418 test ! -s conftest.err
13419 } && test -s conftest$ac_exeext &&
13420 $as_test_x conftest$ac_exeext; then
13421 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13423 echo "$as_me: failed program was:" >&5
13424 sed 's/^/| /' conftest.$ac_ext >&5
13426 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13430 conftest$ac_exeext conftest.$ac_ext
13431 CFLAGS=$ac_wine_try_cflags_saved
13433 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13434 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13435 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13436 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13440 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13441 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13442 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13445 ac_wine_try_cflags_saved=$CFLAGS
13446 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13447 cat >conftest.$ac_ext <<_ACEOF
13450 cat confdefs.h >>conftest.$ac_ext
13451 cat >>conftest.$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13462 rm -f conftest.$ac_objext conftest$ac_exeext
13463 if { (ac_try="$ac_link"
13464 case "(($ac_try" in
13465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13466 *) ac_try_echo
=$ac_try;;
13468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13469 (eval "$ac_link") 2>conftest.er1
13471 grep -v '^ *+' conftest.er1
>conftest.err
13473 cat conftest.err
>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); } && {
13476 test -z "$ac_c_werror_flag" ||
13477 test ! -s conftest.err
13478 } && test -s conftest
$ac_exeext &&
13479 $as_test_x conftest
$ac_exeext; then
13480 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13485 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
13488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13489 conftest
$ac_exeext conftest.
$ac_ext
13490 CFLAGS
=$ac_wine_try_cflags_saved
13492 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13493 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13494 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13495 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13499 echo '{ global: *; };' >conftest.map
13500 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13501 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13502 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 ac_wine_try_cflags_saved
=$CFLAGS
13506 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13507 cat >conftest.
$ac_ext <<_ACEOF
13510 cat confdefs.h
>>conftest.
$ac_ext
13511 cat >>conftest.
$ac_ext <<_ACEOF
13512 /* end confdefs.h. */
13522 rm -f conftest.
$ac_objext conftest
$ac_exeext
13523 if { (ac_try
="$ac_link"
13524 case "(($ac_try" in
13525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13526 *) ac_try_echo=$ac_try;;
13528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13529 (eval "$ac_link") 2>conftest.er1
13531 grep -v '^ *+' conftest.er1 >conftest.err
13533 cat conftest.err >&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); } && {
13536 test -z "$ac_c_werror_flag" ||
13537 test ! -s conftest.err
13538 } && test -s conftest$ac_exeext &&
13539 $as_test_x conftest$ac_exeext; then
13540 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13542 echo "$as_me: failed program was:" >&5
13543 sed 's/^/| /' conftest.$ac_ext >&5
13545 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13549 conftest$ac_exeext conftest.$ac_ext
13550 CFLAGS=$ac_wine_try_cflags_saved
13552 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13553 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13554 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13555 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13560 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13561 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13562 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 ac_wine_try_cflags_saved=$CFLAGS
13566 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13567 cat >conftest.$ac_ext <<_ACEOF
13570 cat confdefs.h >>conftest.$ac_ext
13571 cat >>conftest.$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13582 rm -f conftest.$ac_objext conftest$ac_exeext
13583 if { (ac_try="$ac_link"
13584 case "(($ac_try" in
13585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13586 *) ac_try_echo
=$ac_try;;
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_link") 2>conftest.er1
13591 grep -v '^ *+' conftest.er1
>conftest.err
13593 cat conftest.err
>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } && {
13596 test -z "$ac_c_werror_flag" ||
13597 test ! -s conftest.err
13598 } && test -s conftest
$ac_exeext &&
13599 $as_test_x conftest
$ac_exeext; then
13600 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.
$ac_ext >&5
13605 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
13608 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13609 conftest
$ac_exeext conftest.
$ac_ext
13610 CFLAGS
=$ac_wine_try_cflags_saved
13612 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13613 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13614 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13615 LDEXECFLAGS
="-Wl,--export-dynamic"
13620 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13621 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13622 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13623 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 ac_wine_try_cflags_saved
=$CFLAGS
13627 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13628 cat >conftest.
$ac_ext <<_ACEOF
13631 cat confdefs.h
>>conftest.
$ac_ext
13632 cat >>conftest.
$ac_ext <<_ACEOF
13633 /* end confdefs.h. */
13643 rm -f conftest.
$ac_objext conftest
$ac_exeext
13644 if { (ac_try
="$ac_link"
13645 case "(($ac_try" in
13646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13647 *) ac_try_echo=$ac_try;;
13649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13650 (eval "$ac_link") 2>conftest.er1
13652 grep -v '^ *+' conftest.er1 >conftest.err
13654 cat conftest.err >&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); } && {
13657 test -z "$ac_c_werror_flag" ||
13658 test ! -s conftest.err
13659 } && test -s conftest$ac_exeext &&
13660 $as_test_x conftest$ac_exeext; then
13661 eval "$as_ac_var=yes"
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.$ac_ext >&5
13666 eval "$as_ac_var=no"
13669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13670 conftest$ac_exeext conftest.$ac_ext
13671 CFLAGS=$ac_wine_try_cflags_saved
13673 ac_res=`eval echo '${'$as_ac_var'}'`
13674 { echo "$as_me:$LINENO: result: $ac_res" >&5
13675 echo "${ECHO_T}$ac_res" >&6; }
13676 if test `eval echo '${'$as_ac_var'}'` = yes; then
13677 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
13679 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" |
$as_tr_sh`
13680 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
13681 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
13682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13685 ac_wine_try_cflags_saved=$CFLAGS
13686 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
13687 cat >conftest.$ac_ext <<_ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13702 rm -f conftest.$ac_objext conftest$ac_exeext
13703 if { (ac_try="$ac_link"
13704 case "(($ac_try" in
13705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13706 *) ac_try_echo
=$ac_try;;
13708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13709 (eval "$ac_link") 2>conftest.er1
13711 grep -v '^ *+' conftest.er1
>conftest.err
13713 cat conftest.err
>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } && {
13716 test -z "$ac_c_werror_flag" ||
13717 test ! -s conftest.err
13718 } && test -s conftest
$ac_exeext &&
13719 $as_test_x conftest
$ac_exeext; then
13720 eval "$as_ac_var=yes"
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.
$ac_ext >&5
13725 eval "$as_ac_var=no"
13728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13729 conftest
$ac_exeext conftest.
$ac_ext
13730 CFLAGS
=$ac_wine_try_cflags_saved
13732 ac_res
=`eval echo '${'$as_ac_var'}'`
13733 { echo "$as_me:$LINENO: result: $ac_res" >&5
13734 echo "${ECHO_T}$ac_res" >&6; }
13735 if test `eval echo '${'$as_ac_var'}'` = yes; then
13736 LIBWINE_LDFLAGS
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13743 *i
[3456789]86* | x86_64
)
13744 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13745 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13746 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 ac_wine_try_cflags_saved
=$CFLAGS
13750 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13751 cat >conftest.
$ac_ext <<_ACEOF
13754 cat confdefs.h
>>conftest.
$ac_ext
13755 cat >>conftest.
$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13766 rm -f conftest.
$ac_objext conftest
$ac_exeext
13767 if { (ac_try
="$ac_link"
13768 case "(($ac_try" in
13769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13770 *) ac_try_echo=$ac_try;;
13772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13773 (eval "$ac_link") 2>conftest.er1
13775 grep -v '^ *+' conftest.er1 >conftest.err
13777 cat conftest.err >&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); } && {
13780 test -z "$ac_c_werror_flag" ||
13781 test ! -s conftest.err
13782 } && test -s conftest$ac_exeext &&
13783 $as_test_x conftest$ac_exeext; then
13784 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.$ac_ext >&5
13789 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13793 conftest$ac_exeext conftest.$ac_ext
13794 CFLAGS=$ac_wine_try_cflags_saved
13796 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13797 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13798 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13799 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13806 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13807 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13808 if test "${ac_cv_c_dll_unixware+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 ac_wine_try_cflags_saved=$CFLAGS
13812 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13813 cat >conftest.$ac_ext <<_ACEOF
13816 rm -f conftest.$ac_objext conftest$ac_exeext
13817 if { (ac_try="$ac_link"
13818 case "(($ac_try" in
13819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13820 *) ac_try_echo
=$ac_try;;
13822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13823 (eval "$ac_link") 2>conftest.er1
13825 grep -v '^ *+' conftest.er1
>conftest.err
13827 cat conftest.err
>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } && {
13830 test -z "$ac_c_werror_flag" ||
13831 test ! -s conftest.err
13832 } && test -s conftest
$ac_exeext &&
13833 $as_test_x conftest
$ac_exeext; then
13834 ac_cv_c_dll_unixware
="yes"
13836 echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.
$ac_ext >&5
13839 ac_cv_c_dll_unixware
="no"
13842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13843 conftest
$ac_exeext conftest.
$ac_ext
13844 CFLAGS
=$ac_wine_try_cflags_saved
13846 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13847 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13848 if test "$ac_cv_c_dll_unixware" = "yes"
13850 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13851 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13854 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13855 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13856 if test "${ac_cv_c_dll_hpux+set}" = set; then
13857 echo $ECHO_N "(cached) $ECHO_C" >&6
13859 ac_wine_try_cflags_saved
=$CFLAGS
13860 CFLAGS
="$CFLAGS -shared"
13861 cat >conftest.
$ac_ext <<_ACEOF
13864 rm -f conftest.
$ac_objext conftest
$ac_exeext
13865 if { (ac_try
="$ac_link"
13866 case "(($ac_try" in
13867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13868 *) ac_try_echo=$ac_try;;
13870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13871 (eval "$ac_link") 2>conftest.er1
13873 grep -v '^ *+' conftest.er1 >conftest.err
13875 cat conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } && {
13878 test -z "$ac_c_werror_flag" ||
13879 test ! -s conftest.err
13880 } && test -s conftest$ac_exeext &&
13881 $as_test_x conftest$ac_exeext; then
13882 ac_cv_c_dll_hpux="yes"
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13887 ac_cv_c_dll_hpux="no"
13890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13891 conftest$ac_exeext conftest.$ac_ext
13892 CFLAGS=$ac_wine_try_cflags_saved
13894 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13895 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13896 if test "$ac_cv_c_dll_hpux" = "yes"
13900 LDDLLFLAGS="-shared -fPIC"
13901 LDSHARED="\$(CC) -shared"
13908 if test "$cross_compiling" = "no"
13910 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13912 # Extract the first word of "$ac_prog", so it can be a program name with args.
13913 set dummy $ac_prog; ac_word=$2
13914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13916 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 if test -n "$CROSSCC"; then
13920 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13923 for as_dir in $PATH
13926 test -z "$as_dir" && as_dir=.
13927 for ac_exec_ext in '' $ac_executable_extensions; do
13928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13929 ac_cv_prog_CROSSCC="$ac_prog"
13930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13939 CROSSCC=$ac_cv_prog_CROSSCC
13940 if test -n "$CROSSCC"; then
13941 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13942 echo "${ECHO_T}$CROSSCC" >&6; }
13944 { echo "$as_me:$LINENO: result: no" >&5
13945 echo "${ECHO_T}no" >&6; }
13949 test -n "$CROSSCC" && break
13951 test -n "$CROSSCC" || CROSSCC="false"
13953 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13955 # Extract the first word of "$ac_prog", so it can be a program name with args.
13956 set dummy $ac_prog; ac_word=$2
13957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13959 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 if test -n "$DLLTOOL"; then
13963 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13966 for as_dir in $PATH
13969 test -z "$as_dir" && as_dir=.
13970 for ac_exec_ext in '' $ac_executable_extensions; do
13971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13972 ac_cv_prog_DLLTOOL="$ac_prog"
13973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13982 DLLTOOL=$ac_cv_prog_DLLTOOL
13983 if test -n "$DLLTOOL"; then
13984 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13985 echo "${ECHO_T}$DLLTOOL" >&6; }
13987 { echo "$as_me:$LINENO: result: no" >&5
13988 echo "${ECHO_T}no" >&6; }
13992 test -n "$DLLTOOL" && break
13994 test -n "$DLLTOOL" || DLLTOOL="false"
13996 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
13998 # Extract the first word of "$ac_prog", so it can be a program name with args.
13999 set dummy $ac_prog; ac_word=$2
14000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14002 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 if test -n "$CROSSWINDRES"; then
14006 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14009 for as_dir in $PATH
14012 test -z "$as_dir" && as_dir=.
14013 for ac_exec_ext in '' $ac_executable_extensions; do
14014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14015 ac_cv_prog_CROSSWINDRES="$ac_prog"
14016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14025 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14026 if test -n "$CROSSWINDRES"; then
14027 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14028 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14030 { echo "$as_me:$LINENO: result: no" >&5
14031 echo "${ECHO_T}no" >&6; }
14035 test -n "$CROSSWINDRES" && break
14037 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14039 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14041 # Extract the first word of "$ac_prog", so it can be a program name with args.
14042 set dummy $ac_prog; ac_word=$2
14043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14045 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14046 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 if test -n "$MINGWAR"; then
14049 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14052 for as_dir in $PATH
14055 test -z "$as_dir" && as_dir=.
14056 for ac_exec_ext in '' $ac_executable_extensions; do
14057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14058 ac_cv_prog_MINGWAR="$ac_prog"
14059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14068 MINGWAR=$ac_cv_prog_MINGWAR
14069 if test -n "$MINGWAR"; then
14070 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14071 echo "${ECHO_T}$MINGWAR" >&6; }
14073 { echo "$as_me:$LINENO: result: no" >&5
14074 echo "${ECHO_T}no" >&6; }
14078 test -n "$MINGWAR" && break
14080 test -n "$MINGWAR" || MINGWAR="false"
14082 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14087 if test "$LIBEXT" = "a"; then
14088 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14089 It is currently not possible to build Wine without shared library
14090 (.so) support to allow transparent switch between .so and .dll files.
14091 If you are using Linux, you will need a newer binutils.
14093 echo "$as_me: error: could not find a way to build shared libraries.
14094 It is currently not possible to build Wine without shared library
14095 (.so) support to allow transparent switch between .so and .dll files.
14096 If you are using Linux, you will need a newer binutils.
14098 { (exit 1); exit 1; }; }
14103 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14106 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14109 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14117 SOCKETLIBS="-lws2_32"
14122 MAIN_BINARY="wine-pthread"
14126 linux* | k*bsd*-gnu)
14127 MAIN_BINARY="wine-glibc"
14129 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14136 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14138 # Extract the first word of "ldd", so it can be a program name with args.
14139 set dummy ldd; ac_word=$2
14140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14142 if test "${ac_cv_path_LDD+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14151 as_dummy="/sbin:/usr/sbin:$PATH"
14152 for as_dir in $as_dummy
14155 test -z "$as_dir" && as_dir=.
14156 for ac_exec_ext in '' $ac_executable_extensions; do
14157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14158 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14166 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14170 LDD=$ac_cv_path_LDD
14171 if test -n "$LDD"; then
14172 { echo "$as_me:$LINENO: result: $LDD" >&5
14173 echo "${ECHO_T}$LDD" >&6; }
14175 { echo "$as_me:$LINENO: result: no" >&5
14176 echo "${ECHO_T}no" >&6; }
14180 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14181 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14182 if test "${ac_cv_lib_soname_X11+set}" = set; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 ac_get_soname_save_LIBS=$LIBS
14186 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14187 cat >conftest.$ac_ext <<_ACEOF
14190 cat confdefs.h >>conftest.$ac_ext
14191 cat >>conftest.$ac_ext <<_ACEOF
14192 /* end confdefs.h. */
14194 /* Override any GCC internal prototype to avoid an error.
14195 Use char because int might match the return type of a GCC
14196 builtin and then its argument prototype would still apply. */
14200 char XCreateWindow ();
14204 return XCreateWindow ();
14209 rm -f conftest.$ac_objext conftest$ac_exeext
14210 if { (ac_try="$ac_link"
14211 case "(($ac_try" in
14212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14213 *) ac_try_echo
=$ac_try;;
14215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14216 (eval "$ac_link") 2>conftest.er1
14218 grep -v '^ *+' conftest.er1
>conftest.err
14220 cat conftest.err
>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } && {
14223 test -z "$ac_c_werror_flag" ||
14224 test ! -s conftest.err
14225 } && test -s conftest
$ac_exeext &&
14226 $as_test_x conftest
$ac_exeext; then
14228 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'` ;;
14229 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14231 if test "x$ac_cv_lib_soname_X11" = "x"
14233 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14236 echo "$as_me: failed program was:" >&5
14237 sed 's/^/| /' conftest.
$ac_ext >&5
14239 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14242 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14243 conftest
$ac_exeext conftest.
$ac_ext
14244 LIBS
=$ac_get_soname_save_LIBS
14246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14247 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14248 if test "${ac_cv_lib_soname_X11+set}" = set; then
14250 cat >>confdefs.h
<<_ACEOF
14251 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14256 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14257 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14258 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 ac_get_soname_save_LIBS
=$LIBS
14262 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14263 cat >conftest.
$ac_ext <<_ACEOF
14266 cat confdefs.h
>>conftest.
$ac_ext
14267 cat >>conftest.
$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14270 /* Override any GCC internal prototype to avoid an error.
14271 Use char because int might match the return type of a GCC
14272 builtin and then its argument prototype would still apply. */
14276 char XextCreateExtension ();
14280 return XextCreateExtension ();
14285 rm -f conftest.
$ac_objext conftest
$ac_exeext
14286 if { (ac_try
="$ac_link"
14287 case "(($ac_try" in
14288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14289 *) ac_try_echo=$ac_try;;
14291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14292 (eval "$ac_link") 2>conftest.er1
14294 grep -v '^ *+' conftest.er1 >conftest.err
14296 cat conftest.err >&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } && {
14299 test -z "$ac_c_werror_flag" ||
14300 test ! -s conftest.err
14301 } && test -s conftest$ac_exeext &&
14302 $as_test_x conftest$ac_exeext; then
14304 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'` ;;
14305 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14307 if test "x$ac_cv_lib_soname_Xext" = "x"
14309 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14315 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS=$ac_get_soname_save_LIBS
14322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14323 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14324 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14326 cat >>confdefs.h <<_ACEOF
14327 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14332 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14333 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14334 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 ac_get_soname_save_LIBS=$LIBS
14338 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14339 cat >conftest.$ac_ext <<_ACEOF
14342 cat confdefs.h >>conftest.$ac_ext
14343 cat >>conftest.$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14352 char XOpenDevice ();
14356 return XOpenDevice ();
14361 rm -f conftest.$ac_objext conftest$ac_exeext
14362 if { (ac_try="$ac_link"
14363 case "(($ac_try" in
14364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14365 *) ac_try_echo
=$ac_try;;
14367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14368 (eval "$ac_link") 2>conftest.er1
14370 grep -v '^ *+' conftest.er1
>conftest.err
14372 cat conftest.err
>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } && {
14375 test -z "$ac_c_werror_flag" ||
14376 test ! -s conftest.err
14377 } && test -s conftest
$ac_exeext &&
14378 $as_test_x conftest
$ac_exeext; then
14380 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'` ;;
14381 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14383 if test "x$ac_cv_lib_soname_Xi" = "x"
14385 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.
$ac_ext >&5
14391 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14395 conftest
$ac_exeext conftest.
$ac_ext
14396 LIBS
=$ac_get_soname_save_LIBS
14398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14399 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14400 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14402 cat >>confdefs.h
<<_ACEOF
14403 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14408 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14409 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14410 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 ac_get_soname_save_LIBS
=$LIBS
14414 LIBS
="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14415 cat >conftest.
$ac_ext <<_ACEOF
14418 cat confdefs.h
>>conftest.
$ac_ext
14419 cat >>conftest.
$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14422 /* Override any GCC internal prototype to avoid an error.
14423 Use char because int might match the return type of a GCC
14424 builtin and then its argument prototype would still apply. */
14428 char XineramaQueryScreens ();
14432 return XineramaQueryScreens ();
14437 rm -f conftest.
$ac_objext conftest
$ac_exeext
14438 if { (ac_try
="$ac_link"
14439 case "(($ac_try" in
14440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14441 *) ac_try_echo=$ac_try;;
14443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14444 (eval "$ac_link") 2>conftest.er1
14446 grep -v '^ *+' conftest.er1 >conftest.err
14448 cat conftest.err >&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } && {
14451 test -z "$ac_c_werror_flag" ||
14452 test ! -s conftest.err
14453 } && test -s conftest$ac_exeext &&
14454 $as_test_x conftest$ac_exeext; then
14456 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'` ;;
14457 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXinerama
\\.so |
sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14459 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14461 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.$ac_ext >&5
14467 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14471 conftest$ac_exeext conftest.$ac_ext
14472 LIBS=$ac_get_soname_save_LIBS
14474 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14475 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14476 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14478 cat >>confdefs.h <<_ACEOF
14479 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14484 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14485 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14486 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14487 echo $ECHO_N "(cached) $ECHO_C" >&6
14489 ac_get_soname_save_LIBS=$LIBS
14490 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14491 cat >conftest.$ac_ext <<_ACEOF
14494 cat confdefs.h >>conftest.$ac_ext
14495 cat >>conftest.$ac_ext <<_ACEOF
14496 /* end confdefs.h. */
14498 /* Override any GCC internal prototype to avoid an error.
14499 Use char because int might match the return type of a GCC
14500 builtin and then its argument prototype would still apply. */
14504 char XRenderQueryExtension ();
14508 return XRenderQueryExtension ();
14513 rm -f conftest.$ac_objext conftest$ac_exeext
14514 if { (ac_try="$ac_link"
14515 case "(($ac_try" in
14516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14517 *) ac_try_echo
=$ac_try;;
14519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14520 (eval "$ac_link") 2>conftest.er1
14522 grep -v '^ *+' conftest.er1
>conftest.err
14524 cat conftest.err
>&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); } && {
14527 test -z "$ac_c_werror_flag" ||
14528 test ! -s conftest.err
14529 } && test -s conftest
$ac_exeext &&
14530 $as_test_x conftest
$ac_exeext; then
14532 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'` ;;
14533 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14535 if test "x$ac_cv_lib_soname_Xrender" = "x"
14537 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.
$ac_ext >&5
14543 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14547 conftest
$ac_exeext conftest.
$ac_ext
14548 LIBS
=$ac_get_soname_save_LIBS
14550 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14551 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14552 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14554 cat >>confdefs.h
<<_ACEOF
14555 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14560 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14561 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14562 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14563 echo $ECHO_N "(cached) $ECHO_C" >&6
14565 ac_get_soname_save_LIBS
=$LIBS
14566 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14567 cat >conftest.
$ac_ext <<_ACEOF
14570 cat confdefs.h
>>conftest.
$ac_ext
14571 cat >>conftest.
$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14574 /* Override any GCC internal prototype to avoid an error.
14575 Use char because int might match the return type of a GCC
14576 builtin and then its argument prototype would still apply. */
14580 char XRRQueryExtension ();
14584 return XRRQueryExtension ();
14589 rm -f conftest.
$ac_objext conftest
$ac_exeext
14590 if { (ac_try
="$ac_link"
14591 case "(($ac_try" in
14592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14593 *) ac_try_echo=$ac_try;;
14595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14596 (eval "$ac_link") 2>conftest.er1
14598 grep -v '^ *+' conftest.er1 >conftest.err
14600 cat conftest.err >&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); } && {
14603 test -z "$ac_c_werror_flag" ||
14604 test ! -s conftest.err
14605 } && test -s conftest$ac_exeext &&
14606 $as_test_x conftest$ac_exeext; then
14608 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'` ;;
14609 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14611 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14613 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14616 echo "$as_me: failed program was:" >&5
14617 sed 's/^/| /' conftest.$ac_ext >&5
14619 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14623 conftest$ac_exeext conftest.$ac_ext
14624 LIBS=$ac_get_soname_save_LIBS
14626 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14627 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14628 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14630 cat >>confdefs.h <<_ACEOF
14631 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14636 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14637 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14638 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14641 ac_get_soname_save_LIBS=$LIBS
14642 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14643 cat >conftest.$ac_ext <<_ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14656 char XcursorImageLoadCursor ();
14660 return XcursorImageLoadCursor ();
14665 rm -f conftest.$ac_objext conftest$ac_exeext
14666 if { (ac_try="$ac_link"
14667 case "(($ac_try" in
14668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14669 *) ac_try_echo
=$ac_try;;
14671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14672 (eval "$ac_link") 2>conftest.er1
14674 grep -v '^ *+' conftest.er1
>conftest.err
14676 cat conftest.err
>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } && {
14679 test -z "$ac_c_werror_flag" ||
14680 test ! -s conftest.err
14681 } && test -s conftest
$ac_exeext &&
14682 $as_test_x conftest
$ac_exeext; then
14684 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'` ;;
14685 so
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14687 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14689 ac_cv_lib_soname_Xcursor
="libXcursor.$LIBEXT"
14692 echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.
$ac_ext >&5
14695 ac_cv_lib_soname_Xcursor
="libXcursor.$LIBEXT"
14698 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14699 conftest
$ac_exeext conftest.
$ac_ext
14700 LIBS
=$ac_get_soname_save_LIBS
14702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14703 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14704 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14706 cat >>confdefs.h
<<_ACEOF
14707 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14712 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14713 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14714 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14715 echo $ECHO_N "(cached) $ECHO_C" >&6
14717 ac_get_soname_save_LIBS
=$LIBS
14718 LIBS
="-lfreetype $X_LIBS $LIBS"
14719 cat >conftest.
$ac_ext <<_ACEOF
14722 cat confdefs.h
>>conftest.
$ac_ext
14723 cat >>conftest.
$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14726 /* Override any GCC internal prototype to avoid an error.
14727 Use char because int might match the return type of a GCC
14728 builtin and then its argument prototype would still apply. */
14732 char FT_Init_FreeType ();
14736 return FT_Init_FreeType ();
14741 rm -f conftest.
$ac_objext conftest
$ac_exeext
14742 if { (ac_try
="$ac_link"
14743 case "(($ac_try" in
14744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_link") 2>conftest.er1
14750 grep -v '^ *+' conftest.er1 >conftest.err
14752 cat conftest.err >&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); } && {
14755 test -z "$ac_c_werror_flag" ||
14756 test ! -s conftest.err
14757 } && test -s conftest$ac_exeext &&
14758 $as_test_x conftest$ac_exeext; then
14760 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'` ;;
14761 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14763 if test "x$ac_cv_lib_soname_freetype" = "x"
14765 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14771 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14775 conftest$ac_exeext conftest.$ac_ext
14776 LIBS=$ac_get_soname_save_LIBS
14778 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14779 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14780 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14782 cat >>confdefs.h <<_ACEOF
14783 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14788 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14789 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14790 if test "${ac_cv_lib_soname_GL+set}" = set; then
14791 echo $ECHO_N "(cached) $ECHO_C" >&6
14793 ac_get_soname_save_LIBS=$LIBS
14794 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14795 cat >conftest.$ac_ext <<_ACEOF
14798 cat confdefs.h >>conftest.$ac_ext
14799 cat >>conftest.$ac_ext <<_ACEOF
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14808 char glXQueryExtension ();
14812 return glXQueryExtension ();
14817 rm -f conftest.$ac_objext conftest$ac_exeext
14818 if { (ac_try="$ac_link"
14819 case "(($ac_try" in
14820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14821 *) ac_try_echo
=$ac_try;;
14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_link") 2>conftest.er1
14826 grep -v '^ *+' conftest.er1
>conftest.err
14828 cat conftest.err
>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } && {
14831 test -z "$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14833 } && test -s conftest
$ac_exeext &&
14834 $as_test_x conftest
$ac_exeext; then
14836 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'` ;;
14837 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14839 if test "x$ac_cv_lib_soname_GL" = "x"
14841 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.
$ac_ext >&5
14847 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14850 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14851 conftest
$ac_exeext conftest.
$ac_ext
14852 LIBS
=$ac_get_soname_save_LIBS
14854 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14855 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14856 if test "${ac_cv_lib_soname_GL+set}" = set; then
14858 cat >>confdefs.h
<<_ACEOF
14859 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14864 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14865 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14866 if test "${ac_cv_lib_soname_hal+set}" = set; then
14867 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 ac_get_soname_save_LIBS
=$LIBS
14871 cat >conftest.
$ac_ext <<_ACEOF
14874 cat confdefs.h
>>conftest.
$ac_ext
14875 cat >>conftest.
$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14884 char libhal_ctx_new ();
14888 return libhal_ctx_new ();
14893 rm -f conftest.
$ac_objext conftest
$ac_exeext
14894 if { (ac_try
="$ac_link"
14895 case "(($ac_try" in
14896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14897 *) ac_try_echo=$ac_try;;
14899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14900 (eval "$ac_link") 2>conftest.er1
14902 grep -v '^ *+' conftest.er1 >conftest.err
14904 cat conftest.err >&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } && {
14907 test -z "$ac_c_werror_flag" ||
14908 test ! -s conftest.err
14909 } && test -s conftest$ac_exeext &&
14910 $as_test_x conftest$ac_exeext; then
14912 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'` ;;
14913 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14915 if test "x$ac_cv_lib_soname_hal" = "x"
14917 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14920 echo "$as_me: failed program was:" >&5
14921 sed 's/^/| /' conftest.$ac_ext >&5
14923 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_get_soname_save_LIBS
14930 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14931 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14932 if test "${ac_cv_lib_soname_hal+set}" = set; then
14934 cat >>confdefs.h <<_ACEOF
14935 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14940 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14941 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14942 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 ac_get_soname_save_LIBS=$LIBS
14946 LIBS="-ltxc_dxtn $LIBS"
14947 cat >conftest.$ac_ext <<_ACEOF
14950 cat confdefs.h >>conftest.$ac_ext
14951 cat >>conftest.$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14954 /* Override any GCC internal prototype to avoid an error.
14955 Use char because int might match the return type of a GCC
14956 builtin and then its argument prototype would still apply. */
14960 char fetch_2d_texel_rgba_dxt1 ();
14964 return fetch_2d_texel_rgba_dxt1 ();
14969 rm -f conftest.$ac_objext conftest$ac_exeext
14970 if { (ac_try="$ac_link"
14971 case "(($ac_try" in
14972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14973 *) ac_try_echo
=$ac_try;;
14975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14976 (eval "$ac_link") 2>conftest.er1
14978 grep -v '^ *+' conftest.er1
>conftest.err
14980 cat conftest.err
>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && {
14983 test -z "$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 } && test -s conftest
$ac_exeext &&
14986 $as_test_x conftest
$ac_exeext; then
14988 dylib
) ac_cv_lib_soname_txc_dxtn
=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14989 so
) ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14991 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14993 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
14999 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15003 conftest
$ac_exeext conftest.
$ac_ext
15004 LIBS
=$ac_get_soname_save_LIBS
15006 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15007 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15008 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15010 cat >>confdefs.h
<<_ACEOF
15011 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15016 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15017 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15018 if test "${ac_cv_lib_soname_cups+set}" = set; then
15019 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 ac_get_soname_save_LIBS
=$LIBS
15022 LIBS
="-lcups $LIBS"
15023 cat >conftest.
$ac_ext <<_ACEOF
15026 cat confdefs.h
>>conftest.
$ac_ext
15027 cat >>conftest.
$ac_ext <<_ACEOF
15028 /* end confdefs.h. */
15030 /* Override any GCC internal prototype to avoid an error.
15031 Use char because int might match the return type of a GCC
15032 builtin and then its argument prototype would still apply. */
15036 char cupsGetDefault ();
15040 return cupsGetDefault ();
15045 rm -f conftest.
$ac_objext conftest
$ac_exeext
15046 if { (ac_try
="$ac_link"
15047 case "(($ac_try" in
15048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15049 *) ac_try_echo=$ac_try;;
15051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15052 (eval "$ac_link") 2>conftest.er1
15054 grep -v '^ *+' conftest.er1 >conftest.err
15056 cat conftest.err >&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } && {
15059 test -z "$ac_c_werror_flag" ||
15060 test ! -s conftest.err
15061 } && test -s conftest$ac_exeext &&
15062 $as_test_x conftest$ac_exeext; then
15064 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'` ;;
15065 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15067 if test "x$ac_cv_lib_soname_cups" = "x"
15069 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15075 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15079 conftest$ac_exeext conftest.$ac_ext
15080 LIBS=$ac_get_soname_save_LIBS
15082 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15083 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15084 if test "${ac_cv_lib_soname_cups+set}" = set; then
15086 cat >>confdefs.h <<_ACEOF
15087 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15092 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15093 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15094 if test "${ac_cv_lib_soname_jack+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15097 ac_get_soname_save_LIBS=$LIBS
15098 LIBS="-ljack $LIBS"
15099 cat >conftest.$ac_ext <<_ACEOF
15102 cat confdefs.h >>conftest.$ac_ext
15103 cat >>conftest.$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15106 /* Override any GCC internal prototype to avoid an error.
15107 Use char because int might match the return type of a GCC
15108 builtin and then its argument prototype would still apply. */
15112 char jack_client_new ();
15116 return jack_client_new ();
15121 rm -f conftest.$ac_objext conftest$ac_exeext
15122 if { (ac_try="$ac_link"
15123 case "(($ac_try" in
15124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15125 *) ac_try_echo
=$ac_try;;
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_link") 2>conftest.er1
15130 grep -v '^ *+' conftest.er1
>conftest.err
15132 cat conftest.err
>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); } && {
15135 test -z "$ac_c_werror_flag" ||
15136 test ! -s conftest.err
15137 } && test -s conftest
$ac_exeext &&
15138 $as_test_x conftest
$ac_exeext; then
15140 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'` ;;
15141 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15143 if test "x$ac_cv_lib_soname_jack" = "x"
15145 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.
$ac_ext >&5
15151 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15154 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15155 conftest
$ac_exeext conftest.
$ac_ext
15156 LIBS
=$ac_get_soname_save_LIBS
15158 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15159 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15160 if test "${ac_cv_lib_soname_jack+set}" = set; then
15162 cat >>confdefs.h
<<_ACEOF
15163 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15168 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15169 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15170 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15171 echo $ECHO_N "(cached) $ECHO_C" >&6
15173 ac_get_soname_save_LIBS
=$LIBS
15174 LIBS
="-lfontconfig $LIBS"
15175 cat >conftest.
$ac_ext <<_ACEOF
15178 cat confdefs.h
>>conftest.
$ac_ext
15179 cat >>conftest.
$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15197 rm -f conftest.
$ac_objext conftest
$ac_exeext
15198 if { (ac_try
="$ac_link"
15199 case "(($ac_try" in
15200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15201 *) ac_try_echo=$ac_try;;
15203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15204 (eval "$ac_link") 2>conftest.er1
15206 grep -v '^ *+' conftest.er1 >conftest.err
15208 cat conftest.err >&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } && {
15211 test -z "$ac_c_werror_flag" ||
15212 test ! -s conftest.err
15213 } && test -s conftest$ac_exeext &&
15214 $as_test_x conftest$ac_exeext; then
15216 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'` ;;
15217 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15219 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15221 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.$ac_ext >&5
15227 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15231 conftest$ac_exeext conftest.$ac_ext
15232 LIBS=$ac_get_soname_save_LIBS
15234 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15235 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15236 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15238 cat >>confdefs.h <<_ACEOF
15239 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15244 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15245 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15246 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 ac_get_soname_save_LIBS=$LIBS
15251 cat >conftest.$ac_ext <<_ACEOF
15254 cat confdefs.h >>conftest.$ac_ext
15255 cat >>conftest.$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15258 /* Override any GCC internal prototype to avoid an error.
15259 Use char because int might match the return type of a GCC
15260 builtin and then its argument prototype would still apply. */
15264 char SSL_library_init ();
15268 return SSL_library_init ();
15273 rm -f conftest.$ac_objext conftest$ac_exeext
15274 if { (ac_try="$ac_link"
15275 case "(($ac_try" in
15276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15277 *) ac_try_echo
=$ac_try;;
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_link") 2>conftest.er1
15282 grep -v '^ *+' conftest.er1
>conftest.err
15284 cat conftest.err
>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest
$ac_exeext &&
15290 $as_test_x conftest
$ac_exeext; then
15292 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'` ;;
15293 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15295 if test "x$ac_cv_lib_soname_ssl" = "x"
15297 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.
$ac_ext >&5
15303 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15307 conftest
$ac_exeext conftest.
$ac_ext
15308 LIBS
=$ac_get_soname_save_LIBS
15310 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15311 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15312 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15314 cat >>confdefs.h
<<_ACEOF
15315 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15320 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15321 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15322 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 ac_get_soname_save_LIBS
=$LIBS
15326 LIBS
="-lcrypto $LIBS"
15327 cat >conftest.
$ac_ext <<_ACEOF
15330 cat confdefs.h
>>conftest.
$ac_ext
15331 cat >>conftest.
$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15334 /* Override any GCC internal prototype to avoid an error.
15335 Use char because int might match the return type of a GCC
15336 builtin and then its argument prototype would still apply. */
15340 char BIO_new_socket ();
15344 return BIO_new_socket ();
15349 rm -f conftest.
$ac_objext conftest
$ac_exeext
15350 if { (ac_try
="$ac_link"
15351 case "(($ac_try" in
15352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_link") 2>conftest.er1
15358 grep -v '^ *+' conftest.er1 >conftest.err
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_c_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest$ac_exeext &&
15366 $as_test_x conftest$ac_exeext; then
15368 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'` ;;
15369 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15371 if test "x$ac_cv_lib_soname_crypto" = "x"
15373 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15379 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15383 conftest$ac_exeext conftest.$ac_ext
15384 LIBS=$ac_get_soname_save_LIBS
15386 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15387 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15388 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15390 cat >>confdefs.h <<_ACEOF
15391 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15396 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15397 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15398 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15399 echo $ECHO_N "(cached) $ECHO_C" >&6
15401 ac_get_soname_save_LIBS=$LIBS
15402 LIBS="-lncurses $LIBS"
15403 cat >conftest.$ac_ext <<_ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15410 /* Override any GCC internal prototype to avoid an error.
15411 Use char because int might match the return type of a GCC
15412 builtin and then its argument prototype would still apply. */
15425 rm -f conftest.$ac_objext conftest$ac_exeext
15426 if { (ac_try="$ac_link"
15427 case "(($ac_try" in
15428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15429 *) ac_try_echo
=$ac_try;;
15431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15432 (eval "$ac_link") 2>conftest.er1
15434 grep -v '^ *+' conftest.er1
>conftest.err
15436 cat conftest.err
>&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); } && {
15439 test -z "$ac_c_werror_flag" ||
15440 test ! -s conftest.err
15441 } && test -s conftest
$ac_exeext &&
15442 $as_test_x conftest
$ac_exeext; then
15444 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'` ;;
15445 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15447 if test "x$ac_cv_lib_soname_ncurses" = "x"
15449 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.
$ac_ext >&5
15455 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15458 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15459 conftest
$ac_exeext conftest.
$ac_ext
15460 LIBS
=$ac_get_soname_save_LIBS
15462 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15463 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15464 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15466 cat >>confdefs.h
<<_ACEOF
15467 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15472 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15473 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15474 if test "${ac_cv_lib_soname_curses+set}" = set; then
15475 echo $ECHO_N "(cached) $ECHO_C" >&6
15477 ac_get_soname_save_LIBS
=$LIBS
15478 LIBS
="-lcurses $LIBS"
15479 cat >conftest.
$ac_ext <<_ACEOF
15482 cat confdefs.h
>>conftest.
$ac_ext
15483 cat >>conftest.
$ac_ext <<_ACEOF
15484 /* end confdefs.h. */
15486 /* Override any GCC internal prototype to avoid an error.
15487 Use char because int might match the return type of a GCC
15488 builtin and then its argument prototype would still apply. */
15501 rm -f conftest.
$ac_objext conftest
$ac_exeext
15502 if { (ac_try
="$ac_link"
15503 case "(($ac_try" in
15504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15505 *) ac_try_echo=$ac_try;;
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_link") 2>conftest.er1
15510 grep -v '^ *+' conftest.er1 >conftest.err
15512 cat conftest.err >&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } && {
15515 test -z "$ac_c_werror_flag" ||
15516 test ! -s conftest.err
15517 } && test -s conftest$ac_exeext &&
15518 $as_test_x conftest$ac_exeext; then
15520 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'` ;;
15521 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15523 if test "x$ac_cv_lib_soname_curses" = "x"
15525 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15531 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15535 conftest$ac_exeext conftest.$ac_ext
15536 LIBS=$ac_get_soname_save_LIBS
15538 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15539 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15540 if test "${ac_cv_lib_soname_curses+set}" = set; then
15542 cat >>confdefs.h <<_ACEOF
15543 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15548 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15549 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15550 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15553 ac_get_soname_save_LIBS=$LIBS
15554 LIBS="-ljpeg $LIBS"
15555 cat >conftest.$ac_ext <<_ACEOF
15558 cat confdefs.h >>conftest.$ac_ext
15559 cat >>conftest.$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15562 /* Override any GCC internal prototype to avoid an error.
15563 Use char because int might match the return type of a GCC
15564 builtin and then its argument prototype would still apply. */
15568 char jpeg_start_decompress ();
15572 return jpeg_start_decompress ();
15577 rm -f conftest.$ac_objext conftest$ac_exeext
15578 if { (ac_try="$ac_link"
15579 case "(($ac_try" in
15580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15581 *) ac_try_echo
=$ac_try;;
15583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15584 (eval "$ac_link") 2>conftest.er1
15586 grep -v '^ *+' conftest.er1
>conftest.err
15588 cat conftest.err
>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } && {
15591 test -z "$ac_c_werror_flag" ||
15592 test ! -s conftest.err
15593 } && test -s conftest
$ac_exeext &&
15594 $as_test_x conftest
$ac_exeext; then
15596 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'` ;;
15597 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15599 if test "x$ac_cv_lib_soname_jpeg" = "x"
15601 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.
$ac_ext >&5
15607 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15610 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15611 conftest
$ac_exeext conftest.
$ac_ext
15612 LIBS
=$ac_get_soname_save_LIBS
15614 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15615 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15616 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15618 cat >>confdefs.h
<<_ACEOF
15619 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15624 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15625 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15626 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15627 echo $ECHO_N "(cached) $ECHO_C" >&6
15629 ac_get_soname_save_LIBS
=$LIBS
15630 LIBS
="-lcapi20 $LIBS"
15631 cat >conftest.
$ac_ext <<_ACEOF
15634 cat confdefs.h
>>conftest.
$ac_ext
15635 cat >>conftest.
$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15638 /* Override any GCC internal prototype to avoid an error.
15639 Use char because int might match the return type of a GCC
15640 builtin and then its argument prototype would still apply. */
15644 char capi20_isinstalled ();
15648 return capi20_isinstalled ();
15653 rm -f conftest.
$ac_objext conftest
$ac_exeext
15654 if { (ac_try
="$ac_link"
15655 case "(($ac_try" in
15656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15657 *) ac_try_echo=$ac_try;;
15659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15660 (eval "$ac_link") 2>conftest.er1
15662 grep -v '^ *+' conftest.er1 >conftest.err
15664 cat conftest.err >&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } && {
15667 test -z "$ac_c_werror_flag" ||
15668 test ! -s conftest.err
15669 } && test -s conftest$ac_exeext &&
15670 $as_test_x conftest$ac_exeext; then
15672 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'` ;;
15673 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15675 if test "x$ac_cv_lib_soname_capi20" = "x"
15677 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15680 echo "$as_me: failed program was:" >&5
15681 sed 's/^/| /' conftest.$ac_ext >&5
15683 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_get_soname_save_LIBS
15690 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15691 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15692 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15694 cat >>confdefs.h <<_ACEOF
15695 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15700 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15701 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15702 if test "${ac_cv_lib_soname_sane+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 ac_get_soname_save_LIBS=$LIBS
15706 LIBS="-lsane $LIBS"
15707 cat >conftest.$ac_ext <<_ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15714 /* Override any GCC internal prototype to avoid an error.
15715 Use char because int might match the return type of a GCC
15716 builtin and then its argument prototype would still apply. */
15724 return sane_init ();
15729 rm -f conftest.$ac_objext conftest$ac_exeext
15730 if { (ac_try="$ac_link"
15731 case "(($ac_try" in
15732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15733 *) ac_try_echo
=$ac_try;;
15735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15736 (eval "$ac_link") 2>conftest.er1
15738 grep -v '^ *+' conftest.er1
>conftest.err
15740 cat conftest.err
>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } && {
15743 test -z "$ac_c_werror_flag" ||
15744 test ! -s conftest.err
15745 } && test -s conftest
$ac_exeext &&
15746 $as_test_x conftest
$ac_exeext; then
15748 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'` ;;
15749 so
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15751 if test "x$ac_cv_lib_soname_sane" = "x"
15753 ac_cv_lib_soname_sane
="libsane.$LIBEXT"
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.
$ac_ext >&5
15759 ac_cv_lib_soname_sane
="libsane.$LIBEXT"
15762 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15763 conftest
$ac_exeext conftest.
$ac_ext
15764 LIBS
=$ac_get_soname_save_LIBS
15766 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15767 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15768 if test "${ac_cv_lib_soname_sane+set}" = set; then
15770 cat >>confdefs.h
<<_ACEOF
15771 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15903 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15906 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15909 cat >conftest.
$ac_ext <<_ACEOF
15912 cat confdefs.h
>>conftest.
$ac_ext
15913 cat >>conftest.
$ac_ext <<_ACEOF
15914 /* end confdefs.h. */
15915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15917 #define $ac_func innocuous_$ac_func
15919 /* System header to define __stub macros and hopefully few prototypes,
15920 which can conflict with char $ac_func (); below.
15921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15922 <limits.h> exists even on freestanding compilers. */
15925 # include <limits.h>
15927 # include <assert.h>
15932 /* Override any GCC internal prototype to avoid an error.
15933 Use char because int might match the return type of a GCC
15934 builtin and then its argument prototype would still apply. */
15939 /* The GNU C library defines this for functions which it implements
15940 to always fail with ENOSYS. Some functions are actually named
15941 something starting with __ and the normal name is an alias. */
15942 #if defined __stub_$ac_func || defined __stub___$ac_func
15949 return $ac_func ();
15954 rm -f conftest.
$ac_objext conftest
$ac_exeext
15955 if { (ac_try
="$ac_link"
15956 case "(($ac_try" in
15957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15958 *) ac_try_echo=$ac_try;;
15960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15961 (eval "$ac_link") 2>conftest.er1
15963 grep -v '^ *+' conftest.er1 >conftest.err
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } && {
15968 test -z "$ac_c_werror_flag" ||
15969 test ! -s conftest.err
15970 } && test -s conftest$ac_exeext &&
15971 $as_test_x conftest$ac_exeext; then
15972 eval "$as_ac_var=yes"
15974 echo "$as_me: failed program was:" >&5
15975 sed 's/^/| /' conftest.$ac_ext >&5
15977 eval "$as_ac_var=no"
15980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15981 conftest$ac_exeext conftest.$ac_ext
15983 ac_res=`eval echo '${'$as_ac_var'}'`
15984 { echo "$as_me:$LINENO: result: $ac_res" >&5
15985 echo "${ECHO_T}$ac_res" >&6; }
15986 if test `eval echo '${'$as_ac_var'}'` = yes; then
15987 cat >>confdefs.h <<_ACEOF
15988 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15995 if test "$ac_cv_func_dlopen" = no
15997 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15998 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15999 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 ac_check_lib_save_LIBS=$LIBS
16004 cat >conftest.$ac_ext <<_ACEOF
16007 cat confdefs.h >>conftest.$ac_ext
16008 cat >>conftest.$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16011 /* Override any GCC internal prototype to avoid an error.
16012 Use char because int might match the return type of a GCC
16013 builtin and then its argument prototype would still apply. */
16026 rm -f conftest.$ac_objext conftest$ac_exeext
16027 if { (ac_try="$ac_link"
16028 case "(($ac_try" in
16029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16030 *) ac_try_echo
=$ac_try;;
16032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16033 (eval "$ac_link") 2>conftest.er1
16035 grep -v '^ *+' conftest.er1
>conftest.err
16037 cat conftest.err
>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } && {
16040 test -z "$ac_c_werror_flag" ||
16041 test ! -s conftest.err
16042 } && test -s conftest
$ac_exeext &&
16043 $as_test_x conftest
$ac_exeext; then
16044 ac_cv_lib_dl_dlopen
=yes
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.
$ac_ext >&5
16049 ac_cv_lib_dl_dlopen
=no
16052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16053 conftest
$ac_exeext conftest.
$ac_ext
16054 LIBS
=$ac_check_lib_save_LIBS
16056 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16057 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16058 if test $ac_cv_lib_dl_dlopen = yes; then
16059 cat >>confdefs.h
<<\_ACEOF
16060 #define HAVE_DLOPEN 1
16067 ac_wine_check_funcs_save_LIBS
="$LIBS"
16068 LIBS
="$LIBS $LIBDL"
16070 for ac_func
in dladdr
16072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16075 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16078 cat >conftest.
$ac_ext <<_ACEOF
16081 cat confdefs.h
>>conftest.
$ac_ext
16082 cat >>conftest.
$ac_ext <<_ACEOF
16083 /* end confdefs.h. */
16084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16086 #define $ac_func innocuous_$ac_func
16088 /* System header to define __stub macros and hopefully few prototypes,
16089 which can conflict with char $ac_func (); below.
16090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16091 <limits.h> exists even on freestanding compilers. */
16094 # include <limits.h>
16096 # include <assert.h>
16101 /* Override any GCC internal prototype to avoid an error.
16102 Use char because int might match the return type of a GCC
16103 builtin and then its argument prototype would still apply. */
16108 /* The GNU C library defines this for functions which it implements
16109 to always fail with ENOSYS. Some functions are actually named
16110 something starting with __ and the normal name is an alias. */
16111 #if defined __stub_$ac_func || defined __stub___$ac_func
16118 return $ac_func ();
16123 rm -f conftest.
$ac_objext conftest
$ac_exeext
16124 if { (ac_try
="$ac_link"
16125 case "(($ac_try" in
16126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16127 *) ac_try_echo=$ac_try;;
16129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_link") 2>conftest.er1
16132 grep -v '^ *+' conftest.er1 >conftest.err
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && {
16137 test -z "$ac_c_werror_flag" ||
16138 test ! -s conftest.err
16139 } && test -s conftest$ac_exeext &&
16140 $as_test_x conftest$ac_exeext; then
16141 eval "$as_ac_var=yes"
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.$ac_ext >&5
16146 eval "$as_ac_var=no"
16149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16150 conftest$ac_exeext conftest.$ac_ext
16152 ac_res=`eval echo '${'$as_ac_var'}'`
16153 { echo "$as_me:$LINENO: result: $ac_res" >&5
16154 echo "${ECHO_T}$ac_res" >&6; }
16155 if test `eval echo '${'$as_ac_var'}'` = yes; then
16156 cat >>confdefs.h <<_ACEOF
16157 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16163 LIBS="$ac_wine_check_funcs_save_LIBS"
16165 if test "$ac_cv_func_poll" = no
16167 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16168 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16169 if test "${ac_cv_lib_poll_poll+set}" = set; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16172 ac_check_lib_save_LIBS=$LIBS
16173 LIBS="-lpoll $LIBS"
16174 cat >conftest.$ac_ext <<_ACEOF
16177 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16181 /* Override any GCC internal prototype to avoid an error.
16182 Use char because int might match the return type of a GCC
16183 builtin and then its argument prototype would still apply. */
16196 rm -f conftest.$ac_objext conftest$ac_exeext
16197 if { (ac_try="$ac_link"
16198 case "(($ac_try" in
16199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16200 *) ac_try_echo
=$ac_try;;
16202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16203 (eval "$ac_link") 2>conftest.er1
16205 grep -v '^ *+' conftest.er1
>conftest.err
16207 cat conftest.err
>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); } && {
16210 test -z "$ac_c_werror_flag" ||
16211 test ! -s conftest.err
16212 } && test -s conftest
$ac_exeext &&
16213 $as_test_x conftest
$ac_exeext; then
16214 ac_cv_lib_poll_poll
=yes
16216 echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.
$ac_ext >&5
16219 ac_cv_lib_poll_poll
=no
16222 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16223 conftest
$ac_exeext conftest.
$ac_ext
16224 LIBS
=$ac_check_lib_save_LIBS
16226 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16227 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16228 if test $ac_cv_lib_poll_poll = yes; then
16229 cat >>confdefs.h
<<\_ACEOF
16230 #define HAVE_POLL 1
16238 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16239 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16240 if test "${ac_cv_search_gethostbyname+set}" = set; then
16241 echo $ECHO_N "(cached) $ECHO_C" >&6
16243 ac_func_search_save_LIBS
=$LIBS
16244 cat >conftest.
$ac_ext <<_ACEOF
16247 cat confdefs.h
>>conftest.
$ac_ext
16248 cat >>conftest.
$ac_ext <<_ACEOF
16249 /* end confdefs.h. */
16251 /* Override any GCC internal prototype to avoid an error.
16252 Use char because int might match the return type of a GCC
16253 builtin and then its argument prototype would still apply. */
16257 char gethostbyname ();
16261 return gethostbyname ();
16266 for ac_lib
in '' nsl
; do
16267 if test -z "$ac_lib"; then
16268 ac_res
="none required"
16271 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16273 rm -f conftest.
$ac_objext conftest
$ac_exeext
16274 if { (ac_try
="$ac_link"
16275 case "(($ac_try" in
16276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16277 *) ac_try_echo=$ac_try;;
16279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16280 (eval "$ac_link") 2>conftest.er1
16282 grep -v '^ *+' conftest.er1 >conftest.err
16284 cat conftest.err >&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } && {
16287 test -z "$ac_c_werror_flag" ||
16288 test ! -s conftest.err
16289 } && test -s conftest$ac_exeext &&
16290 $as_test_x conftest$ac_exeext; then
16291 ac_cv_search_gethostbyname=$ac_res
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16301 if test "${ac_cv_search_gethostbyname+set}" = set; then
16305 if test "${ac_cv_search_gethostbyname+set}" = set; then
16308 ac_cv_search_gethostbyname=no
16310 rm conftest.$ac_ext
16311 LIBS=$ac_func_search_save_LIBS
16313 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16314 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16315 ac_res=$ac_cv_search_gethostbyname
16316 if test "$ac_res" != no; then
16317 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16322 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16323 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16324 if test "${ac_cv_search_connect+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 ac_func_search_save_LIBS=$LIBS
16328 cat >conftest.$ac_ext <<_ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16335 /* Override any GCC internal prototype to avoid an error.
16336 Use char because int might match the return type of a GCC
16337 builtin and then its argument prototype would still apply. */
16350 for ac_lib in '' socket; do
16351 if test -z "$ac_lib"; then
16352 ac_res="none required"
16355 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16357 rm -f conftest.$ac_objext conftest$ac_exeext
16358 if { (ac_try="$ac_link"
16359 case "(($ac_try" in
16360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16361 *) ac_try_echo
=$ac_try;;
16363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16364 (eval "$ac_link") 2>conftest.er1
16366 grep -v '^ *+' conftest.er1
>conftest.err
16368 cat conftest.err
>&5
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); } && {
16371 test -z "$ac_c_werror_flag" ||
16372 test ! -s conftest.err
16373 } && test -s conftest
$ac_exeext &&
16374 $as_test_x conftest
$ac_exeext; then
16375 ac_cv_search_connect
=$ac_res
16377 echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.
$ac_ext >&5
16383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16385 if test "${ac_cv_search_connect+set}" = set; then
16389 if test "${ac_cv_search_connect+set}" = set; then
16392 ac_cv_search_connect
=no
16394 rm conftest.
$ac_ext
16395 LIBS
=$ac_func_search_save_LIBS
16397 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16398 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16399 ac_res
=$ac_cv_search_connect
16400 if test "$ac_res" != no
; then
16401 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16406 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16407 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16408 if test "${ac_cv_search_inet_aton+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 ac_func_search_save_LIBS
=$LIBS
16412 cat >conftest.
$ac_ext <<_ACEOF
16415 cat confdefs.h
>>conftest.
$ac_ext
16416 cat >>conftest.
$ac_ext <<_ACEOF
16417 /* end confdefs.h. */
16419 /* Override any GCC internal prototype to avoid an error.
16420 Use char because int might match the return type of a GCC
16421 builtin and then its argument prototype would still apply. */
16429 return inet_aton ();
16434 for ac_lib
in '' resolv
; do
16435 if test -z "$ac_lib"; then
16436 ac_res
="none required"
16439 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16441 rm -f conftest.
$ac_objext conftest
$ac_exeext
16442 if { (ac_try
="$ac_link"
16443 case "(($ac_try" in
16444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16445 *) ac_try_echo=$ac_try;;
16447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16448 (eval "$ac_link") 2>conftest.er1
16450 grep -v '^ *+' conftest.er1 >conftest.err
16452 cat conftest.err >&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } && {
16455 test -z "$ac_c_werror_flag" ||
16456 test ! -s conftest.err
16457 } && test -s conftest$ac_exeext &&
16458 $as_test_x conftest$ac_exeext; then
16459 ac_cv_search_inet_aton=$ac_res
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16469 if test "${ac_cv_search_inet_aton+set}" = set; then
16473 if test "${ac_cv_search_inet_aton+set}" = set; then
16476 ac_cv_search_inet_aton=no
16478 rm conftest.$ac_ext
16479 LIBS=$ac_func_search_save_LIBS
16481 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16482 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16483 ac_res=$ac_cv_search_inet_aton
16484 if test "$ac_res" != no; then
16485 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16509 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16515 cat >conftest.$ac_ext <<_ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16523 #define $ac_func innocuous_$ac_func
16525 /* System header to define __stub macros and hopefully few prototypes,
16526 which can conflict with char $ac_func (); below.
16527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16528 <limits.h> exists even on freestanding compilers. */
16531 # include <limits.h>
16533 # include <assert.h>
16538 /* Override any GCC internal prototype to avoid an error.
16539 Use char because int might match the return type of a GCC
16540 builtin and then its argument prototype would still apply. */
16545 /* The GNU C library defines this for functions which it implements
16546 to always fail with ENOSYS. Some functions are actually named
16547 something starting with __ and the normal name is an alias. */
16548 #if defined __stub_$ac_func || defined __stub___$ac_func
16555 return $ac_func ();
16560 rm -f conftest.$ac_objext conftest$ac_exeext
16561 if { (ac_try="$ac_link"
16562 case "(($ac_try" in
16563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16564 *) ac_try_echo
=$ac_try;;
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_link") 2>conftest.er1
16569 grep -v '^ *+' conftest.er1
>conftest.err
16571 cat conftest.err
>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } && {
16574 test -z "$ac_c_werror_flag" ||
16575 test ! -s conftest.err
16576 } && test -s conftest
$ac_exeext &&
16577 $as_test_x conftest
$ac_exeext; then
16578 eval "$as_ac_var=yes"
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.
$ac_ext >&5
16583 eval "$as_ac_var=no"
16586 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16587 conftest
$ac_exeext conftest.
$ac_ext
16589 ac_res
=`eval echo '${'$as_ac_var'}'`
16590 { echo "$as_me:$LINENO: result: $ac_res" >&5
16591 echo "${ECHO_T}$ac_res" >&6; }
16592 if test `eval echo '${'$as_ac_var'}'` = yes; then
16593 cat >>confdefs.h
<<_ACEOF
16594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16602 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16603 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16604 if test "${ac_cv_c_const+set}" = set; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 cat >conftest.
$ac_ext <<_ACEOF
16610 cat confdefs.h
>>conftest.
$ac_ext
16611 cat >>conftest.
$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16617 /* FIXME: Include the comments suggested by Paul. */
16618 #ifndef __cplusplus
16619 /* Ultrix mips cc rejects this. */
16620 typedef int charset[2];
16622 /* SunOS 4.1.1 cc rejects this. */
16623 char const *const *pcpcc;
16625 /* NEC SVR4.0.2 mips cc rejects this. */
16626 struct point {int x, y;};
16627 static struct point const zero = {0,0};
16628 /* AIX XL C 1.02.0.0 rejects this.
16629 It does not let you subtract one const X* pointer from another in
16630 an arm of an if-expression whose if-part is not a constant
16632 const char *g = "string";
16633 pcpcc = &g + (g ? g-g : 0);
16634 /* HPUX 7.0 cc rejects these. */
16636 ppc = (char**) pcpcc;
16637 pcpcc = (char const *const *) ppc;
16638 { /* SCO 3.2v4 cc rejects this. */
16640 char const *s = 0 ? (char *) 0 : (char const *) 0;
16645 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16646 int x[] = {25, 17};
16647 const int *foo = &x[0];
16650 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16651 typedef const int *iptr;
16655 { /* AIX XL C 1.02.0.0 rejects this saying
16656 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16657 struct s { int j; const int *ap[3]; };
16658 struct s *b; b->j = 5;
16660 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16661 const int foo = 10;
16662 if (!foo) return 0;
16664 return !cs[0] && !zero.x;
16671 rm -f conftest.
$ac_objext
16672 if { (ac_try
="$ac_compile"
16673 case "(($ac_try" in
16674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_compile") 2>conftest.er1
16680 grep -v '^ *+' conftest.er1 >conftest.err
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && {
16685 test -z "$ac_c_werror_flag" ||
16686 test ! -s conftest.err
16687 } && test -s conftest.$ac_objext; then
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16698 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16699 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16700 if test $ac_cv_c_const = no; then
16702 cat >>confdefs.h <<\_ACEOF
16708 { echo "$as_me:$LINENO: checking for inline" >&5
16709 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16710 if test "${ac_cv_c_inline+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 for ac_kw in inline __inline__ __inline; do
16715 cat >conftest.$ac_ext <<_ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #ifndef __cplusplus
16723 static $ac_kw foo_t static_foo () {return 0; }
16724 $ac_kw foo_t foo () {return 0; }
16728 rm -f conftest.$ac_objext
16729 if { (ac_try="$ac_compile"
16730 case "(($ac_try" in
16731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16732 *) ac_try_echo
=$ac_try;;
16734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16735 (eval "$ac_compile") 2>conftest.er1
16737 grep -v '^ *+' conftest.er1
>conftest.err
16739 cat conftest.err
>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && {
16742 test -z "$ac_c_werror_flag" ||
16743 test ! -s conftest.err
16744 } && test -s conftest.
$ac_objext; then
16745 ac_cv_c_inline
=$ac_kw
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16754 test "$ac_cv_c_inline" != no
&& break
16758 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16759 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16762 case $ac_cv_c_inline in
16765 case $ac_cv_c_inline in
16767 *) ac_val
=$ac_cv_c_inline;;
16769 cat >>confdefs.h
<<_ACEOF
16770 #ifndef __cplusplus
16771 #define inline $ac_val
16777 { echo "$as_me:$LINENO: checking for mode_t" >&5
16778 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16779 if test "${ac_cv_type_mode_t+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 cat >conftest.
$ac_ext <<_ACEOF
16785 cat confdefs.h
>>conftest.
$ac_ext
16786 cat >>conftest.
$ac_ext <<_ACEOF
16787 /* end confdefs.h. */
16788 $ac_includes_default
16789 typedef mode_t ac__type_new_;
16793 if ((ac__type_new_ *) 0)
16795 if (sizeof (ac__type_new_))
16801 rm -f conftest.
$ac_objext
16802 if { (ac_try
="$ac_compile"
16803 case "(($ac_try" in
16804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16805 *) ac_try_echo=$ac_try;;
16807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16808 (eval "$ac_compile") 2>conftest.er1
16810 grep -v '^ *+' conftest.er1 >conftest.err
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } && {
16815 test -z "$ac_c_werror_flag" ||
16816 test ! -s conftest.err
16817 } && test -s conftest.$ac_objext; then
16818 ac_cv_type_mode_t=yes
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16823 ac_cv_type_mode_t=no
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16828 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16829 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16830 if test $ac_cv_type_mode_t = yes; then
16832 cat >>confdefs.h <<_ACEOF
16833 #define HAVE_MODE_T 1
16838 { echo "$as_me:$LINENO: checking for off_t" >&5
16839 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16840 if test "${ac_cv_type_off_t+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 cat >conftest.$ac_ext <<_ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 $ac_includes_default
16850 typedef off_t ac__type_new_;
16854 if ((ac__type_new_ *) 0)
16856 if (sizeof (ac__type_new_))
16862 rm -f conftest.$ac_objext
16863 if { (ac_try="$ac_compile"
16864 case "(($ac_try" in
16865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16866 *) ac_try_echo
=$ac_try;;
16868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16869 (eval "$ac_compile") 2>conftest.er1
16871 grep -v '^ *+' conftest.er1
>conftest.err
16873 cat conftest.err
>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } && {
16876 test -z "$ac_c_werror_flag" ||
16877 test ! -s conftest.err
16878 } && test -s conftest.
$ac_objext; then
16879 ac_cv_type_off_t
=yes
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.
$ac_ext >&5
16884 ac_cv_type_off_t
=no
16887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16889 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16890 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16891 if test $ac_cv_type_off_t = yes; then
16893 cat >>confdefs.h
<<_ACEOF
16894 #define HAVE_OFF_T 1
16899 { echo "$as_me:$LINENO: checking for pid_t" >&5
16900 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16901 if test "${ac_cv_type_pid_t+set}" = set; then
16902 echo $ECHO_N "(cached) $ECHO_C" >&6
16904 cat >conftest.
$ac_ext <<_ACEOF
16907 cat confdefs.h
>>conftest.
$ac_ext
16908 cat >>conftest.
$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16911 typedef pid_t ac__type_new_;
16915 if ((ac__type_new_ *) 0)
16917 if (sizeof (ac__type_new_))
16923 rm -f conftest.
$ac_objext
16924 if { (ac_try
="$ac_compile"
16925 case "(($ac_try" in
16926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16927 *) ac_try_echo=$ac_try;;
16929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16930 (eval "$ac_compile") 2>conftest.er1
16932 grep -v '^ *+' conftest.er1 >conftest.err
16934 cat conftest.err >&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } && {
16937 test -z "$ac_c_werror_flag" ||
16938 test ! -s conftest.err
16939 } && test -s conftest.$ac_objext; then
16940 ac_cv_type_pid_t=yes
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.$ac_ext >&5
16945 ac_cv_type_pid_t=no
16948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16951 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16952 if test $ac_cv_type_pid_t = yes; then
16954 cat >>confdefs.h <<_ACEOF
16955 #define HAVE_PID_T 1
16960 { echo "$as_me:$LINENO: checking for size_t" >&5
16961 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16962 if test "${ac_cv_type_size_t+set}" = set; then
16963 echo $ECHO_N "(cached) $ECHO_C" >&6
16965 cat >conftest.$ac_ext <<_ACEOF
16968 cat confdefs.h >>conftest.$ac_ext
16969 cat >>conftest.$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16971 $ac_includes_default
16972 typedef size_t ac__type_new_;
16976 if ((ac__type_new_ *) 0)
16978 if (sizeof (ac__type_new_))
16984 rm -f conftest.$ac_objext
16985 if { (ac_try="$ac_compile"
16986 case "(($ac_try" in
16987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16988 *) ac_try_echo
=$ac_try;;
16990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16991 (eval "$ac_compile") 2>conftest.er1
16993 grep -v '^ *+' conftest.er1
>conftest.err
16995 cat conftest.err
>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } && {
16998 test -z "$ac_c_werror_flag" ||
16999 test ! -s conftest.err
17000 } && test -s conftest.
$ac_objext; then
17001 ac_cv_type_size_t
=yes
17003 echo "$as_me: failed program was:" >&5
17004 sed 's/^/| /' conftest.
$ac_ext >&5
17006 ac_cv_type_size_t
=no
17009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17011 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17012 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17013 if test $ac_cv_type_size_t = yes; then
17015 cat >>confdefs.h
<<_ACEOF
17016 #define HAVE_SIZE_T 1
17021 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17022 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17023 if test "${ac_cv_type_ssize_t+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 cat >conftest.
$ac_ext <<_ACEOF
17029 cat confdefs.h
>>conftest.
$ac_ext
17030 cat >>conftest.
$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17032 $ac_includes_default
17033 typedef ssize_t ac__type_new_;
17037 if ((ac__type_new_ *) 0)
17039 if (sizeof (ac__type_new_))
17045 rm -f conftest.
$ac_objext
17046 if { (ac_try
="$ac_compile"
17047 case "(($ac_try" in
17048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17049 *) ac_try_echo=$ac_try;;
17051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17052 (eval "$ac_compile") 2>conftest.er1
17054 grep -v '^ *+' conftest.er1 >conftest.err
17056 cat conftest.err >&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } && {
17059 test -z "$ac_c_werror_flag" ||
17060 test ! -s conftest.err
17061 } && test -s conftest.$ac_objext; then
17062 ac_cv_type_ssize_t=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17067 ac_cv_type_ssize_t=no
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17073 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17074 if test $ac_cv_type_ssize_t = yes; then
17076 cat >>confdefs.h <<_ACEOF
17077 #define HAVE_SSIZE_T 1
17082 { echo "$as_me:$LINENO: checking for long long" >&5
17083 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17084 if test "${ac_cv_type_long_long+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 cat >conftest.$ac_ext <<_ACEOF
17090 cat confdefs.h >>conftest.$ac_ext
17091 cat >>conftest.$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17093 $ac_includes_default
17094 typedef long long ac__type_new_;
17098 if ((ac__type_new_ *) 0)
17100 if (sizeof (ac__type_new_))
17106 rm -f conftest.$ac_objext
17107 if { (ac_try="$ac_compile"
17108 case "(($ac_try" in
17109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17110 *) ac_try_echo
=$ac_try;;
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_compile") 2>conftest.er1
17115 grep -v '^ *+' conftest.er1
>conftest.err
17117 cat conftest.err
>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } && {
17120 test -z "$ac_c_werror_flag" ||
17121 test ! -s conftest.err
17122 } && test -s conftest.
$ac_objext; then
17123 ac_cv_type_long_long
=yes
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.
$ac_ext >&5
17128 ac_cv_type_long_long
=no
17131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17133 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17134 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17135 if test $ac_cv_type_long_long = yes; then
17137 cat >>confdefs.h
<<_ACEOF
17138 #define HAVE_LONG_LONG 1
17143 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17144 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17145 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 cat >conftest.
$ac_ext <<_ACEOF
17151 cat confdefs.h
>>conftest.
$ac_ext
17152 cat >>conftest.
$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17154 $ac_includes_default
17155 typedef fsblkcnt_t ac__type_new_;
17159 if ((ac__type_new_ *) 0)
17161 if (sizeof (ac__type_new_))
17167 rm -f conftest.
$ac_objext
17168 if { (ac_try
="$ac_compile"
17169 case "(($ac_try" in
17170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17171 *) ac_try_echo=$ac_try;;
17173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17174 (eval "$ac_compile") 2>conftest.er1
17176 grep -v '^ *+' conftest.er1 >conftest.err
17178 cat conftest.err >&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && {
17181 test -z "$ac_c_werror_flag" ||
17182 test ! -s conftest.err
17183 } && test -s conftest.$ac_objext; then
17184 ac_cv_type_fsblkcnt_t=yes
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17189 ac_cv_type_fsblkcnt_t=no
17192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17195 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17196 if test $ac_cv_type_fsblkcnt_t = yes; then
17198 cat >>confdefs.h <<_ACEOF
17199 #define HAVE_FSBLKCNT_T 1
17204 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17205 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17206 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17207 echo $ECHO_N "(cached) $ECHO_C" >&6
17209 cat >conftest.$ac_ext <<_ACEOF
17212 cat confdefs.h >>conftest.$ac_ext
17213 cat >>conftest.$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215 $ac_includes_default
17216 typedef fsfilcnt_t ac__type_new_;
17220 if ((ac__type_new_ *) 0)
17222 if (sizeof (ac__type_new_))
17228 rm -f conftest.$ac_objext
17229 if { (ac_try="$ac_compile"
17230 case "(($ac_try" in
17231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17232 *) ac_try_echo
=$ac_try;;
17234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17235 (eval "$ac_compile") 2>conftest.er1
17237 grep -v '^ *+' conftest.er1
>conftest.err
17239 cat conftest.err
>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } && {
17242 test -z "$ac_c_werror_flag" ||
17243 test ! -s conftest.err
17244 } && test -s conftest.
$ac_objext; then
17245 ac_cv_type_fsfilcnt_t
=yes
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.
$ac_ext >&5
17250 ac_cv_type_fsfilcnt_t
=no
17253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17255 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17256 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17257 if test $ac_cv_type_fsfilcnt_t = yes; then
17259 cat >>confdefs.h
<<_ACEOF
17260 #define HAVE_FSFILCNT_T 1
17266 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17267 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17268 if test "${ac_cv_type_sigset_t+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 cat >conftest.
$ac_ext <<_ACEOF
17274 cat confdefs.h
>>conftest.
$ac_ext
17275 cat >>conftest.
$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 #include <signal.h>
17279 typedef sigset_t ac__type_new_;
17283 if ((ac__type_new_ *) 0)
17285 if (sizeof (ac__type_new_))
17291 rm -f conftest.
$ac_objext
17292 if { (ac_try
="$ac_compile"
17293 case "(($ac_try" in
17294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17295 *) ac_try_echo=$ac_try;;
17297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17298 (eval "$ac_compile") 2>conftest.er1
17300 grep -v '^ *+' conftest.er1 >conftest.err
17302 cat conftest.err >&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } && {
17305 test -z "$ac_c_werror_flag" ||
17306 test ! -s conftest.err
17307 } && test -s conftest.$ac_objext; then
17308 ac_cv_type_sigset_t=yes
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 ac_cv_type_sigset_t=no
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17318 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17319 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17320 if test $ac_cv_type_sigset_t = yes; then
17322 cat >>confdefs.h <<_ACEOF
17323 #define HAVE_SIGSET_T 1
17329 { echo "$as_me:$LINENO: checking for request_sense" >&5
17330 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17331 if test "${ac_cv_type_request_sense+set}" = set; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 cat >conftest.$ac_ext <<_ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 #include <linux/cdrom.h>
17342 typedef request_sense ac__type_new_;
17346 if ((ac__type_new_ *) 0)
17348 if (sizeof (ac__type_new_))
17354 rm -f conftest.$ac_objext
17355 if { (ac_try="$ac_compile"
17356 case "(($ac_try" in
17357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17358 *) ac_try_echo
=$ac_try;;
17360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17361 (eval "$ac_compile") 2>conftest.er1
17363 grep -v '^ *+' conftest.er1
>conftest.err
17365 cat conftest.err
>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && {
17368 test -z "$ac_c_werror_flag" ||
17369 test ! -s conftest.err
17370 } && test -s conftest.
$ac_objext; then
17371 ac_cv_type_request_sense
=yes
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.
$ac_ext >&5
17376 ac_cv_type_request_sense
=no
17379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17381 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17382 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17383 if test $ac_cv_type_request_sense = yes; then
17385 cat >>confdefs.h
<<_ACEOF
17386 #define HAVE_REQUEST_SENSE 1
17393 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17394 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17395 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17396 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 cat >conftest.
$ac_ext <<_ACEOF
17401 cat confdefs.h
>>conftest.
$ac_ext
17402 cat >>conftest.
$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17404 #ifdef HAVE_LINUX_INPUT_H
17405 #include <linux/input.h>
17411 static struct ff_effect ac_aggr;
17412 if (ac_aggr.direction)
17418 rm -f conftest.
$ac_objext
17419 if { (ac_try
="$ac_compile"
17420 case "(($ac_try" in
17421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17422 *) ac_try_echo=$ac_try;;
17424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17425 (eval "$ac_compile") 2>conftest.er1
17427 grep -v '^ *+' conftest.er1 >conftest.err
17429 cat conftest.err >&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && {
17432 test -z "$ac_c_werror_flag" ||
17433 test ! -s conftest.err
17434 } && test -s conftest.$ac_objext; then
17435 ac_cv_member_struct_ff_effect_direction=yes
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.$ac_ext >&5
17440 cat >conftest.$ac_ext <<_ACEOF
17443 cat confdefs.h >>conftest.$ac_ext
17444 cat >>conftest.$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 #ifdef HAVE_LINUX_INPUT_H
17447 #include <linux/input.h>
17453 static struct ff_effect ac_aggr;
17454 if (sizeof ac_aggr.direction)
17460 rm -f conftest.$ac_objext
17461 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
17477 ac_cv_member_struct_ff_effect_direction
=yes
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.
$ac_ext >&5
17482 ac_cv_member_struct_ff_effect_direction
=no
17485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17490 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17491 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17492 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17494 cat >>confdefs.h
<<_ACEOF
17495 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17502 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17503 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17504 if test "${wine_cv_have_sigaddset+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. */
17513 #include <signal.h>
17517 sigset_t set; sigaddset(&set,SIGTERM);
17522 rm -f conftest.
$ac_objext conftest
$ac_exeext
17523 if { (ac_try
="$ac_link"
17524 case "(($ac_try" in
17525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17526 *) ac_try_echo=$ac_try;;
17528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17529 (eval "$ac_link") 2>conftest.er1
17531 grep -v '^ *+' conftest.er1 >conftest.err
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } && {
17536 test -z "$ac_c_werror_flag" ||
17537 test ! -s conftest.err
17538 } && test -s conftest$ac_exeext &&
17539 $as_test_x conftest$ac_exeext; then
17540 wine_cv_have_sigaddset=yes
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17545 wine_cv_have_sigaddset=no
17548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17549 conftest$ac_exeext conftest.$ac_ext
17551 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17552 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17553 if test "$wine_cv_have_sigaddset" = "yes"
17556 cat >>confdefs.h <<\_ACEOF
17557 #define HAVE_SIGADDSET 1
17563 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17564 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17565 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17568 cat >conftest.$ac_ext <<_ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17583 struct hostent *result;
17590 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17591 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17597 rm -f conftest.$ac_objext conftest$ac_exeext
17598 if { (ac_try="$ac_link"
17599 case "(($ac_try" in
17600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17601 *) ac_try_echo
=$ac_try;;
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_link") 2>conftest.er1
17606 grep -v '^ *+' conftest.er1
>conftest.err
17608 cat conftest.err
>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest
$ac_exeext &&
17614 $as_test_x conftest
$ac_exeext; then
17615 wine_cv_linux_gethostbyname_r_6
=yes
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.
$ac_ext >&5
17620 wine_cv_linux_gethostbyname_r_6
=no
17624 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17625 conftest
$ac_exeext conftest.
$ac_ext
17628 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17629 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17630 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17633 cat >>confdefs.h
<<\_ACEOF
17634 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17639 if test "$ac_cv_header_linux_joystick_h" = "yes"
17641 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17642 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17643 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 cat >conftest.
$ac_ext <<_ACEOF
17649 cat confdefs.h
>>conftest.
$ac_ext
17650 cat >>conftest.
$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17653 #include <sys/ioctl.h>
17654 #include <sys/types.h>
17655 #include <linux/joystick.h>
17657 struct js_event blub;
17658 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17659 #error "no 2.2 header"
17670 rm -f conftest.
$ac_objext
17671 if { (ac_try
="$ac_compile"
17672 case "(($ac_try" in
17673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17674 *) ac_try_echo=$ac_try;;
17676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17677 (eval "$ac_compile") 2>conftest.er1
17679 grep -v '^ *+' conftest.er1 >conftest.err
17681 cat conftest.err >&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } && {
17684 test -z "$ac_c_werror_flag" ||
17685 test ! -s conftest.err
17686 } && test -s conftest.$ac_objext; then
17687 wine_cv_linux_joystick_22_api=yes
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17692 wine_cv_linux_joystick_22_api=no
17695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17699 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17700 if test "$wine_cv_linux_joystick_22_api" = "yes"
17703 cat >>confdefs.h <<\_ACEOF
17704 #define HAVE_LINUX_22_JOYSTICK_API 1
17711 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17712 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17713 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17714 echo $ECHO_N "(cached) $ECHO_C" >&6
17716 cat >conftest.$ac_ext <<_ACEOF
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 #include <sys/types.h>
17723 #ifdef HAVE_SYS_PARAM_H
17724 # include <sys/param.h>
17726 #ifdef HAVE_SYS_MOUNT_H
17727 # include <sys/mount.h>
17729 #ifdef HAVE_SYS_VFS_H
17730 # include <sys/vfs.h>
17732 #ifdef HAVE_SYS_STATFS_H
17733 # include <sys/statfs.h>
17739 static struct statfs ac_aggr;
17740 if (ac_aggr.f_bfree)
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17750 *) ac_try_echo
=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1
>conftest.err
17757 cat conftest.err
>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_c_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.
$ac_objext; then
17763 ac_cv_member_struct_statfs_f_bfree
=yes
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.
$ac_ext >&5
17768 cat >conftest.
$ac_ext <<_ACEOF
17771 cat confdefs.h
>>conftest.
$ac_ext
17772 cat >>conftest.
$ac_ext <<_ACEOF
17773 /* end confdefs.h. */
17774 #include <sys/types.h>
17775 #ifdef HAVE_SYS_PARAM_H
17776 # include <sys/param.h>
17778 #ifdef HAVE_SYS_MOUNT_H
17779 # include <sys/mount.h>
17781 #ifdef HAVE_SYS_VFS_H
17782 # include <sys/vfs.h>
17784 #ifdef HAVE_SYS_STATFS_H
17785 # include <sys/statfs.h>
17791 static struct statfs ac_aggr;
17792 if (sizeof ac_aggr.f_bfree)
17798 rm -f conftest.
$ac_objext
17799 if { (ac_try
="$ac_compile"
17800 case "(($ac_try" in
17801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17802 *) ac_try_echo=$ac_try;;
17804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17805 (eval "$ac_compile") 2>conftest.er1
17807 grep -v '^ *+' conftest.er1 >conftest.err
17809 cat conftest.err >&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } && {
17812 test -z "$ac_c_werror_flag" ||
17813 test ! -s conftest.err
17814 } && test -s conftest.$ac_objext; then
17815 ac_cv_member_struct_statfs_f_bfree=yes
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17820 ac_cv_member_struct_statfs_f_bfree=no
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17828 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17829 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17830 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17832 cat >>confdefs.h <<_ACEOF
17833 #define HAVE_STRUCT_STATFS_F_BFREE 1
17838 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17839 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17840 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17841 echo $ECHO_N "(cached) $ECHO_C" >&6
17843 cat >conftest.$ac_ext <<_ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 #include <sys/types.h>
17850 #ifdef HAVE_SYS_PARAM_H
17851 # include <sys/param.h>
17853 #ifdef HAVE_SYS_MOUNT_H
17854 # include <sys/mount.h>
17856 #ifdef HAVE_SYS_VFS_H
17857 # include <sys/vfs.h>
17859 #ifdef HAVE_SYS_STATFS_H
17860 # include <sys/statfs.h>
17866 static struct statfs ac_aggr;
17867 if (ac_aggr.f_bavail)
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17877 *) ac_try_echo
=$ac_try;;
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17882 grep -v '^ *+' conftest.er1
>conftest.err
17884 cat conftest.err
>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_c_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.
$ac_objext; then
17890 ac_cv_member_struct_statfs_f_bavail
=yes
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.
$ac_ext >&5
17895 cat >conftest.
$ac_ext <<_ACEOF
17898 cat confdefs.h
>>conftest.
$ac_ext
17899 cat >>conftest.
$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17901 #include <sys/types.h>
17902 #ifdef HAVE_SYS_PARAM_H
17903 # include <sys/param.h>
17905 #ifdef HAVE_SYS_MOUNT_H
17906 # include <sys/mount.h>
17908 #ifdef HAVE_SYS_VFS_H
17909 # include <sys/vfs.h>
17911 #ifdef HAVE_SYS_STATFS_H
17912 # include <sys/statfs.h>
17918 static struct statfs ac_aggr;
17919 if (sizeof ac_aggr.f_bavail)
17925 rm -f conftest.
$ac_objext
17926 if { (ac_try
="$ac_compile"
17927 case "(($ac_try" in
17928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17934 grep -v '^ *+' conftest.er1 >conftest.err
17936 cat conftest.err >&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } && {
17939 test -z "$ac_c_werror_flag" ||
17940 test ! -s conftest.err
17941 } && test -s conftest.$ac_objext; then
17942 ac_cv_member_struct_statfs_f_bavail=yes
17944 echo "$as_me: failed program was:" >&5
17945 sed 's/^/| /' conftest.$ac_ext >&5
17947 ac_cv_member_struct_statfs_f_bavail=no
17950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17956 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17957 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17959 cat >>confdefs.h <<_ACEOF
17960 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17965 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17966 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17967 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17968 echo $ECHO_N "(cached) $ECHO_C" >&6
17970 cat >conftest.$ac_ext <<_ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 #include <sys/types.h>
17977 #ifdef HAVE_SYS_PARAM_H
17978 # include <sys/param.h>
17980 #ifdef HAVE_SYS_MOUNT_H
17981 # include <sys/mount.h>
17983 #ifdef HAVE_SYS_VFS_H
17984 # include <sys/vfs.h>
17986 #ifdef HAVE_SYS_STATFS_H
17987 # include <sys/statfs.h>
17993 static struct statfs ac_aggr;
17994 if (ac_aggr.f_frsize)
18000 rm -f conftest.$ac_objext
18001 if { (ac_try="$ac_compile"
18002 case "(($ac_try" in
18003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18004 *) ac_try_echo
=$ac_try;;
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_compile") 2>conftest.er1
18009 grep -v '^ *+' conftest.er1
>conftest.err
18011 cat conftest.err
>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_c_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest.
$ac_objext; then
18017 ac_cv_member_struct_statfs_f_frsize
=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.
$ac_ext >&5
18022 cat >conftest.
$ac_ext <<_ACEOF
18025 cat confdefs.h
>>conftest.
$ac_ext
18026 cat >>conftest.
$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18028 #include <sys/types.h>
18029 #ifdef HAVE_SYS_PARAM_H
18030 # include <sys/param.h>
18032 #ifdef HAVE_SYS_MOUNT_H
18033 # include <sys/mount.h>
18035 #ifdef HAVE_SYS_VFS_H
18036 # include <sys/vfs.h>
18038 #ifdef HAVE_SYS_STATFS_H
18039 # include <sys/statfs.h>
18045 static struct statfs ac_aggr;
18046 if (sizeof ac_aggr.f_frsize)
18052 rm -f conftest.
$ac_objext
18053 if { (ac_try
="$ac_compile"
18054 case "(($ac_try" in
18055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18056 *) ac_try_echo=$ac_try;;
18058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18059 (eval "$ac_compile") 2>conftest.er1
18061 grep -v '^ *+' conftest.er1 >conftest.err
18063 cat conftest.err >&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } && {
18066 test -z "$ac_c_werror_flag" ||
18067 test ! -s conftest.err
18068 } && test -s conftest.$ac_objext; then
18069 ac_cv_member_struct_statfs_f_frsize=yes
18071 echo "$as_me: failed program was:" >&5
18072 sed 's/^/| /' conftest.$ac_ext >&5
18074 ac_cv_member_struct_statfs_f_frsize=no
18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18082 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18083 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18084 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18086 cat >>confdefs.h <<_ACEOF
18087 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18092 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18093 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18094 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 cat >conftest.$ac_ext <<_ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 #include <sys/types.h>
18104 #ifdef HAVE_SYS_PARAM_H
18105 # include <sys/param.h>
18107 #ifdef HAVE_SYS_MOUNT_H
18108 # include <sys/mount.h>
18110 #ifdef HAVE_SYS_VFS_H
18111 # include <sys/vfs.h>
18113 #ifdef HAVE_SYS_STATFS_H
18114 # include <sys/statfs.h>
18120 static struct statfs ac_aggr;
18121 if (ac_aggr.f_ffree)
18127 rm -f conftest.$ac_objext
18128 if { (ac_try="$ac_compile"
18129 case "(($ac_try" in
18130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18131 *) ac_try_echo
=$ac_try;;
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_compile") 2>conftest.er1
18136 grep -v '^ *+' conftest.er1
>conftest.err
18138 cat conftest.err
>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest.
$ac_objext; then
18144 ac_cv_member_struct_statfs_f_ffree
=yes
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.
$ac_ext >&5
18149 cat >conftest.
$ac_ext <<_ACEOF
18152 cat confdefs.h
>>conftest.
$ac_ext
18153 cat >>conftest.
$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155 #include <sys/types.h>
18156 #ifdef HAVE_SYS_PARAM_H
18157 # include <sys/param.h>
18159 #ifdef HAVE_SYS_MOUNT_H
18160 # include <sys/mount.h>
18162 #ifdef HAVE_SYS_VFS_H
18163 # include <sys/vfs.h>
18165 #ifdef HAVE_SYS_STATFS_H
18166 # include <sys/statfs.h>
18172 static struct statfs ac_aggr;
18173 if (sizeof ac_aggr.f_ffree)
18179 rm -f conftest.
$ac_objext
18180 if { (ac_try
="$ac_compile"
18181 case "(($ac_try" in
18182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_compile") 2>conftest.er1
18188 grep -v '^ *+' conftest.er1 >conftest.err
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_c_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest.$ac_objext; then
18196 ac_cv_member_struct_statfs_f_ffree=yes
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.$ac_ext >&5
18201 ac_cv_member_struct_statfs_f_ffree=no
18204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18210 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18211 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18213 cat >>confdefs.h <<_ACEOF
18214 #define HAVE_STRUCT_STATFS_F_FFREE 1
18219 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18220 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18221 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #include <sys/types.h>
18231 #ifdef HAVE_SYS_PARAM_H
18232 # include <sys/param.h>
18234 #ifdef HAVE_SYS_MOUNT_H
18235 # include <sys/mount.h>
18237 #ifdef HAVE_SYS_VFS_H
18238 # include <sys/vfs.h>
18240 #ifdef HAVE_SYS_STATFS_H
18241 # include <sys/statfs.h>
18247 static struct statfs ac_aggr;
18248 if (ac_aggr.f_favail)
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_member_struct_statfs_f_favail
=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 cat >conftest.
$ac_ext <<_ACEOF
18279 cat confdefs.h
>>conftest.
$ac_ext
18280 cat >>conftest.
$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 #include <sys/types.h>
18283 #ifdef HAVE_SYS_PARAM_H
18284 # include <sys/param.h>
18286 #ifdef HAVE_SYS_MOUNT_H
18287 # include <sys/mount.h>
18289 #ifdef HAVE_SYS_VFS_H
18290 # include <sys/vfs.h>
18292 #ifdef HAVE_SYS_STATFS_H
18293 # include <sys/statfs.h>
18299 static struct statfs ac_aggr;
18300 if (sizeof ac_aggr.f_favail)
18306 rm -f conftest.
$ac_objext
18307 if { (ac_try
="$ac_compile"
18308 case "(($ac_try" in
18309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18310 *) ac_try_echo=$ac_try;;
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_compile") 2>conftest.er1
18315 grep -v '^ *+' conftest.er1 >conftest.err
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_c_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest.$ac_objext; then
18323 ac_cv_member_struct_statfs_f_favail=yes
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18328 ac_cv_member_struct_statfs_f_favail=no
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18337 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18338 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18340 cat >>confdefs.h <<_ACEOF
18341 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18346 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18347 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18348 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 cat >conftest.$ac_ext <<_ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 #include <sys/types.h>
18358 #ifdef HAVE_SYS_PARAM_H
18359 # include <sys/param.h>
18361 #ifdef HAVE_SYS_MOUNT_H
18362 # include <sys/mount.h>
18364 #ifdef HAVE_SYS_VFS_H
18365 # include <sys/vfs.h>
18367 #ifdef HAVE_SYS_STATFS_H
18368 # include <sys/statfs.h>
18374 static struct statfs ac_aggr;
18375 if (ac_aggr.f_namelen)
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18385 *) ac_try_echo
=$ac_try;;
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18390 grep -v '^ *+' conftest.er1
>conftest.err
18392 cat conftest.err
>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.
$ac_objext; then
18398 ac_cv_member_struct_statfs_f_namelen
=yes
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 cat >conftest.
$ac_ext <<_ACEOF
18406 cat confdefs.h
>>conftest.
$ac_ext
18407 cat >>conftest.
$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #include <sys/types.h>
18410 #ifdef HAVE_SYS_PARAM_H
18411 # include <sys/param.h>
18413 #ifdef HAVE_SYS_MOUNT_H
18414 # include <sys/mount.h>
18416 #ifdef HAVE_SYS_VFS_H
18417 # include <sys/vfs.h>
18419 #ifdef HAVE_SYS_STATFS_H
18420 # include <sys/statfs.h>
18426 static struct statfs ac_aggr;
18427 if (sizeof ac_aggr.f_namelen)
18433 rm -f conftest.
$ac_objext
18434 if { (ac_try
="$ac_compile"
18435 case "(($ac_try" in
18436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;;
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_compile") 2>conftest.er1
18442 grep -v '^ *+' conftest.er1 >conftest.err
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest.$ac_objext; then
18450 ac_cv_member_struct_statfs_f_namelen=yes
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18455 ac_cv_member_struct_statfs_f_namelen=no
18458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18464 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18465 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18467 cat >>confdefs.h <<_ACEOF
18468 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18475 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18476 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18477 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 cat >conftest.$ac_ext <<_ACEOF
18483 cat confdefs.h >>conftest.$ac_ext
18484 cat >>conftest.$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18486 #ifdef HAVE_SYS_STATVFS_H
18487 #include <sys/statvfs.h>
18493 static struct statvfs ac_aggr;
18494 if (ac_aggr.f_blocks)
18500 rm -f conftest.$ac_objext
18501 if { (ac_try="$ac_compile"
18502 case "(($ac_try" in
18503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18504 *) ac_try_echo
=$ac_try;;
18506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18507 (eval "$ac_compile") 2>conftest.er1
18509 grep -v '^ *+' conftest.er1
>conftest.err
18511 cat conftest.err
>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } && {
18514 test -z "$ac_c_werror_flag" ||
18515 test ! -s conftest.err
18516 } && test -s conftest.
$ac_objext; then
18517 ac_cv_member_struct_statvfs_f_blocks
=yes
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.
$ac_ext >&5
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #ifdef HAVE_SYS_STATVFS_H
18529 #include <sys/statvfs.h>
18535 static struct statvfs ac_aggr;
18536 if (sizeof ac_aggr.f_blocks)
18542 rm -f conftest.
$ac_objext
18543 if { (ac_try
="$ac_compile"
18544 case "(($ac_try" in
18545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18546 *) ac_try_echo=$ac_try;;
18548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18549 (eval "$ac_compile") 2>conftest.er1
18551 grep -v '^ *+' conftest.er1 >conftest.err
18553 cat conftest.err >&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } && {
18556 test -z "$ac_c_werror_flag" ||
18557 test ! -s conftest.err
18558 } && test -s conftest.$ac_objext; then
18559 ac_cv_member_struct_statvfs_f_blocks=yes
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18564 ac_cv_member_struct_statvfs_f_blocks=no
18567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18572 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18573 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18574 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18576 cat >>confdefs.h <<_ACEOF
18577 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18584 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18585 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18586 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18589 cat >conftest.$ac_ext <<_ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595 #include <sys/types.h>
18596 #ifdef HAVE_SYS_SOCKET_H
18597 # include <sys/socket.h>
18599 #ifdef HAVE_SYS_UN_H
18600 # include <sys/un.h>
18606 static struct msghdr ac_aggr;
18607 if (ac_aggr.msg_accrights)
18613 rm -f conftest.$ac_objext
18614 if { (ac_try="$ac_compile"
18615 case "(($ac_try" in
18616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18617 *) ac_try_echo
=$ac_try;;
18619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18620 (eval "$ac_compile") 2>conftest.er1
18622 grep -v '^ *+' conftest.er1
>conftest.err
18624 cat conftest.err
>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } && {
18627 test -z "$ac_c_werror_flag" ||
18628 test ! -s conftest.err
18629 } && test -s conftest.
$ac_objext; then
18630 ac_cv_member_struct_msghdr_msg_accrights
=yes
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.
$ac_ext >&5
18635 cat >conftest.
$ac_ext <<_ACEOF
18638 cat confdefs.h
>>conftest.
$ac_ext
18639 cat >>conftest.
$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 #include <sys/types.h>
18642 #ifdef HAVE_SYS_SOCKET_H
18643 # include <sys/socket.h>
18645 #ifdef HAVE_SYS_UN_H
18646 # include <sys/un.h>
18652 static struct msghdr ac_aggr;
18653 if (sizeof ac_aggr.msg_accrights)
18659 rm -f conftest.
$ac_objext
18660 if { (ac_try
="$ac_compile"
18661 case "(($ac_try" in
18662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_compile") 2>conftest.er1
18668 grep -v '^ *+' conftest.er1 >conftest.err
18670 cat conftest.err >&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); } && {
18673 test -z "$ac_c_werror_flag" ||
18674 test ! -s conftest.err
18675 } && test -s conftest.$ac_objext; then
18676 ac_cv_member_struct_msghdr_msg_accrights=yes
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18681 ac_cv_member_struct_msghdr_msg_accrights=no
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18690 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18691 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18693 cat >>confdefs.h <<_ACEOF
18694 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18699 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18700 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18701 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18702 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 cat >conftest.$ac_ext <<_ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 #include <sys/types.h>
18711 #ifdef HAVE_SYS_SOCKET_H
18712 # include <sys/socket.h>
18714 #ifdef HAVE_SYS_UN_H
18715 # include <sys/un.h>
18721 static struct sockaddr ac_aggr;
18722 if (ac_aggr.sa_len)
18728 rm -f conftest.$ac_objext
18729 if { (ac_try="$ac_compile"
18730 case "(($ac_try" in
18731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18732 *) ac_try_echo
=$ac_try;;
18734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18735 (eval "$ac_compile") 2>conftest.er1
18737 grep -v '^ *+' conftest.er1
>conftest.err
18739 cat conftest.err
>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } && {
18742 test -z "$ac_c_werror_flag" ||
18743 test ! -s conftest.err
18744 } && test -s conftest.
$ac_objext; then
18745 ac_cv_member_struct_sockaddr_sa_len
=yes
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.
$ac_ext >&5
18750 cat >conftest.
$ac_ext <<_ACEOF
18753 cat confdefs.h
>>conftest.
$ac_ext
18754 cat >>conftest.
$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 #include <sys/types.h>
18757 #ifdef HAVE_SYS_SOCKET_H
18758 # include <sys/socket.h>
18760 #ifdef HAVE_SYS_UN_H
18761 # include <sys/un.h>
18767 static struct sockaddr ac_aggr;
18768 if (sizeof ac_aggr.sa_len)
18774 rm -f conftest.
$ac_objext
18775 if { (ac_try
="$ac_compile"
18776 case "(($ac_try" in
18777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18778 *) ac_try_echo=$ac_try;;
18780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18781 (eval "$ac_compile") 2>conftest.er1
18783 grep -v '^ *+' conftest.er1 >conftest.err
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } && {
18788 test -z "$ac_c_werror_flag" ||
18789 test ! -s conftest.err
18790 } && test -s conftest.$ac_objext; then
18791 ac_cv_member_struct_sockaddr_sa_len=yes
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 ac_cv_member_struct_sockaddr_sa_len=no
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18805 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18806 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18808 cat >>confdefs.h <<_ACEOF
18809 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18814 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18815 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18816 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18817 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 cat >conftest.$ac_ext <<_ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 #include <sys/types.h>
18826 #ifdef HAVE_SYS_SOCKET_H
18827 # include <sys/socket.h>
18829 #ifdef HAVE_SYS_UN_H
18830 # include <sys/un.h>
18836 static struct sockaddr_un ac_aggr;
18837 if (ac_aggr.sun_len)
18843 rm -f conftest.$ac_objext
18844 if { (ac_try="$ac_compile"
18845 case "(($ac_try" in
18846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18847 *) ac_try_echo
=$ac_try;;
18849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18850 (eval "$ac_compile") 2>conftest.er1
18852 grep -v '^ *+' conftest.er1
>conftest.err
18854 cat conftest.err
>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } && {
18857 test -z "$ac_c_werror_flag" ||
18858 test ! -s conftest.err
18859 } && test -s conftest.
$ac_objext; then
18860 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18862 echo "$as_me: failed program was:" >&5
18863 sed 's/^/| /' conftest.
$ac_ext >&5
18865 cat >conftest.
$ac_ext <<_ACEOF
18868 cat confdefs.h
>>conftest.
$ac_ext
18869 cat >>conftest.
$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 #include <sys/types.h>
18872 #ifdef HAVE_SYS_SOCKET_H
18873 # include <sys/socket.h>
18875 #ifdef HAVE_SYS_UN_H
18876 # include <sys/un.h>
18882 static struct sockaddr_un ac_aggr;
18883 if (sizeof ac_aggr.sun_len)
18889 rm -f conftest.
$ac_objext
18890 if { (ac_try
="$ac_compile"
18891 case "(($ac_try" in
18892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18896 (eval "$ac_compile") 2>conftest.er1
18898 grep -v '^ *+' conftest.er1 >conftest.err
18900 cat conftest.err >&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); } && {
18903 test -z "$ac_c_werror_flag" ||
18904 test ! -s conftest.err
18905 } && test -s conftest.$ac_objext; then
18906 ac_cv_member_struct_sockaddr_un_sun_len=yes
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18911 ac_cv_member_struct_sockaddr_un_sun_len=no
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18919 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18920 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18921 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18931 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18932 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18933 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 cat >conftest.$ac_ext <<_ACEOF
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942 #include <sys/types.h>
18943 #ifdef HAVE_SCSI_SG_H
18944 #include <scsi/sg.h>
18950 static scsireq_t ac_aggr;
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18961 *) ac_try_echo
=$ac_try;;
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18966 grep -v '^ *+' conftest.er1
>conftest.err
18968 cat conftest.err
>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.
$ac_objext; then
18974 ac_cv_member_scsireq_t_cmd
=yes
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.
$ac_ext >&5
18979 cat >conftest.
$ac_ext <<_ACEOF
18982 cat confdefs.h
>>conftest.
$ac_ext
18983 cat >>conftest.
$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18985 #include <sys/types.h>
18986 #ifdef HAVE_SCSI_SG_H
18987 #include <scsi/sg.h>
18993 static scsireq_t ac_aggr;
18994 if (sizeof ac_aggr.cmd)
19000 rm -f conftest.
$ac_objext
19001 if { (ac_try
="$ac_compile"
19002 case "(($ac_try" in
19003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19004 *) ac_try_echo=$ac_try;;
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_compile") 2>conftest.er1
19009 grep -v '^ *+' conftest.er1 >conftest.err
19011 cat conftest.err >&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } && {
19014 test -z "$ac_c_werror_flag" ||
19015 test ! -s conftest.err
19016 } && test -s conftest.$ac_objext; then
19017 ac_cv_member_scsireq_t_cmd=yes
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.$ac_ext >&5
19022 ac_cv_member_scsireq_t_cmd=no
19025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19030 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19031 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19032 if test $ac_cv_member_scsireq_t_cmd = yes; then
19034 cat >>confdefs.h <<_ACEOF
19035 #define HAVE_SCSIREQ_T_CMD 1
19040 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19041 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19042 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 cat >conftest.$ac_ext <<_ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 #include <sys/types.h>
19052 #ifdef HAVE_SCSI_SG_H
19053 #include <scsi/sg.h>
19059 static sg_io_hdr_t ac_aggr;
19060 if (ac_aggr.interface_id)
19066 rm -f conftest.$ac_objext
19067 if { (ac_try="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19070 *) ac_try_echo
=$ac_try;;
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19075 grep -v '^ *+' conftest.er1
>conftest.err
19077 cat conftest.err
>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.
$ac_objext; then
19083 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.
$ac_ext >&5
19088 cat >conftest.
$ac_ext <<_ACEOF
19091 cat confdefs.h
>>conftest.
$ac_ext
19092 cat >>conftest.
$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 #include <sys/types.h>
19095 #ifdef HAVE_SCSI_SG_H
19096 #include <scsi/sg.h>
19102 static sg_io_hdr_t ac_aggr;
19103 if (sizeof ac_aggr.interface_id)
19109 rm -f conftest.
$ac_objext
19110 if { (ac_try
="$ac_compile"
19111 case "(($ac_try" in
19112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_compile") 2>conftest.er1
19118 grep -v '^ *+' conftest.er1 >conftest.err
19120 cat conftest.err >&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } && {
19123 test -z "$ac_c_werror_flag" ||
19124 test ! -s conftest.err
19125 } && test -s conftest.$ac_objext; then
19126 ac_cv_member_sg_io_hdr_t_interface_id=yes
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19131 ac_cv_member_sg_io_hdr_t_interface_id=no
19134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19139 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19140 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19141 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19151 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19152 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19153 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 cat >conftest.$ac_ext <<_ACEOF
19159 cat confdefs.h >>conftest.$ac_ext
19160 cat >>conftest.$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 #include <signal.h>
19167 static siginfo_t ac_aggr;
19174 rm -f conftest.$ac_objext
19175 if { (ac_try="$ac_compile"
19176 case "(($ac_try" in
19177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19178 *) ac_try_echo
=$ac_try;;
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19181 (eval "$ac_compile") 2>conftest.er1
19183 grep -v '^ *+' conftest.er1
>conftest.err
19185 cat conftest.err
>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } && {
19188 test -z "$ac_c_werror_flag" ||
19189 test ! -s conftest.err
19190 } && test -s conftest.
$ac_objext; then
19191 ac_cv_member_siginfo_t_si_fd
=yes
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.
$ac_ext >&5
19196 cat >conftest.
$ac_ext <<_ACEOF
19199 cat confdefs.h
>>conftest.
$ac_ext
19200 cat >>conftest.
$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202 #include <signal.h>
19207 static siginfo_t ac_aggr;
19208 if (sizeof ac_aggr.si_fd)
19214 rm -f conftest.
$ac_objext
19215 if { (ac_try
="$ac_compile"
19216 case "(($ac_try" in
19217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19218 *) ac_try_echo=$ac_try;;
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_compile") 2>conftest.er1
19223 grep -v '^ *+' conftest.er1 >conftest.err
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && {
19228 test -z "$ac_c_werror_flag" ||
19229 test ! -s conftest.err
19230 } && test -s conftest.$ac_objext; then
19231 ac_cv_member_siginfo_t_si_fd=yes
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19236 ac_cv_member_siginfo_t_si_fd=no
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19245 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19246 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_SIGINFO_T_SI_FD 1
19256 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19257 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19258 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 cat >conftest.$ac_ext <<_ACEOF
19264 cat confdefs.h >>conftest.$ac_ext
19265 cat >>conftest.$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19267 #include <sys/types.h>
19268 #ifdef HAVE_SYS_MTIO_H
19269 #include <sys/mtio.h>
19275 static struct mtget ac_aggr;
19276 if (ac_aggr.mt_blksiz)
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19286 *) ac_try_echo
=$ac_try;;
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19291 grep -v '^ *+' conftest.er1
>conftest.err
19293 cat conftest.err
>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.
$ac_objext; then
19299 ac_cv_member_struct_mtget_mt_blksiz
=yes
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.
$ac_ext >&5
19304 cat >conftest.
$ac_ext <<_ACEOF
19307 cat confdefs.h
>>conftest.
$ac_ext
19308 cat >>conftest.
$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 #include <sys/types.h>
19311 #ifdef HAVE_SYS_MTIO_H
19312 #include <sys/mtio.h>
19318 static struct mtget ac_aggr;
19319 if (sizeof ac_aggr.mt_blksiz)
19325 rm -f conftest.
$ac_objext
19326 if { (ac_try
="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19329 *) ac_try_echo=$ac_try;;
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19334 grep -v '^ *+' conftest.er1 >conftest.err
19336 cat conftest.err >&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_c_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.$ac_objext; then
19342 ac_cv_member_struct_mtget_mt_blksiz=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19347 ac_cv_member_struct_mtget_mt_blksiz=no
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19355 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19356 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19357 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19359 cat >>confdefs.h <<_ACEOF
19360 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19365 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19366 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19367 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 cat >conftest.$ac_ext <<_ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 #include <sys/types.h>
19377 #ifdef HAVE_SYS_MTIO_H
19378 #include <sys/mtio.h>
19384 static struct mtget ac_aggr;
19385 if (ac_aggr.mt_gstat)
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19395 *) ac_try_echo
=$ac_try;;
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19400 grep -v '^ *+' conftest.er1
>conftest.err
19402 cat conftest.err
>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.
$ac_objext; then
19408 ac_cv_member_struct_mtget_mt_gstat
=yes
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.
$ac_ext >&5
19413 cat >conftest.
$ac_ext <<_ACEOF
19416 cat confdefs.h
>>conftest.
$ac_ext
19417 cat >>conftest.
$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 #include <sys/types.h>
19420 #ifdef HAVE_SYS_MTIO_H
19421 #include <sys/mtio.h>
19427 static struct mtget ac_aggr;
19428 if (sizeof ac_aggr.mt_gstat)
19434 rm -f conftest.
$ac_objext
19435 if { (ac_try
="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19443 grep -v '^ *+' conftest.er1 >conftest.err
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.$ac_objext; then
19451 ac_cv_member_struct_mtget_mt_gstat=yes
19453 echo "$as_me: failed program was:" >&5
19454 sed 's/^/| /' conftest.$ac_ext >&5
19456 ac_cv_member_struct_mtget_mt_gstat=no
19459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19464 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19465 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19466 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19468 cat >>confdefs.h <<_ACEOF
19469 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19474 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19475 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19476 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 cat >conftest.$ac_ext <<_ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 #include <sys/types.h>
19486 #ifdef HAVE_SYS_MTIO_H
19487 #include <sys/mtio.h>
19493 static struct mtget ac_aggr;
19494 if (ac_aggr.mt_blkno)
19500 rm -f conftest.$ac_objext
19501 if { (ac_try="$ac_compile"
19502 case "(($ac_try" in
19503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19504 *) ac_try_echo
=$ac_try;;
19506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19507 (eval "$ac_compile") 2>conftest.er1
19509 grep -v '^ *+' conftest.er1
>conftest.err
19511 cat conftest.err
>&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } && {
19514 test -z "$ac_c_werror_flag" ||
19515 test ! -s conftest.err
19516 } && test -s conftest.
$ac_objext; then
19517 ac_cv_member_struct_mtget_mt_blkno
=yes
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.
$ac_ext >&5
19522 cat >conftest.
$ac_ext <<_ACEOF
19525 cat confdefs.h
>>conftest.
$ac_ext
19526 cat >>conftest.
$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 #include <sys/types.h>
19529 #ifdef HAVE_SYS_MTIO_H
19530 #include <sys/mtio.h>
19536 static struct mtget ac_aggr;
19537 if (sizeof ac_aggr.mt_blkno)
19543 rm -f conftest.
$ac_objext
19544 if { (ac_try
="$ac_compile"
19545 case "(($ac_try" in
19546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19547 *) ac_try_echo=$ac_try;;
19549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19550 (eval "$ac_compile") 2>conftest.er1
19552 grep -v '^ *+' conftest.er1 >conftest.err
19554 cat conftest.err >&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } && {
19557 test -z "$ac_c_werror_flag" ||
19558 test ! -s conftest.err
19559 } && test -s conftest.$ac_objext; then
19560 ac_cv_member_struct_mtget_mt_blkno=yes
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19565 ac_cv_member_struct_mtget_mt_blkno=no
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19574 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19575 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19577 cat >>confdefs.h <<_ACEOF
19578 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19585 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19586 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19587 if test "${ac_cv_member_struct_option_name+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 cat >conftest.$ac_ext <<_ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 #ifdef HAVE_GETOPT_H
19597 #include <getopt.h>
19603 static struct option ac_aggr;
19610 rm -f conftest.$ac_objext
19611 if { (ac_try="$ac_compile"
19612 case "(($ac_try" in
19613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19614 *) ac_try_echo
=$ac_try;;
19616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19617 (eval "$ac_compile") 2>conftest.er1
19619 grep -v '^ *+' conftest.er1
>conftest.err
19621 cat conftest.err
>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } && {
19624 test -z "$ac_c_werror_flag" ||
19625 test ! -s conftest.err
19626 } && test -s conftest.
$ac_objext; then
19627 ac_cv_member_struct_option_name
=yes
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.
$ac_ext >&5
19632 cat >conftest.
$ac_ext <<_ACEOF
19635 cat confdefs.h
>>conftest.
$ac_ext
19636 cat >>conftest.
$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 #ifdef HAVE_GETOPT_H
19639 #include <getopt.h>
19645 static struct option ac_aggr;
19646 if (sizeof ac_aggr.name)
19652 rm -f conftest.
$ac_objext
19653 if { (ac_try
="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19661 grep -v '^ *+' conftest.er1 >conftest.err
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 ac_cv_member_struct_option_name=yes
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19674 ac_cv_member_struct_option_name=no
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19683 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19684 if test $ac_cv_member_struct_option_name = yes; then
19686 cat >>confdefs.h <<_ACEOF
19687 #define HAVE_STRUCT_OPTION_NAME 1
19694 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19695 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19696 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19699 cat >conftest.$ac_ext <<_ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 $ac_includes_default
19709 static struct stat ac_aggr;
19710 if (ac_aggr.st_blocks)
19716 rm -f conftest.$ac_objext
19717 if { (ac_try="$ac_compile"
19718 case "(($ac_try" in
19719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19720 *) ac_try_echo
=$ac_try;;
19722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19723 (eval "$ac_compile") 2>conftest.er1
19725 grep -v '^ *+' conftest.er1
>conftest.err
19727 cat conftest.err
>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } && {
19730 test -z "$ac_c_werror_flag" ||
19731 test ! -s conftest.err
19732 } && test -s conftest.
$ac_objext; then
19733 ac_cv_member_struct_stat_st_blocks
=yes
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.
$ac_ext >&5
19738 cat >conftest.
$ac_ext <<_ACEOF
19741 cat confdefs.h
>>conftest.
$ac_ext
19742 cat >>conftest.
$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 $ac_includes_default
19748 static struct stat ac_aggr;
19749 if (sizeof ac_aggr.st_blocks)
19755 rm -f conftest.
$ac_objext
19756 if { (ac_try
="$ac_compile"
19757 case "(($ac_try" in
19758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19759 *) ac_try_echo=$ac_try;;
19761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_compile") 2>conftest.er1
19764 grep -v '^ *+' conftest.er1 >conftest.err
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } && {
19769 test -z "$ac_c_werror_flag" ||
19770 test ! -s conftest.err
19771 } && test -s conftest.$ac_objext; then
19772 ac_cv_member_struct_stat_st_blocks=yes
19774 echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19777 ac_cv_member_struct_stat_st_blocks=no
19780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19786 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19787 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19789 cat >>confdefs.h <<_ACEOF
19790 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19797 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19798 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19799 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 cat >conftest.$ac_ext <<_ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 #ifdef HAVE_SYS_TYPES_H
19809 #include <sys/types.h>
19811 #ifdef HAVE_NETINET_IN_H
19812 #include <netinet/in.h>
19818 static struct sockaddr_in6 ac_aggr;
19819 if (ac_aggr.sin6_scope_id)
19825 rm -f conftest.$ac_objext
19826 if { (ac_try="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19829 *) ac_try_echo
=$ac_try;;
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19834 grep -v '^ *+' conftest.er1
>conftest.err
19836 cat conftest.err
>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } && {
19839 test -z "$ac_c_werror_flag" ||
19840 test ! -s conftest.err
19841 } && test -s conftest.
$ac_objext; then
19842 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.
$ac_ext >&5
19847 cat >conftest.
$ac_ext <<_ACEOF
19850 cat confdefs.h
>>conftest.
$ac_ext
19851 cat >>conftest.
$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 #ifdef HAVE_SYS_TYPES_H
19854 #include <sys/types.h>
19856 #ifdef HAVE_NETINET_IN_H
19857 #include <netinet/in.h>
19863 static struct sockaddr_in6 ac_aggr;
19864 if (sizeof ac_aggr.sin6_scope_id)
19870 rm -f conftest.
$ac_objext
19871 if { (ac_try
="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19879 grep -v '^ *+' conftest.er1 >conftest.err
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19887 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19892 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19901 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19902 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19904 cat >>confdefs.h <<_ACEOF
19905 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19912 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19913 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19914 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 cat >conftest.$ac_ext <<_ACEOF
19920 cat confdefs.h >>conftest.$ac_ext
19921 cat >>conftest.$ac_ext <<_ACEOF
19922 /* end confdefs.h. */
19923 #ifdef HAVE_SYS_TYPES_H
19924 #include <sys/types.h>
19926 #ifdef HAVE_NETINET_IN_H
19927 # include <netinet/in.h>
19929 #ifdef HAVE_ARPA_NAMESER_H
19930 # include <arpa/nameser.h>
19936 static ns_msg ac_aggr;
19937 if (ac_aggr._msg_ptr)
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19947 *) ac_try_echo
=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19952 grep -v '^ *+' conftest.er1
>conftest.err
19954 cat conftest.err
>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.
$ac_objext; then
19960 ac_cv_member_ns_msg__msg_ptr
=yes
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.
$ac_ext >&5
19965 cat >conftest.
$ac_ext <<_ACEOF
19968 cat confdefs.h
>>conftest.
$ac_ext
19969 cat >>conftest.
$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 #ifdef HAVE_SYS_TYPES_H
19972 #include <sys/types.h>
19974 #ifdef HAVE_NETINET_IN_H
19975 # include <netinet/in.h>
19977 #ifdef HAVE_ARPA_NAMESER_H
19978 # include <arpa/nameser.h>
19984 static ns_msg ac_aggr;
19985 if (sizeof ac_aggr._msg_ptr)
19991 rm -f conftest.
$ac_objext
19992 if { (ac_try
="$ac_compile"
19993 case "(($ac_try" in
19994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_compile") 2>conftest.er1
20000 grep -v '^ *+' conftest.er1 >conftest.err
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then
20008 ac_cv_member_ns_msg__msg_ptr=yes
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.$ac_ext >&5
20013 ac_cv_member_ns_msg__msg_ptr=no
20016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20022 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20023 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20025 cat >>confdefs.h <<_ACEOF
20026 #define HAVE_NS_MSG__MSG_PTR 1
20033 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20034 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20035 if test "${ac_cv_have_timezone+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 cat >conftest.$ac_ext <<_ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20053 rm -f conftest.$ac_objext conftest$ac_exeext
20054 if { (ac_try="$ac_link"
20055 case "(($ac_try" in
20056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20057 *) ac_try_echo
=$ac_try;;
20059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20060 (eval "$ac_link") 2>conftest.er1
20062 grep -v '^ *+' conftest.er1
>conftest.err
20064 cat conftest.err
>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } && {
20067 test -z "$ac_c_werror_flag" ||
20068 test ! -s conftest.err
20069 } && test -s conftest
$ac_exeext &&
20070 $as_test_x conftest
$ac_exeext; then
20071 ac_cv_have_timezone
="yes"
20073 echo "$as_me: failed program was:" >&5
20074 sed 's/^/| /' conftest.
$ac_ext >&5
20076 ac_cv_have_timezone
="no"
20079 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20080 conftest
$ac_exeext conftest.
$ac_ext
20082 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20083 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20084 if test "$ac_cv_have_timezone" = "yes"
20087 cat >>confdefs.h
<<\_ACEOF
20088 #define HAVE_TIMEZONE 1
20092 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20093 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20094 if test "${ac_cv_have_daylight+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20097 cat >conftest.
$ac_ext <<_ACEOF
20100 cat confdefs.h
>>conftest.
$ac_ext
20101 cat >>conftest.
$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20112 rm -f conftest.
$ac_objext conftest
$ac_exeext
20113 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
20129 $as_test_x conftest$ac_exeext; then
20130 ac_cv_have_daylight="yes"
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20135 ac_cv_have_daylight="no"
20138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20139 conftest$ac_exeext conftest.$ac_ext
20141 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20142 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20143 if test "$ac_cv_have_daylight" = "yes"
20146 cat >>confdefs.h <<\_ACEOF
20147 #define HAVE_DAYLIGHT 1
20154 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20155 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20156 if test "${ac_cv_cpp_def___i386__+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. */
20169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20170 $EGREP "yes" >/dev/null 2>&1; then
20171 ac_cv_cpp_def___i386__=yes
20173 ac_cv_cpp_def___i386__=no
20178 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20179 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20180 if test $ac_cv_cpp_def___i386__ = yes; then
20181 CFLAGS="$CFLAGS -D__i386__"
20182 LINTFLAGS="$LINTFLAGS -D__i386__"
20185 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20186 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20187 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 cat >conftest.$ac_ext <<_ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20201 $EGREP "yes" >/dev/null 2>&1; then
20202 ac_cv_cpp_def___x86_64__=yes
20204 ac_cv_cpp_def___x86_64__=no
20209 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20210 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20211 if test $ac_cv_cpp_def___x86_64__ = yes; then
20212 CFLAGS="$CFLAGS -D__x86_64__"
20213 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20216 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20217 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20218 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 cat >conftest.$ac_ext <<_ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20232 $EGREP "yes" >/dev/null 2>&1; then
20233 ac_cv_cpp_def___ALPHA__=yes
20235 ac_cv_cpp_def___ALPHA__=no
20240 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20241 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20242 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20243 CFLAGS="$CFLAGS -D__ALPHA__"
20244 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20247 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20248 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20249 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20250 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 cat >conftest.$ac_ext <<_ACEOF
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20263 $EGREP "yes" >/dev/null 2>&1; then
20264 ac_cv_cpp_def___sparc__=yes
20266 ac_cv_cpp_def___sparc__=no
20271 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20272 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20273 if test $ac_cv_cpp_def___sparc__ = yes; then
20274 CFLAGS="$CFLAGS -D__sparc__"
20275 LINTFLAGS="$LINTFLAGS -D__sparc__"
20278 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20279 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20280 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20281 echo $ECHO_N "(cached) $ECHO_C" >&6
20283 cat >conftest.$ac_ext <<_ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 #ifndef __powerpc__
20293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20294 $EGREP "yes" >/dev/null 2>&1; then
20295 ac_cv_cpp_def___powerpc__=yes
20297 ac_cv_cpp_def___powerpc__=no
20302 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20303 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20304 if test $ac_cv_cpp_def___powerpc__ = yes; then
20305 CFLAGS="$CFLAGS -D__powerpc__"
20306 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20311 case $host_vendor in
20312 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20313 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20314 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20317 cat >conftest.$ac_ext <<_ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20328 $EGREP "yes" >/dev/null 2>&1; then
20329 ac_cv_cpp_def___sun__=yes
20331 ac_cv_cpp_def___sun__=no
20336 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20337 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20338 if test $ac_cv_cpp_def___sun__ = yes; then
20339 CFLAGS="$CFLAGS -D__sun__"
20340 LINTFLAGS="$LINTFLAGS -D__sun__"
20346 DEPENDENCIES="### Dependencies:
20351 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20353 \$(OBJS): \$(IDL_GEN_HEADERS)
20354 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20355 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20356 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20362 ac_config_commands="$ac_config_commands include/stamp-h"
20365 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20367 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20369 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20371 ac_config_commands="$ac_config_commands dlls/user32/resources"
20373 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20375 ac_config_commands="$ac_config_commands include/wine"
20378 MAKE_RULES=Make.rules
20381 MAKE_DLL_RULES=dlls/Makedll.rules
20384 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20387 MAKE_TEST_RULES=dlls/Maketest.rules
20390 MAKE_PROG_RULES=programs/Makeprog.rules
20393 ac_config_files="$ac_config_files Make.rules"
20395 ac_config_files="$ac_config_files dlls/Makedll.rules"
20397 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20399 ac_config_files="$ac_config_files dlls/Maketest.rules"
20401 ac_config_files="$ac_config_files programs/Makeprog.rules"
20403 ac_config_files="$ac_config_files Makefile"
20405 ac_config_files="$ac_config_files dlls/Makefile"
20407 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20409 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20411 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20413 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20415 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20417 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20419 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20421 ac_config_files="$ac_config_files dlls/atl/Makefile"
20423 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20425 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20427 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20429 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20431 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20433 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20435 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20437 ac_config_files="$ac_config_files dlls/cards/Makefile"
20439 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20441 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20443 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20445 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20447 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20449 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20451 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20453 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20455 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20457 ac_config_files="$ac_config_files dlls/credui/Makefile"
20459 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20461 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20463 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20467 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20469 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20471 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20473 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20477 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20479 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20481 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20483 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20487 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20489 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20491 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20493 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20495 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20497 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20499 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20501 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20503 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20505 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20507 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20509 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20511 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20513 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20515 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20517 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20519 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20521 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20523 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20525 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20527 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20529 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20531 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20533 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20535 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20537 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20539 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20541 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20543 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20547 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20549 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20551 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20553 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20555 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20557 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20559 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20561 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20563 ac_config_files="$ac_config_files dlls/hal/Makefile"
20565 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20567 ac_config_files="$ac_config_files dlls/hid/Makefile"
20569 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20571 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20573 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20575 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20577 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20579 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20581 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20583 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20585 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20587 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20591 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20593 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/itss/Makefile"
20597 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20599 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20601 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20605 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/localui/Makefile"
20609 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20611 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20613 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20617 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20621 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20623 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20625 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20627 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20629 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20631 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20633 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20635 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20637 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20639 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20641 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20643 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20645 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20647 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20649 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20651 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20653 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20655 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20657 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20659 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20661 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20663 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/msi/Makefile"
20667 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20669 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20671 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20673 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20675 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20677 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20679 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20681 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20683 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20685 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20687 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20691 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20693 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20695 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20697 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20701 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20703 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20707 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20709 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20711 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20713 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20715 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20717 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20719 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20721 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20723 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20725 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20727 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20729 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20731 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20733 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20735 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20737 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20739 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20741 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20743 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20745 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20747 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20751 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20753 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20755 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20757 ac_config_files="$ac_config_files dlls/query/Makefile"
20759 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20761 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20763 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20765 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20767 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20769 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20771 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20773 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20775 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20777 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20779 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20781 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20783 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20785 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20787 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20789 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20791 ac_config_files="$ac_config_files dlls/security/Makefile"
20793 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20795 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20797 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20799 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20801 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20803 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20805 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20807 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20809 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20811 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20815 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20819 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20821 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20823 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20825 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20827 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20829 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20831 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20833 ac_config_files="$ac_config_files dlls/sti/Makefile"
20835 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20837 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20839 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20841 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20843 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20845 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20847 ac_config_files="$ac_config_files dlls/url/Makefile"
20849 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20851 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20853 ac_config_files="$ac_config_files dlls/user32/Makefile"
20855 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20857 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20859 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20861 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20863 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20865 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20867 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20869 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20871 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20873 ac_config_files="$ac_config_files dlls/version/Makefile"
20875 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20877 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20879 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20881 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20883 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20885 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20887 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20889 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20891 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20893 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20895 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20897 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20899 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20901 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20903 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20905 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20907 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20909 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20911 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20913 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20915 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20917 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20919 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20921 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20923 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20925 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20927 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20929 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20931 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20933 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20935 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20937 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20939 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20941 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20943 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20945 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20947 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20949 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20951 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20953 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20955 ac_config_files="$ac_config_files documentation/Makefile"
20957 ac_config_files="$ac_config_files fonts/Makefile"
20959 ac_config_files="$ac_config_files include/Makefile"
20961 ac_config_files="$ac_config_files libs/Makefile"
20963 ac_config_files="$ac_config_files libs/port/Makefile"
20965 ac_config_files="$ac_config_files libs/wine/Makefile"
20967 ac_config_files="$ac_config_files libs/wpp/Makefile"
20969 ac_config_files="$ac_config_files loader/Makefile"
20971 ac_config_files="$ac_config_files programs/Makefile"
20973 ac_config_files="$ac_config_files programs/clock/Makefile"
20975 ac_config_files="$ac_config_files programs/cmd/Makefile"
20977 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20979 ac_config_files="$ac_config_files programs/control/Makefile"
20981 ac_config_files="$ac_config_files programs/eject/Makefile"
20983 ac_config_files="$ac_config_files programs/expand/Makefile"
20985 ac_config_files="$ac_config_files programs/explorer/Makefile"
20987 ac_config_files="$ac_config_files programs/hh/Makefile"
20989 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20991 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20993 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20995 ac_config_files="$ac_config_files programs/net/Makefile"
20997 ac_config_files="$ac_config_files programs/notepad/Makefile"
20999 ac_config_files="$ac_config_files programs/oleview/Makefile"
21001 ac_config_files="$ac_config_files programs/progman/Makefile"
21003 ac_config_files="$ac_config_files programs/regedit/Makefile"
21005 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21007 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21009 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21011 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21013 ac_config_files="$ac_config_files programs/start/Makefile"
21015 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21017 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21019 ac_config_files="$ac_config_files programs/view/Makefile"
21021 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21023 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21025 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21027 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21029 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21031 ac_config_files="$ac_config_files programs/winefile/Makefile"
21033 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21035 ac_config_files="$ac_config_files programs/winemine/Makefile"
21037 ac_config_files="$ac_config_files programs/winepath/Makefile"
21039 ac_config_files="$ac_config_files programs/winetest/Makefile"
21041 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21043 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21045 ac_config_files="$ac_config_files programs/winver/Makefile"
21047 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21049 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21051 ac_config_files="$ac_config_files server/Makefile"
21053 ac_config_files="$ac_config_files tools/Makefile"
21055 ac_config_files="$ac_config_files tools/widl/Makefile"
21057 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21059 ac_config_files="$ac_config_files tools/winedump/Makefile"
21061 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21063 ac_config_files="$ac_config_files tools/wmc/Makefile"
21065 ac_config_files="$ac_config_files tools/wrc/Makefile"
21068 cat >confcache <<\_ACEOF
21069 # This file is a shell script that caches the results of configure
21070 # tests run on this system so they can be shared between configure
21071 # scripts and configure runs, see configure's option --config-cache.
21072 # It is not useful on other systems. If it contains results you don't
21073 # want to keep, you may remove or edit it.
21075 # config.status only pays attention to the cache file if you give it
21076 # the --recheck option to rerun configure.
21078 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21080 # following values.
21084 # The following way of writing the cache mishandles newlines in values,
21085 # but we know of no workaround that is simple, portable, and efficient.
21086 # So, we kill variables containing newlines.
21087 # Ultrix sh set writes to stderr and can't be redirected directly,
21088 # and sets the high bit in the cache file unless we assign to the vars.
21090 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21091 eval ac_val
=\$
$ac_var
21095 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21096 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21099 _ | IFS | as_nl
) ;; #(
21100 *) $as_unset $ac_var ;;
21106 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21107 *${as_nl}ac_space
=\
*)
21108 # `set' does not quote correctly, so add quotes (double-quote
21109 # substitution turns \\\\ into \\, and sed turns \\ into \).
21112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21115 # `set' quotes correctly as required by POSIX, so do not add quotes.
21116 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21125 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21127 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21129 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21130 if test -w "$cache_file"; then
21131 test "x$cache_file" != "x/dev/null" &&
21132 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21133 echo "$as_me: updating cache $cache_file" >&6;}
21134 cat confcache
>$cache_file
21136 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21137 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21142 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21143 # Let make expand exec_prefix.
21144 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21146 DEFS
=-DHAVE_CONFIG_H
21150 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21151 # 1. Remove the extension, and $U if already installed.
21152 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21153 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21154 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21155 # will be set to the directory where LIBOBJS objects are built.
21156 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21157 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21159 LIBOBJS
=$ac_libobjs
21161 LTLIBOBJS
=$ac_ltlibobjs
21165 : ${CONFIG_STATUS=./config.status}
21166 ac_clean_files_save
=$ac_clean_files
21167 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21168 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21169 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21170 cat >$CONFIG_STATUS <<_ACEOF
21172 # Generated by $as_me.
21173 # Run this file to recreate the current configuration.
21174 # Compiler output produced by configure, useful for debugging
21175 # configure, is in config.log if it exists.
21178 ac_cs_recheck=false
21180 SHELL=\${CONFIG_SHELL-$SHELL}
21183 cat >>$CONFIG_STATUS <<\_ACEOF
21184 ## --------------------- ##
21185 ## M4sh Initialization. ##
21186 ## --------------------- ##
21188 # Be more Bourne compatible
21189 DUALCASE
=1; export DUALCASE
# for MKS sh
21190 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21193 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21194 # is contrary to our usage. Disable this feature.
21195 alias -g '${1+"$@"}'='"$@"'
21196 setopt NO_GLOB_SUBST
21198 case `(set -o) 2>/dev/null` in
21199 *posix
*) set -o posix
;;
21208 # Avoid depending upon Character Ranges.
21209 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21210 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21211 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21212 as_cr_digits
='0123456789'
21213 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21215 # The user is always right.
21216 if test "${PATH_SEPARATOR+set}" != set; then
21217 echo "#! /bin/sh" >conf$$.sh
21218 echo "exit 0" >>conf$$.sh
21220 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21228 # Support unset when possible.
21229 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21237 # We need space, tab and new line, in precisely that order. Quoting is
21238 # there to prevent editors from complaining about space-tab.
21239 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21240 # splitting by setting IFS to empty value.)
21245 # Find who we are. Look in the path if we contain no directory separator.
21247 *[\\/]* ) as_myself
=$0 ;;
21248 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21249 for as_dir
in $PATH
21252 test -z "$as_dir" && as_dir
=.
21253 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21259 # We did not find ourselves, most probably we were run as `sh COMMAND'
21260 # in which case we are not to be found in the path.
21261 if test "x$as_myself" = x
; then
21264 if test ! -f "$as_myself"; then
21265 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21266 { (exit 1); exit 1; }
21269 # Work around bugs in pre-3.0 UWIN ksh.
21270 for as_var
in ENV MAIL MAILPATH
21271 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21279 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21280 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21281 LC_TELEPHONE LC_TIME
21283 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21284 eval $as_var=C
; export $as_var
21286 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21290 # Required to use basename.
21291 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21292 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21298 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21299 as_basename
=basename
21305 # Name of the executable.
21306 as_me
=`$as_basename -- "$0" ||
21307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21308 X"$0" : 'X\(//\)$' \| \
21309 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21311 sed '/^.*\/\([^/][^/]*\)\/*$/{
21330 as_lineno_1
=$LINENO
21331 as_lineno_2
=$LINENO
21332 test "x$as_lineno_1" != "x$as_lineno_2" &&
21333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21335 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21336 # uniformly replaced by the line number. The first 'sed' inserts a
21337 # line-number line after each line using $LINENO; the second 'sed'
21338 # does the real work. The second script uses 'N' to pair each
21339 # line-number line with the line containing $LINENO, and appends
21340 # trailing '-' during substitution so that $LINENO is not a special
21341 # case at line end.
21342 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21343 # scripts with optimization help from Paolo Bonzini. Blame Lee
21344 # E. McMahon (1931-1989) for sed's syntax. :-)
21356 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21359 ' >$as_me.lineno
&&
21360 chmod +x
"$as_me.lineno" ||
21361 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21362 { (exit 1); exit 1; }; }
21364 # Don't try to exec as it changes $[0], causing all sort of problems
21365 # (the dirname of $[0] is not the place where we might find the
21366 # original and so on. Autoconf is especially sensitive to this).
21367 .
"./$as_me.lineno"
21368 # Exit status is that of the last command.
21373 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21379 ECHO_C
= ECHO_N
= ECHO_T
=
21380 case `echo -n x` in
21382 case `echo 'x\c'` in
21383 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21390 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21391 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21397 rm -f conf$$ conf$$.exe conf$$.
file
21398 if test -d conf$$.dir
; then
21399 rm -f conf$$.dir
/conf$$.
file
21405 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21407 # ... but there are two gotchas:
21408 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21409 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21410 # In both cases, we have to default to `cp -p'.
21411 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21413 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21418 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21419 rmdir conf$$.dir
2>/dev
/null
21421 if mkdir
-p .
2>/dev
/null
; then
21424 test -d .
/-p && rmdir .
/-p
21428 if test -x / >/dev
/null
2>&1; then
21429 as_test_x
='test -x'
21431 if ls -dL / >/dev
/null
2>&1; then
21438 if test -d "$1"; then
21444 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21445 ???[sx]*):;;*)false;;esac;fi
21449 as_executable_p
=$as_test_x
21451 # Sed expression to map a string onto a valid CPP name.
21452 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21454 # Sed expression to map a string onto a valid variable name.
21455 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21460 # Save the log message, to keep $[0] and so on meaningful, and to
21461 # report actual input values of CONFIG_FILES etc. instead of their
21462 # values after options handling.
21464 This file was extended by Wine $as_me 0.9.37, which was
21465 generated by GNU Autoconf 2.61. Invocation command line was
21467 CONFIG_FILES = $CONFIG_FILES
21468 CONFIG_HEADERS = $CONFIG_HEADERS
21469 CONFIG_LINKS = $CONFIG_LINKS
21470 CONFIG_COMMANDS = $CONFIG_COMMANDS
21473 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21478 cat >>$CONFIG_STATUS <<_ACEOF
21479 # Files that config.status was made for.
21480 config_files="$ac_config_files"
21481 config_headers="$ac_config_headers"
21482 config_commands="$ac_config_commands"
21486 cat >>$CONFIG_STATUS <<\_ACEOF
21488 \`$as_me' instantiates files from templates according to the
21489 current configuration.
21491 Usage: $0 [OPTIONS] [FILE]...
21493 -h, --help print this help, then exit
21494 -V, --version print version number and configuration settings, then exit
21495 -q, --quiet do not print progress messages
21496 -d, --debug don't remove temporary files
21497 --recheck update $as_me by reconfiguring in the same conditions
21498 --file=FILE[:TEMPLATE]
21499 instantiate the configuration file FILE
21500 --header=FILE[:TEMPLATE]
21501 instantiate the configuration header FILE
21503 Configuration files:
21506 Configuration headers:
21509 Configuration commands:
21512 Report bugs to <bug-autoconf@gnu.org>."
21515 cat >>$CONFIG_STATUS <<_ACEOF
21517 Wine config.status 0.9.37
21518 configured by $0, generated by GNU Autoconf 2.61,
21519 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21521 Copyright (C) 2006 Free Software Foundation, Inc.
21522 This config.status script is free software; the Free Software Foundation
21523 gives unlimited permission to copy, distribute and modify it."
21530 cat >>$CONFIG_STATUS <<\_ACEOF
21531 # If no file are specified by the user, then we need to provide default
21532 # value. By we need to know if files were specified by the user.
21538 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21539 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21550 # Handling of the options.
21551 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21553 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21554 echo "$ac_cs_version"; exit ;;
21555 --debug |
--debu |
--deb |
--de |
--d |
-d )
21557 --file |
--fil |
--fi |
--f )
21559 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21560 ac_need_defaults
=false
;;
21561 --header |
--heade |
--head |
--hea )
21563 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21564 ac_need_defaults
=false
;;
21566 # Conflict between --help and --header
21567 { echo "$as_me: error: ambiguous option: $1
21568 Try \`$0 --help' for more information." >&2
21569 { (exit 1); exit 1; }; };;
21570 --help |
--hel |
-h )
21571 echo "$ac_cs_usage"; exit ;;
21572 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21573 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21576 # This is an error.
21577 -*) { echo "$as_me: error: unrecognized option: $1
21578 Try \`$0 --help' for more information." >&2
21579 { (exit 1); exit 1; }; } ;;
21581 *) ac_config_targets
="$ac_config_targets $1"
21582 ac_need_defaults
=false
;;
21588 ac_configure_extra_args
=
21590 if $ac_cs_silent; then
21592 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21596 cat >>$CONFIG_STATUS <<_ACEOF
21597 if \$ac_cs_recheck; then
21598 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21599 CONFIG_SHELL=$SHELL
21600 export CONFIG_SHELL
21601 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21605 cat >>$CONFIG_STATUS <<\_ACEOF
21609 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21610 ## Running $as_me. ##
21616 cat >>$CONFIG_STATUS <<_ACEOF
21619 cat >>$CONFIG_STATUS <<\_ACEOF
21621 # Handling of arguments.
21622 for ac_config_target
in $ac_config_targets
21624 case $ac_config_target in
21625 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21626 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21627 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21628 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21629 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21630 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21631 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21632 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21633 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21634 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21635 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21636 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21637 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21638 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21639 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21640 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21641 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21642 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21643 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21644 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21645 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21646 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21647 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21648 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21649 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21650 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21651 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21652 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21653 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21654 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21655 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21656 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21657 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21658 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21659 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21660 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21661 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21662 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21663 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21664 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21665 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21666 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21667 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21668 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21669 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21670 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21671 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21672 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21673 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21674 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21675 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21676 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21677 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21678 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21679 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21680 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21681 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21682 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21683 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21684 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21685 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21686 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21687 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21688 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21689 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21690 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21691 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21692 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21693 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21694 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21695 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21696 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21697 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21698 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21699 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21700 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21701 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21702 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21703 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21704 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21705 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21706 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21707 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21708 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21709 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21710 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21711 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21712 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21713 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21714 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21715 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21716 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21717 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21718 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21719 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21720 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21721 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21722 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21723 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21724 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21725 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21726 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21727 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21728 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21729 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21730 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21731 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21732 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21733 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21734 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21735 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21736 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21737 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21738 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21739 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21740 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21741 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21742 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21743 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21744 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21745 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21746 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21747 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21748 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21749 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21750 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21751 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21752 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21753 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21754 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21755 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21756 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21757 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21758 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21759 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21760 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21761 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21762 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21763 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21764 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21765 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21766 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21767 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21768 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21769 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21770 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21771 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21772 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21773 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21774 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21775 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21776 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21777 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21778 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21779 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21780 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21781 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21782 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21783 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21784 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21785 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21786 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21787 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21788 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21789 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21790 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21791 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21792 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21793 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21794 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21795 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21796 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21797 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21798 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21799 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21800 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21801 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21802 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21803 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21804 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21805 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21806 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21807 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21808 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21809 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21810 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21811 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21812 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21813 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21814 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21815 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21816 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21817 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21818 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21819 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21820 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21821 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21822 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21823 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21824 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21825 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21826 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21827 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21828 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21829 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21830 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21831 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21832 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21833 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21834 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21835 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21836 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21837 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21838 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21839 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21840 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21841 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21842 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21843 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21844 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21845 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21846 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21847 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21848 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21849 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21850 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21851 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21852 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21853 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21854 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21855 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21856 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21857 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21858 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21859 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21860 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21861 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21862 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21863 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21864 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21865 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21866 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21867 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21868 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21869 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21870 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21871 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21872 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21873 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21874 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21875 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21876 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21877 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21878 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21879 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21880 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21881 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21882 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21883 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21884 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21885 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21886 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21887 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21888 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21889 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21890 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21891 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21892 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21893 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21894 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21895 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21896 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21897 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21898 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21899 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21900 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21901 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21902 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21903 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21904 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21905 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21906 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21907 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21908 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21909 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21910 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21911 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21912 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21913 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21914 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21915 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21916 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21917 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21918 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21919 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21920 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21921 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21922 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21923 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21924 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21925 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21926 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21927 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21928 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21929 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21930 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21931 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21932 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21933 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21934 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21935 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21936 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21937 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21938 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21939 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21940 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21941 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21942 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21943 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21944 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21945 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21946 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21947 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21948 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21949 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21950 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21951 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21952 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21953 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21954 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21955 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21956 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21957 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21958 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21959 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21960 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21961 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21962 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21963 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21964 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21965 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21966 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21967 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21968 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21969 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21971 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21972 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21973 { (exit 1); exit 1; }; };;
21978 # If the user did not use the arguments to specify the items to instantiate,
21979 # then the envvar interface is used. Set only those that are not.
21980 # We use the long form for the default assignment because of an extremely
21981 # bizarre bug on SunOS 4.1.3.
21982 if $ac_need_defaults; then
21983 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21984 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21985 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21988 # Have a temporary directory for convenience. Make it in the build tree
21989 # simply because there is no reason against having it here, and in addition,
21990 # creating and moving files from /tmp can sometimes cause problems.
21991 # Hook for its removal unless debugging.
21992 # Note that there is a small window in which the directory will not be cleaned:
21993 # after its creation but before its name has been assigned to `$tmp'.
21997 trap 'exit_status=$?
21998 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22000 trap '{ (exit 1); exit 1; }' 1 2 13 15
22002 # Create a (secure) tmp directory for tmp files.
22005 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22006 test -n "$tmp" && test -d "$tmp"
22009 tmp
=.
/conf$$
-$RANDOM
22010 (umask 077 && mkdir
"$tmp")
22013 echo "$me: cannot create a temporary directory in ." >&2
22014 { (exit 1); exit 1; }
22018 # Set up the sed scripts for CONFIG_FILES section.
22021 # No need to generate the scripts if there are no CONFIG_FILES.
22022 # This happens for instance when ./config.status config.h
22023 if test -n "$CONFIG_FILES"; then
22027 # Create sed commands to just substitute file output variables.
22029 # Remaining file output variables are in a fragment that also has non-file
22035 for ac_last_try
in false false false false false
:; do
22036 cat >conf$
$subs.
sed <<_ACEOF
22037 SHELL!$SHELL$ac_delim
22038 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22039 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22040 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22041 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22042 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22043 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22044 exec_prefix!$exec_prefix$ac_delim
22045 prefix!$prefix$ac_delim
22046 program_transform_name!$program_transform_name$ac_delim
22047 bindir!$bindir$ac_delim
22048 sbindir!$sbindir$ac_delim
22049 libexecdir!$libexecdir$ac_delim
22050 datarootdir!$datarootdir$ac_delim
22051 datadir!$datadir$ac_delim
22052 sysconfdir!$sysconfdir$ac_delim
22053 sharedstatedir!$sharedstatedir$ac_delim
22054 localstatedir!$localstatedir$ac_delim
22055 includedir!$includedir$ac_delim
22056 oldincludedir!$oldincludedir$ac_delim
22057 docdir!$docdir$ac_delim
22058 infodir!$infodir$ac_delim
22059 htmldir!$htmldir$ac_delim
22060 dvidir!$dvidir$ac_delim
22061 pdfdir!$pdfdir$ac_delim
22062 psdir!$psdir$ac_delim
22063 libdir!$libdir$ac_delim
22064 localedir!$localedir$ac_delim
22065 mandir!$mandir$ac_delim
22066 DEFS!$DEFS$ac_delim
22067 ECHO_C!$ECHO_C$ac_delim
22068 ECHO_N!$ECHO_N$ac_delim
22069 ECHO_T!$ECHO_T$ac_delim
22070 LIBS!$LIBS$ac_delim
22071 build_alias!$build_alias$ac_delim
22072 host_alias!$host_alias$ac_delim
22073 target_alias!$target_alias$ac_delim
22074 build!$build$ac_delim
22075 build_cpu!$build_cpu$ac_delim
22076 build_vendor!$build_vendor$ac_delim
22077 build_os!$build_os$ac_delim
22078 host!$host$ac_delim
22079 host_cpu!$host_cpu$ac_delim
22080 host_vendor!$host_vendor$ac_delim
22081 host_os!$host_os$ac_delim
22082 WIN16_FILES!$WIN16_FILES$ac_delim
22083 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22084 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22085 WINETEST!$WINETEST$ac_delim
22086 SET_MAKE!$SET_MAKE$ac_delim
22088 CFLAGS!$CFLAGS$ac_delim
22089 LDFLAGS!$LDFLAGS$ac_delim
22090 CPPFLAGS!$CPPFLAGS$ac_delim
22091 ac_ct_CC!$ac_ct_CC$ac_delim
22092 EXEEXT!$EXEEXT$ac_delim
22093 OBJEXT!$OBJEXT$ac_delim
22095 CXXFLAGS!$CXXFLAGS$ac_delim
22096 ac_ct_CXX!$ac_ct_CXX$ac_delim
22097 CPPBIN!$CPPBIN$ac_delim
22098 TOOLSDIR!$TOOLSDIR$ac_delim
22099 XMKMF!$XMKMF$ac_delim
22101 X_CFLAGS!$X_CFLAGS$ac_delim
22102 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22103 X_LIBS!$X_LIBS$ac_delim
22104 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22105 FLEX!$FLEX$ac_delim
22106 BISON!$BISON$ac_delim
22108 ac_ct_AS!$ac_ct_AS$ac_delim
22111 RANLIB!$RANLIB$ac_delim
22112 STRIP!$STRIP$ac_delim
22113 WINDRES!$WINDRES$ac_delim
22114 LN_S!$LN_S$ac_delim
22116 GREP!$GREP$ac_delim
22117 EGREP!$EGREP$ac_delim
22118 LDCONFIG!$LDCONFIG$ac_delim
22121 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22123 elif $ac_last_try; then
22124 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22125 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22126 { (exit 1); exit 1; }; }
22128 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22132 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22133 if test -n "$ac_eof"; then
22134 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22135 ac_eof
=`expr $ac_eof + 1`
22138 cat >>$CONFIG_STATUS <<_ACEOF
22139 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22141 /^[ ]*@MAKE_RULES@[ ]*$/{
22145 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22149 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22150 r $MAKE_IMPLIB_RULES
22153 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22157 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22163 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22164 s/^/s,@/; s/!/@,|#_!!_#|/
22167 s/'"$ac_delim"'$/,g/; t
22169 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22170 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22171 rm -f conf$
$subs.
sed
22172 cat >>$CONFIG_STATUS <<_ACEOF
22178 for ac_last_try
in false false false false false
:; do
22179 cat >conf$
$subs.
sed <<_ACEOF
22180 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22181 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22182 INSTALL_DATA!$INSTALL_DATA$ac_delim
22183 LINT!$LINT$ac_delim
22184 LINTFLAGS!$LINTFLAGS$ac_delim
22185 FONTFORGE!$FONTFORGE$ac_delim
22186 PKG_CONFIG!$PKG_CONFIG$ac_delim
22187 PRELINK!$PRELINK$ac_delim
22188 LIBPTHREAD!$LIBPTHREAD$ac_delim
22189 XLIB!$XLIB$ac_delim
22190 XFILES!$XFILES$ac_delim
22191 OPENGLFILES!$OPENGLFILES$ac_delim
22192 GLU32FILES!$GLU32FILES$ac_delim
22193 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22194 QUARTZFILES!$QUARTZFILES$ac_delim
22195 NASLIBS!$NASLIBS$ac_delim
22196 XML2LIBS!$XML2LIBS$ac_delim
22197 XML2INCL!$XML2INCL$ac_delim
22198 XSLTLIBS!$XSLTLIBS$ac_delim
22199 XSLTINCL!$XSLTINCL$ac_delim
22200 HALINCL!$HALINCL$ac_delim
22201 sane_devel!$sane_devel$ac_delim
22202 SANEINCL!$SANEINCL$ac_delim
22203 gphoto2_devel!$gphoto2_devel$ac_delim
22204 gphoto2port_devel!$gphoto2port_devel$ac_delim
22205 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22206 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22207 ICULIBS!$ICULIBS$ac_delim
22208 RESOLVLIBS!$RESOLVLIBS$ac_delim
22209 LCMSLIBS!$LCMSLIBS$ac_delim
22210 LDAPLIBS!$LDAPLIBS$ac_delim
22211 FREETYPELIBS!$FREETYPELIBS$ac_delim
22212 FREETYPEINCL!$FREETYPEINCL$ac_delim
22213 ft_devel!$ft_devel$ac_delim
22214 ft_devel2!$ft_devel2$ac_delim
22215 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22216 ESDCONFIG!$ESDCONFIG$ac_delim
22217 ESDLIBS!$ESDLIBS$ac_delim
22218 ESDINCL!$ESDINCL$ac_delim
22219 ALSALIBS!$ALSALIBS$ac_delim
22220 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22221 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22222 BUILTINFLAG!$BUILTINFLAG$ac_delim
22223 DLLEXT!$DLLEXT$ac_delim
22224 DLLFLAGS!$DLLFLAGS$ac_delim
22225 LDSHARED!$LDSHARED$ac_delim
22226 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22227 LIBEXT!$LIBEXT$ac_delim
22228 IMPLIBEXT!$IMPLIBEXT$ac_delim
22229 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22230 DLLTOOL!$DLLTOOL$ac_delim
22231 DLLWRAP!$DLLWRAP$ac_delim
22232 MINGWAR!$MINGWAR$ac_delim
22233 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22234 IOKITLIB!$IOKITLIB$ac_delim
22235 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22236 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22237 COREAUDIO!$COREAUDIO$ac_delim
22238 CARBONLIB!$CARBONLIB$ac_delim
22239 CROSSTEST!$CROSSTEST$ac_delim
22240 CROSSCC!$CROSSCC$ac_delim
22241 CROSSWINDRES!$CROSSWINDRES$ac_delim
22242 LDPATH!$LDPATH$ac_delim
22243 CRTLIBS!$CRTLIBS$ac_delim
22244 SOCKETLIBS!$SOCKETLIBS$ac_delim
22245 MAIN_BINARY!$MAIN_BINARY$ac_delim
22246 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22248 LIBDL!$LIBDL$ac_delim
22249 LIBPOLL!$LIBPOLL$ac_delim
22250 DEPENDENCIES!$DEPENDENCIES$ac_delim
22251 LIBOBJS!$LIBOBJS$ac_delim
22252 LTLIBOBJS!$LTLIBOBJS$ac_delim
22255 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22257 elif $ac_last_try; then
22258 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22259 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22260 { (exit 1); exit 1; }; }
22262 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22266 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22267 if test -n "$ac_eof"; then
22268 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22269 ac_eof
=`expr $ac_eof + 1`
22272 cat >>$CONFIG_STATUS <<_ACEOF
22273 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22277 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22278 s/^/s,@/; s/!/@,|#_!!_#|/
22281 s/'"$ac_delim"'$/,g/; t
22283 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22284 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22285 rm -f conf$
$subs.
sed
22286 cat >>$CONFIG_STATUS <<_ACEOF
22293 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22294 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22295 # trailing colons and then remove the whole line if VPATH becomes empty
22296 # (actually we leave an empty line to preserve line numbers).
22297 if test "x$srcdir" = x.
; then
22298 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22299 s/:*\$(srcdir):*/:/
22300 s/:*\${srcdir}:*/:/
22302 s/^\([^=]*=[ ]*\):*/\1/
22308 cat >>$CONFIG_STATUS <<\_ACEOF
22309 fi # test -n "$CONFIG_FILES"
22312 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22315 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22317 case $ac_mode$ac_tag in
22319 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22320 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22321 { (exit 1); exit 1; }; };;
22322 :[FH
]-) ac_tag
=-:-;;
22323 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22340 -) ac_f
="$tmp/stdin";;
22341 *) # Look for the file first in the build tree, then in the source tree
22342 # (if the path is not absolute). The absolute path cannot be DOS-style,
22343 # because $ac_f cannot contain `:'.
22347 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22349 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22350 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22351 { (exit 1); exit 1; }; };;
22353 ac_file_inputs
="$ac_file_inputs $ac_f"
22356 # Let's still pretend it is `configure' which instantiates (i.e., don't
22357 # use $as_me), people would be surprised to read:
22358 # /* config.h. Generated by config.status. */
22359 configure_input
="Generated from "`IFS=:
22360 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22361 if test x
"$ac_file" != x-
; then
22362 configure_input
="$ac_file. $configure_input"
22363 { echo "$as_me:$LINENO: creating $ac_file" >&5
22364 echo "$as_me: creating $ac_file" >&6;}
22368 *:-:* |
*:-) cat >"$tmp/stdin";;
22373 ac_dir
=`$as_dirname -- "$ac_file" ||
22374 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22375 X"$ac_file" : 'X\(//\)[^/]' \| \
22376 X"$ac_file" : 'X\(//\)$' \| \
22377 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22383 /^X\(\/\/\)[^/].*/{
22398 -*) as_dir
=.
/$as_dir;;
22400 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22404 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22405 *) as_qdir
=$as_dir;;
22407 as_dirs
="'$as_qdir' $as_dirs"
22408 as_dir
=`$as_dirname -- "$as_dir" ||
22409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22410 X"$as_dir" : 'X\(//\)[^/]' \| \
22411 X"$as_dir" : 'X\(//\)$' \| \
22412 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22418 /^X\(\/\/\)[^/].*/{
22431 test -d "$as_dir" && break
22433 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22434 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22435 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22436 { (exit 1); exit 1; }; }; }
22440 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22442 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22443 # A ".." for each directory in $ac_dir_suffix.
22444 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22445 case $ac_top_builddir_sub in
22446 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22447 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22450 ac_abs_top_builddir
=$ac_pwd
22451 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22452 # for backward compatibility:
22453 ac_top_builddir
=$ac_top_build_prefix
22456 .
) # We are building in place.
22458 ac_top_srcdir
=$ac_top_builddir_sub
22459 ac_abs_top_srcdir
=$ac_pwd ;;
22460 [\\/]* | ?
:[\\/]* ) # Absolute name.
22461 ac_srcdir
=$srcdir$ac_dir_suffix;
22462 ac_top_srcdir
=$srcdir
22463 ac_abs_top_srcdir
=$srcdir ;;
22464 *) # Relative name.
22465 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22466 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22467 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22469 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22479 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22480 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22484 cat >>$CONFIG_STATUS <<\_ACEOF
22485 # If the template does not know about datarootdir, expand it.
22486 # FIXME: This hack should be removed a few years after 2.60.
22487 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22489 case `sed -n '/datarootdir/ {
22498 ' $ac_file_inputs` in
22499 *datarootdir
*) ac_datarootdir_seen
=yes;;
22500 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22501 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22502 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22504 cat >>$CONFIG_STATUS <<_ACEOF
22505 ac_datarootdir_hack='
22506 s&@datadir@&$datadir&g
22507 s&@docdir@&$docdir&g
22508 s&@infodir@&$infodir&g
22509 s&@localedir@&$localedir&g
22510 s&@mandir@&$mandir&g
22511 s&\\\${datarootdir}&$datarootdir&g' ;;
22515 # Neutralize VPATH when `$srcdir' = `.'.
22516 # Shell code in configure.ac might set extrasub.
22517 # FIXME: do we really want to maintain this feature?
22518 cat >>$CONFIG_STATUS <<_ACEOF
22522 cat >>$CONFIG_STATUS <<\_ACEOF
22524 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22525 s
&@configure_input@
&$configure_input&;t t
22526 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22527 s
&@srcdir@
&$ac_srcdir&;t t
22528 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22529 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22530 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22531 s
&@builddir@
&$ac_builddir&;t t
22532 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22533 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22534 s
&@INSTALL@
&$ac_INSTALL&;t t
22535 $ac_datarootdir_hack
22536 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22538 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22539 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22540 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22541 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22542 which seems to be undefined. Please make sure it is defined." >&5
22543 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22544 which seems to be undefined. Please make sure it is defined." >&2;}
22548 -) cat "$tmp/out"; rm -f "$tmp/out";;
22549 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22558 # Transform confdefs.h into a sed script `conftest.defines', that
22559 # substitutes the proper values into config.h.in to produce config.h.
22560 rm -f conftest.defines conftest.
tail
22561 # First, append a space to every undef/define line, to ease matching.
22562 echo 's/$/ /' >conftest.defines
22563 # Then, protect against being on the right side of a sed subst, or in
22564 # an unquoted here document, in config.status. If some macros were
22565 # called several times there might be several #defines for the same
22566 # symbol, which is useless. But do not sort them, since the last
22567 # AC_DEFINE must be honored.
22568 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22569 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22570 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22571 # PARAMS is the parameter list in the macro definition--in most cases, it's
22572 # just an empty string.
22573 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22574 ac_dB
='\\)[ (].*,\\1define\\2'
22582 s/^[ ]*#[ ]*define[ ][ ]*//
22587 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22588 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22589 ' >>conftest.defines
22591 # Remove the space that was appended to ease matching.
22592 # Then replace #undef with comments. This is necessary, for
22593 # example, in the case of _POSIX_SOURCE, which is predefined and required
22594 # on some systems where configure will not decide to define it.
22595 # (The regexp can be short, since the line contains either #define or #undef.)
22597 s,^[ #]*u.*,/* & */,' >>conftest.defines
22599 # Break up conftest.defines:
22600 ac_max_sed_lines
=50
22602 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22603 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22604 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22606 ac_in
='$ac_file_inputs'
22607 ac_out
='"$tmp/out1"'
22608 ac_nxt
='"$tmp/out2"'
22612 # Write a here document:
22613 cat >>$CONFIG_STATUS <<_ACEOF
22614 # First, check the format of the line:
22615 cat >"\$tmp/defines.sed" <<\\CEOF
22616 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22617 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22621 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22623 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22624 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22625 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22626 grep . conftest.
tail >/dev
/null ||
break
22627 rm -f conftest.defines
22628 mv conftest.
tail conftest.defines
22630 rm -f conftest.defines conftest.
tail
22632 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22633 cat >>$CONFIG_STATUS <<\_ACEOF
22634 if test x
"$ac_file" != x-
; then
22635 echo "/* $configure_input */" >"$tmp/config.h"
22636 cat "$ac_result" >>"$tmp/config.h"
22637 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22638 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22639 echo "$as_me: $ac_file is unchanged" >&6;}
22642 mv "$tmp/config.h" $ac_file
22645 echo "/* $configure_input */"
22651 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22652 echo "$as_me: executing $ac_file commands" >&6;}
22657 case $ac_file$ac_mode in
22658 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22659 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22660 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22661 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22662 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22663 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22664 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22665 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22666 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22667 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22668 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22669 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22670 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22676 { (exit 0); exit 0; }
22678 chmod +x
$CONFIG_STATUS
22679 ac_clean_files
=$ac_clean_files_save
22682 # configure is writing to config.log, and then calls config.status.
22683 # config.status does its own redirection, appending to config.log.
22684 # Unfortunately, on DOS this fails, as config.log is still kept open
22685 # by configure, so config.status won't be able to write to it; its
22686 # output is simply discarded. So we exec the FD to /dev/null,
22687 # effectively closing config.log, so it can be properly (re)opened and
22688 # appended to by config.status. When coming back to configure, we
22689 # need to make the FD available again.
22690 if test "$no_create" != yes; then
22692 ac_config_status_args
=
22693 test "$silent" = yes &&
22694 ac_config_status_args
="$ac_config_status_args --quiet"
22696 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22698 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22699 # would make configure fail if this is the last instruction.
22700 $ac_cs_success ||
{ (exit 1); exit 1; }
22705 if test "$no_create" = "yes"
22710 if test "$verbose" = "yes"
22712 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22715 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22716 echo "$as_me: libcapi20 development files not found." >&6;}
22717 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22718 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22721 if test "$ac_cv_header_cups_cups_h" != "yes"
22724 { echo "$as_me:$LINENO: libcups development files not found." >&5
22725 echo "$as_me: libcups development files not found." >&6;}
22726 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22727 echo "$as_me: Wine will be built without CUPS support." >&6;}
22731 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22734 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22735 echo "$as_me: libgphoto2 development files not found." >&6;}
22736 if test "$ac_cv_header_sane_sane_h" = "yes"
22738 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22739 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22741 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22742 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22746 if test "$ac_cv_header_hal_libhal_h" != "yes"
22749 { echo "$as_me:$LINENO: libhal development files not found." >&5
22750 echo "$as_me: libhal development files not found." >&6;}
22751 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22752 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22755 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22758 { echo "$as_me:$LINENO: libicu development files not found." >&5
22759 echo "$as_me: libicu development files not found." >&6;}
22760 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22761 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22764 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22767 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22768 echo "$as_me: liblcms development files not found." >&6;}
22769 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22770 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22773 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22776 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22777 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22778 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22779 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22782 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22785 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22786 echo "$as_me: lib(n)curses development files not found." >&6;}
22787 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22788 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22791 if test "$ac_cv_header_sane_sane_h" != "yes"
22794 { echo "$as_me:$LINENO: libsane development files not found." >&5
22795 echo "$as_me: libsane development files not found." >&6;}
22796 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22797 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22800 if test "$have_x" = "yes"
22802 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22805 { echo "$as_me:$LINENO: libxext development files not found." >&5
22806 echo "$as_me: libxext development files not found." >&6;}
22807 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22808 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22811 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22814 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22815 echo "$as_me: libXrandr development files not found." >&6;}
22816 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22817 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22820 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22823 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22824 echo "$as_me: libXrender development files not found." >&6;}
22825 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22826 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22829 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22832 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22833 echo "$as_me: libXxf86vm development files not found." >&6;}
22834 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22835 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22839 if test "$ac_cv_header_libxml_parser_h" != "yes"
22842 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22843 echo "$as_me: libxml2 development files not found." >&6;}
22844 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22845 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22848 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22851 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22852 echo "$as_me: libxslt development files not found." >&6;}
22853 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22854 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22859 if test "$have_x" = "no"
22862 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22863 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22864 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22865 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22866 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22867 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22868 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22869 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22872 if test -z "$OPENGLFILES"
22875 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22876 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22877 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22878 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22879 if test "$wine_cv_opengl_headers_found" = "no"
22881 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22882 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22884 if test "$wine_cv_opengl_header_version_OK" = "no"
22886 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22887 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22888 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22890 if test -f /usr
/X11R
6/lib
/libGL.a
22892 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22893 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22894 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22895 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22897 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22898 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22903 if test "$wine_cv_msg_freetype" = "yes"
22906 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22907 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22908 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22909 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22910 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22911 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22912 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22913 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22916 if test -z "$FONTSSUBDIRS"
22919 if test "$FONTFORGE" = "false"
22921 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22922 echo "$as_me: WARNING: FontForge is missing." >&2;}
22924 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22925 echo "$as_me: WARNING: FreeType is missing." >&2;}
22927 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22928 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22931 if test -z "$ALSALIBS" -a \
22932 -z "$AUDIOIOLIBS" -a \
22934 -z "$ESD_LIBS" -a \
22935 -z "$ac_cv_lib_soname_jack" -a \
22936 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22937 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22938 "$ac_cv_header_soundcard_h" != "yes"
22941 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22942 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22943 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22944 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22945 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22946 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22950 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."